Function at 0x4d0ba0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x4d16dd
sub esp, 0xb8
lea eax, [0x62b560]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
lea ecx, [0x624ac0]
mov dword [esp], ecx
call fcn.0040b380
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xbc]
mov dword [eax], ecx
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x4d0c07
mov ecx, dword [esp + 0xc0]
mov dword [eax + 4], ecx
jmp 0x4d0c1a
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0xc0]
call fcn.0045e940
mov eax, ecx
mov dword [esp + 0x5c], eax
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0xffffffff
mov dword [eax + 0x1c], 0x7fffffff
lea ecx, [0x608980]
mov dword [esp], ecx
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0xc0]
mov dword [esp], ebx
mov dword [esp + 8], 0x60
mov dword [esp + 0xc], 0x60
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x4d1269
mov eax, dword [esp + 0x84]
cmp byte [eax], 0x4d
jne 0x4d0df4
cmp byte [eax + 1], 0x5a
jne 0x4d0df4
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x58], eax
lea ecx, [0x608540]
mov dword [esp], ecx
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0xc0]
mov dword [esp], ebx
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
mov dword [esp + 0x14], 0
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x10], ebp
call edx
mov eax, dword [esp + 0x80]
cmp byte [eax], 0x50
jne 0x4d0d51
cmp byte [eax + 1], 0x45
jne 0x4d0d51
movzx ecx, byte [eax + 2]
test cl, cl
jne 0x4d0d51
movzx ecx, byte [eax + 3]
test cl, cl
jne 0x4d0d51
mov eax, dword [esp + 0x58]
add eax, 4
mov ecx, 0
adc ecx, 0
jmp 0x4d0df8
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [0x608540]
mov dword [esp], eax
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x608540]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [0x64d9d7]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bad30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xb8
ret
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx + 8]
add eax, ebx
mov esi, dword [edx + 0xc]
mov edi, esi
adc esi, ecx
cmp eax, ebx
setb bl
cmp edi, esi
xchg edi, ebx
sete bl
xchg edi, ebx
setg cl
and edi, ebx
or ecx, edi
test cl, cl
jne 0x4d0e2f
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], esi
lea eax, [0x6a4d0c]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [0x6a5a00]
mov dword [esp + 8], ecx
lea ebx, [0x84c3cc]
mov dword [esp + 0xc], ebx
lea ebp, [0x5fb820]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x14], ebp
call fcn.004b2620
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x4d1249
mov eax, dword [esp + 0x70]
movzx ecx, word [eax]
cmp cx, 0x14c
ja 0x4d0e9a
test cx, cx
je 0x4d0eb3
cmp cx, 0x14c
je 0x4d0eb3
jmp 0x4d11b6
cmp cx, 0x1c4
je 0x4d0eb3
cmp cx, 0x8664
je 0x4d0eb3
cmp cx, 0xaa64
jne 0x4d11b6
mov dword [esp], eax
lea ecx, [0x6a52dc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
call fcn.004d45a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x70]
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], edx
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x4d0efe
mov dword [edi + 0x40], eax
jmp 0x4d0f0c
lea ecx, [edi + 0x40]
mov edx, edi
mov edi, ecx
call fcn.0045e940
mov edi, edx
test ebx, ebx
jne 0x4d1196
mov dword [esp], edi
lea eax, [0x6a52dc]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.004d4a90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x78], esi
mov edi, dword [esp + 0x70]
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], edx
mov esi, dword [0x84c5a0]
test esi, esi
jne 0x4d0f63
mov dword [edi + 0x34], eax
jmp 0x4d0f71
lea esi, [edi + 0x34]
mov edi, esi
call fcn.0045e940
mov edi, dword [esp + 0x70]
test ebx, ebx
jne 0x4d1172
mov ebx, dword [edi + 0x40]
mov ebp, dword [edi + 0x44]
mov esi, dword [edi + 0x48]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004d4e00
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x70]
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], edx
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x4d0fcf
mov dword [edi + 0x28], eax
jmp 0x4d0fdd
lea ecx, [edi + 0x28]
mov edx, edi
mov edi, ecx
call fcn.0045e940
mov edi, edx
test ebx, ebx
jne 0x4d1152
lea eax, [0x62b600]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x62b600]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3990
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x48]
mov edx, eax
add eax, ecx
mov ebx, dword [esp + 0x5c]
mov ebp, dword [ebx + 8]
mov esi, ebp
add ebp, eax
mov edi, edx
sar edx, 0x1f
add edi, ecx
mov ecx, dword [esp + 0x4c]
adc ecx, edx
mov edx, dword [ebx + 0xc]
add eax, esi
adc ecx, edx
cmp ebp, esi
setb al
cmp edx, ecx
sete dl
xchg esi, ebx
setg bl
xchg esi, ebx
and edx, eax
or esi, edx
xchg esi, eax
test al, al
xchg esi, eax
je 0x4d1061
mov eax, dword [0x825850]
mov ecx, dword [0x825854]
jmp 0x4d106b
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], ecx
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x4d1132
mov eax, dword [esp + 0x70]
movzx ecx, word [eax + 0x10]
lea edx, [0x6a52dc]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov word [esp + 8], cx
call fcn.004d1740
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x70]
mov dword [esi + 0x14], ecx
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x4d10bc
mov dword [esi + 0x18], eax
jmp 0x4d10c4
lea edi, [esi + 0x18]
call fcn.0045e940
test edx, edx
jne 0x4d1112
movzx eax, word [esi + 2]
lea ecx, [0x61e900]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00447cc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
movzx edx, word [ecx + 2]
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x4d1103
mov dword [ecx + 0x1c], eax
jmp 0x4d110b
lea edi, [ecx + 0x1c]
call fcn.0045e940
xor eax, eax
jmp 0x4d128c
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebp
add esp, 0xb8
ret
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xb8
ret
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xcc], esi
add esp, 0xb8
ret
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ebp
mov eax, dword [esp + 0x78]
mov dword [esp + 0xcc], eax
add esp, 0xb8
ret
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xcc], esi
add esp, 0xb8
ret
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
movzx eax, word [eax]
mov word [esp], ax
call fcn.00408c70
mov eax, dword [esp + 4]
lea ecx, [0x60c900]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [0x64cc1e]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bad30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xb8
ret
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
add esp, 0xb8
ret
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
add esp, 0xb8
ret
inc eax
mov ecx, ebp
movzx edx, word [ecx + 2]
cmp eax, edx
jge 0x4d15c4
mov dword [esp + 0x44], eax
lea eax, [0x62ef20]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
lea ecx, [0x6a4d0c]
mov dword [esp], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
lea ebx, [0x6a5a00]
mov dword [esp + 8], ebx
lea ebp, [0x84c3cc]
mov dword [esp + 0xc], ebp
lea esi, [0x611380]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
call fcn.004b2620
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x4d15a4
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x48]
mov ebp, dword [esp + 0x60]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004d4070
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test eax, eax
jne 0x4d1584
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x3c], ebp
lea eax, [0x628040]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
lea edi, [esp + 0x90]
xor eax, eax
call fcn.0045ebb6
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 8]
mov dword [esp + 0x98], edx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x9c], edx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0xa0], edx
mov edx, dword [ecx + 0x14]
mov dword [esp + 0xa4], edx
mov edx, dword [ecx + 0x18]
mov dword [esp + 0xa8], edx
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0xac], edx
movzx edx, word [ecx + 0x20]
mov word [esp + 0xb0], dx
movzx edx, word [ecx + 0x22]
mov word [esp + 0xb2], dx
mov edx, dword [ecx + 0x24]
mov dword [esp + 0xb4], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x4d13ff
mov edi, dword [esp + 0x64]
lea esi, [esp + 0x90]
call fcn.0045f06c
jmp 0x4d1422
lea eax, [0x62ee60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
lea ecx, [esp + 0x90]
mov dword [esp + 8], ecx
call fcn.00410410
xor eax, eax
mov ecx, dword [esp + 0x60]
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4d143b
lea ecx, [0x84c3cc]
lea edx, [0x6a4fdc]
jmp 0x4d1449
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x64]
mov ebp, dword [ebx + 0x10]
mov esi, 0xffffffff
sub esi, ebp
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x38], edi
cmp esi, edi
xchg esi, ebx
setae bl
xchg esi, ebx
mov ebx, 0xffffffff
sub ebx, ebp
mov ebx, 0x7fffffff
sbb ebx, 0
test ebx, ebx
setg bl
sete cl
and esi, ecx
or esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x4d1497
add ebp, edi
adc eax, 0
jmp 0x4d14a1
mov eax, 0x7fffffff
mov ebp, 0xffffffff
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], eax
lea ecx, [0x624ac0]
mov dword [esp], ecx
call fcn.0040b380
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x4d14d4
mov edx, dword [esp + 0x68]
mov dword [eax + 4], edx
jmp 0x4d14e4
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045e940
mov eax, ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 0
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0x1c], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x4d151d
mov edx, dword [esp + 0x64]
mov dword [edx + 0x3c], eax
jmp 0x4d1529
mov edx, dword [esp + 0x64]
lea edi, [edx + 0x3c]
call fcn.0045e940
lea ebx, [0x6a4d20]
mov dword [edx + 0x34], ebx
mov ebp, dword [0x84c5a0]
test ebp, ebp
jne 0x4d1541
mov dword [edx + 0x38], eax
jmp 0x4d1549
lea edi, [edx + 0x38]
call fcn.0045e940
mov ebp, dword [esp + 0x70]
mov esi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov eax, dword [esp + 0x44]
cmp eax, ecx
jae 0x4d16d7
lea edi, [esi + eax*4]
mov ebx, dword [0x84c5a0]
test ebx, ebx
jne 0x4d1574
mov dword [esi + eax*4], edx
jmp 0x4d1289
mov ecx, eax
mov eax, edx
call fcn.0045e940
mov eax, ecx
jmp 0x4d1289
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
add esp, 0xb8
ret
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
add esp, 0xb8
ret
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x5c]
xor eax, eax
jmp 0x4d15e0
inc eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x5c]
cmp eax, edx
jge 0x4d16a7
mov ebp, dword [ecx + 0x20]
mov esi, dword [ecx + 0x1c]
cmp eax, ebp
jae 0x4d16d0
mov dword [esp + 0x40], eax
mov ecx, dword [esi + eax*4]
test byte [ecx], al
mov dword [esp], ecx
lea ecx, [0x6a52dc]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004d4180
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x40]
cmp eax, ecx
jae 0x4d16cb
mov edx, dword [edx + eax*4]
mov dword [edx + 0x2c], ebp
mov dword [edx + 0x30], esi
mov ebp, dword [0x84c5a0]
test ebp, ebp
jne 0x4d1663
mov dword [edx + 0x28], ebx
jmp 0x4d1677
add edx, 0x28
mov ecx, edi
mov edi, edx
mov ebp, eax
mov eax, ebx
call fcn.0045e940
mov eax, ebp
mov edi, ecx
test edi, edi
je 0x4d15d3
mov dword [esp + 0xc4], 0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xcc], eax
add esp, 0xb8
ret
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0xb8
ret
call fcn.0045e9c0
mov ecx, ebp
call fcn.0045e9c0
call fcn.0045e9c0
nop
call fcn.0045d530
jmp fcn.004d0ba0