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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d2fbd
sub esp, 0x5c
mov eax, dword [esp + 0x60]
cmp eax, 2
jne 0x4d2c7b
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x4d2c6c
mov eax, dword [0x780048]
mov ecx, dword [0x78004c]
mov edx, dword [0x780050]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004ce320
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4d2bca
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], ecx
lea eax, [0x5605c0]
mov dword [esp], eax
call fcn.0040b1d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, 4
jge 0x4d2bc3
mov dword [esp + 0x4c], eax
lea edx, [eax + 4]
mov ebx, dword [esp + 0x54]
cmp edx, ebx
je 0x4d2b94
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0045aa60
lea eax, [0x5c0b90]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x5c
ret
mov ecx, 4
jmp 0x4d2b75
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.004ce670
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea edx, [0x559c80]
mov dword [esp], edx
call fcn.0040b1d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x57e742]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x795b00]
test ecx, ecx
jne 0x4d2c5a
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x5c0930]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x5c
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0045a0f0
mov eax, ecx
jmp 0x4d2c2f
mov edx, dword [esp + 0x6c]
mov ecx, eax
mov eax, dword [esp + 0x64]
jmp 0x4d2b24
cmp eax, 0x17
jne 0x4d2f1b
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x4d2ec7
mov eax, dword [0x759a40]
mov ecx, dword [0x759a44]
mov edx, dword [0x759a48]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], eax
cmp ecx, 4
jne 0x4d2eb5
movzx ebx, byte [eax]
movzx ebp, byte [eax + 1]
movzx esi, byte [eax + 2]
movzx edi, byte [eax + 3]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov edx, dword [0x759a60]
mov ecx, dword [0x759a64]
cmp ecx, 0x10
jge 0x4d2eab
xchg ebp, eax
mov byte [esp + 0x1e], al
xchg ebp, eax
xchg esi, eax
mov byte [esp + 0x1d], al
xchg esi, eax
xchg edi, eax
mov byte [esp + 0x1c], al
xchg edi, eax
mov byte [esp + 0x1f], bl
lea eax, [esp + 0x34]
cmp eax, edx
je 0x4d2d29
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0045aa60
movzx eax, byte [esp + 0x1f]
mov byte [esp + 0x40], al
movzx eax, byte [esp + 0x1e]
mov byte [esp + 0x41], al
movzx eax, byte [esp + 0x1d]
mov byte [esp + 0x42], al
movzx eax, byte [esp + 0x1c]
mov byte [esp + 0x43], al
lea eax, [esp + 0x34]
mov ecx, 0x10
test eax, eax
je 0x4d2e09
mov dword [esp + 0x50], eax
mov dword [esp + 0x28], ecx
lea eax, [0x7804a0]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call fcn.004cd760
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
lea ecx, [0x562700]
mov dword [esp], ecx
call fcn.0040b1d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
jge 0x4d2e02
mov dword [esp + 0x48], eax
lea edx, [eax + 8]
mov ebx, dword [esp + 0x50]
cmp ebx, edx
je 0x4d2dd3
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0045aa60
lea eax, [0x5c0bb0]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x5c
ret
mov ecx, 0x10
jmp 0x4d2db4
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.004ce670
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea edx, [0x559c80]
mov dword [esp], edx
call fcn.0040b1d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x57e752]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x795b00]
test ecx, ecx
jne 0x4d2e99
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x5c0930]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x5c
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0045a0f0
mov eax, ecx
jmp 0x4d2e6e
mov ecx, 0x10
jmp 0x4d2cfb
cmp ecx, 0x10
je 0x4d2d56
xor eax, eax
xor ecx, ecx
jmp 0x4d2d56
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], edx
mov ebx, dword [0x780048]
mov ebp, dword [0x78004c]
mov esi, dword [0x780050]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004cf080
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4d2c90
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
jmp 0x4d2ca2
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.004ce670
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea edx, [0x559c80]
mov dword [esp], edx
call fcn.0040b1d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x16
lea ecx, [0x581ba8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x795b00]
test ecx, ecx
jne 0x4d2fab
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x5c0930]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x5c
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0045a0f0
mov eax, ecx
jmp 0x4d2f80
call fcn.00458ba0
jmp fcn.004d2ae0