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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ca01e
sub esp, 0x50
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x54]
xor edx, edx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4c9e2d
add eax, 0x14
inc edx
mov esi, dword [esp + 0x5c]
mov esi, ecx
mov ecx, dword [esp + 0x5c]
cmp ecx, edx
jle 0x4c9f42
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], eax
lea edi, [esp + 0x3c]
mov esi, eax
call fcn.0046903e
test ebx, ebx
jne 0x4c9e5f
mov ecx, 1
jmp 0x4c9e88
mov eax, dword [ebx]
lea edi, [esp]
lea esi, [esp + 0x3c]
call fcn.0046903e
mov edx, ebx
call eax
movzx eax, byte [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x38]
test cl, cl
jne 0x4c9e96
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
jmp 0x4c9e1f
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
lea edi, [esp]
lea esi, [esp + 0x3c]
call fcn.0046903e
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
inc ebx
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
jb 0x4c9ec5
mov edi, dword [esp + 0x2c]
jmp 0x4c9f07
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x4fd060]
mov dword [esp + 0x10], eax
call fcn.0044f980
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, ebp
lea ebp, [edi + ebx*8 - 8]
mov dword [ebp], ecx
lea ecx, [edi + ebx*8 - 4]
mov ebp, dword [0x61d360]
test ebp, ebp
jne 0x4c9f22
mov dword [ecx], eax
jmp 0x4c9f2d
mov ebp, edi
mov edi, ecx
call fcn.00468980
mov edi, ebp
mov eax, dword [esp + 0x38]
mov ecx, ebx
mov ebp, edx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x54]
jmp 0x4c9e1f
test esi, esi
jne 0x4c9ffb
mov eax, dword [0x5f7148]
mov ecx, dword [0x5f714c]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
lea edx, [0x4fec20]
mov dword [esp], edx
call fcn.0040d2f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [0x61d360]
test eax, eax
jne 0x4c9f99
mov ecx, dword [esp + 0x34]
mov dword [edi], ecx
jmp 0x4c9fa2
mov eax, dword [esp + 0x34]
call fcn.00468980
mov ecx, dword [esp + 0x6c]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x61d360]
test ecx, ecx
jne 0x4c9fbc
mov eax, dword [esp + 0x68]
mov dword [edi + 8], eax
jmp 0x4c9fce
lea ecx, [edi + 8]
mov eax, dword [esp + 0x68]
mov edx, edi
mov edi, ecx
call fcn.00468980
mov edi, edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x52695c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
add esp, 0x50
ret
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x50
ret
call fcn.00467570
jmp fcn.004c9df0