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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x298
movsd xmm3, qword [0x516410]
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x28], 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 + 0x20], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], ecx
movsd qword [esp + 0x6c], xmm1
movsd qword [esp + 4], xmm2
mov dword [esp + 0x14], esi
movsd qword [esp + 0x5c], xmm3
push edi
cmp eax, 0x2d
ja 0x418683
jmp 0x418650
movzx eax, byte [eax + 0x419878]
jmp dword [eax*4 + 0x419864]
mov al, byte [esi]
mov byte [esp + 0x4b], al
cmp al, 0x30
jne 0x4186ad
mov dword [esp + 0x58], 1
inc esi
cmp byte [esi], 0x30
je 0x418695
mov al, byte [esi]
mov dword [esp + 0x18], esi
mov byte [esp + 0x4b], al
test al, al
je 0x41983e
movsx edi, byte [esp + 0x4b]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x4c], esi
xor edx, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
cmp edi, 0x30
jl 0x41870e
lea ecx, [ecx]
cmp edi, 0x39
jg 0x41870a
cmp eax, 9
jge 0x4186e5
lea eax, [edx - 6]
lea eax, [edx + eax*4]
lea edx, [edi + eax*2]
jmp 0x4186f3
cmp eax, 0x10
jge 0x4186f7
lea eax, [ecx - 6]
lea eax, [ecx + eax*4]
lea ecx, [edi + eax*2]
mov eax, dword [esp + 0x14]
movsx edi, byte [esi + 1]
inc esi
inc eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
cmp edi, 0x30
jge 0x4186d0
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x20], 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 + 0x14]
cmp edi, 0x2e
jne 0x41884d
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 + 0x24], eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
test eax, eax
jne 0x4187b3
cmp edi, 0x30
jne 0x418797
xor eax, eax
lea ebx, [ebx]
movsx edi, byte [esi + 1]
inc esi
inc eax
mov dword [esp + 0x18], esi
cmp edi, 0x30
je 0x418780
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], esi
lea eax, [edi - 0x31]
cmp eax, 8
ja 0x418849
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x4c], esi
jmp 0x4187c3
lea eax, [edi - 0x30]
cmp eax, 9
ja 0x418845
mov eax, dword [esp + 0x28]
inc eax
sub edi, 0x30
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], edi
je 0x418833
add dword [esp + 0x2c], eax
cmp eax, 1
jle 0x418809
mov edi, dword [esp + 0x14]
lea esi, [eax - 1]
mov eax, edi
inc edi
cmp eax, 9
jge 0x4187f0
lea edx, [edx + edx*4]
add edx, edx
jmp 0x4187fa
cmp edi, 0x10
jg 0x4187fa
lea ecx, [ecx + ecx*4]
add ecx, ecx
dec esi
jne 0x4187e1
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
inc dword [esp + 0x14]
cmp eax, 9
jge 0x41881e
lea eax, [edx + edx*4]
lea edx, [edi + eax*2]
jmp 0x41882b
cmp dword [esp + 0x14], 0x10
jg 0x41882b
lea eax, [ecx + ecx*4]
lea ecx, [edi + eax*2]
mov dword [esp + 0x28], 0
movsx edi, byte [esi + 1]
inc esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
jmp 0x4187b3
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], 0
cmp edi, 0x65
je 0x418863
cmp edi, 0x45
jne 0x41894e
test eax, eax
jne 0x418877
cmp dword [esp + 0x28], eax
jne 0x418877
cmp dword [esp + 0x58], eax
je case.0x418992.74
movsx edi, byte [esi + 1]
mov dword [esp + 0x30], esi
mov eax, edi
inc esi
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], esi
sub eax, 0x2b
je 0x4188a0
sub eax, 2
jne 0x4188a9
mov dword [esp + 0x44], 1
movsx edi, byte [esi + 1]
inc esi
mov dword [esp + 0x18], esi
lea eax, [edi - 0x30]
cmp eax, 9
ja 0x418946
cmp edi, 0x30
jne 0x4188ce
lea ebx, [ebx]
movsx edi, byte [esi + 1]
inc esi
cmp edi, 0x30
je 0x4188c0
mov dword [esp + 0x18], esi
lea eax, [edi - 0x31]
cmp eax, 8
ja 0x418942
mov dword [esp + 0x54], esi
lea eax, [edi - 0x30]
movsx edi, byte [esi + 1]
inc esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
cmp edi, 0x30
jl 0x418914
mov ecx, eax
cmp edi, 0x39
jg 0x41890c
inc esi
lea ecx, [ecx + ecx*4]
lea ecx, [ecx - 0x18]
mov dword [esp + 0x18], esi
lea ecx, [edi + ecx*2]
movsx edi, byte [esi]
cmp edi, 0x30
jge 0x4188f1
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x40]
mov eax, esi
sub eax, dword [esp + 0x54]
cmp eax, 8
jg 0x41892a
mov eax, dword [esp + 0x1c]
cmp eax, 0x4e1f
jle 0x418933
mov eax, 0x4e1f
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x44], 0
je 0x41894e
neg eax
mov dword [esp + 0x1c], eax
jmp 0x41894e
xor eax, eax
jmp 0x418952
mov esi, dword [esp + 0x30]
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x14], 0
jne 0x418a5a
cmp dword [esp + 0x28], 0
jne 0x41983e
cmp dword [esp + 0x58], 0
jne 0x41983e
mov eax, dword [esp + 0x24]
test eax, eax
jne case.0x418992.74
add edi, 0xffffffb7
cmp edi, 0x25
ja case.0x418992.74
movzx eax, byte [edi + 0x4198b4]
jmp dword [eax*4 + 0x4198a8]
mov edx, 0x6e
mov edi, 0x50ce01
movsx ecx, byte [esi + 1]
inc esi
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x4189b3
add ecx, 0x20
cmp ecx, edx
jne case.0x418992.74
movsx edx, byte [edi]
inc edi
test edx, edx
jne 0x4189a3
mov eax, esi
lea ecx, [esp + 0x18]
mov edx, str.inity
mov dword [esp + 0x18], eax
call fcn.00417fa0
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x4189e0
inc esi
mov dword [esp + 0xc], 0x7ff00000
mov dword [esp + 8], 0
movsd xmm2, qword [esp + 8]
jmp 0x41983e
mov edx, 0x61
mov edi, 0x50ce0d
movsx ecx, byte [esi + 1]
inc esi
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x418a15
add ecx, 0x20
cmp ecx, edx
jne case.0x418992.74
movsx edx, byte [edi]
inc edi
test edx, edx
jne 0x418a05
inc esi
mov dword [esp + 0xc], 0x7ff80000
mov dword [esp + 0x18], esi
mov dword [esp + 8], edx
cmp byte [esi], 0x28
jne 0x4189f0
lea edx, [esp + 0x18]
lea ecx, [esp + 8]
call fcn.00417fe0
movsd xmm2, qword [esp + 8]
jmp 0x41983a
mov esi, dword [esp + 0x30]
xor eax, eax
jmp 0x419842
sub eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x20]
test eax, eax
movd xmm2, edx
cmove eax, edi
mov dword [esp + 0x20], eax
mov eax, 0x10
cmp edi, eax
cvtdq2pd xmm2, xmm2
cmovl eax, edi
mov dword [esp + 0x44], eax
mov eax, edx
shr eax, 0x1f
addsd xmm2, qword [eax*8 + 0x516400]
mov eax, dword [esp + 0x44]
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 8], xmm2
cmp eax, 9
jle 0x418aed
movsd xmm1, qword [eax*8 + 0x50ce40]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mulsd xmm1, xmm2
addsd xmm0, qword [ecx*8 + 0x516400]
addsd xmm1, xmm0
movaps xmm2, xmm1
movsd xmm1, qword [esp + 0x70]
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 8], xmm2
mov eax, dword [esp + 0x1c]
cmp edi, 0xf
jg 0x418b66
test eax, eax
je 0x41983e
jle 0x418b4e
cmp eax, 0x16
jg 0x418b1a
movsd xmm0, qword [eax*8 + 0x50ce88]
mulsd xmm0, xmm2
movaps xmm2, xmm0
jmp 0x41983e
mov ecx, 0xf
sub ecx, edi
lea eax, [ecx + 0x16]
cmp dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
jg 0x418b66
movsd xmm0, qword [ecx*8 + 0x50ce88]
sub eax, ecx
mulsd xmm0, xmm2
mulsd xmm0, qword [eax*8 + 0x50ce88]
movaps xmm2, xmm0
jmp 0x41983e
cmp eax, 0xffffffea
jl 0x418b66
shl eax, 3
mov ecx, 0x50ce88
sub ecx, eax
divsd xmm2, qword [ecx]
jmp 0x41983e
sub eax, dword [esp + 0x44]
xor ecx, ecx
add eax, edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0xa8], ecx
test eax, eax
jle 0x418c3b
mov ecx, eax
and ecx, 0xf
je 0x418b9e
movsd xmm0, qword [ecx*8 + 0x50ce88]
mulsd xmm0, xmm2
movaps xmm2, xmm0
movsd qword [esp + 8], xmm2
and eax, 0xfffffff0
je 0x418d37
cmp eax, 0x134
jg 0x41952c
sar eax, 4
xor ecx, ecx
cmp eax, 1
jle 0x418bdb
lea esp, [esp]
test al, 1
je 0x418bd3
mulsd xmm2, qword [ecx*8 + 0x50ce60]
movsd qword [esp + 8], xmm2
sar eax, 1
inc ecx
cmp eax, 1
jg 0x418bc0
movsd xmm0, qword [ecx*8 + 0x50ce60]
sub dword [esp + 0xc], 0x3500000
mulsd xmm0, qword [esp + 8]
movsd qword [esp + 8], xmm0
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x7ff00000
cmp ecx, 0x7ca00000
ja 0x41952c
cmp ecx, 0x7c900000
jbe 0x418c2d
mov dword [esp + 0xc], 0x7fefffff
mov dword [esp + 8], 0xffffffff
jmp 0x418d37
add eax, 0x3500000
mov dword [esp + 0xc], eax
jmp 0x418d37
jns 0x418d37
neg eax
mov ecx, eax
and ecx, 0xf
je 0x418c5f
divsd xmm2, qword [ecx*8 + 0x50ce88]
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 8], xmm2
sar eax, 4
test eax, eax
je 0x418d37
cmp eax, 0x20
jge 0x419734
test al, 0x10
mov dword [esp + 0x54], 0x6a
mov ecx, 0
cmovne ecx, dword [esp + 0x54]
mov dword [esp + 0x28], ecx
mov dword [esp + 0xa8], ecx
test eax, eax
jle 0x418cc1
mov ecx, 0x50ce30
jmp 0x418ca0
test al, 1
je 0x418cae
mulsd xmm2, qword [ecx]
movsd qword [esp + 8], xmm2
sar eax, 1
add ecx, 8
test eax, eax
jg 0x418ca0
mov ecx, dword [esp + 0x28]
movsd qword [esp + 0x30], xmm2
test ecx, ecx
je 0x418d23
mov eax, dword [esp + 0xc]
mov ecx, 0x6b
shr eax, 0x14
and eax, 0x7ff
sub ecx, eax
test ecx, ecx
jle 0x418d23
cmp ecx, 0x20
jl 0x418d12
mov dword [esp + 8], 0
cmp ecx, 0x35
jl 0x418cfe
mov dword [esp + 0xc], 0x3700000
movsd xmm0, qword [esp + 8]
jmp 0x418d29
add ecx, 0xffffffe0
or eax, 0xffffffff
shl eax, cl
and dword [esp + 0xc], eax
movsd xmm0, qword [esp + 8]
jmp 0x418d29
or eax, 0xffffffff
shl eax, cl
and dword [esp + 8], eax
movsd xmm0, qword [esp + 8]
jmp 0x418d29
movsd xmm0, qword [esp + 0x30]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x419734
mov esi, dword [esp + 0x20]
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], esi
cmp edi, 0x28
jle 0x418e0f
mov eax, 0x12
mov ecx, eax
cmp esi, eax
jge 0x418d63
mov eax, dword [esp + 0x24]
add eax, ecx
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x4c]
mov edi, edi
dec eax
cmp eax, dword [esp + 0x50]
jg 0x418d7e
cmp eax, edi
jl 0x418d7e
lea eax, [edi - 1]
cmp byte [eax + esi], 0x30
jne 0x418d87
dec ecx
jmp 0x418d70
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
sub edi, ecx
add dword [esp + 0x1c], edi
cmp esi, ecx
mov edi, ecx
cmovg esi, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], esi
cmp ecx, 9
jge 0x418e0f
xor edx, edx
xor esi, esi
cmp dword [esp + 0x20], edx
jle 0x418dda
mov edi, dword [esp + 0x20]
jmp 0x418dc0
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 0x418dc0
mov edi, dword [esp + 0x14]
cmp esi, edi
jge 0x418e0b
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
sub edi, esi
mov dword [esp + 0x44], edi
mov edi, eax
mov dword [esp + 0x54], eax
dec dword [esp + 0x44]
lea edx, [edx + edx*4]
movsx eax, byte [edi]
lea edx, [edx - 0x18]
lea edi, [edi + 1]
lea edx, [eax + edx*2]
jne 0x418df2
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
push dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
push edx
push edi
mov edx, esi
call fcn.00417390
movsd xmm0, qword [0x516348]
mov ecx, eax
movsd qword [esp + 0x144], xmm0
add esp, 0xc
movsd xmm0, qword [0x516338]
movsd qword [esp + 0xb0], xmm0
movsd xmm0, qword [0x516320]
lea eax, [ecx + 0xc]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [0x5163d8]
movsd qword [esp + 0x128], xmm0
movsd xmm0, qword [0x5163a0]
movsd qword [esp + 0x120], xmm0
movsd xmm0, qword [0x516300]
movsd qword [esp + 0x110], xmm0
movsd xmm0, qword [0x516318]
movsd qword [esp + 0x130], xmm0
movsd xmm0, qword [0x516328]
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.004171b0
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x40], 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.004beea0
add esp, 0xc
lea eax, [esp + 0x44]
lea edx, [esp + 0xc0]
lea ecx, [esp + 8]
push eax
call fcn.00417db0
add esp, 4
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.00417530
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x418f21
xor edx, edx
mov dword [esp + 0x58], eax
xor esi, esi
jmp 0x418f2f
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 + 0x24], eax
test ecx, ecx
js 0x418f42
add esi, ecx
jmp 0x418f48
sub eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
sub ecx, dword [esp + 0x28]
dec eax
add eax, ecx
mov dword [esp + 0x2c], esi
cmp eax, 0xfffffc02
jge 0x418f66
add ecx, 0x433
jmp 0x418f6f
mov ecx, 0x36
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
add esi, ecx
add eax, ecx
mov ecx, dword [esp + 0x24]
add ecx, eax
cmp esi, ecx
mov dword [esp + 0x24], ecx
mov eax, ecx
cmovl eax, esi
cmp eax, dword [esp + 0x2c]
cmovg eax, dword [esp + 0x2c]
test eax, eax
jle 0x418fa1
sub ecx, eax
sub esi, eax
sub dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
test edx, edx
jle 0x4190ca
mov ecx, dword [esp + 0x14]
call fcn.00417710
mov edx, dword [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.004175d0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
test ecx, ecx
je 0x4190c2
cmp dword [ecx + 4], 7
jle 0x418fef
push ecx
call fcn.004bbf10
mov eax, dword [esp + 0x34]
add esp, 4
mov ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x4190ce
mov eax, dword [esp + 0x5c]
test al, 1
je 0x41900a
and eax, 0xfffffffe
lea ecx, [esp + 0x140]
mov dword [esp + 0x5c], eax
call fcn.00403be0
mov eax, dword [0x55a704]
test eax, 0xfffffffe
jne 0x419062
mov ecx, 1
xor eax, eax
mov edx, 0x55a704
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x419048
mov eax, dword [0x55a704]
cmp eax, 1
jne 0x419062
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x55a704]
cmp eax, 1
je 0x419034
jmp 0x419062
push 0x7d0
push 0x55a708
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [0x55a704], 0x55a708
mov eax, dword [0x55a704]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [ecx*4 + 0x55b990]
mov dword [edx], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx*4 + 0x55b990], edx
test al, al
jns 0x4190a2
and eax, 0xffffff7f
lea ecx, [esp + 0x1f0]
mov dword [esp + 0x5c], eax
call fcn.00403be0
mov ecx, 0x55a704
call fcn.0040dc40
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x4190ce
mov ecx, dword [esp + 0x20]
test esi, esi
jle 0x4190e1
mov edx, esi
call fcn.004178c0
mov esi, eax
mov dword [esp + 0x20], esi
jmp 0x4190e5
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
test eax, eax
jle 0x4190fe
mov edx, eax
call fcn.00417710
mov ecx, eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x419113
mov edx, eax
call fcn.004178c0
mov ecx, eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x41912e
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.004178c0
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov edx, ecx
mov ecx, esi
call fcn.00417af0
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], 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 + 0x24], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x30], esi
sub ecx, eax
jne 0x4191aa
mov edx, dword [esp + 0x14]
lea ecx, [eax - 1]
mov esi, dword [esp + 0x2c]
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 0x419198
cmp ecx, esi
jbe 0x419230
mov eax, dword [ecx - 4]
sub ecx, 4
sub edx, 4
cmp eax, dword [edx]
je 0x419183
mov eax, dword [ecx]
cmp eax, dword [edx]
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x9c], edi
jle 0x4191bb
test ecx, ecx
jle 0x419514
test ecx, ecx
js 0x41968a
je 0x419558
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xec]
call fcn.00417c50
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xd4]
movapd xmm2, xmm0
movsd qword [esp + 0xe0], xmm2
call fcn.00417c50
mov eax, dword [esp + 0x14]
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 0x419237
shl esi, 0x14
add dword [esp + 0xe4], esi
movsd xmm2, qword [esp + 0xe0]
jmp 0x41924d
xor ecx, ecx
jmp 0x4191a2
imul eax, esi, 0xfff00000
add dword [esp + 0xbc], eax
movsd xmm0, qword [esp + 0xb8]
divsd xmm2, xmm0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
movsd xmm0, qword [esp + 0x138]
comisd xmm0, xmm2
jb 0x41938e
test edx, edx
je 0x419283
movsd xmm0, qword [esp + 0xb0]
movapd xmm1, xmm0
movapd xmm2, xmm0
jmp 0x4192c0
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x41936a
test eax, 0xfffff
jne 0x419377
movsd xmm0, qword [esp + 0xb0]
comisd xmm0, xmm2
jbe 0x41935c
movsd xmm2, qword [esp + 0xc8]
movapd xmm1, xmm2
xorpd xmm1, xmmword [esp + 0x60]
mov esi, eax
movsd qword [esp + 0x30], xmm1
and esi, 0x7ff00000
cmp esi, 0x7fe00000
jne 0x4193c3
movsd xmm0, qword [esp + 8]
sub eax, 0x3500000
mov dword [esp + 0xc], eax
and eax, 0x7ff00000
sub eax, 0x3400000
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], eax
mulsd xmm1, qword [esp + 0x108]
movsd qword [esp + 0x78], xmm0
addsd xmm1, qword [esp + 8]
movsd qword [esp + 8], xmm1
mov ecx, dword [esp + 0xc]
mov eax, ecx
and eax, 0x7ff00000
cmp eax, 0x7ca00000
jb 0x4193a8
cmp dword [esp + 0x7c], 0x7fefffff
jne 0x419347
cmp dword [esp + 0x78], 0xffffffff
je 0x419528
mov dword [esp + 0xc], 0x7fefffff
mov dword [esp + 8], 0xffffffff
jmp 0x4194e7
mulsd xmm2, qword [esp + 0xc8]
jmp 0x4192b6
cmp ecx, 1
jne 0x419377
test eax, eax
je 0x419712
movsd xmm2, qword [esp + 0xb0]
movsd xmm1, qword [esp + 0x128]
jmp 0x4192c0
mulsd xmm2, qword [esp + 0xc8]
test edx, edx
je 0x4192b6
movapd xmm1, xmm2
jmp 0x4192c0
add ecx, 0x3500000
mov dword [esp + 0xc], ecx
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
jmp 0x419479
cmp dword [esp + 0x28], 0
je 0x419442
cmp esi, 0x6a00000
ja 0x419442
movsd xmm0, qword [esp + 0x120]
comisd xmm0, xmm2
jb 0x41941c
movapd xmm0, xmm2
call fcn.004ed561
test eax, eax
mov edx, 1
cmove eax, edx
mov edx, dword [esp + 0x24]
movd xmm2, eax
cvtdq2pd xmm2, xmm2
shr eax, 0x1f
addsd xmm2, qword [eax*8 + 0x516400]
movapd xmm0, xmm2
test edx, edx
jne 0x419422
xorpd xmm0, xmmword [esp + 0x60]
jmp 0x419422
movsd xmm0, qword [esp + 0x30]
mov eax, 0x6b00000
movsd qword [esp + 0xd8], xmm0
sub eax, esi
add dword [esp + 0xdc], eax
movsd xmm1, qword [esp + 0xd8]
lea eax, [esi - 0x3400000]
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], eax
mulsd xmm1, qword [esp + 0x100]
addsd xmm1, qword [esp + 8]
movsd qword [esp + 8], xmm1
mov ecx, dword [esp + 0xc]
movsd qword [esp + 0x30], xmm1
cmp dword [esp + 0x9c], edi
jne 0x4194e7
cmp dword [esp + 0x28], 0
jne 0x4194e7
mov eax, ecx
and eax, 0x7ff00000
cmp esi, eax
jne 0x4194e7
cvttsd2si eax, xmm2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
test edx, edx
jne 0x4194c5
cmp dword [esp + 8], edx
jne 0x4194c5
test ecx, 0xfffff
jne 0x4194c5
movsd xmm0, qword [esp + 0x110]
comisd xmm0, xmm2
jmp 0x4194e1
movsd xmm0, qword [esp + 0x130]
comisd xmm0, xmm2
ja 0x419785
comisd xmm2, xmmword [esp + 0x118]
ja 0x419785
mov ecx, dword [esp + 0x20]
call fcn.00417270
mov ecx, dword [esp + 0x40]
call fcn.00417270
mov ecx, dword [esp + 0x14]
call fcn.00417270
mov ecx, dword [esp + 0x2c]
call fcn.00417270
mov ecx, dword [esp + 0x50]
jmp 0x418eb8
test edx, edx
jne 0x419779
mov dword [esp + 0x9c], edi
jmp 0x419692
mov esi, dword [esp + 0x18]
call fcn.004c4c3f
movsd xmm3, qword [esp + 0x60]
mov dword [esp + 0xc], 0x7ff00000
mov dword [esp + 8], 0
movsd xmm2, qword [esp + 8]
mov dword [eax], 0x22
jmp 0x41983e
mov esi, dword [esp + 0xc]
test edx, edx
mov edx, dword [esp + 8]
je 0x4195c3
mov eax, esi
and eax, 0xfffff
cmp eax, 0xfffff
jne 0x4195d3
cmp dword [esp + 0x28], 0
je 0x419598
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6a00000
ja 0x419598
shr eax, 0x14
mov ecx, 0x6b
sub ecx, eax
or eax, 0xffffffff
shl eax, cl
jmp 0x41959b
or eax, 0xffffffff
cmp edx, eax
jne 0x4195d3
and esi, 0x7ff00000
mov dword [esp + 8], 0
add esi, 0x100000
mov dword [esp + 0x90], 0
jmp 0x419775
test esi, 0xfffff
jne 0x4195d3
test edx, edx
je 0x4196f6
test dl, 1
je 0x419779
mov ecx, dword [esp + 0x24]
and esi, 0x7ff00000
sub esi, 0x3400000
test ecx, ecx
je 0x419630
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], 0
movsd xmm0, qword [esp + 0xf0]
addsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 8], xmm0
mov eax, 1
sub eax, ecx
mov dword [esp + 0x90], eax
jmp 0x419785
movsd xmm0, qword [esp + 8]
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 + 0x30], xmm0
movsd qword [esp + 8], xmm0
lahf
test ah, 0x44
jp 0x41961d
cmp dword [esp + 0x9c], edi
jle 0x41972e
mov dword [esp + 0xac], 1
jmp 0x419785
test edx, edx
jne 0x419779
cmp dword [esp + 8], 0
jne 0x419779
mov esi, dword [esp + 0xc]
test esi, 0xfffff
jne 0x419779
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6b00000
jbe 0x419779
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x14], 0
jne 0x4196d3
cmp dword [eax + 0x10], 1
jle 0x419779
mov edx, 1
mov ecx, eax
call fcn.004178c0
mov edx, dword [esp + 0x14]
mov ecx, eax
mov dword [esp + 0x2c], eax
call fcn.00417aa0
test eax, eax
jle 0x419779
cmp dword [esp + 0x28], 0
je 0x419760
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6b00000
jg 0x419760
cmp eax, 0x3700000
jg 0x419779
cmp dword [esp + 0x9c], edi
jle 0x419728
mov dword [esp + 0xac], 1
jmp 0x419779
movsd xmm1, qword [esp + 0x70]
mov esi, dword [esp + 0x18]
jmp 0x41973a
movsd xmm1, qword [esp + 0x70]
movapd xmm0, xmm1
movsd qword [esp + 0x30], xmm0
call fcn.004c4c3f
movsd xmm2, qword [esp + 0x30]
movsd xmm3, qword [esp + 0x60]
mov dword [eax], 0x22
jmp 0x41983e
and esi, 0x7ff00000
mov dword [esp + 8], 0xffffffff
dec esi
or esi, 0xfffff
mov dword [esp + 0xc], esi
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x20]
call fcn.00417270
mov ecx, dword [esp + 0x40]
call fcn.00417270
mov ecx, dword [esp + 0x14]
call fcn.00417270
mov ecx, dword [esp + 0x50]
call fcn.00417270
mov ecx, dword [esp + 0x2c]
call fcn.00417270
cmp dword [esp + 0x9c], edi
jle 0x4197e2
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xc]
call fcn.00418300
mov eax, dword [esp + 0xac]
add esp, 4
movsd xmm2, qword [esp + 8]
jmp 0x4197ec
movsd xmm2, qword [esp + 0x30]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x419834
mov dword [esp + 0x7c], 0x39500000
mov dword [esp + 0x78], 0
movsd xmm0, qword [esp + 0x78]
mulsd xmm0, xmm2
movaps xmm2, xmm0
movsd qword [esp + 8], xmm2
test dword [esp + 0xc], 0x7ff00000
movsd qword [esp + 0x30], xmm2
jne 0x419834
call fcn.004c4c3f
movsd xmm2, qword [esp + 0x30]
mov dword [eax], 0x22
movsd xmm3, qword [esp + 0x60]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc4]
test ecx, ecx
je 0x41984f
mov dword [ecx], esi
test eax, eax
je 0x419857
xorpd xmm2, xmm3
pop edi
movapd xmm0, xmm2
pop esi
mov esp, ebp
pop ebp
ret