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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x70]
cmp eax, dword [ecx + 8]
jbe 0x4ca34a
sub esp, 0xf0
lea eax, [0x4faa09]
mov dword [esp], eax
mov dword [esp + 4], 0x24
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
lea eax, [0x4fa9e5]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x24
call fcn.004c84e0
nop
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], ecx
lea edx, [0x4e6640]
mov dword [esp], edx
call fcn.0040b990
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x7c]
mov dword [eax], ecx
mov ecx, dword [0x5e99f0]
test ecx, ecx
jne 0x4c9de8
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], ecx
jmp 0x4c9df4
lea edi, [eax + 4]
mov eax, dword [esp + 0x74]
call fcn.00460a20
lea eax, [0x4e6f00]
mov dword [esp], eax
call fcn.0040b990
mov eax, dword [esp + 4]
lea ecx, [0x522e70]
mov dword [eax], ecx
mov ecx, dword [0x5e99f0]
test ecx, ecx
jne 0x4c9e21
mov ecx, dword [esp + 0x78]
mov dword [eax + 4], ecx
jmp 0x4c9e31
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x78]
call fcn.00460a20
mov eax, ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x523060]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea ecx, [esp + 0x80]
test byte [ecx], al
mov edx, dword [esp + 0x80]
mov edx, dword [edx + 0x2c]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov eax, dword [eax + 0x60]
mov edx, dword [esp + 4]
mov dword [esp], ecx
or edx, 0x200
mov dword [esp + 4], edx
call eax
lea eax, [0x4d89e0]
mov dword [esp], eax
call fcn.0040b990
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x4f2550]
mov dword [eax], ecx
mov dword [eax + 0xc], 5
lea ecx, [0x4f192d]
mov dword [eax + 8], ecx
mov dword [eax + 0x14], 9
lea ecx, [0x4f23b2]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x1c], 3
lea ecx, [0x4f169a]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov ecx, dword [ecx + 0x54]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call ecx
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov eax, dword [eax + 0x68]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 8]
test al, al
je 0x4c9f7c
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 0x80058000
call fcn.004c8b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4c9f7c
mov dword [esp + 0x28], eax
mov dword [esp + 0x64], ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4c9fa8
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov eax, dword [eax + 0x40]
mov dword [esp], ecx
call eax
add esp, 0xf0
ret
mov eax, dword [esp + 0x38]
lea edx, [eax + 1]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x6c], edi
cmp edx, eax
jge 0x4ca29d
mov dword [esp + 0x38], edx
lea eax, [ecx + edx*8]
mov ebx, dword [eax]
mov dword [esp + 0x68], ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00409370
mov eax, dword [esp + 8]
lea ecx, [0x4db020]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [0x4f2ef8]
mov dword [esp], eax
mov dword [esp + 4], 0xb
lea edx, [esp + 0x88]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0049fe20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x90]
mov edx, eax
xor eax, eax
call fcn.00460bf6
lea ecx, [0x4f18fc]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], 4
lea ebx, [0x4f1778]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], 3
lea ebp, [0x4f1efc]
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xac], edx
lea edx, [0x4f2294]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], 8
lea esi, [0x4f1a45]
mov dword [esp], esi
mov dword [esp + 4], 5
lea edi, [esp + 0x90]
mov dword [esp + 8], edi
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 5
call fcn.004ac3e0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
lea ecx, [0x4e7d20]
mov dword [esp], ecx
call fcn.0040b990
mov eax, dword [esp + 4]
mov dword [eax + 0xc], 0x8000000
mov ecx, dword [esp + 0x70]
test byte [ecx], al
mov edx, dword [0x5e99f0]
test edx, edx
jne 0x4ca134
mov dword [ecx + 0x4c], eax
jmp 0x4ca13c
lea edi, [ecx + 0x4c]
call fcn.00460a20
mov dword [esp], ecx
call fcn.004af440
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
test eax, eax
je 0x4ca260
mov dword [esp + 0x5c], edx
mov dword [esp + 0x20], ebx
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0xb8]
mov edx, eax
xor eax, eax
call fcn.00460bf2
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xbc], eax
lea eax, [0x4f9bc6]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], 0x20
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xcc], ecx
lea ecx, [0x4f165d]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], 2
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xdc], edx
lea edx, [0x521e98]
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], 1
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xe8], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xec], ebx
mov dword [esp], 0
lea ebx, [esp + 0xb8]
mov dword [esp + 4], ebx
mov dword [esp + 8], 7
mov dword [esp + 0xc], 7
call fcn.0044c950
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x60]
jmp 0x4c9f99
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.0044ce00
mov dword [esp], 0
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.0044cb50
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x6c]
jmp 0x4c9f99
test ebx, ebx
je 0x4ca2f3
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
lea eax, [0x4f9026]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x1d
mov dword [esp + 0x14], 0x40
call fcn.004c33d0
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x6c]
test esi, esi
je 0x4c9f7c
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
lea eax, [0x4f9be6]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x10
call fcn.004c33d0
jmp 0x4c9f7c
call fcn.0045f610
jmp fcn.004c9d50