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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49611f
sub esp, 0x70
mov eax, 0
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x74]
test byte [eax], al
mov dword [esp], eax
call fcn.00493b20
movzx eax, byte [esp + 4]
test al, al
je 0x495e71
mov eax, dword [esp + 0x74]
xor ecx, ecx
xor edx, edx
jmp 0x495e9a
mov eax, dword [esp + 0x74]
movzx ecx, byte [eax + 0x12f]
test cl, cl
je 0x495e8e
mov ecx, dword [0x8f7a00]
mov edx, dword [0x8f7a04]
jmp 0x495e9a
lea ecx, [0x73dd54]
lea edx, [0x91e8c0]
test ecx, ecx
jne 0x4960f9
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [0x4961d0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x6c], ecx
mov byte [esp + 0x23], 1
mov ecx, dword [esp + 0x7c]
cmp ecx, 0x40000000
jle 0x495ede
mov ecx, 0x40000000
mov dword [esp + 0x24], ecx
lea edx, [eax + 0xf8]
mov dword [esp + 0x50], edx
mov dword [esp], edx
call fcn.0046c1c0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [0x496190]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x68], eax
mov byte [esp + 0x23], 3
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 1
call fcn.00471a10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x4960c2
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea esi, [0x496130]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebp
lea edx, [esp + 0x2c]
mov dword [esp + 0x64], edx
mov byte [esp + 0x23], 7
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.0046314b
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0x28]
mov dword [esp + 0x10], ebx
lea ebx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
call fcn.00475d60
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test ebx, ebx
je 0x49604f
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x49604f
lea eax, [0x6acaa0]
cmp dword [ecx + 4], eax
jne 0x49604f
cmp dword [edx], 0x26
jne 0x49604f
mov ebx, dword [0x8f7a38]
mov ebp, dword [0x8f7a3c]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x49607e
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x49607e
test ebx, ebx
jne 0x49607e
mov eax, dword [esp + 0x74]
movzx eax, byte [eax + 0x12e]
test al, al
je 0x49607e
mov ebx, dword [0x8f7a38]
mov ebp, dword [0x8f7a3c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebp
mov byte [esp + 0x23], 3
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
call eax
add esp, 0x70
ret
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
call eax
add esp, 0x70
ret
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
add esp, 0x70
ret
call fcn.00461ac0
jmp fcn.00495e00