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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x100]
cmp eax, dword [ecx + 8]
jbe 0x4c0ea9
sub esp, 0x180
mov eax, dword [esp + 0x18c]
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
lea ebx, [0x51d8e0]
mov dword [esp], ebx
call fcn.0040b710
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
lea ecx, [0x523060]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00448940
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x6c]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov ecx, dword [0x64f2f0]
test ecx, ecx
jne 0x4c0a7f
mov dword [edi], eax
jmp 0x4c0a84
call fcn.00460a90
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x80]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.00460c99
lea edi, [esp + 0x114]
call fcn.00460c85
lea ecx, [esp + 0x114]
mov dword [esp + 0x98], ecx
call fcn.0044d7e0
mov eax, dword [esp]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x184]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x188]
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0x8c]
mov dword [esp + 0x10], ebp
call fcn.004c0360
movzx eax, byte [esp + 0x14]
test al, al
je 0x4c0cce
lea edi, [esp + 0x70]
xor eax, eax
call fcn.00460c99
lea edi, [esp + 0xa8]
call fcn.00460c85
lea ecx, [esp + 0xa8]
mov dword [esp + 0x7c], ecx
call fcn.0044d7e0
mov ecx, dword [esp]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x184]
mov dword [esp], ecx
mov ecx, dword [esp + 0x188]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
lea ebx, [esp + 0x70]
mov dword [esp + 0x18], ebx
call fcn.004be870
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], ecx
mov dword [esp], 0
lea edx, [0x530f67]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xb
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
lea edx, [0x531bc4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
call fcn.0044c520
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
lea ebx, [0x51bce0]
mov dword [esp], ebx
call fcn.0040b710
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [edi + 4], ecx
mov ecx, dword [0x64f2f0]
test ecx, ecx
jne 0x4c0c13
mov edx, dword [esp + 0x44]
mov dword [edi], edx
jmp 0x4c0c1c
mov eax, dword [esp + 0x44]
call fcn.00460a90
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov esi, dword [esp + 0x58]
mov esi, dword [esi]
test ebp, ebp
jbe 0x4c0e9f
mov dword [esp + 0x68], edi
mov ecx, dword [0x64f2f0]
test ecx, ecx
jne 0x4c0c4e
xor eax, eax
mov edi, ebx
call fcn.00460c99
mov dword [ebx], esi
jmp 0x4c0c7b
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], esi
lea eax, [0x523060]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004110b0
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
call fcn.00460a90
mov edx, dword [esp + 0x6c]
mov ebx, edi
lea ecx, [0x56a0f8]
mov dword [ebx + 0x14], ecx
mov ecx, dword [0x64f2f0]
test ecx, ecx
jne 0x4c0c97
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x18], eax
jmp 0x4c0ca3
lea edi, [ebx + 0x18]
mov eax, dword [esp + 0x68]
call fcn.00460a90
mov dword [edx + 0xc], 1
mov dword [esp + 0x190], edx
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
add esp, 0x180
ret
mov eax, dword [esp + 0x184]
mov dword [esp], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 4], eax
call fcn.004c0800
mov eax, dword [esp + 0x18c]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 8]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x3c], ebx
mov eax, dword [eax + 0xc]
mov ecx, dword [ecx + 0x50]
mov dword [esp], eax
call ecx
cmp dword [esp + 4], 0x14
jne 0x4c0de5
mov eax, dword [esp + 0x188]
cmp dword [0x64f090], eax
je 0x4c0de5
mov dword [esp], 0
lea eax, [0x53665f]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1a
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
lea eax, [0x53dbbd]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x48
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
call fcn.0044c5c0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
lea edx, [0x51bce0]
mov dword [esp], edx
call fcn.0040b710
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [0x64f2f0]
test eax, eax
jne 0x4c0db6
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
jmp 0x4c0dbf
mov eax, dword [esp + 0x4c]
call fcn.00460a90
mov dword [esp + 0x190], 0
lea eax, [0x56a0f8]
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], edi
add esp, 0x180
ret
mov dword [esp], 0
lea eax, [0x537e0d]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1e
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
lea eax, [0x534ce1]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x17
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
call fcn.0044c5c0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
lea edx, [0x51bce0]
mov dword [esp], edx
call fcn.0040b710
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x64f2f0]
test eax, eax
jne 0x4c0e70
mov eax, dword [esp + 0x48]
mov dword [edi], eax
jmp 0x4c0e79
mov eax, dword [esp + 0x48]
call fcn.00460a90
mov dword [esp + 0x190], 0
lea eax, [0x56a0f8]
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], edi
add esp, 0x180
ret
xor eax, eax
mov ecx, eax
call fcn.00460b10
nop
call fcn.0045f680
jmp fcn.004c09f0