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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x495703
sub esp, 0x74
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edx
test edx, edx
je 0x4954d1
jmp 0x4954ed
jmp 0x4954d3
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x74
ret
cmp edx, 1
je 0x4954f4
jmp 0x49551e
jmp 0x4954f6
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
test ecx, ecx
ja 0x495507
jmp 0x4956fb
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x74
ret
jmp 0x495520
jmp 0x495522
mov edx, dword [esp + 0x88]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x20], edx
dec edx
imul edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0
jmp 0x495549
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x24], edx
cmp dword [esp + 0x1c], edx
jl 0x495559
jmp 0x49558f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
cmp ecx, eax
ja 0x49556e
jmp 0x4956f6
lea edx, [edx + eax*8]
mov edx, dword [edx + 4]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x18]
add edx, ebx
mov dword [esp + 0x18], edx
jmp 0x495584
mov edx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x1c], edx
jmp 0x495549
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00493af0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
test ecx, ecx
ja 0x4955d4
jmp 0x4956ef
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea edx, [esp + 0x64]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00493e70
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
jmp 0x495606
cmp ecx, 1
jae 0x495610
jmp 0x4956e5
dec edx
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 8
add eax, edx
mov dword [esp + 0x4c], eax
dec ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
jmp 0x495648
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x28], eax
jg 0x495654
jmp 0x4956b7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x64]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00493e70
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x64]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00493e70
jmp 0x4956ac
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
jmp 0x495648
lea eax, [esp + 0x64]
mov dword [esp], eax
call fcn.00493920
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x74
ret
mov eax, 1
call fcn.0045d9c0
xor eax, eax
call fcn.0045d960
call fcn.0045d960
xor eax, eax
call fcn.0045d960
nop
call fcn.0045c4a0
jmp fcn.00495490