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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x8c]
cmp eax, dword [ecx + 8]
jbe 0x4d06af
sub esp, 0x10c
mov eax, 0
mov dword [esp + 0x108], eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov eax, dword [esp + 0x118]
test eax, eax
je 0x4d0193
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0x30]
mov dword [esp], 0
mov dword [esp + 4], ecx
call fcn.00405660
movzx eax, byte [esp + 8]
test al, al
jne 0x4d0167
mov eax, dword [esp + 0x110]
lea ecx, [eax + 0x58]
mov dword [esp], ecx
call fcn.00461cf0
mov esi, dword [esp + 8]
mov eax, dword [esp + 4]
lea ecx, [0x50b4a0]
cmp eax, ecx
jne 0x4cffed
lea edi, [esp + 0xcc]
call fcn.0045e26e
jmp 0x4cffff
lea edi, [esp + 0xcc]
mov edx, eax
xor eax, eax
call fcn.0045dd8b
mov eax, edx
lea edi, [esp + 0xb8]
lea esi, [esp + 0xcc]
call fcn.0045e26e
lea ecx, [0x50b4a0]
cmp eax, ecx
jne 0x4d010d
lea edi, [esp + 0x90]
lea esi, [esp + 0xb8]
call fcn.0045e26e
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
test edx, 0x80000000
je 0x4d0075
shl edx, 1
mov ebx, ecx
shr ecx, 0x1f
or edx, ecx
mov ecx, ebx
shl ebx, 1
mov ebp, edx
shl edx, 1
shr ebx, 0x1f
or ebx, edx
mov edx, ebx
add ebx, 0xd7b17f80
shr ebp, 0x1f
add edx, 0xd7b17f80
adc ebp, 0xd
jmp 0x4d0083
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x9c]
test ebx, ebx
sete dl
test ebp, ebp
sete bl
and ebx, edx
test bl, bl
je 0x4d009b
test ecx, 0x3fffffff
je 0x4d010d
lea edi, [esp]
lea esi, [esp + 0xb8]
call fcn.0045e26e
call fcn.0049ea70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0049cac0
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x4d06c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x108], ecx
mov byte [esp + 0x2f], 1
mov eax, dword [eax]
mov ecx, 1
jmp 0x4d0111
xor eax, eax
xor ecx, ecx
mov byte [esp + 0x2e], cl
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x110]
mov ebx, dword [edx + 4]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx]
mov ebp, dword [edx]
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.0045dd8b
mov byte [esp + 0xa4], bl
mov byte [esp + 0xa5], 2
mov dword [esp + 0xa8], ebp
mov ecx, dword [esp + 0x118]
mov ebx, dword [esp + 0x11c]
mov ebp, dword [esp + 0x114]
xor edi, edi
jmp 0x4d01d5
mov dword [esp + 0x120], 0
mov eax, dword [0x5e3870]
mov ecx, dword [0x5e3874]
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], ecx
add esp, 0x10c
ret
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
add esp, 0x10c
ret
mov edx, dword [esp + 0x110]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x80]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x34], edi
lea eax, [edx + 0x64]
mov dword [esp + 0x84], eax
mov dword [esp], eax
call fcn.00461f00
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x110]
lea edx, [ecx + 0x6c]
mov dword [esp], edx
call fcn.00461f00
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 4]
test eax, eax
jl 0x4d0353
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x110]
lea ecx, [eax + 0x70]
mov dword [esp], ecx
call fcn.00461f00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
sub eax, ecx
test eax, eax
jle 0x4d029b
mov ebx, dword [esp + 0x40]
cmp ebx, eax
jge 0x4d0261
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x40]
xor edx, edx
xor esi, esi
xor ebp, ebp
jmp 0x4d0280
mov ebp, dword [esp + 0x44]
mov ecx, ebp
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
mov esi, ebx
mov ebx, dword [esp + 0x74]
add ebp, ebx
sub esi, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x80], ebp
mov edi, dword [esp + 0x110]
jmp 0x4d0564
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x34]
test eax, eax
je 0x4d0500
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x110]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 0x40]
mov ebp, dword [ecx + 0x30]
mov edx, dword [edx + 0x50]
mov esi, dword [ecx + 0x74]
lea edi, [esp + 0xe0]
xor eax, eax
call fcn.0045dd86
mov dword [esp + 0x100], ebx
mov dword [esp + 0xf8], ebp
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xe8], edx
mov dword [esp + 0xe0], esi
lea edx, [esp + 0xe0]
mov dword [esp], edx
lea edx, [esp + 0x58]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 5
mov byte [esp + 0x14], 1
call fcn.00443d70
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4d01bb
jmp 0x4d039b
mov eax, dword [0x5e37e8]
mov ecx, dword [0x5e37ec]
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], ecx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x4d0394
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
cmp ecx, 1
je 0x4d048f
cmp ecx, 2
jne 0x4d03f1
mov eax, dword [0x5e3800]
mov ecx, dword [0x5e3804]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], ecx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x4d03ea
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
cmp ecx, 3
jne 0x4d043e
mov eax, dword [0x5e3870]
mov ecx, dword [0x5e3874]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], ecx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x4d0437
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
cmp ecx, 4
jne 0x4d0540
mov eax, dword [0x5e3868]
mov ecx, dword [0x5e386c]
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], ecx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x4d0488
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 4]
test byte [eax], al
add eax, 0x44
mov dword [esp], eax
call fcn.00461cf0
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], eax
lea ecx, [0x4f9c60]
mov dword [esp], ecx
call fcn.00408c80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x128], eax
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x4d04f9
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x4d0539
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
mov edi, dword [esp + 0x110]
mov ebp, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x34], ecx
mov ecx, ebx
mov ebx, eax
mov eax, edx
mov edx, dword [esp + 0x50]
test eax, eax
je 0x4d0681
mov ebp, dword [edi + 0x28]
cmp eax, ebp
jg 0x4d0575
mov ebp, eax
cmp ebp, ecx
ja 0x4d0699
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], ecx
cmp ebp, eax
ja 0x4d0690
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x74], ebx
mov dword [esp + 0x44], ecx
mov eax, dword [edi + 4]
mov dword [esp], eax
lea esi, [esp + 0xa4]
lea edi, [esp + 4]
call fcn.0045e26e
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 1
call fcn.004cdf20
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x6c], ebx
mov ebp, dword [esp + 0x84]
mov dword [esp], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 4], ebp
call fcn.00461ed0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
sub eax, ecx
mov edx, dword [esp + 0x48]
sub edx, ecx
mov ebx, eax
neg eax
sar eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x74]
add eax, ecx
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
add ecx, ebp
mov ebp, dword [esp + 0x3c]
test ebp, ebp
je 0x4d0540
mov dword [esp + 0x120], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x128], eax
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x4d067a
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
mov eax, esi
mov ecx, edx
mov edx, ebp
mov ebx, dword [esp + 0x34]
jmp 0x4d02ab
mov ecx, eax
mov eax, ebp
call fcn.0045dc90
mov edx, ecx
mov ecx, ebp
call fcn.0045dc70
nop
call fcn.00432850
add esp, 0x10c
ret
call fcn.0045c7a0
jmp fcn.004cff30