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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ca13e
sub esp, 0x7c
mov eax, 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
nop
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x242
mov dword [esp + 0xc], 0x1b6
call fcn.0049af60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x4ca123
mov dword [esp + 0x38], ebx
lea eax, [0x4fb594]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebx
mov byte [esp + 0x23], 1
nop
nop
lea eax, [0x4da700]
mov dword [esp], eax
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call fcn.00442170
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
lea ecx, [0x4e3860]
mov dword [esp], ecx
call fcn.0040b530
mov eax, dword [esp + 4]
mov dword [eax + 0xc], 0x1000
mov dword [eax + 0x10], 0x1000
mov ecx, dword [0x5c3830]
test ecx, ecx
jne 0x4ca10e
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov dword [esp + 0x2c], eax
lea ecx, [0x51e16c]
mov dword [eax + 0x18], ecx
mov edx, dword [0x5c3830]
test edx, edx
jne 0x4ca0fd
mov edx, dword [esp + 0x38]
mov dword [eax + 0x1c], edx
lea edi, [esp + 0x44]
xor eax, eax
call fcn.00459a56
lea ecx, [0x4df2a0]
mov dword [esp], ecx
call fcn.0040b530
mov ecx, dword [esp + 4]
lea edx, [0x51e0b8]
mov dword [ecx], edx
mov edx, dword [0x5c3830]
test edx, edx
jne 0x4ca0ec
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov dword [esp + 0x44], ecx
lea eax, [0x4fb520]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x6c], eax
mov byte [esp + 0x23], 3
xor ecx, ecx
jmp 0x4c9f26
mov edx, dword [esp + 0x28]
lea ecx, [edx + 1]
lea eax, [esp + 0x44]
mov edx, dword [esp + 0x8c]
cmp ecx, edx
jge 0x4ca0b0
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x88]
lea edx, [eax + ecx*8]
mov ebx, dword [edx]
mov dword [esp + 0x30], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x24], edx
mov dword [esp], ebx
mov dword [esp + 4], edx
lea ebp, [0x4efe30]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 4
call fcn.004692f0
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x4ca044
mov eax, 1
test al, al
jne 0x4c9f1b
lea eax, [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
call fcn.004ca150
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4c9f1b
mov dword [esp], 0
lea eax, [0x4fa302]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x31
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
call fcn.004454e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408da0
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ecx, [0x4da540]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov eax, dword [0x5a5f28]
lea edx, [0x51e16c]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a23a0
jmp 0x4c9f1b
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
lea edx, [0x4efe3c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.004692f0
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x4ca07c
mov eax, 1
jmp 0x4c9f7f
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
lea edx, [0x4efe38]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.004692f0
mov eax, dword [esp + 0x10]
test eax, eax
setge al
jmp 0x4c9f7f
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004b2ec0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0049b010
add esp, 0x7c
ret
lea edi, [ecx + 4]
mov eax, dword [esp + 0x2c]
call fcn.00459860
jmp 0x4c9efc
lea edi, [eax + 0x1c]
mov eax, dword [esp + 0x38]
call fcn.00459860
jmp 0x4c9ec2
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.00459860
mov eax, ecx
jmp 0x4c9ea0
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
add esp, 0x7c
ret
call fcn.00458300
jmp fcn.004c9da0