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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d5154
sub esp, 0x70
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x4d4ed0
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x4d4dde
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x88]
test edx, edx
je 0x4d4da7
mov dword [esp + 0x50], ecx
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + 0x134]
mov ebp, dword [esp + 0x8c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x4d4d95
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
call fcn.004c9790
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
test eax, eax
jne 0x4d4d83
mov eax, dword [esp + 0x74]
mov byte [eax + 0x13c], 1
mov dword [esp + 0x68], edx
mov dword [esp + 0x48], ecx
mov ebx, dword [eax + 0x10]
mov dword [esp], ebx
call fcn.0048cc30
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x48]
test edx, edx
je 0x4d4b95
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004d48d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.004d48d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x148], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x4d4b80
mov edx, dword [esp + 0x54]
mov dword [ebx + 0x14c], edx
mov dword [ebx + 0x150], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4d4b73
mov dword [ebx + 0x154], eax
lea eax, [0x666e40]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x62ff80]
mov dword [esp + 8], eax
lea eax, [0x689578]
mov dword [esp + 0xc], eax
call fcn.00414cc0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x70
ret
lea edi, [ebx + 0x154]
call fcn.0045ace0
jmp 0x4d4b33
lea edi, [ebx + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x54]
call fcn.0045ace0
mov eax, edx
jmp 0x4d4b1d
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0048cd10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4d4c9f
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004d48d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.004d48d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x148], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x4d4c8a
mov edx, dword [esp + 0x5c]
mov dword [ebx + 0x14c], edx
mov dword [ebx + 0x150], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4d4c7d
mov dword [ebx + 0x154], eax
lea eax, [0x666e40]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x62ff80]
mov dword [esp + 8], eax
lea eax, [0x689578]
mov dword [esp + 0xc], eax
call fcn.00414cc0
jmp 0x4d4b59
lea edi, [ebx + 0x154]
call fcn.0045ace0
jmp 0x4d4c52
lea edi, [ebx + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x5c]
call fcn.0045ace0
mov eax, edx
jmp 0x4d4c3c
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004d48d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
lea edx, [0x6401e0]
mov dword [esp], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 8], edx
call fcn.00408e60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x148], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x4d4d6e
mov edx, dword [esp + 0x58]
mov dword [ebx + 0x14c], edx
mov dword [ebx + 0x150], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4d4d61
mov dword [ebx + 0x154], eax
lea eax, [0x666e40]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x62ff80]
mov dword [esp + 8], eax
lea eax, [0x689578]
mov dword [esp + 0xc], eax
call fcn.00414cc0
jmp 0x4d4b59
lea edi, [ebx + 0x154]
call fcn.0045ace0
jmp 0x4d4d36
lea edi, [ebx + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x58]
call fcn.0045ace0
mov eax, edx
jmp 0x4d4d20
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ebx
add esp, 0x70
ret
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ebx
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004c9690
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4d4dcc
mov eax, dword [esp + 0x74]
xor ecx, ecx
xor edx, edx
jmp 0x4d4a6e
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
test ecx, ecx
jne 0x4d4ebe
test eax, eax
jne 0x4d4e1e
mov ecx, edx
jmp 0x4d49cb
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0048cb50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4d4e53
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
jmp 0x4d4e17
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], ecx
lea eax, [0x645bc0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x66ec74]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4d4eac
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
lea ecx, [0x6c8550]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.0045ace0
mov eax, ecx
jmp 0x4d4e94
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ebx
add esp, 0x70
ret
nop
lea eax, [0x63f0c0]
mov dword [esp], eax
call fcn.0040b4f0
mov edi, dword [esp + 4]
mov eax, dword [0x8326a0]
test eax, eax
jne 0x4d513a
mov ebx, dword [esp + 0x74]
mov dword [edi], ebx
mov dword [esp + 0x6c], edi
mov ebp, dword [esp + 0x88]
test ebp, ebp
jne 0x4d5108
mov esi, dword [esp + 0x80]
test esi, esi
jne 0x4d50d6
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x64], ecx
mov edx, ebp
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
cmp esi, 4
jne 0x4d5052
cmp dword [ebp], 0x78696e75
jne 0x4d4f9b
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
lea eax, [0x6ca790]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x4d49b8
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
lea edi, [esi - 1]
cmp esi, edi
jbe 0x4d514a
movzx edi, byte [esi + ebp - 1]
xchg edi, eax
cmp al, 0x34
xchg edi, eax
jne 0x4d4fc4
mov edi, dword [esp + 0x6c]
jmp 0x4d4f51
xchg edi, eax
cmp al, 0x36
xchg edi, eax
je 0x4d4fbe
cmp dword [ebx + 0x134], 2
jne 0x4d5013
mov dword [esp], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
lea eax, [0x66e881]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.00445d20
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
jmp 0x4d4f51
mov dword [esp], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
lea eax, [0x66e883]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.00445d20
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
jmp 0x4d4f51
cmp esi, 8
jne 0x4d5076
cmp dword [ebp], 0x78696e75
jne 0x4d4f9b
cmp dword [ebp + 4], 0x6d617267
je 0x4d4f45
jmp 0x4d4f9b
cmp esi, 0xa
jne 0x4d4f9b
mov dword [esp], ebp
lea eax, [0x6704ed]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00402950
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d50ba
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x6c]
jmp 0x4d4f45
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x6c]
jmp 0x4d4f9b
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x6c]
jmp 0x4d4f1d
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x6c]
jmp 0x4d4f1d
mov eax, dword [esp + 0x74]
call fcn.0045ace0
mov ebx, eax
jmp 0x4d4ef7
mov eax, edi
mov ecx, esi
call fcn.0045ad60
nop
call fcn.00459790
jmp fcn.004d4990