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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x298
movsd xmm3, qword [0x49dbb0]
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x38], eax
push esi
xorps xmm1, xmm1
mov dword [esp + 0xc0], edx
mov esi, eax
mov dword [esp + 0x58], 0
movsx eax, byte [eax]
movapd xmm2, xmm1
mov dword [esp + 0xa8], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], ecx
movsd qword [esp + 0x6c], xmm1
movsd qword [esp + 0xc], xmm2
mov dword [esp + 0x1c], esi
movsd qword [esp + 0x5c], xmm3
push edi
cmp eax, 0x2d
ja 0x4163d3
jmp 0x4163a0
movzx eax, byte [eax + 0x4175d8]
jmp dword [eax*4 + 0x4175c4]
mov al, byte [esi]
mov byte [esp + 0x4b], al
cmp al, 0x30
jne 0x4163fd
mov dword [esp + 0x58], 1
inc esi
cmp byte [esi], 0x30
je 0x4163e5
mov al, byte [esi]
mov dword [esp + 0x20], esi
mov byte [esp + 0x4b], al
test al, al
je 0x41759e
movsx edi, byte [esp + 0x4b]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x4c], esi
xor edx, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], eax
cmp edi, 0x30
jl 0x41645e
lea ecx, [ecx]
cmp edi, 0x39
jg 0x41645a
cmp eax, 9
jge 0x416435
lea eax, [edx - 6]
lea eax, [edx + eax*4]
lea edx, [edi + eax*2]
jmp 0x416443
cmp eax, 0x10
jge 0x416447
lea eax, [ecx - 6]
lea eax, [ecx + eax*4]
lea ecx, [edi + eax*2]
mov eax, dword [esp + 0x18]
movsx edi, byte [esi + 1]
inc esi
inc eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
cmp edi, 0x30
jge 0x416420
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, esi
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x18]
cmp edi, 0x2e
jne 0x41659d
movsx edi, byte [esi + 1]
inc esi
mov eax, esi
mov dword [esp + 0x1c], esi
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x88], eax
sub eax, dword [esp + 0x84]
mov dword [esp + 0x28], eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], esi
test eax, eax
jne 0x416503
cmp edi, 0x30
jne 0x4164e7
xor eax, eax
lea ebx, [ebx]
movsx edi, byte [esi + 1]
inc esi
inc eax
mov dword [esp + 0x20], esi
cmp edi, 0x30
je 0x4164d0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], esi
lea eax, [edi - 0x31]
cmp eax, 8
ja 0x416599
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x4c], esi
jmp 0x416513
lea eax, [edi - 0x30]
cmp eax, 9
ja 0x416595
mov eax, dword [esp + 0x2c]
inc eax
sub edi, 0x30
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edi
je 0x416583
add dword [esp + 0x30], eax
cmp eax, 1
jle 0x416559
mov edi, dword [esp + 0x18]
lea esi, [eax - 1]
mov eax, edi
inc edi
cmp eax, 9
jge 0x416540
lea edx, [edx + edx*4]
add edx, edx
jmp 0x41654a
cmp edi, 0x10
jg 0x41654a
lea ecx, [ecx + ecx*4]
add ecx, ecx
dec esi
jne 0x416531
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
inc dword [esp + 0x18]
cmp eax, 9
jge 0x41656e
lea eax, [edx + edx*4]
lea edx, [edi + eax*2]
jmp 0x41657b
cmp dword [esp + 0x18], 0x10
jg 0x41657b
lea eax, [ecx + ecx*4]
lea ecx, [edi + eax*2]
mov dword [esp + 0x2c], 0
movsx edi, byte [esi + 1]
inc esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
jmp 0x416503
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], 0
cmp edi, 0x65
je 0x4165b3
cmp edi, 0x45
jne 0x41669e
test eax, eax
jne 0x4165c7
cmp dword [esp + 0x2c], eax
jne 0x4165c7
cmp dword [esp + 0x58], eax
je case.0x4166e2.74
movsx edi, byte [esi + 1]
mov dword [esp + 0x40], esi
mov eax, edi
inc esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], esi
sub eax, 0x2b
je 0x4165f0
sub eax, 2
jne 0x4165f9
mov dword [esp + 0x34], 1
movsx edi, byte [esi + 1]
inc esi
mov dword [esp + 0x20], esi
lea eax, [edi - 0x30]
cmp eax, 9
ja 0x416696
cmp edi, 0x30
jne 0x41661e
lea ebx, [ebx]
movsx edi, byte [esi + 1]
inc esi
cmp edi, 0x30
je 0x416610
mov dword [esp + 0x20], esi
lea eax, [edi - 0x31]
cmp eax, 8
ja 0x416692
mov dword [esp + 0x54], esi
lea eax, [edi - 0x30]
movsx edi, byte [esi + 1]
inc esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
cmp edi, 0x30
jl 0x416664
mov ecx, eax
cmp edi, 0x39
jg 0x41665c
inc esi
lea ecx, [ecx + ecx*4]
lea ecx, [ecx - 0x18]
mov dword [esp + 0x20], esi
lea ecx, [edi + ecx*2]
movsx edi, byte [esi]
cmp edi, 0x30
jge 0x416641
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
mov eax, esi
sub eax, dword [esp + 0x54]
cmp eax, 8
jg 0x41667a
mov eax, dword [esp + 0x1c]
cmp eax, 0x4e1f
jle 0x416683
mov eax, 0x4e1f
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x34], 0
je 0x41669e
neg eax
mov dword [esp + 0x1c], eax
jmp 0x41669e
xor eax, eax
jmp 0x4166a2
mov esi, dword [esp + 0x40]
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x18], 0
jne 0x4167c8
cmp dword [esp + 0x2c], 0
jne 0x41759e
cmp dword [esp + 0x58], 0
jne 0x41759e
mov eax, dword [esp + 0x28]
test eax, eax
jne case.0x4166e2.74
add edi, 0xffffffb7
cmp edi, 0x25
ja case.0x4166e2.74
movzx eax, byte [edi + 0x417614]
jmp dword [eax*4 + 0x417608]
mov edx, 0x6e
mov edi, 0x49d299
movsx ecx, byte [esi + 1]
inc esi
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x416703
add ecx, 0x20
cmp ecx, edx
jne case.0x4166e2.74
movsx edx, byte [edi]
inc edi
test edx, edx
jne 0x4166f3
mov edx, esi
mov dword [esp + 0x34], 0x49d29d
mov edi, 0x69
movsx ecx, byte [edx + 1]
lea edx, [edx + 1]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x416734
add ecx, 0x20
cmp ecx, edi
jne 0x41674d
mov eax, dword [esp + 0x34]
movsx edi, byte [eax]
inc eax
mov dword [esp + 0x34], eax
test edi, edi
jne 0x416722
lea esi, [edx + 1]
jmp 0x41674e
inc esi
mov dword [esp + 0x14], 0x7ff00000
mov dword [esp + 0x10], 0
movsd xmm2, qword [esp + 0x10]
jmp 0x41759e
mov edx, 0x61
mov edi, 0x49d2a5
movsx ecx, byte [esi + 1]
inc esi
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x416783
add ecx, 0x20
cmp ecx, edx
jne case.0x4166e2.74
movsx edx, byte [edi]
inc edi
test edx, edx
jne 0x416773
inc esi
mov dword [esp + 0x14], 0x7ff80000
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], edx
cmp byte [esi], 0x28
jne 0x41675e
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
call fcn.00415c60
movsd xmm2, qword [esp + 0x10]
jmp 0x41759a
mov esi, dword [esp + 0x40]
xor eax, eax
jmp 0x4175a2
sub eax, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x24]
test eax, eax
movd xmm2, edx
cmove eax, edi
mov dword [esp + 0x24], eax
mov eax, 0x10
cmp edi, eax
cvtdq2pd xmm2, xmm2
cmovl eax, edi
mov dword [esp + 0x34], eax
mov eax, edx
shr eax, 0x1f
addsd xmm2, qword [eax*8 + 0x49dba0]
mov eax, dword [esp + 0x34]
movsd qword [esp + 0x40], xmm2
movsd qword [esp + 0x10], xmm2
cmp eax, 9
jle 0x41685b
movsd xmm1, qword [eax*8 + 0x49d2d0]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mulsd xmm1, xmm2
addsd xmm0, qword [ecx*8 + 0x49dba0]
addsd xmm1, xmm0
movaps xmm2, xmm1
movsd xmm1, qword [esp + 0x70]
movsd qword [esp + 0x40], xmm2
movsd qword [esp + 0x10], xmm2
mov eax, dword [esp + 0x1c]
cmp edi, 0xf
jg 0x4168d4
test eax, eax
je 0x41759e
jle 0x4168bc
cmp eax, 0x16
jg 0x416888
movsd xmm0, qword [eax*8 + 0x49d318]
mulsd xmm0, xmm2
movaps xmm2, xmm0
jmp 0x41759e
mov ecx, 0xf
sub ecx, edi
lea eax, [ecx + 0x16]
cmp dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
jg 0x4168d4
movsd xmm0, qword [ecx*8 + 0x49d318]
sub eax, ecx
mulsd xmm0, xmm2
mulsd xmm0, qword [eax*8 + 0x49d318]
movaps xmm2, xmm0
jmp 0x41759e
cmp eax, 0xffffffea
jl 0x4168d4
shl eax, 3
mov ecx, 0x49d318
sub ecx, eax
divsd xmm2, qword [ecx]
jmp 0x41759e
sub eax, dword [esp + 0x34]
xor ecx, ecx
add eax, edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xa8], ecx
test eax, eax
jle 0x4169ab
mov ecx, eax
and ecx, 0xf
je 0x41690c
movsd xmm0, qword [ecx*8 + 0x49d318]
mulsd xmm0, xmm2
movaps xmm2, xmm0
movsd qword [esp + 0x10], xmm2
and eax, 0xfffffff0
je 0x416aa7
cmp eax, 0x134
jg 0x41728c
sar eax, 4
xor ecx, ecx
cmp eax, 1
jle 0x41694b
lea ebx, [ebx]
test al, 1
je 0x416943
mulsd xmm2, qword [ecx*8 + 0x49d2f0]
movsd qword [esp + 0x10], xmm2
sar eax, 1
inc ecx
cmp eax, 1
jg 0x416930
movsd xmm0, qword [ecx*8 + 0x49d2f0]
sub dword [esp + 0x14], 0x3500000
mulsd xmm0, qword [esp + 0x10]
movsd qword [esp + 0x10], xmm0
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0x7ff00000
cmp ecx, 0x7ca00000
ja 0x41728c
cmp ecx, 0x7c900000
jbe 0x41699d
mov dword [esp + 0x14], 0x7fefffff
mov dword [esp + 0x10], 0xffffffff
jmp 0x416aa7
add eax, 0x3500000
mov dword [esp + 0x14], eax
jmp 0x416aa7
jns 0x416aa7
neg eax
mov ecx, eax
and ecx, 0xf
je 0x4169cf
divsd xmm2, qword [ecx*8 + 0x49d318]
movsd qword [esp + 0x40], xmm2
movsd qword [esp + 0x10], xmm2
sar eax, 4
test eax, eax
je 0x416aa7
cmp eax, 0x20
jge 0x417494
test al, 0x10
mov dword [esp + 0x54], 0x6a
mov ecx, 0
cmovne ecx, dword [esp + 0x54]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xa8], ecx
test eax, eax
jle 0x416a31
mov ecx, 0x49d2c0
jmp 0x416a10
test al, 1
je 0x416a1e
mulsd xmm2, qword [ecx]
movsd qword [esp + 0x10], xmm2
sar eax, 1
add ecx, 8
test eax, eax
jg 0x416a10
mov ecx, dword [esp + 0x2c]
movsd qword [esp + 0x40], xmm2
test ecx, ecx
je 0x416a93
mov eax, dword [esp + 0x14]
mov ecx, 0x6b
shr eax, 0x14
and eax, 0x7ff
sub ecx, eax
test ecx, ecx
jle 0x416a93
cmp ecx, 0x20
jl 0x416a82
mov dword [esp + 0x10], 0
cmp ecx, 0x35
jl 0x416a6e
mov dword [esp + 0x14], 0x3700000
movsd xmm0, qword [esp + 0x10]
jmp 0x416a99
add ecx, 0xffffffe0
or eax, 0xffffffff
shl eax, cl
and dword [esp + 0x14], eax
movsd xmm0, qword [esp + 0x10]
jmp 0x416a99
or eax, 0xffffffff
shl eax, cl
and dword [esp + 0x10], eax
movsd xmm0, qword [esp + 0x10]
jmp 0x416a99
movsd xmm0, qword [esp + 0x40]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x417494
mov esi, dword [esp + 0x24]
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], esi
cmp edi, 0x28
jle 0x416b7f
mov eax, 0x12
mov ecx, eax
cmp esi, eax
jge 0x416ad3
mov eax, dword [esp + 0x28]
add eax, ecx
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x4c]
mov edi, edi
dec eax
cmp eax, dword [esp + 0x50]
jg 0x416aee
cmp eax, edi
jl 0x416aee
lea eax, [edi - 1]
cmp byte [eax + esi], 0x30
jne 0x416af7
dec ecx
jmp 0x416ae0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
sub edi, ecx
add dword [esp + 0x1c], edi
cmp esi, ecx
mov edi, ecx
cmovg esi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], esi
cmp ecx, 9
jge 0x416b7f
xor edx, edx
xor esi, esi
cmp dword [esp + 0x24], edx
jle 0x416b4a
mov edi, dword [esp + 0x24]
jmp 0x416b30
mov eax, dword [esp + 0x4c]
lea edx, [edx + edx*4]
lea edx, [edx - 0x18]
movsx ecx, byte [esi + eax]
inc esi
lea edx, [ecx + edx*2]
cmp esi, edi
jl 0x416b30
mov edi, dword [esp + 0x18]
cmp esi, edi
jge 0x416b7b
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
sub edi, esi
mov dword [esp + 0x34], edi
mov edi, eax
mov dword [esp + 0x54], eax
dec dword [esp + 0x34]
lea edx, [edx + edx*4]
movsx eax, byte [edi]
lea edx, [edx - 0x18]
lea edi, [edi + 1]
lea edx, [eax + edx*2]
jne 0x416b62
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
push dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
push edx
push edi
mov edx, esi
call fcn.00414fe0
movsd xmm0, qword [0x49db58]
mov ecx, eax
movsd qword [esp + 0x144], xmm0
add esp, 0xc
movsd xmm0, qword [0x49db50]
movsd qword [esp + 0xb0], xmm0
movsd xmm0, qword [0x49db40]
lea eax, [ecx + 0xc]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [0x49db88]
movsd qword [esp + 0x128], xmm0
movsd xmm0, qword [0x49db70]
movsd qword [esp + 0x120], xmm0
movsd xmm0, qword [0x49db30]
movsd qword [esp + 0x110], xmm0
movsd xmm0, qword [0x49db38]
movsd qword [esp + 0x130], xmm0
movsd xmm0, qword [0x49db48]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
movsd qword [esp + 0x118], xmm0
mov ecx, dword [ecx + 4]
mov esi, 1
call fcn.00414e00
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov ecx, dword [ecx + 0x10]
lea ecx, [ecx*4 + 8]
push ecx
push dword [esp + 0x58]
lea ecx, [eax + 0xc]
push ecx
call fcn.00438c20
add esp, 0xc
lea eax, [esp + 0x34]
lea edx, [esp + 0xc0]
lea ecx, [esp + 0x10]
push eax
call fcn.00415a20
add esp, 4
mov dword [esp + 0x24], eax
mov ecx, esi
call fcn.00415130
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x416c91
xor edx, edx
mov dword [esp + 0x58], eax
xor esi, esi
jmp 0x416c9f
mov edx, eax
xor ecx, ecx
neg edx
mov dword [esp + 0x58], ecx
mov esi, edx
xor eax, eax
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x28], eax
test ecx, ecx
js 0x416cb2
add esi, ecx
jmp 0x416cb8
sub eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
dec eax
add eax, ecx
mov dword [esp + 0x30], esi
cmp eax, 0xfffffc02
jge 0x416cd6
add ecx, 0x433
jmp 0x416cdf
mov ecx, 0x36
sub ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
add esi, ecx
add eax, ecx
mov ecx, dword [esp + 0x28]
add ecx, eax
cmp esi, ecx
mov dword [esp + 0x28], ecx
mov eax, ecx
cmovl eax, esi
cmp eax, dword [esp + 0x30]
cmovg eax, dword [esp + 0x30]
test eax, eax
jle 0x416d11
sub ecx, eax
sub esi, eax
sub dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
test edx, edx
jle 0x416e3a
mov ecx, dword [esp + 0x18]
call fcn.00415310
mov edx, dword [esp + 0x24]
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.004151d0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x416e32
cmp dword [ecx + 4], 7
jle 0x416d5f
push ecx
call fcn.0043858b
mov eax, dword [esp + 0x44]
add esp, 4
mov ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x416e3e
mov eax, dword [esp + 0x5c]
test al, 1
je 0x416d7a
and eax, 0xfffffffe
lea ecx, [esp + 0x140]
mov dword [esp + 0x5c], eax
call fcn.00412090
mov eax, dword [0x4a8ae0]
test eax, 0xfffffffe
jne 0x416dd2
mov ecx, 1
xor eax, eax
mov edx, 0x4a8ae0
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x416db8
mov eax, dword [0x4a8ae0]
cmp eax, 1
jne 0x416dd2
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x4a8ae0]
cmp eax, 1
je 0x416da4
jmp 0x416dd2
push 0x7d0
push 0x4a8ae4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [0x4a8ae0], 0x4a8ae4
mov eax, dword [0x4a8ae0]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
mov eax, dword [ecx*4 + 0x4a9b20]
mov dword [edx], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx*4 + 0x4a9b20], edx
test al, al
jns 0x416e12
and eax, 0xffffff7f
lea ecx, [esp + 0x1f0]
mov dword [esp + 0x5c], eax
call fcn.00412090
mov ecx, 0x4a8ae0
call fcn.00413160
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x416e3e
mov ecx, dword [esp + 0x24]
test esi, esi
jle 0x416e51
mov edx, esi
call fcn.004154c0
mov esi, eax
mov dword [esp + 0x24], esi
jmp 0x416e55
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
test eax, eax
jle 0x416e6e
mov edx, eax
call fcn.00415310
mov ecx, eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x416e83
mov edx, eax
call fcn.004154c0
mov ecx, eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x416e9e
mov ecx, dword [esp + 0x18]
mov edx, eax
call fcn.004154c0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov edx, ecx
mov ecx, esi
call fcn.004156d0
mov ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov edx, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov dword [ecx + 0xc], 0
mov ecx, esi
mov eax, dword [eax + 0x10]
mov dword [esp + 0x28], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x40], esi
sub ecx, eax
jne 0x416f1a
mov edx, dword [esp + 0x18]
lea ecx, [eax - 1]
mov esi, dword [esp + 0x30]
add esi, 0x14
lea ecx, [esi + ecx*4]
lea edx, [edx + eax*4]
mov eax, dword [ecx]
add edx, 0x10
cmp eax, dword [edx]
jne 0x416f08
cmp ecx, esi
jbe 0x416fa0
mov eax, dword [ecx - 4]
sub ecx, 4
sub edx, 4
cmp eax, dword [edx]
je 0x416ef3
mov eax, dword [ecx]
cmp eax, dword [edx]
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x9c], edi
jle 0x416f2b
test ecx, ecx
jle 0x417274
test ecx, ecx
js 0x4173ea
je 0x4172b8
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xec]
call fcn.004158c0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xd4]
movapd xmm1, xmm0
movsd qword [esp + 0xe0], xmm1
call fcn.004158c0
mov eax, dword [esp + 0x18]
movsd qword [esp + 0xb8], xmm0
sub esi, dword [eax + 0x10]
shl esi, 5
sub esi, dword [esp + 0xd4]
add esi, dword [esp + 0xec]
test esi, esi
jle 0x416fa7
shl esi, 0x14
add dword [esp + 0xe4], esi
movsd xmm1, qword [esp + 0xe0]
jmp 0x416fbd
xor ecx, ecx
jmp 0x416f12
imul eax, esi, 0xfff00000
add dword [esp + 0xbc], eax
movsd xmm0, qword [esp + 0xb8]
divsd xmm1, xmm0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
movsd xmm0, qword [esp + 0x138]
comisd xmm0, xmm1
jb 0x4170f8
test edx, edx
je 0x416fef
movsd xmm2, qword [esp + 0xb0]
movapd xmm1, xmm2
jmp 0x41702c
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4170d4
test eax, 0xfffff
jne 0x4170e1
movsd xmm0, qword [esp + 0xb0]
comisd xmm0, xmm1
jbe 0x4170c6
movsd xmm1, qword [esp + 0xc8]
movapd xmm2, xmm1
xorpd xmm2, xmmword [esp + 0x60]
mov esi, eax
and esi, 0x7ff00000
cmp esi, 0x7fe00000
jne 0x417127
movsd xmm0, qword [esp + 0x10]
sub eax, 0x3500000
mov dword [esp + 0x14], eax
and eax, 0x7ff00000
sub eax, 0x3400000
movsd qword [esp + 0x78], xmm0
mov dword [esp + 0x10c], eax
mov dword [esp + 0x108], 0
movsd xmm0, qword [esp + 0x108]
mulsd xmm0, xmm2
addsd xmm0, qword [esp + 0x10]
movsd qword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0x7ff00000
cmp eax, 0x7ca00000
jb 0x417112
cmp dword [esp + 0x7c], 0x7fefffff
jne 0x4170b1
cmp dword [esp + 0x78], 0xffffffff
je 0x417288
mov dword [esp + 0x14], 0x7fefffff
mov dword [esp + 0x10], 0xffffffff
jmp 0x417247
mulsd xmm1, qword [esp + 0xc8]
jmp 0x417022
cmp ecx, 1
jne 0x4170e1
test eax, eax
je 0x417472
movsd xmm1, qword [esp + 0xb0]
movsd xmm2, qword [esp + 0x128]
jmp 0x41702c
mulsd xmm1, qword [esp + 0xc8]
test edx, edx
je 0x417022
movapd xmm2, xmm1
jmp 0x41702c
add ecx, 0x3500000
mov dword [esp + 0x14], ecx
movsd xmm0, qword [esp + 0x10]
jmp 0x4171d3
cmp dword [esp + 0x2c], 0
je 0x41719e
cmp esi, 0x6a00000
ja 0x41719e
movsd xmm0, qword [esp + 0x120]
comisd xmm0, xmm1
jb 0x41717e
movapd xmm0, xmm1
call fcn.0043eeb1
test eax, eax
mov edx, 1
cmove eax, edx
mov edx, dword [esp + 0x28]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x49dba0]
movapd xmm2, xmm1
test edx, edx
jne 0x41717e
xorpd xmm2, xmmword [esp + 0x60]
mov eax, 0x6b00000
movsd qword [esp + 0xd8], xmm2
sub eax, esi
add dword [esp + 0xdc], eax
movsd xmm2, qword [esp + 0xd8]
lea eax, [esi - 0x3400000]
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], eax
movsd xmm0, qword [esp + 0x100]
mulsd xmm0, xmm2
addsd xmm0, qword [esp + 0x10]
movsd qword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x14]
movsd qword [esp + 0x40], xmm0
cmp dword [esp + 0x9c], edi
jne 0x417247
cmp dword [esp + 0x2c], 0
jne 0x417247
mov eax, ecx
and eax, 0x7ff00000
cmp esi, eax
jne 0x417247
cvttsd2si eax, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
test edx, edx
jne 0x417225
cmp dword [esp + 0x10], edx
jne 0x417225
test ecx, 0xfffff
jne 0x417225
movsd xmm0, qword [esp + 0x110]
comisd xmm0, xmm1
jmp 0x417241
movsd xmm0, qword [esp + 0x130]
comisd xmm0, xmm1
ja 0x4174e5
comisd xmm1, xmmword [esp + 0x118]
ja 0x4174e5
mov ecx, dword [esp + 0x24]
call fcn.00414ec0
mov ecx, dword [esp + 0x3c]
call fcn.00414ec0
mov ecx, dword [esp + 0x18]
call fcn.00414ec0
mov ecx, dword [esp + 0x30]
call fcn.00414ec0
mov ecx, dword [esp + 0x50]
jmp 0x416c28
test edx, edx
jne 0x4174d9
mov dword [esp + 0x9c], edi
jmp 0x4173f2
mov esi, dword [esp + 0x20]
call fcn.0043af0d
movsd xmm3, qword [esp + 0x60]
mov dword [esp + 0x14], 0x7ff00000
mov dword [esp + 0x10], 0
movsd xmm2, qword [esp + 0x10]
mov dword [eax], 0x22
jmp 0x41759e
mov esi, dword [esp + 0x14]
test edx, edx
mov edx, dword [esp + 0x10]
je 0x417323
mov eax, esi
and eax, 0xfffff
cmp eax, 0xfffff
jne 0x417333
cmp dword [esp + 0x2c], 0
je 0x4172f8
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6a00000
ja 0x4172f8
shr eax, 0x14
mov ecx, 0x6b
sub ecx, eax
or eax, 0xffffffff
shl eax, cl
jmp 0x4172fb
or eax, 0xffffffff
cmp edx, eax
jne 0x417333
and esi, 0x7ff00000
mov dword [esp + 0x10], 0
add esi, 0x100000
mov dword [esp + 0x90], 0
jmp 0x4174d5
test esi, 0xfffff
jne 0x417333
test edx, edx
je 0x417456
test dl, 1
je 0x4174d9
mov ecx, dword [esp + 0x28]
and esi, 0x7ff00000
sub esi, 0x3400000
test ecx, ecx
je 0x417390
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], 0
movsd xmm0, qword [esp + 0xf0]
addsd xmm0, qword [esp + 0x10]
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x10], xmm0
mov eax, 1
sub eax, ecx
mov dword [esp + 0x90], eax
jmp 0x4174e5
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x70]
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], 0
subsd xmm0, qword [esp + 0xf8]
ucomisd xmm0, xmm1
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x10], xmm0
lahf
test ah, 0x44
jp 0x41737d
cmp dword [esp + 0x9c], edi
jle 0x41748e
mov dword [esp + 0xac], 1
jmp 0x4174e5
test edx, edx
jne 0x4174d9
cmp dword [esp + 0x10], 0
jne 0x4174d9
mov esi, dword [esp + 0x14]
test esi, 0xfffff
jne 0x4174d9
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6b00000
jbe 0x4174d9
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x14], 0
jne 0x417433
cmp dword [eax + 0x10], 1
jle 0x4174d9
mov edx, 1
mov ecx, eax
call fcn.004154c0
mov edx, dword [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x30], eax
call fcn.00415680
test eax, eax
jle 0x4174d9
cmp dword [esp + 0x2c], 0
je 0x4174c0
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6b00000
jg 0x4174c0
cmp eax, 0x3700000
jg 0x4174d9
cmp dword [esp + 0x9c], edi
jle 0x417488
mov dword [esp + 0xac], 1
jmp 0x4174d9
movsd xmm1, qword [esp + 0x70]
mov esi, dword [esp + 0x20]
jmp 0x41749a
movsd xmm1, qword [esp + 0x70]
movapd xmm0, xmm1
movsd qword [esp + 0x40], xmm0
call fcn.0043af0d
movsd xmm2, qword [esp + 0x40]
movsd xmm3, qword [esp + 0x60]
mov dword [eax], 0x22
jmp 0x41759e
and esi, 0x7ff00000
mov dword [esp + 0x10], 0xffffffff
dec esi
or esi, 0xfffff
mov dword [esp + 0x14], esi
movsd xmm0, qword [esp + 0x10]
movsd qword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x24]
call fcn.00414ec0
mov ecx, dword [esp + 0x3c]
call fcn.00414ec0
mov ecx, dword [esp + 0x18]
call fcn.00414ec0
mov ecx, dword [esp + 0x50]
call fcn.00414ec0
mov ecx, dword [esp + 0x30]
call fcn.00414ec0
cmp dword [esp + 0x9c], edi
jle 0x417542
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x14]
call fcn.00415fc0
mov eax, dword [esp + 0xac]
add esp, 4
movsd xmm2, qword [esp + 0x10]
jmp 0x41754c
movsd xmm2, qword [esp + 0x40]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x417594
mov dword [esp + 0x7c], 0x39500000
mov dword [esp + 0x78], 0
movsd xmm0, qword [esp + 0x78]
mulsd xmm0, xmm2
movaps xmm2, xmm0
movsd qword [esp + 0x10], xmm2
test dword [esp + 0x14], 0x7ff00000
movsd qword [esp + 0x40], xmm2
jne 0x417594
call fcn.0043af0d
movsd xmm2, qword [esp + 0x40]
mov dword [eax], 0x22
movsd xmm3, qword [esp + 0x60]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xc4]
test ecx, ecx
je 0x4175af
mov dword [ecx], esi
test eax, eax
je 0x4175b7
xorpd xmm2, xmm3
pop edi
movapd xmm0, xmm2
pop esi
mov esp, ebp
pop ebp
ret