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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d66d8
sub esp, 0x54
mov eax, dword [esp + 0x64]
test eax, eax
jl 0x4d6382
mov ecx, dword [esp + 0x60]
mov edx, ecx
sar ecx, 0x1f
cmp eax, ecx
setne cl
mov ebx, dword [esp + 0x60]
cmp edx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ecx, ebp
test cl, cl
je 0x4d63b2
mov eax, dword [0x7f83c0]
mov ecx, dword [0x7f83c4]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x54
ret
cmp ebx, 0xa00000
setb cl
test eax, eax
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ecx, ebp
test cl, cl
je 0x4d647d
lea eax, [0x5ffa00]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
call fcn.00449f80
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
nop
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.0048e8f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x4d6455
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x54
ret
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x54
ret
lea eax, [0x5ffa00]
mov dword [esp], eax
mov dword [esp + 4], 0xa00000
mov dword [esp + 8], 0xa00000
call fcn.00449ec0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
xor esi, esi
xor edi, edi
xor esi, esi
mov dword [esp + 0x4c], esi
xor esi, esi
jmp 0x4d6527
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov esi, dword [esp + 0x40]
sub esi, eax
mov dword [esp + 0x3c], esi
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
sbb edi, edx
mov dword [esp + 0x38], edi
add ecx, ebp
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00462e90
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
mov eax, ecx
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x3c]
mov ebx, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], ebx
test ebx, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
seta al
test ebp, ebp
seta bl
and ebx, edi
or ebx, eax
test bl, bl
je 0x4d6695
cmp ebp, 0xa00000
seta bl
and ebx, edi
or ebx, eax
test bl, bl
je 0x4d6566
mov eax, 0xa00000
xor ebx, ebx
jmp 0x4d656c
mov eax, ebp
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x4d66c9
cmp eax, 0xa00000
ja 0x4d66bd
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x50]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xa00000
mov dword [esp + 0x14], eax
call fcn.0048e8f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test edx, edx
jne 0x4d6622
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x34]
cmp ebx, edx
jb 0x4d65e3
mov ebp, dword [esp + 0x4c]
jmp 0x4d64c1
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
lea ecx, [0x5ffa00]
mov dword [esp + 0x10], ecx
call fcn.0044a040
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov ebp, eax
mov ebx, edi
mov eax, dword [esp + 0x24]
jmp 0x4d64c1
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x4d6671
mov ebp, dword [0x7f839c]
cmp dword [0x7f8398], eax
je 0x4d663c
xor eax, eax
jmp 0x4d6661
mov dword [esp + 0x48], ebx
mov dword [esp + 0x2c], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00403870
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x48]
test al, al
je 0x4d6671
mov edx, dword [0x7f83c0]
mov ebx, dword [0x7f83c4]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x54
ret
mov ecx, eax
mov edx, 0xa00000
call fcn.004625d0
mov esi, ebx
mov ecx, eax
mov edx, 0xa00000
call fcn.004626c0
nop
call fcn.004610f0
jmp fcn.004d6340