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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49634b
sub esp, 0x54
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x60]
cmp dword [ecx + 4], eax
sete al
je 0x49601b
jmp 0x49603e
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00402b40
movzx eax, byte [esp + 0xc]
jmp 0x496040
jmp 0x496040
mov byte [esp + 0x1b], al
test al, al
jne 0x49604a
jmp 0x49604c
jmp 0x49605b
mov eax, dword [esp + 0x70]
test eax, eax
sete al
mov byte [esp + 0x1b], al
jmp 0x49605b
movzx eax, byte [esp + 0x1b]
test al, al
jne 0x496066
jmp 0x49607a
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x54
ret
jmp 0x49607c
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.00494250
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4960ae
jmp 0x4960c2
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x54
ret
mov eax, dword [esp + 0x70]
test eax, eax
setl al
mov byte [esp + 0x1b], al
jl 0x4960d3
jmp 0x4960d5
jmp 0x4960e6
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x70], eax
setg al
mov byte [esp + 0x1b], al
jmp 0x4960e6
movzx eax, byte [esp + 0x1b]
test al, al
jne 0x4960f1
jmp 0x4960fb
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], eax
jmp 0x4960fd
jmp 0x4960fd
jmp 0x4960ff
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x34]
sub ecx, eax
imul ecx, dword [esp + 0x70]
add ecx, dword [esp + 0x38]
lea eax, [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00493af0
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], 0
jmp 0x496168
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x70], ebx
jg 0x496177
jmp 0x4962ce
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x38], ebx
test ebx, ebx
je 0x49618d
jmp 0x4961eb
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jg 0x496197
jmp 0x4961e7
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
cmp eax, ecx
jbe 0x4961ac
jmp 0x496345
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
add eax, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0047ee30
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
jmp 0x4961e9
jmp 0x4961e9
jmp 0x496245
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
cmp eax, ecx
jbe 0x496200
jmp 0x496340
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
add eax, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004967c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x28], eax
jmp 0x496245
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
cmp ecx, edx
jbe 0x49625e
jmp 0x49633b
cmp ecx, eax
jae 0x496267
jmp 0x496336
sub ecx, eax
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
add eax, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00493e70
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00493e70
mov eax, dword [esp + 0x64]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x20], eax
jmp 0x4962c0
mov ebx, dword [esp + 0x2c]
inc ebx
mov dword [esp + 0x2c], ebx
jmp 0x496168
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
cmp eax, ecx
jbe 0x4962e0
jmp 0x496331
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
add eax, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
lea ecx, [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00493e70
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.00493920
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x54
ret
call fcn.0045d9c0
call fcn.0045d9c0
call fcn.0045d980
call fcn.0045d9c0
call fcn.0045d9c0
nop
call fcn.0045c4a0
jmp fcn.00495fe0