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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d4c33
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
test ecx, ecx
jbe 0x4d4a1e
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x64]
mov edx, dword [edx + 0x14]
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 8], 0
lea eax, [eax + eax*8]
lea eax, [ecx + eax*2]
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4d485e
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x4d47fc
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea eax, [0x617fc9]
mov dword [esp], eax
mov dword [esp + 4], 0x20
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bacb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x5c
ret
lea eax, [0x5e4880]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
lea ecx, [0x5eb2e0]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
call fcn.00409250
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
lea ecx, [0x669024]
mov dword [esp + 8], ecx
lea ecx, [0x7e1a80]
mov dword [esp + 0xc], ecx
lea ecx, [0x5da460]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
call fcn.004b24e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4d494d
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x4d48eb
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea eax, [0x6196a3]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bacb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x50]
mov ebx, dword [ecx]
cmp ebx, 4
jbe 0x4d49f2
add ebx, 0xfffffffc
mov dword [ecx], ebx
cmp ebx, 0xa00000
jb 0x4d4974
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4d4b22
lea eax, [0x5e4900]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.0044a5d0
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
lea edx, [0x5eb2e0]
mov dword [esp], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
call fcn.00409250
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.0048a720
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebx, edx
mov ebp, dword [esp + 0x4c]
jmp 0x4d4a4a
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
test eax, eax
je 0x4d4ac5
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
je 0x4d4a63
mov eax, dword [eax + 4]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
lea eax, [0x616d60]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bacb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x5c
ret
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov dword [esp + 0x34], esi
mov dword [esp + 0x48], edi
lea eax, [edi + ebx]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00461a40
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
sub dword [ecx], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
mov edi, dword [ecx]
test edi, edi
jbe 0x4d4c26
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x44], esi
cmp edi, 0xa00000
jbe 0x4d4b45
mov edi, 0xa00000
mov dword [esp + 0x24], edi
lea eax, [0x5e4900]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edi
call fcn.0044a5d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
lea ecx, [0x5eb2e0]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
call fcn.00409250
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
call fcn.0048a720
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x4d4c18
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
lea ebp, [ebx + edx]
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x30]
cmp esi, ebp
jb 0x4d4bdd
mov edi, dword [esp + 0x44]
jmp 0x4d4ae5
lea eax, [0x5e4900]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.0044a7d0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov edi, esi
mov esi, ebx
mov ebx, dword [esp + 0x2c]
jmp 0x4d4ae5
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
mov edx, ecx
mov ecx, edx
mov edx, ebx
mov ebx, ebp
mov ebp, esi
jmp 0x4d4a4a
call fcn.0045fcc0
jmp fcn.004d4780