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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x496288
sub esp, 0x60
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
cmp ecx, 0x20
sbb edx, edx
mov ebx, 1
shl ebx, cl
and ebx, edx
mov dword [esp + 0x50], ebx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
lea ebp, [ebx + edx - 2]
mov dword [esp + 0xc], ebp
mov esi, dword [eax]
mov dword [esp + 0x48], esi
mov edi, dword [esp + 0x78]
add edi, esi
mov ecx, dword [esp + 0x70]
jmp 0x495cf1
shl ebx, 1
mov ecx, edx
shr edx, 0x1f
or edx, ebx
shl ecx, 1
mov eax, dword [esp + 0x78]
lea edi, [eax - 1]
mov eax, dword [esp + 0x48]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x78], edi
mov ebx, dword [esp + 0x74]
test ebx, ebx
setne al
test ecx, ecx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or eax, ebp
test al, al
je 0x496281
mov dword [esp + 0x44], ecx
lea eax, [esi - 0x1e]
mov dword [esp + 0x40], eax
cmp eax, 0x20
sbb ebp, ebp
lea edx, [esi + 2]
cmp edx, 0x20
sbb esi, esi
neg eax
cmp eax, 0x20
sbb edi, edi
mov ecx, edx
shr ebx, cl
test esi, ebx
sete bl
mov byte [esp + 0xb], bl
mov ebx, dword [esp + 0x44]
mov edx, ebx
shr ebx, cl
and ebx, esi
mov ecx, eax
mov esi, dword [esp + 0x74]
mov eax, esi
shl esi, cl
and esi, edi
or esi, ebx
mov ecx, dword [esp + 0x40]
mov ebx, eax
shr eax, cl
and eax, ebp
or eax, esi
test eax, eax
sete al
movzx ebp, byte [esp + 0xb]
and eax, ebp
test al, al
jne 0x495cc3
movzx eax, byte [esp + 0x7d]
test al, al
je 0x495d81
or edx, 1
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x78]
jmp 0x495db0
mov edx, dword [esp + 0x70]
mov esi, edx
shr edx, 1
mov edi, ebx
shl ebx, 0x1f
or edx, ebx
shr edi, 1
and esi, 1
or edx, esi
mov esi, dword [esp + 0x78]
lea ebp, [esi + 1]
mov esi, dword [esp + 0x48]
mov eax, esi
mov ebx, edi
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
lea esi, [eax + 3]
cmp esi, 0x20
sbb edi, edi
lea ecx, [eax - 0x1d]
mov dword [esp + 0x44], ecx
cmp ecx, 0x20
sbb eax, eax
neg ecx
mov dword [esp + 0x40], ecx
cmp ecx, 0x20
sbb ebp, ebp
mov ecx, dword [esp + 0x44]
shr ebx, cl
and ebx, eax
mov ecx, esi
shr edx, cl
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x74]
shl eax, cl
and eax, ebp
and edx, edi
or edx, eax
or edx, ebx
test edx, edx
setne al
mov ecx, esi
mov edx, dword [esp + 0x74]
mov ebx, edx
shr edx, cl
test edi, edx
setne dl
or edx, eax
test dl, dl
jne 0x495d8b
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
jmp 0x495e38
mov esi, ebp
shr ebp, 1
mov ebx, ecx
shl ecx, 0x1f
or ebp, ecx
shr ebx, 1
and esi, 1
or ebp, esi
inc edx
test ebx, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
seta bl
xchg edi, ebx
cmp ebp, 1
mov ecx, ebx
seta bl
and esi, ebx
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
je 0x495e61
lea ebx, [eax - 1]
cmp edx, ebx
jl 0x495e25
mov ebx, ebp
and ebp, 3
shr ebx, 2
mov esi, ecx
shl ecx, 0x1e
or ecx, ebx
mov ebx, ecx
and ecx, 1
or ebp, ecx
cmp ebp, 3
xchg ebp, ebx
sete bl
xchg ebp, ebx
shr esi, 2
lea edi, [edx + 2]
and ebp, 1
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x496272
mov dword [esp + 0x3c], edi
mov dword [esp + 0x78], edx
add ebx, 1
mov dword [esp + 0x70], ebx
adc esi, 0
mov ebp, dword [esp + 0x48]
lea ecx, [ebp - 0x1f]
mov dword [esp + 0x44], ecx
cmp ecx, 0x20
sbb eax, eax
neg ecx
mov dword [esp + 0x40], ecx
cmp ecx, 0x20
sbb edi, edi
mov ecx, dword [esp + 0x44]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x40]
mov ebx, 1
shr ebx, cl
and ebx, edi
and edx, eax
or edx, ebx
cmp edx, esi
sete al
lea ecx, [ebp + 1]
cmp ecx, 0x20
sbb edx, edx
mov ebx, 1
shl ebx, cl
and ebx, edx
mov edx, dword [esp + 0x70]
cmp ebx, edx
sete bl
and ebx, eax
test bl, bl
je 0x496263
shr edx, 1
mov eax, esi
shl esi, 0x1f
or esi, edx
shr eax, 1
mov edx, dword [esp + 0x78]
add edx, 3
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
cmp ebp, 0x20
sbb ebx, ebx
mov dword [esp + 0x44], ebx
lea edi, [ebp - 0x20]
mov dword [esp + 0x40], edi
cmp edi, 0x20
sbb edx, edx
mov dword [esp + 0x38], edx
xchg edi, ebx
neg ebx
xchg edi, ebx
cmp edi, 0x20
sbb edx, edx
mov dword [esp + 0x34], edx
mov ecx, ebp
shr eax, cl
test ebx, eax
sete al
shr esi, cl
and esi, ebx
mov ecx, edi
mov ebx, dword [esp + 0x74]
shl ebx, cl
and ebx, edx
or ebx, esi
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x74]
shr esi, cl
mov edx, dword [esp + 0x38]
and esi, edx
or esi, ebx
test esi, esi
sete bl
and ebx, eax
test bl, bl
je 0x49625a
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0xc]
cmp eax, ebx
jg 0x49618d
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x5c], ebp
mov esi, dword [esp + 0x6c]
mov edi, dword [esi]
mov dword [esp + 0x48], edi
cmp edi, 0x20
sbb ebp, ebp
mov dword [esp + 0x44], ebp
mov ecx, edi
mov ebx, 1
shl ebx, cl
and ebx, ebp
mov dword [esp + 0x40], ebx
add ebx, 0xffffffff
mov dword [esp + 0x38], ebx
lea ebp, [ecx - 0x20]
mov dword [esp + 0x34], ebp
cmp ebp, 0x20
sbb edi, edi
mov dword [esp + 0x30], edi
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ebp, 0x20
sbb eax, eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x34]
mov ebx, 1
shl ebx, cl
mov ecx, ebp
mov edx, 1
shr edx, cl
and edx, eax
and ebx, edi
or ebx, edx
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x40]
add edx, 0xffffffff
adc ebx, 0xffffffff
mov edx, dword [esi + 4]
cmp edx, 0x20
sbb edi, edi
mov eax, dword [esp + 0x74]
and ebx, eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x70]
and eax, ebx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x78]
sub ebx, dword [esi + 8]
mov ecx, edx
mov esi, 1
shl esi, cl
and esi, edi
dec esi
and esi, ebx
mov dword [esp + 0x50], esi
mov ebx, esi
sar esi, 0x1f
mov ecx, ebp
mov edi, ebx
shr ebx, cl
mov ecx, dword [esp + 0x48]
shl esi, cl
mov ebp, ecx
mov ecx, dword [esp + 0x34]
shl edi, cl
mov ecx, edx
mov edx, dword [esp + 0x44]
and esi, edx
mov eax, dword [esp + 0x2c]
and ebx, eax
or ebx, esi
mov eax, dword [esp + 0x30]
and edi, eax
or edi, ebx
mov eax, dword [esp + 0x18]
or eax, edi
mov ebx, ecx
mov ecx, ebp
mov esi, dword [esp + 0x50]
shl esi, cl
and esi, edx
mov edx, dword [esp + 0x14]
or edx, esi
movzx ebp, byte [esp + 0x7c]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x496189
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
lea ecx, [ebx - 0x20]
cmp ecx, 0x20
sbb ebp, ebp
cmp ebx, 0x20
sbb esi, esi
mov edi, ecx
neg ecx
mov dword [esp + 0x44], ecx
cmp ecx, 0x20
sbb edx, edx
mov ecx, edi
mov eax, dword [esp + 0x40]
mov edi, eax
shl eax, cl
mov dword [esp + 0x38], eax
mov ecx, ebx
mov eax, dword [esp + 0x28]
shl eax, cl
mov ecx, dword [esp + 0x44]
shr edi, cl
and eax, esi
and edi, edx
or edi, eax
mov eax, dword [esp + 0x38]
and ebp, eax
or ebp, edi
mov eax, dword [esp + 0x24]
or eax, ebp
mov ecx, ebx
mov edx, dword [esp + 0x40]
shl edx, cl
and edx, esi
mov ebx, dword [esp + 0x20]
or ebx, edx
mov ecx, dword [esp + 0x6c]
lea edx, [0xc64530]
cmp ecx, edx
jne 0x496158
mov dword [esp + 0x1c], ebx
movss xmm0, dword [esp + 0x1c]
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x80], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x8c], eax
add esp, 0x60
ret
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], eax
movsd xmm0, qword [esp + 0x54]
movsd qword [esp + 0x80], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x8c], eax
add esp, 0x60
ret
mov ebx, edx
jmp 0x496119
mov dword [esp + 0x30], edi
lea eax, [0x828060]
mov dword [esp], eax
call fcn.0040afa0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x8699fe]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x48]
mov ebx, 1
shl ebx, cl
mov ecx, dword [esp + 0x30]
mov ebp, 1
shr ebp, cl
mov ecx, dword [esp + 0x34]
and ebp, ecx
mov ecx, dword [esp + 0x38]
and edx, ecx
or edx, ebp
mov ecx, dword [esp + 0x44]
and ebx, ecx
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
lea ecx, [ebp + ecx - 1]
mov ebp, dword [0xcc7b40]
test ebp, ebp
jne 0x496248
mov ebp, dword [esp + 0x64]
mov dword [eax + 8], ebp
mov ebp, dword [0xcb4e88]
mov esi, dword [0xcb4e8c]
mov dword [eax + 0x10], ebp
mov ebp, dword [0xcc7b40]
test ebp, ebp
jne 0x496238
mov dword [eax + 0x14], esi
mov ebp, eax
mov eax, ecx
mov ecx, ebx
lea ebx, [0x9bb5d0]
jmp 0x495fa2
lea edi, [eax + 0x14]
mov ebp, eax
mov eax, esi
call fcn.0045a0b0
mov eax, ebp
jmp 0x496227
lea edi, [eax + 8]
mov ebp, eax
mov eax, dword [esp + 0x64]
call fcn.0045a0b0
mov eax, ebp
jmp 0x49620b
mov eax, dword [esp + 0x78]
jmp 0x495f8a
mov eax, esi
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x70]
jmp 0x495f18
mov ebp, dword [esp + 0x48]
mov eax, esi
mov edx, edi
mov esi, ebx
jmp 0x495f18
mov edx, ecx
jmp 0x495d75
call fcn.00458870
jmp fcn.00495c70