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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x298
movsd xmm3, qword [0x5163e0]
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 0x4186d3
jmp 0x4186a0
movzx eax, byte [eax + 0x4198c8]
jmp dword [eax*4 + 0x4198b4]
mov al, byte [esi]
mov byte [esp + 0x4b], al
cmp al, 0x30
jne 0x4186fd
mov dword [esp + 0x58], 1
inc esi
cmp byte [esi], 0x30
je 0x4186e5
mov al, byte [esi]
mov dword [esp + 0x18], esi
mov byte [esp + 0x4b], al
test al, al
je 0x41988e
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 0x41875e
lea ecx, [ecx]
cmp edi, 0x39
jg 0x41875a
cmp eax, 9
jge 0x418735
lea eax, [edx - 6]
lea eax, [edx + eax*4]
lea edx, [edi + eax*2]
jmp 0x418743
cmp eax, 0x10
jge 0x418747
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 0x418720
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 0x41889d
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 0x418803
cmp edi, 0x30
jne 0x4187e7
xor eax, eax
lea ebx, [ebx]
movsx edi, byte [esi + 1]
inc esi
inc eax
mov dword [esp + 0x18], esi
cmp edi, 0x30
je 0x4187d0
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], esi
lea eax, [edi - 0x31]
cmp eax, 8
ja 0x418899
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x4c], esi
jmp 0x418813
lea eax, [edi - 0x30]
cmp eax, 9
ja 0x418895
mov eax, dword [esp + 0x28]
inc eax
sub edi, 0x30
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], edi
je 0x418883
add dword [esp + 0x2c], eax
cmp eax, 1
jle 0x418859
mov edi, dword [esp + 0x14]
lea esi, [eax - 1]
mov eax, edi
inc edi
cmp eax, 9
jge 0x418840
lea edx, [edx + edx*4]
add edx, edx
jmp 0x41884a
cmp edi, 0x10
jg 0x41884a
lea ecx, [ecx + ecx*4]
add ecx, ecx
dec esi
jne 0x418831
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 0x41886e
lea eax, [edx + edx*4]
lea edx, [edi + eax*2]
jmp 0x41887b
cmp dword [esp + 0x14], 0x10
jg 0x41887b
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 0x418803
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], 0
cmp edi, 0x65
je 0x4188b3
cmp edi, 0x45
jne 0x41899e
test eax, eax
jne 0x4188c7
cmp dword [esp + 0x28], eax
jne 0x4188c7
cmp dword [esp + 0x58], eax
je case.0x4189e2.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 0x4188f0
sub eax, 2
jne 0x4188f9
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 0x418996
cmp edi, 0x30
jne 0x41891e
lea ebx, [ebx]
movsx edi, byte [esi + 1]
inc esi
cmp edi, 0x30
je 0x418910
mov dword [esp + 0x18], esi
lea eax, [edi - 0x31]
cmp eax, 8
ja 0x418992
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 0x418964
mov ecx, eax
cmp edi, 0x39
jg 0x41895c
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 0x418941
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x40]
mov eax, esi
sub eax, dword [esp + 0x54]
cmp eax, 8
jg 0x41897a
mov eax, dword [esp + 0x1c]
cmp eax, 0x4e1f
jle 0x418983
mov eax, 0x4e1f
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x44], 0
je 0x41899e
neg eax
mov dword [esp + 0x1c], eax
jmp 0x41899e
xor eax, eax
jmp 0x4189a2
mov esi, dword [esp + 0x30]
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x14], 0
jne 0x418aaa
cmp dword [esp + 0x28], 0
jne 0x41988e
cmp dword [esp + 0x58], 0
jne 0x41988e
mov eax, dword [esp + 0x24]
test eax, eax
jne case.0x4189e2.74
add edi, 0xffffffb7
cmp edi, 0x25
ja case.0x4189e2.74
movzx eax, byte [edi + 0x419904]
jmp dword [eax*4 + 0x4198f8]
mov edx, 0x6e
mov edi, 0x50cdc1
movsx ecx, byte [esi + 1]
inc esi
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x418a03
add ecx, 0x20
cmp ecx, edx
jne case.0x4189e2.74
movsx edx, byte [edi]
inc edi
test edx, edx
jne 0x4189f3
mov eax, esi
lea ecx, [esp + 0x18]
mov edx, str.inity
mov dword [esp + 0x18], eax
call fcn.00417ff0
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x418a30
inc esi
mov dword [esp + 0xc], 0x7ff00000
mov dword [esp + 8], 0
movsd xmm2, qword [esp + 8]
jmp 0x41988e
mov edx, 0x61
mov edi, 0x50cdcd
movsx ecx, byte [esi + 1]
inc esi
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x418a65
add ecx, 0x20
cmp ecx, edx
jne case.0x4189e2.74
movsx edx, byte [edi]
inc edi
test edx, edx
jne 0x418a55
inc esi
mov dword [esp + 0xc], 0x7ff80000
mov dword [esp + 0x18], esi
mov dword [esp + 8], edx
cmp byte [esi], 0x28
jne 0x418a40
lea edx, [esp + 0x18]
lea ecx, [esp + 8]
call fcn.00418030
movsd xmm2, qword [esp + 8]
jmp 0x41988a
mov esi, dword [esp + 0x30]
xor eax, eax
jmp 0x419892
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 + 0x5163d0]
mov eax, dword [esp + 0x44]
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 8], xmm2
cmp eax, 9
jle 0x418b3d
movsd xmm1, qword [eax*8 + 0x50ce00]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mulsd xmm1, xmm2
addsd xmm0, qword [ecx*8 + 0x5163d0]
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 0x418bb6
test eax, eax
je 0x41988e
jle 0x418b9e
cmp eax, 0x16
jg 0x418b6a
movsd xmm0, qword [eax*8 + 0x50ce48]
mulsd xmm0, xmm2
movaps xmm2, xmm0
jmp 0x41988e
mov ecx, 0xf
sub ecx, edi
lea eax, [ecx + 0x16]
cmp dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
jg 0x418bb6
movsd xmm0, qword [ecx*8 + 0x50ce48]
sub eax, ecx
mulsd xmm0, xmm2
mulsd xmm0, qword [eax*8 + 0x50ce48]
movaps xmm2, xmm0
jmp 0x41988e
cmp eax, 0xffffffea
jl 0x418bb6
shl eax, 3
mov ecx, 0x50ce48
sub ecx, eax
divsd xmm2, qword [ecx]
jmp 0x41988e
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 0x418c8b
mov ecx, eax
and ecx, 0xf
je 0x418bee
movsd xmm0, qword [ecx*8 + 0x50ce48]
mulsd xmm0, xmm2
movaps xmm2, xmm0
movsd qword [esp + 8], xmm2
and eax, 0xfffffff0
je 0x418d87
cmp eax, 0x134
jg 0x41957c
sar eax, 4
xor ecx, ecx
cmp eax, 1
jle 0x418c2b
lea esp, [esp]
test al, 1
je 0x418c23
mulsd xmm2, qword [ecx*8 + 0x50ce20]
movsd qword [esp + 8], xmm2
sar eax, 1
inc ecx
cmp eax, 1
jg 0x418c10
movsd xmm0, qword [ecx*8 + 0x50ce20]
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 0x41957c
cmp ecx, 0x7c900000
jbe 0x418c7d
mov dword [esp + 0xc], 0x7fefffff
mov dword [esp + 8], 0xffffffff
jmp 0x418d87
add eax, 0x3500000
mov dword [esp + 0xc], eax
jmp 0x418d87
jns 0x418d87
neg eax
mov ecx, eax
and ecx, 0xf
je 0x418caf
divsd xmm2, qword [ecx*8 + 0x50ce48]
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 8], xmm2
sar eax, 4
test eax, eax
je 0x418d87
cmp eax, 0x20
jge 0x419784
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 0x418d11
mov ecx, 0x50cdf0
jmp 0x418cf0
test al, 1
je 0x418cfe
mulsd xmm2, qword [ecx]
movsd qword [esp + 8], xmm2
sar eax, 1
add ecx, 8
test eax, eax
jg 0x418cf0
mov ecx, dword [esp + 0x28]
movsd qword [esp + 0x30], xmm2
test ecx, ecx
je 0x418d73
mov eax, dword [esp + 0xc]
mov ecx, 0x6b
shr eax, 0x14
and eax, 0x7ff
sub ecx, eax
test ecx, ecx
jle 0x418d73
cmp ecx, 0x20
jl 0x418d62
mov dword [esp + 8], 0
cmp ecx, 0x35
jl 0x418d4e
mov dword [esp + 0xc], 0x3700000
movsd xmm0, qword [esp + 8]
jmp 0x418d79
add ecx, 0xffffffe0
or eax, 0xffffffff
shl eax, cl
and dword [esp + 0xc], eax
movsd xmm0, qword [esp + 8]
jmp 0x418d79
or eax, 0xffffffff
shl eax, cl
and dword [esp + 8], eax
movsd xmm0, qword [esp + 8]
jmp 0x418d79
movsd xmm0, qword [esp + 0x30]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x419784
mov esi, dword [esp + 0x20]
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], esi
cmp edi, 0x28
jle 0x418e5f
mov eax, 0x12
mov ecx, eax
cmp esi, eax
jge 0x418db3
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 0x418dce
cmp eax, edi
jl 0x418dce
lea eax, [edi - 1]
cmp byte [eax + esi], 0x30
jne 0x418dd7
dec ecx
jmp 0x418dc0
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 0x418e5f
xor edx, edx
xor esi, esi
cmp dword [esp + 0x20], edx
jle 0x418e2a
mov edi, dword [esp + 0x20]
jmp 0x418e10
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 0x418e10
mov edi, dword [esp + 0x14]
cmp esi, edi
jge 0x418e5b
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 0x418e42
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.004173e0
movsd xmm0, qword [0x516318]
mov ecx, eax
movsd qword [esp + 0x144], xmm0
add esp, 0xc
movsd xmm0, qword [0x516308]
movsd qword [esp + 0xb0], xmm0
movsd xmm0, qword [0x5162f0]
lea eax, [ecx + 0xc]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [0x5163a8]
movsd qword [esp + 0x128], xmm0
movsd xmm0, qword [0x516370]
movsd qword [esp + 0x120], xmm0
movsd xmm0, qword [0x5162d0]
movsd qword [esp + 0x110], xmm0
movsd xmm0, qword [0x5162e8]
movsd qword [esp + 0x130], xmm0
movsd xmm0, qword [0x5162f8]
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.00417200
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.004beb50
add esp, 0xc
lea eax, [esp + 0x44]
lea edx, [esp + 0xc0]
lea ecx, [esp + 8]
push eax
call fcn.00417e00
add esp, 4
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.00417580
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x418f71
xor edx, edx
mov dword [esp + 0x58], eax
xor esi, esi
jmp 0x418f7f
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 0x418f92
add esi, ecx
jmp 0x418f98
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 0x418fb6
add ecx, 0x433
jmp 0x418fbf
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 0x418ff1
sub ecx, eax
sub esi, eax
sub dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
test edx, edx
jle 0x41911a
mov ecx, dword [esp + 0x14]
call fcn.00417760
mov edx, dword [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.00417620
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
test ecx, ecx
je 0x419112
cmp dword [ecx + 4], 7
jle 0x41903f
push ecx
call fcn.004bbbce
mov eax, dword [esp + 0x34]
add esp, 4
mov ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x41911e
mov eax, dword [esp + 0x5c]
test al, 1
je 0x41905a
and eax, 0xfffffffe
lea ecx, [esp + 0x140]
mov dword [esp + 0x5c], eax
call fcn.00403ba0
mov eax, dword [0x55a704]
test eax, 0xfffffffe
jne 0x4190b2
mov ecx, 1
xor eax, eax
mov edx, 0x55a704
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x419098
mov eax, dword [0x55a704]
cmp eax, 1
jne 0x4190b2
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x55a704]
cmp eax, 1
je 0x419084
jmp 0x4190b2
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 0x4190f2
and eax, 0xffffff7f
lea ecx, [esp + 0x1f0]
mov dword [esp + 0x5c], eax
call fcn.00403ba0
mov ecx, 0x55a704
call fcn.0040dd50
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 0x41911e
mov ecx, dword [esp + 0x20]
test esi, esi
jle 0x419131
mov edx, esi
call fcn.00417910
mov esi, eax
mov dword [esp + 0x20], esi
jmp 0x419135
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
test eax, eax
jle 0x41914e
mov edx, eax
call fcn.00417760
mov ecx, eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x419163
mov edx, eax
call fcn.00417910
mov ecx, eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x41917e
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.00417910
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov edx, ecx
mov ecx, esi
call fcn.00417b40
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 0x4191fa
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 0x4191e8
cmp ecx, esi
jbe 0x419280
mov eax, dword [ecx - 4]
sub ecx, 4
sub edx, 4
cmp eax, dword [edx]
je 0x4191d3
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 0x41920b
test ecx, ecx
jle 0x419564
test ecx, ecx
js 0x4196da
je 0x4195a8
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xec]
call fcn.00417ca0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xd4]
movapd xmm2, xmm0
movsd qword [esp + 0xe0], xmm2
call fcn.00417ca0
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 0x419287
shl esi, 0x14
add dword [esp + 0xe4], esi
movsd xmm2, qword [esp + 0xe0]
jmp 0x41929d
xor ecx, ecx
jmp 0x4191f2
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 0x4193de
test edx, edx
je 0x4192d3
movsd xmm0, qword [esp + 0xb0]
movapd xmm1, xmm0
movapd xmm2, xmm0
jmp 0x419310
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4193ba
test eax, 0xfffff
jne 0x4193c7
movsd xmm0, qword [esp + 0xb0]
comisd xmm0, xmm2
jbe 0x4193ac
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 0x419413
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 0x4193f8
cmp dword [esp + 0x7c], 0x7fefffff
jne 0x419397
cmp dword [esp + 0x78], 0xffffffff
je 0x419578
mov dword [esp + 0xc], 0x7fefffff
mov dword [esp + 8], 0xffffffff
jmp 0x419537
mulsd xmm2, qword [esp + 0xc8]
jmp 0x419306
cmp ecx, 1
jne 0x4193c7
test eax, eax
je 0x419762
movsd xmm2, qword [esp + 0xb0]
movsd xmm1, qword [esp + 0x128]
jmp 0x419310
mulsd xmm2, qword [esp + 0xc8]
test edx, edx
je 0x419306
movapd xmm1, xmm2
jmp 0x419310
add ecx, 0x3500000
mov dword [esp + 0xc], ecx
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
jmp 0x4194c9
cmp dword [esp + 0x28], 0
je 0x419492
cmp esi, 0x6a00000
ja 0x419492
movsd xmm0, qword [esp + 0x120]
comisd xmm0, xmm2
jb 0x41946c
movapd xmm0, xmm2
call fcn.004ed221
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 + 0x5163d0]
movapd xmm0, xmm2
test edx, edx
jne 0x419472
xorpd xmm0, xmmword [esp + 0x60]
jmp 0x419472
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 0x419537
cmp dword [esp + 0x28], 0
jne 0x419537
mov eax, ecx
and eax, 0x7ff00000
cmp esi, eax
jne 0x419537
cvttsd2si eax, xmm2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
test edx, edx
jne 0x419515
cmp dword [esp + 8], edx
jne 0x419515
test ecx, 0xfffff
jne 0x419515
movsd xmm0, qword [esp + 0x110]
comisd xmm0, xmm2
jmp 0x419531
movsd xmm0, qword [esp + 0x130]
comisd xmm0, xmm2
ja 0x4197d5
comisd xmm2, xmmword [esp + 0x118]
ja 0x4197d5
mov ecx, dword [esp + 0x20]
call fcn.004172c0
mov ecx, dword [esp + 0x40]
call fcn.004172c0
mov ecx, dword [esp + 0x14]
call fcn.004172c0
mov ecx, dword [esp + 0x2c]
call fcn.004172c0
mov ecx, dword [esp + 0x50]
jmp 0x418f08
test edx, edx
jne 0x4197c9
mov dword [esp + 0x9c], edi
jmp 0x4196e2
mov esi, dword [esp + 0x18]
call fcn.004c48ef
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 0x41988e
mov esi, dword [esp + 0xc]
test edx, edx
mov edx, dword [esp + 8]
je 0x419613
mov eax, esi
and eax, 0xfffff
cmp eax, 0xfffff
jne 0x419623
cmp dword [esp + 0x28], 0
je 0x4195e8
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6a00000
ja 0x4195e8
shr eax, 0x14
mov ecx, 0x6b
sub ecx, eax
or eax, 0xffffffff
shl eax, cl
jmp 0x4195eb
or eax, 0xffffffff
cmp edx, eax
jne 0x419623
and esi, 0x7ff00000
mov dword [esp + 8], 0
add esi, 0x100000
mov dword [esp + 0x90], 0
jmp 0x4197c5
test esi, 0xfffff
jne 0x419623
test edx, edx
je 0x419746
test dl, 1
je 0x4197c9
mov ecx, dword [esp + 0x24]
and esi, 0x7ff00000
sub esi, 0x3400000
test ecx, ecx
je 0x419680
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 0x4197d5
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 0x41966d
cmp dword [esp + 0x9c], edi
jle 0x41977e
mov dword [esp + 0xac], 1
jmp 0x4197d5
test edx, edx
jne 0x4197c9
cmp dword [esp + 8], 0
jne 0x4197c9
mov esi, dword [esp + 0xc]
test esi, 0xfffff
jne 0x4197c9
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6b00000
jbe 0x4197c9
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x14], 0
jne 0x419723
cmp dword [eax + 0x10], 1
jle 0x4197c9
mov edx, 1
mov ecx, eax
call fcn.00417910
mov edx, dword [esp + 0x14]
mov ecx, eax
mov dword [esp + 0x2c], eax
call fcn.00417af0
test eax, eax
jle 0x4197c9
cmp dword [esp + 0x28], 0
je 0x4197b0
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6b00000
jg 0x4197b0
cmp eax, 0x3700000
jg 0x4197c9
cmp dword [esp + 0x9c], edi
jle 0x419778
mov dword [esp + 0xac], 1
jmp 0x4197c9
movsd xmm1, qword [esp + 0x70]
mov esi, dword [esp + 0x18]
jmp 0x41978a
movsd xmm1, qword [esp + 0x70]
movapd xmm0, xmm1
movsd qword [esp + 0x30], xmm0
call fcn.004c48ef
movsd xmm2, qword [esp + 0x30]
movsd xmm3, qword [esp + 0x60]
mov dword [eax], 0x22
jmp 0x41988e
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.004172c0
mov ecx, dword [esp + 0x40]
call fcn.004172c0
mov ecx, dword [esp + 0x14]
call fcn.004172c0
mov ecx, dword [esp + 0x50]
call fcn.004172c0
mov ecx, dword [esp + 0x2c]
call fcn.004172c0
cmp dword [esp + 0x9c], edi
jle 0x419832
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xc]
call fcn.00418350
mov eax, dword [esp + 0xac]
add esp, 4
movsd xmm2, qword [esp + 8]
jmp 0x41983c
movsd xmm2, qword [esp + 0x30]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x419884
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 0x419884
call fcn.004c48ef
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 0x41989f
mov dword [ecx], esi
test eax, eax
je 0x4198a7
xorpd xmm2, xmm3
pop edi
movapd xmm0, xmm2
pop esi
mov esp, ebp
pop ebp
ret