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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2a8
movsd xmm3, qword [0x518460]
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x4c], eax
push esi
xorps xmm1, xmm1
mov dword [esp + 0xb0], edx
mov esi, eax
mov dword [esp + 0x58], 0
movsx eax, byte [eax]
movapd xmm2, xmm1
mov dword [esp + 0xac], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], ecx
movsd qword [esp + 0x74], xmm1
movsd qword [esp + 0xc], xmm2
mov dword [esp + 0x18], esi
movsd qword [esp + 0x5c], xmm3
push edi
cmp eax, 0x2d
ja 0x4184c3
jmp 0x418490
movzx eax, byte [eax + 0x419734]
jmp dword [eax*4 + 0x419720]
mov al, byte [esi]
mov byte [esp + 0x4b], al
cmp al, 0x30
jne 0x4184ed
mov dword [esp + 0x38], 1
inc esi
cmp byte [esi], 0x30
je 0x4184d5
mov al, byte [esi]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x4b], al
test al, al
je 0x4196fd
movsx edi, byte [esp + 0x4b]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x4c], esi
xor edx, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], eax
cmp edi, 0x30
jl 0x41854e
lea ecx, [ecx]
cmp edi, 0x39
jg 0x41854a
cmp eax, 9
jge 0x418525
lea eax, [edx - 6]
lea eax, [edx + eax*4]
lea edx, [edi + eax*2]
jmp 0x418533
cmp eax, 0x10
jge 0x418537
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 + 0x1c], esi
mov dword [esp + 0x18], eax
cmp edi, 0x30
jge 0x418510
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov eax, esi
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x18]
cmp edi, 0x2e
jne 0x41868d
movsx edi, byte [esi + 1]
inc esi
mov eax, esi
mov dword [esp + 0x20], esi
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x8c], eax
sub eax, dword [esp + 0x88]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
test eax, eax
jne 0x4185f3
cmp edi, 0x30
jne 0x4185d7
xor eax, eax
lea ebx, [ebx]
movsx edi, byte [esi + 1]
inc esi
inc eax
mov dword [esp + 0x1c], esi
cmp edi, 0x30
je 0x4185c0
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], esi
lea eax, [edi - 0x31]
cmp eax, 8
ja 0x418689
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x4c], esi
jmp 0x418603
lea eax, [edi - 0x30]
cmp eax, 9
ja 0x418685
mov eax, dword [esp + 0x28]
inc eax
sub edi, 0x30
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], edi
je 0x418673
add dword [esp + 0x30], eax
cmp eax, 1
jle 0x418649
mov edi, dword [esp + 0x18]
lea esi, [eax - 1]
mov eax, edi
inc edi
cmp eax, 9
jge 0x418630
lea edx, [edx + edx*4]
add edx, edx
jmp 0x41863a
cmp edi, 0x10
jg 0x41863a
lea ecx, [ecx + ecx*4]
add ecx, ecx
dec esi
jne 0x418621
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
inc dword [esp + 0x18]
cmp eax, 9
jge 0x41865e
lea eax, [edx + edx*4]
lea edx, [edi + eax*2]
jmp 0x41866b
cmp dword [esp + 0x18], 0x10
jg 0x41866b
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 + 0x20], esi
mov dword [esp + 0x1c], esi
jmp 0x4185f3
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], 0
cmp edi, 0x65
je 0x4186a3
cmp edi, 0x45
jne 0x41878e
test eax, eax
jne 0x4186b7
cmp dword [esp + 0x28], eax
jne 0x4186b7
cmp dword [esp + 0x38], eax
je case.0x4187d2.74
movsx edi, byte [esi + 1]
mov dword [esp + 0x54], esi
mov eax, edi
inc esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x1c], esi
sub eax, 0x2b
je 0x4186e0
sub eax, 2
jne 0x4186e9
mov dword [esp + 0x34], 1
movsx edi, byte [esi + 1]
inc esi
mov dword [esp + 0x1c], esi
lea eax, [edi - 0x30]
cmp eax, 9
ja 0x418786
cmp edi, 0x30
jne 0x41870e
lea ebx, [ebx]
movsx edi, byte [esi + 1]
inc esi
cmp edi, 0x30
je 0x418700
mov dword [esp + 0x1c], esi
lea eax, [edi - 0x31]
cmp eax, 8
ja 0x418782
mov dword [esp + 0x58], esi
lea eax, [edi - 0x30]
movsx edi, byte [esi + 1]
inc esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
cmp edi, 0x30
jl 0x418754
mov ecx, eax
cmp edi, 0x39
jg 0x41874c
inc esi
lea ecx, [ecx + ecx*4]
lea ecx, [ecx - 0x18]
mov dword [esp + 0x1c], esi
lea ecx, [edi + ecx*2]
movsx edi, byte [esi]
cmp edi, 0x30
jge 0x418731
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x44]
mov eax, esi
sub eax, dword [esp + 0x58]
cmp eax, 8
jg 0x41876a
mov eax, dword [esp + 0x20]
cmp eax, 0x4e1f
jle 0x418773
mov eax, 0x4e1f
mov dword [esp + 0x20], eax
cmp dword [esp + 0x34], 0
je 0x41878e
neg eax
mov dword [esp + 0x20], eax
jmp 0x41878e
xor eax, eax
jmp 0x418792
mov esi, dword [esp + 0x54]
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], 0
jne 0x41889a
cmp dword [esp + 0x28], 0
jne 0x4196fd
cmp dword [esp + 0x38], 0
jne 0x4196fd
mov eax, dword [esp + 0x2c]
test eax, eax
jne case.0x4187d2.74
add edi, 0xffffffb7
cmp edi, 0x25
ja case.0x4187d2.74
movzx eax, byte [edi + 0x419770]
jmp dword [eax*4 + 0x419764]
mov edx, 0x6e
mov edi, 0x50ff19
movsx ecx, byte [esi + 1]
inc esi
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x4187f3
add ecx, 0x20
cmp ecx, edx
jne case.0x4187d2.74
movsx edx, byte [edi]
inc edi
test edx, edx
jne 0x4187e3
mov eax, esi
lea ecx, [esp + 0x1c]
mov edx, str.inity
mov dword [esp + 0x1c], eax
call fcn.00417de0
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x418820
inc esi
mov dword [esp + 0x14], 0x7ff00000
mov dword [esp + 0x10], 0
movsd xmm2, qword [esp + 0x10]
jmp 0x4196fd
mov edx, 0x61
mov edi, 0x50ff25
movsx ecx, byte [esi + 1]
inc esi
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x418855
add ecx, 0x20
cmp ecx, edx
jne case.0x4187d2.74
movsx edx, byte [edi]
inc edi
test edx, edx
jne 0x418845
inc esi
mov dword [esp + 0x14], 0x7ff80000
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], edx
cmp byte [esi], 0x28
jne 0x418830
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
call fcn.00417e20
movsd xmm2, qword [esp + 0x10]
jmp 0x4196f9
mov esi, dword [esp + 0x54]
xor eax, eax
jmp 0x419701
sub eax, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x98], 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 + 0x518450]
mov eax, dword [esp + 0x34]
movsd qword [esp + 0x38], xmm2
movsd qword [esp + 0x10], xmm2
cmp eax, 9
jle 0x41892d
movsd xmm1, qword [eax*8 + 0x50e0e0]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mulsd xmm1, xmm2
addsd xmm0, qword [ecx*8 + 0x518450]
addsd xmm1, xmm0
movaps xmm2, xmm1
movsd xmm1, qword [esp + 0x78]
movsd qword [esp + 0x38], xmm2
movsd qword [esp + 0x10], xmm2
mov eax, dword [esp + 0x20]
cmp edi, 0xf
jg 0x4189a6
test eax, eax
je 0x4196fd
jle 0x41898e
cmp eax, 0x16
jg 0x41895a
movsd xmm0, qword [eax*8 + 0x50e128]
mulsd xmm0, xmm2
movaps xmm2, xmm0
jmp 0x4196fd
mov ecx, 0xf
sub ecx, edi
lea eax, [ecx + 0x16]
cmp dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
jg 0x4189a6
movsd xmm0, qword [ecx*8 + 0x50e128]
sub eax, ecx
mulsd xmm0, xmm2
mulsd xmm0, qword [eax*8 + 0x50e128]
movaps xmm2, xmm0
jmp 0x4196fd
cmp eax, 0xffffffea
jl 0x4189a6
shl eax, 3
mov ecx, 0x50e128
sub ecx, eax
divsd xmm2, qword [ecx]
jmp 0x4196fd
sub eax, dword [esp + 0x34]
xor ecx, ecx
add eax, edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0xac], ecx
test eax, eax
jle 0x418a7b
mov ecx, eax
and ecx, 0xf
je 0x4189de
movsd xmm0, qword [ecx*8 + 0x50e128]
mulsd xmm0, xmm2
movaps xmm2, xmm0
movsd qword [esp + 0x10], xmm2
and eax, 0xfffffff0
je 0x418b77
cmp eax, 0x134
jg 0x4193e2
sar eax, 4
xor ecx, ecx
cmp eax, 1
jle 0x418a1b
lea esp, [esp]
test al, 1
je 0x418a13
mulsd xmm2, qword [ecx*8 + 0x50e100]
movsd qword [esp + 0x10], xmm2
sar eax, 1
inc ecx
cmp eax, 1
jg 0x418a00
movsd xmm0, qword [ecx*8 + 0x50e100]
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 0x4193e2
cmp ecx, 0x7c900000
jbe 0x418a6d
mov dword [esp + 0x14], 0x7fefffff
mov dword [esp + 0x10], 0xffffffff
jmp 0x418b77
add eax, 0x3500000
mov dword [esp + 0x14], eax
jmp 0x418b77
jns 0x418b77
neg eax
mov ecx, eax
and ecx, 0xf
je 0x418a9f
divsd xmm2, qword [ecx*8 + 0x50e128]
movsd qword [esp + 0x38], xmm2
movsd qword [esp + 0x10], xmm2
sar eax, 4
test eax, eax
je 0x418b77
cmp eax, 0x20
jge 0x4195ea
test al, 0x10
mov dword [esp + 0x58], 0x6a
mov ecx, 0
cmovne ecx, dword [esp + 0x58]
mov dword [esp + 0x28], ecx
mov dword [esp + 0xac], ecx
test eax, eax
jle 0x418b01
mov ecx, 0x50e1e0
jmp 0x418ae0
test al, 1
je 0x418aee
mulsd xmm2, qword [ecx]
movsd qword [esp + 0x10], xmm2
sar eax, 1
add ecx, 8
test eax, eax
jg 0x418ae0
mov ecx, dword [esp + 0x28]
movsd qword [esp + 0x38], xmm2
test ecx, ecx
je 0x418b63
mov eax, dword [esp + 0x14]
mov ecx, 0x6b
shr eax, 0x14
and eax, 0x7ff
sub ecx, eax
test ecx, ecx
jle 0x418b63
cmp ecx, 0x20
jl 0x418b52
mov dword [esp + 0x10], 0
cmp ecx, 0x35
jl 0x418b3e
mov dword [esp + 0x14], 0x3700000
movsd xmm0, qword [esp + 0x10]
jmp 0x418b69
add ecx, 0xffffffe0
or eax, 0xffffffff
shl eax, cl
and dword [esp + 0x14], eax
movsd xmm0, qword [esp + 0x10]
jmp 0x418b69
or eax, 0xffffffff
shl eax, cl
and dword [esp + 0x10], eax
movsd xmm0, qword [esp + 0x10]
jmp 0x418b69
movsd xmm0, qword [esp + 0x38]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x4195ea
mov esi, dword [esp + 0x24]
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], esi
cmp edi, 0x28
jle 0x418c4f
mov eax, 0x12
mov ecx, eax
cmp esi, eax
jge 0x418ba3
mov eax, dword [esp + 0x2c]
add eax, ecx
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x4c]
mov edi, edi
dec eax
cmp eax, dword [esp + 0x50]
jg 0x418bbe
cmp eax, edi
jl 0x418bbe
lea eax, [edi - 1]
cmp byte [eax + esi], 0x30
jne 0x418bc7
dec ecx
jmp 0x418bb0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
sub edi, ecx
add dword [esp + 0x20], edi
cmp esi, ecx
mov edi, ecx
cmovg esi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], esi
cmp ecx, 9
jge 0x418c4f
xor edx, edx
xor esi, esi
cmp dword [esp + 0x24], edx
jle 0x418c1a
mov edi, dword [esp + 0x24]
jmp 0x418c00
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 0x418c00
mov edi, dword [esp + 0x18]
cmp esi, edi
jge 0x418c4b
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x4c]
sub edi, esi
mov dword [esp + 0x34], edi
mov edi, eax
mov dword [esp + 0x58], 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 0x418c32
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
push edx
push edi
mov edx, esi
call fcn.004171d0
movsd xmm0, qword [0x5183a0]
mov ecx, eax
movsd qword [esp + 0x154], xmm0
add esp, 0xc
movsd xmm0, qword [0x518390]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [0x518378]
lea eax, [ecx + 0xc]
movsd qword [esp + 0xd8], xmm0
movsd xmm0, qword [0x518430]
movsd qword [esp + 0x138], xmm0
movsd xmm0, qword [0x5183f8]
movsd qword [esp + 0x130], xmm0
movsd xmm0, qword [0x518358]
movsd qword [esp + 0x120], xmm0
movsd xmm0, qword [0x518370]
movsd qword [esp + 0x140], xmm0
movsd xmm0, qword [0x518380]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
movsd qword [esp + 0x128], xmm0
mov ecx, dword [ecx + 4]
mov esi, 1
call fcn.00416ff0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov ecx, dword [ecx + 0x10]
lea ecx, [ecx*4 + 8]
push ecx
push dword [esp + 0x5c]
lea ecx, [eax + 0xc]
push ecx
call fcn.004bebf0
add esp, 0xc
lea eax, [esp + 0xc4]
lea edx, [esp + 0xd4]
lea ecx, [esp + 0x10]
push eax
call fcn.00417bf0
add esp, 4
mov dword [esp + 0x24], eax
mov ecx, esi
call fcn.00417370
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
test eax, eax
js 0x418d64
xor edx, edx
mov dword [esp + 0x38], eax
xor esi, esi
jmp 0x418d72
mov edx, eax
xor ecx, ecx
neg edx
mov dword [esp + 0x38], ecx
mov esi, edx
xor eax, eax
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], esi
test ecx, ecx
js 0x418d8d
add esi, ecx
mov dword [esp + 0x50], esi
jmp 0x418d93
sub eax, ecx
mov dword [esp + 0x2c], eax
sub ecx, dword [esp + 0x28]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0xc4]
lea eax, [esi - 1]
add eax, ecx
cmp eax, 0xfffffc02
jge 0x418db6
add ecx, 0x433
jmp 0x418dbd
mov ecx, 0x36
sub ecx, esi
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
add esi, ecx
add eax, ecx
mov ecx, dword [esp + 0x2c]
add ecx, eax
cmp esi, ecx
mov dword [esp + 0x2c], ecx
mov eax, ecx
cmovl eax, esi
cmp eax, dword [esp + 0x30]
cmovg eax, dword [esp + 0x30]
test eax, eax
jle 0x418df3
sub ecx, eax
sub esi, eax
sub dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
test edx, edx
jle 0x418f71
mov ecx, dword [esp + 0x18]
call fcn.00417550
mov edx, dword [esp + 0x24]
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.00417410
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x418f69
cmp dword [ecx + 4], 7
jle 0x418e41
push ecx
call fcn.004bbc6e
mov eax, dword [esp + 0x38]
add esp, 4
mov ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x418f75
mov eax, dword [esp + 0x5c]
test al, 1
je 0x418e5c
and eax, 0xfffffffe
lea ecx, [esp + 0x150]
mov dword [esp + 0x5c], eax
call fcn.00406570
mov eax, dword [0x55c924]
test eax, 0xfffffffe
jne 0x418eb4
mov ecx, 1
xor eax, eax
mov edx, 0x55c924
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x418e9a
mov eax, dword [0x55c924]
cmp eax, 1
jne 0x418eb4
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x55c924]
cmp eax, 1
je 0x418e86
jmp 0x418eb4
push 0x7d0
push 0x55c928
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [0x55c924], 0x55c928
mov eax, dword [0x55c924]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
mov eax, dword [ecx*4 + 0x55dc20]
mov dword [edx], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx*4 + 0x55dc20], edx
test al, al
jns 0x418ef4
and eax, 0xffffff7f
lea ecx, [esp + 0x200]
mov dword [esp + 0x5c], eax
call fcn.00406570
mov eax, dword [0x55c924]
test eax, 0xfffffffe
jne 0x418f4e
mov ecx, 1
xor eax, eax
mov edx, 0x55c924
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x418f34
mov eax, dword [0x55c924]
cmp eax, 1
jne 0x418f4e
mov edi, edi
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x55c924]
cmp eax, 1
je 0x418f20
jmp 0x418f4e
push 0x7d0
push 0x55c928
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [0x55c924], 0x55c928
mov eax, dword [0x55c924]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x418f75
mov ecx, dword [esp + 0x24]
test esi, esi
jle 0x418f88
mov edx, esi
call fcn.00417700
mov esi, eax
mov dword [esp + 0x24], esi
jmp 0x418f8c
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
test eax, eax
jle 0x418fa5
mov edx, eax
call fcn.00417550
mov ecx, eax
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x418fba
mov edx, eax
call fcn.00417700
mov ecx, eax
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x418fd5
mov ecx, dword [esp + 0x18]
mov edx, eax
call fcn.00417700
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov edx, ecx
mov ecx, esi
call fcn.00417930
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 + 0x2c], edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x34], esi
sub ecx, eax
jne 0x419057
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 0x419045
lea ebx, [ebx]
cmp ecx, esi
jbe 0x4190dd
mov eax, dword [ecx - 4]
sub ecx, 4
sub edx, 4
cmp eax, dword [edx]
je 0x419030
mov eax, dword [ecx]
cmp eax, dword [edx]
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
cmp dword [esp + 0xa0], edi
jle 0x419068
test ecx, ecx
jle 0x4193ca
test ecx, ecx
js 0x419540
je 0x41940e
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xe4]
call fcn.00417a90
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xfc]
movapd xmm2, xmm0
movsd qword [esp + 0xf0], xmm2
call fcn.00417a90
mov eax, dword [esp + 0x18]
movsd qword [esp + 0xb8], xmm0
sub esi, dword [eax + 0x10]
shl esi, 5
sub esi, dword [esp + 0xfc]
add esi, dword [esp + 0xe4]
test esi, esi
jle 0x4190e4
shl esi, 0x14
add dword [esp + 0xf4], esi
movsd xmm2, qword [esp + 0xf0]
jmp 0x4190fa
xor ecx, ecx
jmp 0x41904f
imul eax, esi, 0xfff00000
add dword [esp + 0xbc], eax
movsd xmm0, qword [esp + 0xb8]
divsd xmm2, xmm0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
movsd xmm0, qword [esp + 0x148]
comisd xmm0, xmm2
jb 0x419244
test edx, edx
je 0x419130
movsd xmm0, qword [esp + 0xc8]
movapd xmm1, xmm0
movapd xmm2, xmm0
jmp 0x41916d
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x419220
test eax, 0xfffff
jne 0x41922d
movsd xmm0, qword [esp + 0xc8]
comisd xmm0, xmm2
jbe 0x419212
movsd xmm2, qword [esp + 0xd8]
movapd xmm1, xmm2
xorpd xmm1, xmmword [esp + 0x60]
mov esi, eax
movsd qword [esp + 0x38], xmm1
and esi, 0x7ff00000
cmp esi, 0x7fe00000
jne 0x419279
movsd xmm0, qword [esp + 0x10]
sub eax, 0x3500000
mov dword [esp + 0x14], eax
and eax, 0x7ff00000
sub eax, 0x3400000
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], eax
mulsd xmm1, qword [esp + 0x118]
movsd qword [esp + 0x80], xmm0
addsd xmm1, qword [esp + 0x10]
movsd qword [esp + 0x10], xmm1
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0x7ff00000
cmp eax, 0x7ca00000
jb 0x41925e
cmp dword [esp + 0x84], 0x7fefffff
jne 0x4191fd
cmp dword [esp + 0x80], 0xffffffff
je 0x4193de
mov dword [esp + 0x14], 0x7fefffff
mov dword [esp + 0x10], 0xffffffff
jmp 0x41939d
mulsd xmm2, qword [esp + 0xd8]
jmp 0x419163
cmp ecx, 1
jne 0x41922d
test eax, eax
je 0x4195c8
movsd xmm2, qword [esp + 0xc8]
movsd xmm1, qword [esp + 0x138]
jmp 0x41916d
mulsd xmm2, qword [esp + 0xd8]
test edx, edx
je 0x419163
movapd xmm1, xmm2
jmp 0x41916d
add ecx, 0x3500000
mov dword [esp + 0x14], ecx
movsd xmm0, qword [esp + 0x10]
movsd qword [esp + 0x38], xmm0
jmp 0x41932f
cmp dword [esp + 0x28], 0
je 0x4192f8
cmp esi, 0x6a00000
ja 0x4192f8
movsd xmm0, qword [esp + 0x130]
comisd xmm0, xmm2
jb 0x4192d2
movapd xmm0, xmm2
call fcn.004ed9f1
test eax, eax
mov edx, 1
cmove eax, edx
mov edx, dword [esp + 0x2c]
movd xmm2, eax
cvtdq2pd xmm2, xmm2
shr eax, 0x1f
addsd xmm2, qword [eax*8 + 0x518450]
movapd xmm0, xmm2
test edx, edx
jne 0x4192d8
xorpd xmm0, xmmword [esp + 0x60]
jmp 0x4192d8
movsd xmm0, qword [esp + 0x38]
mov eax, 0x6b00000
movsd qword [esp + 0xe8], xmm0
sub eax, esi
add dword [esp + 0xec], eax
movsd xmm1, qword [esp + 0xe8]
lea eax, [esi - 0x3400000]
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], eax
mulsd xmm1, qword [esp + 0x110]
addsd xmm1, qword [esp + 0x10]
movsd qword [esp + 0x10], xmm1
mov ecx, dword [esp + 0x14]
movsd qword [esp + 0x38], xmm1
cmp dword [esp + 0xa0], edi
jne 0x41939d
cmp dword [esp + 0x28], 0
jne 0x41939d
mov eax, ecx
and eax, 0x7ff00000
cmp esi, eax
jne 0x41939d
cvttsd2si eax, xmm2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
test edx, edx
jne 0x41937b
cmp dword [esp + 0x10], edx
jne 0x41937b
test ecx, 0xfffff
jne 0x41937b
movsd xmm0, qword [esp + 0x120]
comisd xmm0, xmm2
jmp 0x419397
movsd xmm0, qword [esp + 0x140]
comisd xmm0, xmm2
ja 0x41963b
comisd xmm2, xmmword [esp + 0x128]
ja 0x41963b
mov ecx, dword [esp + 0x24]
call fcn.004170b0
mov ecx, dword [esp + 0x44]
call fcn.004170b0
mov ecx, dword [esp + 0x18]
call fcn.004170b0
mov ecx, dword [esp + 0x30]
call fcn.004170b0
mov ecx, dword [esp + 0x54]
jmp 0x418cf8
test edx, edx
jne 0x41962f
mov dword [esp + 0xa0], edi
jmp 0x419548
mov esi, dword [esp + 0x1c]
call fcn.004c49cf
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 0x4196fd
mov esi, dword [esp + 0x14]
test edx, edx
mov edx, dword [esp + 0x10]
je 0x419479
mov eax, esi
and eax, 0xfffff
cmp eax, 0xfffff
jne 0x419489
cmp dword [esp + 0x28], 0
je 0x41944e
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6a00000
ja 0x41944e
shr eax, 0x14
mov ecx, 0x6b
sub ecx, eax
or eax, 0xffffffff
shl eax, cl
jmp 0x419451
or eax, 0xffffffff
cmp edx, eax
jne 0x419489
and esi, 0x7ff00000
mov dword [esp + 0x10], 0
add esi, 0x100000
mov dword [esp + 0x94], 0
jmp 0x41962b
test esi, 0xfffff
jne 0x419489
test edx, edx
je 0x4195ac
test dl, 1
je 0x41962f
mov ecx, dword [esp + 0x2c]
and esi, 0x7ff00000
sub esi, 0x3400000
test ecx, ecx
je 0x4194e6
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], 0
movsd xmm0, qword [esp + 0x100]
addsd xmm0, qword [esp + 0x10]
movsd qword [esp + 0x38], xmm0
movsd qword [esp + 0x10], xmm0
mov eax, 1
sub eax, ecx
mov dword [esp + 0x94], eax
jmp 0x41963b
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x78]
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], 0
subsd xmm0, qword [esp + 0x108]
ucomisd xmm0, xmm1
movsd qword [esp + 0x38], xmm0
movsd qword [esp + 0x10], xmm0
lahf
test ah, 0x44
jp 0x4194d3
cmp dword [esp + 0xa0], edi
jle 0x4195e4
mov dword [esp + 0xb0], 1
jmp 0x41963b
test edx, edx
jne 0x41962f
cmp dword [esp + 0x10], 0
jne 0x41962f
mov esi, dword [esp + 0x14]
test esi, 0xfffff
jne 0x41962f
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6b00000
jbe 0x41962f
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x14], 0
jne 0x419589
cmp dword [eax + 0x10], 1
jle 0x41962f
mov edx, 1
mov ecx, eax
call fcn.00417700
mov edx, dword [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x30], eax
call fcn.004178e0
test eax, eax
jle 0x41962f
cmp dword [esp + 0x28], 0
je 0x419616
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6b00000
jg 0x419616
cmp eax, 0x3700000
jg 0x41962f
cmp dword [esp + 0xa0], edi
jle 0x4195de
mov dword [esp + 0xb0], 1
jmp 0x41962f
movsd xmm1, qword [esp + 0x78]
mov esi, dword [esp + 0x1c]
jmp 0x4195f0
movsd xmm1, qword [esp + 0x78]
movapd xmm0, xmm1
movsd qword [esp + 0x38], xmm0
call fcn.004c49cf
movsd xmm2, qword [esp + 0x38]
movsd xmm3, qword [esp + 0x60]
mov dword [eax], 0x22
jmp 0x4196fd
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 + 0x38], xmm0
mov ecx, dword [esp + 0x24]
call fcn.004170b0
mov ecx, dword [esp + 0x44]
call fcn.004170b0
mov ecx, dword [esp + 0x18]
call fcn.004170b0
mov ecx, dword [esp + 0x54]
call fcn.004170b0
mov ecx, dword [esp + 0x30]
call fcn.004170b0
cmp dword [esp + 0xa0], edi
jle 0x419698
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x14]
call fcn.00418140
mov eax, dword [esp + 0xb0]
add esp, 4
movsd xmm2, qword [esp + 0x10]
jmp 0x4196a2
movsd xmm2, qword [esp + 0x38]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4196f3
mov dword [esp + 0x84], 0x39500000
mov dword [esp + 0x80], 0
movsd xmm0, qword [esp + 0x80]
mulsd xmm0, xmm2
movaps xmm2, xmm0
movsd qword [esp + 0x10], xmm2
test dword [esp + 0x14], 0x7ff00000
movsd qword [esp + 0x38], xmm2
jne 0x4196f3
call fcn.004c49cf
movsd xmm2, qword [esp + 0x38]
mov dword [eax], 0x22
movsd xmm3, qword [esp + 0x60]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x41970e
mov dword [ecx], esi
test eax, eax
je 0x419716
xorpd xmm2, xmm3
pop edi
movapd xmm0, xmm2
pop esi
mov esp, ebp
pop ebp
ret