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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x4d17e3
sub esp, 0x88
lea eax, [0x62c180]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00404780
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov dword [esp], 0x14
lea ecx, [0x6895a8]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x18], ebp
call fcn.0043a390
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x90]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0045af84
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov word [esp + 0x60], 1
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x5c], eax
mov word [esp + 0x78], 1
mov eax, dword [esp + 0x48]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x58]
mov dword [esp], eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.0043f740
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4d170f
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
test eax, eax
jne 0x4d15cf
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x88
ret
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
call fcn.004d0220
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4d16eb
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x20], ecx
lea edx, [0x6575c0]
mov dword [esp], edx
call fcn.0040b4f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [0x8326a0]
test eax, eax
jne 0x4d16dd
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov ecx, dword [esp + 0x98]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4d16c4
mov eax, dword [esp + 0x94]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x24]
cmp dword [0x81bc10], eax
je 0x4d168d
mov edx, dword [esp + 0x28]
lea eax, [0x6c82b0]
mov ecx, edi
jmp 0x4d15b3
mov dword [esp + 0x3c], edi
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [0x81bc14]
mov dword [esp + 8], eax
call fcn.00403830
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d16be
mov edi, dword [esp + 0x3c]
mov byte [edi + 0x1a], 1
jmp 0x4d167c
mov edi, dword [esp + 0x3c]
jmp 0x4d167c
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x94]
call fcn.0045ace0
mov edi, edx
jmp 0x4d1670
mov eax, dword [esp + 0x40]
call fcn.0045ace0
jmp 0x4d1652
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x88
ret
cmp eax, 1
jne 0x4d17e2
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
cmp dword [0x81b938], eax
je 0x4d17a5
cmp dword [0x815cb8], eax
je 0x4d176e
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x88
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [0x815cbc]
mov dword [esp + 8], edx
call fcn.00403830
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d179b
mov eax, dword [0x815d28]
mov ecx, dword [0x815d2c]
jmp 0x4d174e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
jmp 0x4d174e
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [0x81b93c]
mov dword [esp + 8], edx
call fcn.00403830
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d17d5
mov eax, dword [0x81bbe8]
mov ecx, dword [0x81bbec]
jmp 0x4d174e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
jmp 0x4d1746
nop
call fcn.00459790
jmp fcn.004d1480