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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x3f8
movsd xmm3, qword [0x55f500]
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x48], eax
push esi
xorps xmm1, xmm1
mov dword [esp + 0xd8], edx
mov esi, eax
mov dword [esp + 0x50], 0
movsx eax, byte [eax]
movapd xmm2, xmm1
mov dword [esp + 0xa8], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ecx
movsd qword [esp + 0x6c], xmm1
movsd qword [esp + 0xc], xmm2
mov dword [esp + 0x14], esi
movsd qword [esp + 0x5c], xmm3
push edi
cmp eax, 0x2d
ja 0x4307b3
jmp 0x430780
movzx eax, byte [eax + 0x431b74]
jmp dword [eax*4 + 0x431b60]
mov al, byte [esi]
mov byte [esp + 0x4f], al
cmp al, 0x30
jne 0x4307dd
mov dword [esp + 0x40], 1
inc esi
cmp byte [esi], 0x30
je 0x4307c5
mov al, byte [esi]
mov dword [esp + 0x18], esi
mov byte [esp + 0x4f], al
test al, al
je 0x431b3b
movsx edi, byte [esp + 0x4f]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x58], esi
xor edx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], eax
cmp edi, 0x30
jl 0x43083e
lea ecx, [ecx]
cmp edi, 0x39
jg 0x43083a
cmp eax, 9
jge 0x430815
lea eax, [edx - 6]
lea eax, [edx + eax*4]
lea edx, [edi + eax*2]
jmp 0x430823
cmp eax, 0x10
jge 0x430827
lea eax, [ecx - 6]
lea eax, [ecx + eax*4]
lea ecx, [edi + eax*2]
mov eax, dword [esp + 0x28]
movsx edi, byte [esi + 1]
inc esi
inc eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], eax
cmp edi, 0x30
jge 0x430800
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, esi
sub eax, dword [esp + 0x58]
mov dword [esp + 0x38], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x28]
cmp edi, 0x2e
jne 0x43097d
movsx edi, byte [esi + 1]
inc esi
mov eax, esi
mov dword [esp + 0x2c], esi
sub eax, dword [esp + 0x58]
mov dword [esp + 0x38], eax
mov dword [esp + 0x88], eax
sub eax, dword [esp + 0x84]
mov dword [esp + 0x48], eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], esi
test eax, eax
jne 0x4308e3
cmp edi, 0x30
jne 0x4308c7
xor eax, eax
lea ebx, [ebx]
movsx edi, byte [esi + 1]
inc esi
inc eax
mov dword [esp + 0x18], esi
cmp edi, 0x30
je 0x4308b0
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], esi
lea eax, [edi - 0x31]
cmp eax, 8
ja 0x430979
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x58], esi
jmp 0x4308f3
lea eax, [edi - 0x30]
cmp eax, 9
ja 0x430975
mov eax, dword [esp + 0x30]
inc eax
sub edi, 0x30
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edi
je 0x430963
add dword [esp + 0x34], eax
cmp eax, 1
jle 0x430939
mov esi, dword [esp + 0x28]
lea edi, [eax - 1]
mov eax, esi
inc esi
cmp eax, 9
jge 0x430920
lea edx, [edx + edx*4]
add edx, edx
jmp 0x43092a
cmp esi, 0x10
jg 0x43092a
lea ecx, [ecx + ecx*4]
add ecx, ecx
dec edi
jne 0x430911
mov edi, dword [esp + 0x20]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
inc dword [esp + 0x28]
cmp eax, 9
jge 0x43094e
lea eax, [edx + edx*4]
lea edx, [edi + eax*2]
jmp 0x43095b
cmp dword [esp + 0x28], 0x10
jg 0x43095b
lea eax, [ecx + ecx*4]
lea ecx, [edi + eax*2]
mov dword [esp + 0x30], 0
movsx edi, byte [esi + 1]
inc esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], esi
jmp 0x4308e3
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], 0
cmp edi, 0x65
je 0x430993
cmp edi, 0x45
jne 0x430a7e
test eax, eax
jne 0x4309a7
cmp dword [esp + 0x30], eax
jne 0x4309a7
cmp dword [esp + 0x40], eax
je case.0x430ac2.74
movsx edi, byte [esi + 1]
mov dword [esp + 0x50], esi
mov eax, edi
inc esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], esi
sub eax, 0x2b
je 0x4309d0
sub eax, 2
jne 0x4309d9
mov dword [esp + 0x2c], 1
movsx edi, byte [esi + 1]
inc esi
mov dword [esp + 0x18], esi
lea eax, [edi - 0x30]
cmp eax, 9
ja 0x430a76
cmp edi, 0x30
jne 0x4309fe
lea ebx, [ebx]
movsx edi, byte [esi + 1]
inc esi
cmp edi, 0x30
je 0x4309f0
mov dword [esp + 0x18], esi
lea eax, [edi - 0x31]
cmp eax, 8
ja 0x430a72
mov dword [esp + 0x5c], esi
lea eax, [edi - 0x30]
movsx edi, byte [esi + 1]
inc esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], esi
cmp edi, 0x30
jl 0x430a44
mov ecx, eax
cmp edi, 0x39
jg 0x430a3c
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 0x430a21
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
mov eax, esi
sub eax, dword [esp + 0x5c]
cmp eax, 8
jg 0x430a5a
mov eax, dword [esp + 0x20]
cmp eax, 0x4e1f
jle 0x430a63
mov eax, 0x4e1f
mov dword [esp + 0x20], eax
cmp dword [esp + 0x2c], 0
je 0x430a7e
neg eax
mov dword [esp + 0x20], eax
jmp 0x430a7e
xor eax, eax
jmp 0x430a82
mov esi, dword [esp + 0x50]
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x28], 0
jne 0x430b8a
cmp dword [esp + 0x30], 0
jne 0x431b3b
cmp dword [esp + 0x40], 0
jne 0x431b3b
mov eax, dword [esp + 0x48]
test eax, eax
jne case.0x430ac2.74
add edi, 0xffffffb7
cmp edi, 0x25
ja case.0x430ac2.74
movzx eax, byte [edi + 0x431bb0]
jmp dword [eax*4 + 0x431ba4]
mov edx, 0x6e
mov edi, 0x55a3d1
movsx ecx, byte [esi + 1]
inc esi
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x430ae3
add ecx, 0x20
cmp ecx, edx
jne case.0x430ac2.74
movsx edx, byte [edi]
inc edi
test edx, edx
jne 0x430ad3
mov eax, esi
lea ecx, [esp + 0x18]
mov edx, str.inity
mov dword [esp + 0x18], eax
call fcn.004300d0
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x430b10
inc esi
mov dword [esp + 0x14], 0x7ff00000
mov dword [esp + 0x10], 0
movsd xmm2, qword [esp + 0x10]
jmp 0x431b3b
mov edx, 0x61
mov edi, 0x55a3dd
movsx ecx, byte [esi + 1]
inc esi
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x430b45
add ecx, 0x20
cmp ecx, edx
jne case.0x430ac2.74
movsx edx, byte [edi]
inc edi
test edx, edx
jne 0x430b35
inc esi
mov dword [esp + 0x14], 0x7ff80000
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edx
cmp byte [esi], 0x28
jne 0x430b20
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
call fcn.00430110
movsd xmm2, qword [esp + 0x10]
jmp 0x431b37
mov esi, dword [esp + 0x50]
xor eax, eax
jmp 0x431b3f
sub eax, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x1c]
test eax, eax
movd xmm2, edx
cmove eax, edi
mov dword [esp + 0x1c], eax
mov eax, 0x10
cmp edi, eax
cvtdq2pd xmm2, xmm2
cmovl eax, edi
mov dword [esp + 0x50], eax
mov eax, edx
shr eax, 0x1f
addsd xmm2, qword [eax*8 + 0x55f4f0]
mov eax, dword [esp + 0x50]
movsd qword [esp + 0x40], xmm2
movsd qword [esp + 0x10], xmm2
cmp eax, 9
jle 0x430c1d
movsd xmm1, qword [eax*8 + 0x55a410]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mulsd xmm1, xmm2
addsd xmm0, qword [ecx*8 + 0x55f4f0]
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 + 0x20]
cmp edi, 0xf
jg 0x430c96
test eax, eax
je 0x431b3b
jle 0x430c7e
cmp eax, 0x16
jg 0x430c4a
movsd xmm0, qword [eax*8 + 0x55a458]
mulsd xmm0, xmm2
movaps xmm2, xmm0
jmp 0x431b3b
mov ecx, 0xf
sub ecx, edi
lea eax, [ecx + 0x16]
cmp dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
jg 0x430c96
movsd xmm0, qword [ecx*8 + 0x55a458]
sub eax, ecx
mulsd xmm0, xmm2
mulsd xmm0, qword [eax*8 + 0x55a458]
movaps xmm2, xmm0
jmp 0x431b3b
cmp eax, 0xffffffea
jl 0x430c96
shl eax, 3
mov ecx, 0x55a458
sub ecx, eax
divsd xmm2, qword [ecx]
jmp 0x431b3b
sub eax, dword [esp + 0x50]
xor ecx, ecx
add eax, edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xa8], ecx
test eax, eax
jle 0x430d6b
mov ecx, eax
and ecx, 0xf
je 0x430cce
movsd xmm0, qword [ecx*8 + 0x55a458]
mulsd xmm0, xmm2
movaps xmm2, xmm0
movsd qword [esp + 0x10], xmm2
and eax, 0xfffffff0
je 0x430e67
cmp eax, 0x134
jg 0x4317e3
sar eax, 4
xor ecx, ecx
cmp eax, 1
jle 0x430d0b
lea esp, [esp]
test al, 1
je 0x430d03
mulsd xmm2, qword [ecx*8 + 0x55a430]
movsd qword [esp + 0x10], xmm2
sar eax, 1
inc ecx
cmp eax, 1
jg 0x430cf0
movsd xmm0, qword [ecx*8 + 0x55a430]
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 0x4317e3
cmp ecx, 0x7c900000
jbe 0x430d5d
mov dword [esp + 0x14], 0x7fefffff
mov dword [esp + 0x10], 0xffffffff
jmp 0x430e67
add eax, 0x3500000
mov dword [esp + 0x14], eax
jmp 0x430e67
jns 0x430e67
neg eax
mov ecx, eax
and ecx, 0xf
je 0x430d8f
divsd xmm2, qword [ecx*8 + 0x55a458]
movsd qword [esp + 0x40], xmm2
movsd qword [esp + 0x10], xmm2
sar eax, 4
test eax, eax
je 0x430e67
cmp eax, 0x20
jge 0x431a31
test al, 0x10
mov dword [esp + 0x5c], 0x6a
mov ecx, 0
cmovne ecx, dword [esp + 0x5c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xa8], ecx
test eax, eax
jle 0x430df1
mov ecx, 0x55a400
jmp 0x430dd0
test al, 1
je 0x430dde
mulsd xmm2, qword [ecx]
movsd qword [esp + 0x10], xmm2
sar eax, 1
add ecx, 8
test eax, eax
jg 0x430dd0
mov ecx, dword [esp + 0x2c]
movsd qword [esp + 0x40], xmm2
test ecx, ecx
je 0x430e53
mov eax, dword [esp + 0x14]
mov ecx, 0x6b
shr eax, 0x14
and eax, 0x7ff
sub ecx, eax
test ecx, ecx
jle 0x430e53
cmp ecx, 0x20
jl 0x430e42
mov dword [esp + 0x10], 0
cmp ecx, 0x35
jl 0x430e2e
mov dword [esp + 0x14], 0x3700000
movsd xmm0, qword [esp + 0x10]
jmp 0x430e59
add ecx, 0xffffffe0
or eax, 0xffffffff
shl eax, cl
and dword [esp + 0x14], eax
movsd xmm0, qword [esp + 0x10]
jmp 0x430e59
or eax, 0xffffffff
shl eax, cl
and dword [esp + 0x10], eax
movsd xmm0, qword [esp + 0x10]
jmp 0x430e59
movsd xmm0, qword [esp + 0x40]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x431a31
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], esi
cmp edi, 0x28
jle 0x430f3f
mov eax, 0x12
mov ecx, eax
cmp esi, eax
jge 0x430e93
mov eax, dword [esp + 0x48]
add eax, ecx
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x58]
mov edi, edi
dec eax
cmp eax, dword [esp + 0x38]
jg 0x430eae
cmp eax, edi
jl 0x430eae
lea eax, [edi - 1]
cmp byte [eax + esi], 0x30
jne 0x430eb7
dec ecx
jmp 0x430ea0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
sub edi, ecx
add dword [esp + 0x20], edi
cmp esi, ecx
mov edi, ecx
cmovg esi, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], esi
cmp ecx, 9
jge 0x430f3f
xor edx, edx
xor esi, esi
cmp dword [esp + 0x1c], edx
jle 0x430f0a
mov edi, dword [esp + 0x1c]
jmp 0x430ef0
mov eax, dword [esp + 0x58]
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 0x430ef0
mov edi, dword [esp + 0x28]
cmp esi, edi
jge 0x430f3b
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x58]
sub edi, esi
mov dword [esp + 0x38], edi
mov edi, eax
mov dword [esp + 0x5c], eax
dec dword [esp + 0x38]
lea edx, [edx + edx*4]
movsx eax, byte [edi]
lea edx, [edx - 0x18]
lea edi, [edi + 1]
lea edx, [eax + edx*2]
jne 0x430f22
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
push dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
push edx
push edi
mov edx, esi
call fcn.0042f4e0
movsd xmm0, qword [0x55f428]
mov ecx, eax
movsd qword [esp + 0x13c], xmm0
add esp, 0xc
movsd xmm0, qword [0x55f418]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [0x55f3c0]
movsd qword [esp + 0xd0], xmm0
movsd xmm0, qword [0x55f4c8]
movsd qword [esp + 0x118], xmm0
movsd xmm0, qword [0x55f488]
movsd qword [esp + 0x120], xmm0
movsd xmm0, qword [0x55f398]
movsd qword [esp + 0x138], xmm0
movsd xmm0, qword [0x55f3b8]
movsd qword [esp + 0x110], xmm0
movsd xmm0, qword [0x55f3c8]
mov dword [esp + 0x50], ecx
movsd qword [esp + 0x128], xmm0
mov ecx, dword [ecx + 4]
mov esi, 1
call fcn.0042f300
mov edx, dword [esp + 0x50]
mov dword [esp + 0x48], eax
mov ecx, dword [edx + 0x10]
lea ecx, [ecx*4 + 8]
push ecx
lea ecx, [edx + 0xc]
push ecx
lea ecx, [eax + 0xc]
push ecx
call fcn.004f2260
add esp, 0xc
lea eax, [esp + 0xe8]
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x10]
push eax
call fcn.0042fee0
add esp, 4
mov dword [esp + 0x30], eax
mov ecx, esi
call fcn.0042f680
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
test eax, eax
js 0x43104a
xor edx, edx
mov dword [esp + 0x40], eax
xor esi, esi
jmp 0x431058
mov edx, eax
xor ecx, ecx
neg edx
mov dword [esp + 0x40], ecx
mov esi, edx
xor eax, eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], esi
test ecx, ecx
js 0x431070
add esi, ecx
mov dword [esp + 0x38], esi
jmp 0x431076
sub eax, ecx
mov dword [esp + 0x24], eax
sub ecx, dword [esp + 0x2c]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0xe8]
lea eax, [esi - 1]
add eax, ecx
cmp eax, 0xfffffc02
jge 0x431099
add ecx, 0x433
jmp 0x4310a0
mov ecx, 0x36
sub ecx, esi
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
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 + 0x34]
cmovg eax, dword [esp + 0x34]
test eax, eax
jle 0x4310d6
sub ecx, eax
sub esi, eax
sub dword [esp + 0x34], eax
mov dword [esp + 0x24], ecx
test edx, edx
jle 0x431257
mov ecx, dword [esp + 0x1c]
call fcn.0042f860
mov edx, dword [esp + 0x30]
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.0042f720
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x43124f
cmp dword [ecx + 4], 7
jle 0x431124
push ecx
call fcn.004f1820
mov eax, dword [esp + 0x3c]
add esp, 4
mov ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x43125b
mov eax, dword [esp + 0x54]
test al, 1
je 0x43113f
and eax, 0xfffffffe
lea ecx, [esp + 0x140]
mov dword [esp + 0x54], eax
call fcn.00422aa0
mov eax, dword [0x5afd38]
test eax, 0xfffffffe
jne 0x43119e
mov ecx, 1
xor eax, eax
mov edx, 0x5afd38
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x431184
mov eax, dword [0x5afd38]
cmp eax, 1
jne 0x43119e
lea esp, [esp]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x5afd38]
cmp eax, 1
je 0x431170
jmp 0x43119e
push 0x7d0
push 0x5afd3c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [0x5afd38], 0x5afd3c
mov eax, dword [0x5afd38]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + 4]
mov eax, dword [ecx*4 + 0x5afc80]
mov dword [edx], eax
mov eax, dword [esp + 0x54]
mov dword [ecx*4 + 0x5afc80], edx
test al, 2
je 0x4311dc
and eax, 0xfffffffd
lea ecx, [esp + 0x2a0]
mov dword [esp + 0x54], eax
call fcn.00422aa0
mov eax, dword [0x5afd38]
test eax, 0xfffffffe
jne 0x431234
mov ecx, 1
xor eax, eax
mov edx, 0x5afd38
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x43121a
mov eax, dword [0x5afd38]
cmp eax, 1
jne 0x431234
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x5afd38]
cmp eax, 1
je 0x431206
jmp 0x431234
push 0x7d0
push 0x5afd3c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [0x5afd38], 0x5afd3c
mov eax, dword [0x5afd38]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x43125b
mov ecx, dword [esp + 0x30]
test esi, esi
jle 0x43126e
mov edx, esi
call fcn.0042fa10
mov esi, eax
mov dword [esp + 0x30], esi
jmp 0x431272
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
test eax, eax
jle 0x43128b
mov edx, eax
call fcn.0042f860
mov ecx, eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x4312a0
mov edx, eax
call fcn.0042fa10
mov ecx, eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x4312bb
mov ecx, dword [esp + 0x1c]
mov edx, eax
call fcn.0042fa10
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov edx, ecx
mov ecx, esi
call fcn.0042fc20
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], 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 + 0x34], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x38], esi
sub ecx, eax
jne 0x431337
mov edx, dword [esp + 0x1c]
lea ecx, [eax - 1]
mov esi, dword [esp + 0x24]
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 0x431325
cmp ecx, esi
jbe 0x4313bd
mov eax, dword [ecx - 4]
sub ecx, 4
sub edx, 4
cmp eax, dword [edx]
je 0x431310
mov eax, dword [ecx]
cmp eax, dword [edx]
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x9c], edi
jle 0x431348
test ecx, ecx
jle 0x4317cb
test ecx, ecx
js 0x431941
je 0x43180f
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xec]
call fcn.0042fd80
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xcc]
movapd xmm1, xmm0
movsd qword [esp + 0xb0], xmm1
call fcn.0042fd80
mov eax, dword [esp + 0x1c]
movsd qword [esp + 0xb8], xmm0
sub esi, dword [eax + 0x10]
shl esi, 5
sub esi, dword [esp + 0xcc]
add esi, dword [esp + 0xec]
test esi, esi
jle 0x4313c4
shl esi, 0x14
add dword [esp + 0xb4], esi
movsd xmm1, qword [esp + 0xb0]
jmp 0x4313da
xor ecx, ecx
jmp 0x43132f
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 + 0x34]
movsd xmm0, qword [esp + 0x130]
comisd xmm0, xmm1
jb 0x431515
test edx, edx
je 0x43140c
movsd xmm2, qword [esp + 0xc0]
movapd xmm1, xmm2
jmp 0x431449
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4314f1
test eax, 0xfffff
jne 0x4314fe
movsd xmm0, qword [esp + 0xc0]
comisd xmm0, xmm1
jbe 0x4314e3
movsd xmm1, qword [esp + 0xd0]
movapd xmm2, xmm1
xorpd xmm2, xmmword [esp + 0x60]
mov esi, eax
and esi, 0x7ff00000
cmp esi, 0x7fe00000
jne 0x431544
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 + 0x104], eax
mov dword [esp + 0x100], 0
movsd xmm0, qword [esp + 0x100]
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 0x43152f
cmp dword [esp + 0x7c], 0x7fefffff
jne 0x4314ce
cmp dword [esp + 0x78], 0xffffffff
je 0x4317df
mov dword [esp + 0x14], 0x7fefffff
mov dword [esp + 0x10], 0xffffffff
jmp 0x431664
mulsd xmm1, qword [esp + 0xd0]
jmp 0x43143f
cmp ecx, 1
jne 0x4314fe
test eax, eax
je 0x431a0f
movsd xmm1, qword [esp + 0xc0]
movsd xmm2, qword [esp + 0x118]
jmp 0x431449
mulsd xmm1, qword [esp + 0xd0]
test edx, edx
je 0x43143f
movapd xmm2, xmm1
jmp 0x431449
add ecx, 0x3500000
mov dword [esp + 0x14], ecx
movsd xmm0, qword [esp + 0x10]
jmp 0x4315f0
cmp dword [esp + 0x2c], 0
je 0x4315bb
cmp esi, 0x6a00000
ja 0x4315bb
movsd xmm0, qword [esp + 0x120]
comisd xmm0, xmm1
jb 0x43159b
movapd xmm0, xmm1
call fcn.005244c1
mov edx, dword [esp + 0x34]
test eax, eax
mov ecx, 1
cmove eax, ecx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x55f4f0]
movapd xmm2, xmm1
test edx, edx
jne 0x43159b
xorpd xmm2, xmmword [esp + 0x60]
mov eax, 0x6b00000
movsd qword [esp + 0xe0], xmm2
sub eax, esi
add dword [esp + 0xe4], eax
movsd xmm2, qword [esp + 0xe0]
lea eax, [esi - 0x3400000]
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], eax
movsd xmm0, qword [esp + 0xf0]
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 0x431664
cmp dword [esp + 0x2c], 0
jne 0x431664
mov eax, ecx
and eax, 0x7ff00000
cmp esi, eax
jne 0x431664
cvttsd2si eax, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
test edx, edx
jne 0x431642
cmp dword [esp + 0x10], edx
jne 0x431642
test ecx, 0xfffff
jne 0x431642
movsd xmm0, qword [esp + 0x138]
comisd xmm0, xmm1
jmp 0x43165e
movsd xmm0, qword [esp + 0x110]
comisd xmm0, xmm1
ja 0x431a82
comisd xmm1, xmmword [esp + 0x128]
ja 0x431a82
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4317a7
cmp dword [esi + 4], 7
jle 0x431684
push esi
call fcn.004f1820
add esp, 4
jmp 0x4317a7
mov eax, dword [esp + 0x54]
test al, 4
je 0x43169f
and eax, 0xfffffffb
lea ecx, [esp + 0x1f0]
mov dword [esp + 0x54], eax
call fcn.00422aa0
mov eax, dword [0x5afd38]
test eax, 0xfffffffe
jne 0x4316fe
mov ecx, 1
xor eax, eax
mov edx, 0x5afd38
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4316e4
mov eax, dword [0x5afd38]
cmp eax, 1
jne 0x4316fe
lea esp, [esp]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x5afd38]
cmp eax, 1
je 0x4316d0
jmp 0x4316fe
push 0x7d0
push 0x5afd3c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [0x5afd38], 0x5afd3c
mov eax, dword [0x5afd38]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 4]
mov eax, dword [ecx*4 + 0x5afc80]
mov dword [esi], eax
mov eax, dword [esp + 0x54]
mov dword [ecx*4 + 0x5afc80], esi
test al, 8
je 0x431738
and eax, 0xfffffff7
lea ecx, [esp + 0x350]
mov dword [esp + 0x54], eax
call fcn.00422aa0
mov eax, dword [0x5afd38]
test eax, 0xfffffffe
jne 0x431790
mov ecx, 1
xor eax, eax
mov edx, 0x5afd38
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x431776
mov eax, dword [0x5afd38]
cmp eax, 1
jne 0x431790
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x5afd38]
cmp eax, 1
je 0x431762
jmp 0x431790
push 0x7d0
push 0x5afd3c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [0x5afd38], 0x5afd3c
mov eax, dword [0x5afd38]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x48]
call fcn.0042f3c0
mov ecx, dword [esp + 0x1c]
call fcn.0042f3c0
mov ecx, dword [esp + 0x24]
call fcn.0042f3c0
mov ecx, dword [esp + 0x50]
jmp 0x430fe1
test edx, edx
jne 0x431a76
mov dword [esp + 0x9c], edi
jmp 0x431949
mov esi, dword [esp + 0x18]
call fcn.004f9cd5
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 0x431b3b
mov esi, dword [esp + 0x14]
test edx, edx
mov edx, dword [esp + 0x10]
je 0x43187a
mov eax, esi
and eax, 0xfffff
cmp eax, 0xfffff
jne 0x43188a
cmp dword [esp + 0x2c], 0
je 0x43184f
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6a00000
ja 0x43184f
shr eax, 0x14
mov ecx, 0x6b
sub ecx, eax
or eax, 0xffffffff
shl eax, cl
jmp 0x431852
or eax, 0xffffffff
cmp edx, eax
jne 0x43188a
and esi, 0x7ff00000
mov dword [esp + 0x10], 0
add esi, 0x100000
mov dword [esp + 0x90], 0
jmp 0x431a72
test esi, 0xfffff
jne 0x43188a
test edx, edx
je 0x4319f3
test dl, 1
je 0x431a76
mov ecx, dword [esp + 0x34]
and esi, 0x7ff00000
sub esi, 0x3400000
test ecx, ecx
je 0x4318e7
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], 0
movsd xmm0, qword [esp + 0x108]
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 0x431a82
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 0x4318d4
cmp dword [esp + 0x9c], edi
jle 0x431a2b
mov dword [esp + 0xac], 1
jmp 0x431a82
test edx, edx
jne 0x431a76
cmp dword [esp + 0x10], 0
jne 0x431a76
mov esi, dword [esp + 0x14]
test esi, 0xfffff
jne 0x431a76
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6b00000
jbe 0x431a76
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x14], 0
jne 0x43198a
cmp dword [ecx + 0x10], 1
jle 0x431a76
mov edx, 1
call fcn.0042fa10
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [ecx + 0x10]
sub eax, edx
jne 0x4319eb
lea eax, [ecx + 0x14]
lea ecx, [edx - 1]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x1c]
add eax, 0x10
lea edx, [eax + edx*4]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4319e1
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
add eax, 0x14
cmp ecx, eax
jbe 0x431a76
mov eax, dword [ecx - 4]
sub ecx, 4
sub edx, 4
cmp eax, dword [edx]
je 0x4319c1
mov eax, dword [ecx]
cmp eax, dword [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
jle 0x431a76
cmp dword [esp + 0x2c], 0
je 0x431a5d
mov eax, esi
and eax, 0x7ff00000
cmp eax, 0x6b00000
jg 0x431a5d
cmp eax, 0x3700000
jg 0x431a76
cmp dword [esp + 0x9c], edi
jle 0x431a25
mov dword [esp + 0xac], 1
jmp 0x431a76
movsd xmm1, qword [esp + 0x70]
mov esi, dword [esp + 0x18]
jmp 0x431a37
movsd xmm1, qword [esp + 0x70]
movapd xmm0, xmm1
movsd qword [esp + 0x40], xmm0
call fcn.004f9cd5
movsd xmm2, qword [esp + 0x40]
movsd xmm3, qword [esp + 0x60]
mov dword [eax], 0x22
jmp 0x431b3b
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 + 0x30]
call fcn.0042f3c0
mov ecx, dword [esp + 0x48]
call fcn.0042f3c0
mov ecx, dword [esp + 0x1c]
call fcn.0042f3c0
mov ecx, dword [esp + 0x50]
call fcn.0042f3c0
mov ecx, dword [esp + 0x24]
call fcn.0042f3c0
cmp dword [esp + 0x9c], edi
jle 0x431adf
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x14]
call fcn.00430430
mov eax, dword [esp + 0xac]
add esp, 4
movsd xmm2, qword [esp + 0x10]
jmp 0x431ae9
movsd xmm2, qword [esp + 0x40]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x431b31
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 0x431b31
call fcn.004f9cd5
movsd xmm2, qword [esp + 0x40]
mov dword [eax], 0x22
movsd xmm3, qword [esp + 0x60]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xdc]
test ecx, ecx
je 0x431b4c
mov dword [ecx], esi
test eax, eax
je 0x431b54
xorpd xmm2, xmm3
pop edi
movapd xmm0, xmm2
pop esi
mov esp, ebp
pop ebp
ret