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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x60]
cmp eax, dword [ecx + 8]
jbe 0x4d2ead
sub esp, 0xe0
mov eax, 0
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov byte [esp + 0x43], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov eax, dword [esp + 0xe8]
test eax, eax
je 0x4d2e88
call fcn.004b0340
lea edi, [esp + 0xc4]
lea esi, [esp]
call fcn.0045fece
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov ecx, dword [esp + 0xe8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xec]
mov dword [esp + 8], edx
lea edi, [esp + 0xc]
lea esi, [esp + 0xc4]
call fcn.0045fece
call fcn.004d0e10
lea edi, [esp + 0x9c]
lea esi, [esp + 0x20]
call fcn.0045fece
lea edi, [esp + 0x88]
lea esi, [esp + 0x9c]
call fcn.0045fece
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
test ecx, 0x80000000
je 0x4d2661
shl ecx, 1
mov edx, eax
shr eax, 0x1f
or eax, ecx
mov ecx, edx
shl edx, 1
mov ebx, eax
shl eax, 1
shr edx, 0x1f
or edx, eax
mov ebp, edx
add edx, 0xd7b17f80
shr ebx, 0x1f
add ebp, 0xd7b17f80
adc ebx, 0xd
jmp 0x4d2671
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov ecx, eax
test edx, edx
sete dl
test ebx, ebx
sete bl
and ebx, edx
test bl, bl
je 0x4d269e
test ecx, 0x3fffffff
jne 0x4d269e
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
xor eax, eax
jmp 0x4d277d
lea edi, [esp + 0xc4]
xor eax, eax
call fcn.0045f9eb
mov ecx, dword [esp + 0xe8]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0xec]
mov dword [esp], ebx
call edx
movzx ecx, byte [esp + 0x18]
mov byte [esp + 0x41], cl
lea edi, [esp + 0xc4]
lea esi, [esp + 4]
call fcn.0045fece
lea edi, [esp + 0xb0]
lea esi, [esp + 0xc4]
call fcn.0045fece
movzx ecx, byte [esp + 0x41]
test cl, cl
je 0x4d2724
lea edi, [esp]
lea esi, [esp + 0x9c]
call fcn.0045fece
lea edi, [esp + 0x14]
lea esi, [esp + 0xb0]
call fcn.0045fece
call fcn.004ae3e0
movzx eax, byte [esp + 0x28]
test al, al
je 0x4d276d
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 4], eax
lea edi, [esp + 8]
lea esi, [esp + 0x9c]
call fcn.0045fece
call fcn.004cdcd0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xdc], eax
mov byte [esp + 0x43], 1
mov eax, 1
jmp 0x4d277d
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
xor eax, eax
mov ebx, dword [esp + 0xe4]
mov ebp, dword [ebx + 0x3c]
test ebp, ebp
je 0x4d2873
mov dword [esp + 0x74], ebp
mov byte [esp + 0x42], al
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004cd0d0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x44], ebx
mov dword [esp + 0xd8], eax
movzx ebp, byte [esp + 0x42]
or ebp, 2
xchg ebp, eax
mov byte [esp + 0x42], al
xchg ebp, eax
xchg ebp, eax
mov byte [esp + 0x43], al
xchg ebp, eax
lea esi, [0x66c9e0]
mov dword [esp], esi
call fcn.0040b470
mov eax, dword [esp + 4]
lea ecx, [0x4d2ec0]
mov dword [eax], ecx
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x4d2815
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
jmp 0x4d2831
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.0045f750
lea edi, [ecx + 8]
mov eax, dword [esp + 0x7c]
call fcn.0045f750
mov eax, ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x4d284e
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x10], ecx
jmp 0x4d285e
lea edi, [eax + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045f750
mov eax, ecx
mov dword [esp], eax
call fcn.0043f470
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x68]
movzx eax, byte [esp + 0x42]
mov dword [esp + 0x70], edx
mov dword [esp + 0x48], ecx
mov byte [esp + 0x42], al
mov ebx, dword [ecx + 0x1c]
mov dword [esp], edx
lea ebp, [0x65bda0]
mov dword [esp + 4], ebp
lea esi, [0x887b48]
mov dword [esp + 8], esi
call ebx
mov eax, dword [esp + 0x10]
lea ecx, [0x64c720]
cmp dword [esp + 0xc], ecx
je 0x4d28ad
xor eax, eax
test eax, eax
jne 0x4d28be
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x70]
jmp 0x4d2977
mov dword [esp + 0x60], eax
lea eax, [0x672600]
mov dword [esp], eax
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [0x887d70]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
test eax, eax
jne 0x4d28ee
mov dword [edi], edx
mov dword [edi + 4], ecx
jmp 0x4d2905
mov eax, edx
call fcn.0045f750
lea edx, [edi + 4]
mov eax, ecx
mov ecx, edi
mov edi, edx
call fcn.0045f750
mov edi, ecx
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x4d291f
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
jmp 0x4d2939
lea ecx, [edi + 8]
xor eax, eax
mov edx, edi
mov edi, ecx
call fcn.0045f750
lea edi, [edx + 0xc]
xor eax, eax
call fcn.0045f750
mov edi, edx
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
lea edx, [0x65bda0]
mov dword [esp + 8], edx
lea edx, [0x887b48]
mov dword [esp + 0xc], edx
lea edx, [0x64c720]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edi
call fcn.004ce590
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xe4]
mov ebx, dword [eax + 0x38]
test ebx, ebx
jne 0x4d298b
mov ebx, dword [0x85a904]
mov ebp, dword [eax + 0x1c]
mov esi, dword [eax + 0x20]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea ecx, [0x68ce32]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 4
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0xf4]
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0xf8]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xfc]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], esi
call fcn.004d15b0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
test edx, edx
je 0x4d2b1c
mov dword [esp + 0x84], ebp
mov dword [esp + 0x78], ebx
lea eax, [0x675d60]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x68ce32]
mov dword [eax], ecx
mov ecx, dword [esp + 0xf4]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x4d2a53
mov ecx, dword [esp + 0xf0]
mov dword [eax + 8], ecx
jmp 0x4d2a66
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0xf0]
call fcn.0045f750
mov eax, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x887d70]
test ecx, ecx
jne 0x4d2a9f
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x24], ecx
jmp 0x4d2aaf
lea edi, [eax + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x78]
call fcn.0045f750
mov eax, ecx
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
lea ecx, [0x6f6638]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], eax
movzx eax, byte [esp + 0x42]
test al, 2
je 0x4d2afe
and eax, 0xfffffffd
mov byte [esp + 0x42], al
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xd8]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x42]
test al, 1
je 0x4d2b15
and eax, 0xfffffffe
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xdc]
mov eax, dword [edx]
call eax
add esp, 0xe0
ret
mov dword [esp + 0x80], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ecx
lea eax, [0x66f520]
mov dword [esp], eax
call fcn.0040b470
mov edi, dword [esp + 4]
mov dword [esp + 0x6c], edi
mov eax, dword [0x887d70]
test eax, eax
jne 0x4d2b59
mov esi, dword [esp + 0xe4]
call fcn.0045fe56
jmp 0x4d2b76
lea eax, [0x67cc80]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0xe4]
mov dword [esp + 8], eax
call fcn.00410a60
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0x48], ecx
mov ebx, dword [0x887d70]
test ebx, ebx
jne 0x4d2b9a
mov ebx, dword [esp + 0xf0]
mov dword [edx + 0x44], ebx
jmp 0x4d2bab
lea edi, [edx + 0x44]
mov eax, dword [esp + 0xf0]
call fcn.0045f750
mov ebx, eax
mov ebp, dword [esp + 0xfc]
mov dword [edx + 0x50], ebp
mov ebp, dword [0x887d70]
test ebp, ebp
jne 0x4d2bcb
mov eax, dword [esp + 0xf8]
mov dword [edx + 0x4c], eax
jmp 0x4d2bda
lea edi, [edx + 0x4c]
mov eax, dword [esp + 0xf8]
call fcn.0045f750
mov eax, dword [esp + 0xe4]
mov ebp, dword [eax + 0x2c]
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
and ebp, 1
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4d2c54
cmp ecx, 3
jne 0x4d2c54
cmp word [ebx], 0x6374
jne 0x4d2c54
cmp byte [ebx + 2], 0x70
jne 0x4d2c54
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
lea eax, [0x6a721c]
mov dword [esp + 0xc], eax
call fcn.004d9810
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
jmp 0x4d2c69
xor ecx, ecx
xor edx, edx
xor eax, eax
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x80]
test ecx, ecx
je 0x4d2cb3
mov edi, dword [esp + 0x6c]
mov dword [esp], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x70]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.004d2f80
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
jmp 0x4d2ceb
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004d38f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test eax, eax
je 0x4d2d56
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
movzx eax, byte [esp + 0x42]
test al, 2
je 0x4d2d38
and eax, 0xfffffffd
mov byte [esp + 0x42], al
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xd8]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x42]
test al, 1
je 0x4d2d4f
and eax, 0xfffffffe
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xdc]
mov eax, dword [edx]
call eax
add esp, 0xe0
ret
lea eax, [0x6f7c90]
cmp edx, eax
jne 0x4d2d64
mov eax, ebx
jmp 0x4d2d6b
mov eax, ebx
mov ebx, 0
jne 0x4d2e21
mov ecx, dword [esp + 0xe4]
mov ebp, dword [ecx + 0x34]
test ebp, ebp
xchg ebp, ebx
setg bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, 1
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x4d2e21
mov dword [esp + 0x64], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x84], eax
mov eax, dword [ebx]
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.004e1da0
mov eax, dword [esp + 0xe4]
mov ecx, dword [eax + 0x30]
test ecx, ecx
sete dl
mov eax, dword [eax + 0x34]
test eax, eax
sete bl
and ebx, edx
test bl, bl
je 0x4d2ddf
mov eax, 3
mov ecx, 0x7e11d600
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x64]
mov edx, dword [edx]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.004e3030
mov edx, dword [0x85a918]
mov eax, dword [edx]
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x100], edx
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
movzx eax, byte [esp + 0x42]
test al, 2
je 0x4d2e6a
and eax, 0xfffffffd
mov byte [esp + 0x42], al
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xd8]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x42]
test al, 1
je 0x4d2e81
and eax, 0xfffffffe
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xdc]
mov eax, dword [edx]
call eax
add esp, 0xe0
ret
lea eax, [0x658f60]
mov dword [esp], eax
lea eax, [0x6f5fbc]
mov dword [esp + 4], eax
call fcn.00434250
nop
call fcn.004337a0
add esp, 0xe0
ret
call fcn.0045e340
jmp fcn.004d2540