Function at 0x4d9358
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add dword [eax], eax
add byte [ecx], al
cmp eax, 1
jne 0x4d93b4
mov eax, dword [esp + 0xc4]
cmp dword [eax - 8], ebp
jne 0x4d9374
push 0x93e028
jmp 0x4d93da
mov dword [esp + 0x60], eax
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x24]
push 0x93e020
push ecx
call 0x512e8a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 2
call 0x512cba
lea ecx, [esp + 0x20]
mov byte [esp + 0x12c], 1
call 0x512b81
jmp 0x4d93c6
push 0x93e018
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], ebp
call 0x512d0a
mov ecx, ebx
call fcn.004c49e0
cmp eax, ebp
mov dword [esp + 0x24], eax
jne 0x4d93ef
push 0x93e004
mov ecx, edi
call 0x512d0a
push 0xffffffffffffffff
mov ecx, esi
call 0x513e0b
jmp 0x4d99aa
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x6c]
push edx
push ecx
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x88]
push edx
push ecx
lea edx, [esp + 0x80]
lea ecx, [esp + 0xac]
push edx
push ecx
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x90]
push edx
push ecx
push eax
call fcn.004d7850
mov ebp, dword [esp + 0xc0]
mov eax, dword [esp + 0xd0]
mov edi, dword [esp + 0xc8]
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0xcc]
sub ebp, eax
sub ebp, edi
mov edi, dword [esp + 0x94]
sub edi, edx
xor eax, eax
add esp, 0x24
sub edi, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], 5
lea edx, [esp + 0x40]
lea eax, [esp + 0xa4]
push edx
push eax
push edi
push ebp
mov ecx, ebx
mov byte [esp + 0x13c], 3
call fcn.004c4de0
mov ecx, ebx
call fcn.004c39d0
xor ecx, ecx
mov dword [esp + 0x20], eax
cmp eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
jle 0x4d94d8
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.004c39e0
mov ecx, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4d94b1
lea ecx, [esp + 0xa4]
call fcn.004c55b0
mov ecx, eax
cmp ecx, 0xffffffff
je 0x4d94f6
cmp ecx, 0xfffffffe
jne 0x4d9510
cmp dword [esp + 0x14], ebp
jle 0x4d950b
mov edx, dword [esp + 0x14]
push edx
push 0x64
push ebp
call dword [0x4ec344]
mov ecx, eax
cmp ecx, 0xfffffffe
jne 0x4d9510
mov ecx, 0x64
lea edi, [edi + edi*4]
lea eax, [edi + edi*4]
shl eax, 2
cdq
idiv ecx
lea ecx, [ecx + ecx*4]
shl ecx, 1
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x84], eax
call 0x518d21
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x130], 4
call 0x518dd8
push 0x3e8
lea ecx, [esp + 0x2c]
mov edi, 1
push 0x3e8
push ecx
mov dword [esp + 0x40], edi
call fcn.004d7a20
mov eax, dword [esp + 0x38]
add esp, 0xc
lea edx, [esp + 0x58]
push edx
push eax
call dword [0x4ec074]
cmp eax, 0xffffffff
jne 0x4d95ea
push 0x93dff0
lea ecx, [esi + 0xe0]
call 0x512d0a
push 0xffffffffffffffff
mov ecx, esi
call 0x513e0b
lea ecx, [esp + 0x28]
mov byte [esp + 0x12c], 3
call 0x518e56
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4d95bb
push eax
call 0x5128eb
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 0
call 0x512b81
lea ecx, [esp + 0xa4]
mov dword [esp + 0x12c], 0xffffffff
call fcn.004c54d0
mov eax, edi
jmp 0x4d99d7
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0xac]
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x80]
sub edx, ebx
mov ebx, dword [esp + 0x98]
sub edx, ecx
mov ecx, dword [esp + 0x74]
sub edx, eax
mov eax, dword [esp + 0xa8]
sub ecx, ebp
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x7c]
sub ecx, ebx
mov dword [esp + 0x8c], eax
sub ecx, edx
mov edx, dword [0x93f294]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0xb8]
dec eax
mov byte [esp + 0x12c], 5
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 0
lea ecx, [eax + 1]
imul ecx, edx
test edx, edx
mov dword [esp + 0xa0], ecx
jle 0x4d9963
mov dword [esp + 0x24], edi
xor edi, edi
cmp eax, edi
jl 0x4d993e
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
inc eax
push edx
lea ebp, [edi + 1]
push eax
mov eax, dword [esp + 0xc0]
push ebp
push eax
lea eax, [ecx + 1]
push eax
lea edx, [esp + 0x30]
push 0x93dfcc
push edx
call 0x5104d7
mov eax, dword [esp + 0x38]
add esp, 0x1c
lea ecx, [esi + 0x5c]
push eax
call 0x516f0b
mov ecx, dword [esi + 0x78]
mov ebx, dword [0x4ec560]
push ecx
call ebx
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x18]
push edx
push 0x64
push eax
call dword [0x4ec344]
mov ecx, dword [esi + 0xb4]
push 0
push eax
push 0x402
push ecx
call dword [0x4ec58c]
mov edx, dword [esi + 0xb4]
push edx
call ebx
mov eax, dword [0x950748]
mov ebx, 1
cmp eax, ebx
je 0x4d99f0
mov eax, dword [esp + 0x2c]
push eax
call dword [0x4ec078]
test eax, eax
jl 0x4d9a27
push 0x3e8
lea ecx, [esp + 0x2c]
push 0x3e8
push ecx
call fcn.004d7a20
add esp, 0xc
lea edx, [esp + 0x88]
push edx
call dword [0x4ec544]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x104], eax
je 0x4d9871
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
cmp ebx, 0x3e8
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
je 0x4d97cf
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x50]
push 1
push edx
push eax
call dword [0x4ec08c]
push ebx
lea ecx, [esp + 0x2c]
push ebx
push ecx
call fcn.004d7a20
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x50]
push 1
push edx
push eax
call dword [0x4ec16c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
add edx, ecx
mov ebx, dword [edx]
mov ecx, dword [edx + 4]
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x44]
dec edx
cmp edi, edx
jne 0x4d9808
cmp dword [esp + 0xc8], 1
jne 0x4d9808
mov edx, dword [esp + 0xfc]
test edx, edx
jg 0x4d9808
mov edx, dword [esp + 0x84]
jmp 0x4d980a
xor edx, edx
sub eax, ecx
push edx
inc eax
lea edx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esi + 0xd4]
push edx
call fcn.004cc570
cmp dword [esp + 0x20], 0x3e8
je 0x4d984b
push 0x3e8
lea eax, [esp + 0x2c]
push 0x3e8
push eax
call fcn.004d7a20
add esp, 0xc
mov ecx, dword [esp + 0xb4]
push ebx
lea edx, [esp + 0x8c]
push ecx
mov ecx, dword [esi + 0xd4]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.004cc380
mov ebx, 1
mov ecx, dword [esp + 0x2c]
push ecx
call dword [0x4ec068]
test eax, eax
jl 0x4d9916
mov edi, dword [0x4ec440]
push 0
push 0
push 0
lea edx, [esp + 0x114]
push 0
push edx
call edi
test eax, eax
je 0x4d98f2
push 0
push 0
lea eax, [esp + 0x110]
push 0
push eax
call dword [0x4ec5d8]
lea ecx, [esp + 0x108]
push ecx
call dword [0x4ec5ec]
lea edx, [esp + 0x108]
push edx
call dword [0x4ec5d4]
cmp dword [0x950748], ebx
je 0x4d9a4d
push 0
push 0
push 0
lea eax, [esp + 0x114]
push 0
push eax
call edi
test eax, eax
jne 0x4d98a0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov edi, ebp
inc edx
add ecx, 0xc
cmp edi, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], ecx
jle 0x4d96a5
jmp 0x4d993e
push 0x93dfc0
lea ecx, [esi + 0xe0]
call 0x512d0a
mov ecx, dword [esp + 0x2c]
push ecx
call dword [0x4ec06c]
push 0xffffffffffffffff
mov ecx, esi
call 0x513e0b
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
lea ecx, [eax + 1]
inc edx
add edi, ecx
mov ecx, dword [esp + 0xb8]
cmp edx, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], edi
jl 0x4d968f
mov edx, dword [esp + 0x2c]
push edx
call dword [0x4ec06c]
push 0
mov ecx, esi
call 0x513e0b
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 4
call 0x512b81
lea ecx, [esp + 0x28]
mov byte [esp + 0x12c], 3
call 0x518e56
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4d99aa
push eax
call 0x5128eb
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 0
call 0x512b81
lea ecx, [esp + 0xa4]
mov dword [esp + 0x12c], 0xffffffff
call fcn.004c54d0
mov eax, 1
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x120
ret
mov edx, dword [esp + 0x2c]
push edx
call dword [0x4ec06c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 4
call 0x512b81
lea ecx, [esp + 0x28]
mov byte [esp + 0x12c], 3
call 0x518e56
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4d9a8b
jmp 0x4d9a82
push 0x93dfc0
lea ecx, [esi + 0xe0]
call 0x512d0a
mov eax, dword [esp + 0x2c]
push eax
call dword [0x4ec06c]
push 0xffffffffffffffff
mov ecx, esi
call 0x513e0b
jmp 0x4d99fb
mov ecx, dword [esp + 0x2c]
push ecx
call dword [0x4ec06c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 4
call 0x512b81
lea ecx, [esp + 0x28]
mov byte [esp + 0x12c], 3
call 0x518e56
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4d9a8b
push eax
call 0x5128eb
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 0
call 0x512b81
lea ecx, [esp + 0xa4]
mov dword [esp + 0x12c], 0xffffffff
call fcn.004c54d0
mov eax, ebx
jmp 0x4d99d7