Function at 0x10031e90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100a4300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x100a4ea0]
mov dword [ebp - 0x20], edi
mov eax, dword [edi + 0x5da0]
sub eax, 1
mov dword [ebp - 0x18], eax
js 0x10031f1e
lea ebx, [eax + eax*4]
shl ebx, 2
mov ecx, dword [edi + 0x5da8]
cmp dword [ecx + ebx + 4], 7
jne 0x10031f13
mov esi, ecx
mov eax, 0x66666667
sub ecx, esi
add ecx, ebx
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea edx, [esi + eax*4]
mov eax, dword [edi + 0x5da0]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*4 - 0x14]
push eax
lea eax, [edx + 0x14]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x18]
add esp, 0xc
dec dword [edi + 0x5da0]
dec eax
sub ebx, 0x14
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x10031ec0
mov eax, dword [edi + 0x5da0]
mov esi, dword [edi + 0x5da8]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x10031f4b
cmp dword [esi + 4], 0
jne 0x10031f44
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x10031f34
mov eax, dword [0x100a4ea0]
cmp byte [eax + 0x5a], 0
je 0x10031f60
test byte [eax + 0x1c], 2
jne 0x10031f60
mov byte [eax + 0x5a], 0
mov ebx, dword [0x100a4ea0]
cmp byte [ebx + 0x5d68], 0
jne 0x10032059
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x10032052
push 0x1006e1ec
push eax
call fcn.1002bfe0
mov esi, eax
add esp, 8
test esi, esi
je 0x10032052
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x10032048
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10032048
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x10032048
push 0
push dword [ebp - 0x18]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10032048
push dword [ebp - 0x14]
call fcn.1002e480
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10032048
push esi
push dword [ebp - 0x14]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp - 0x14]
je 0x10032023
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov esi, dword [ebp - 0x18]
push esi
call fcn.1002e510
add esp, 8
jmp 0x10032052
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [ebp - 0x14]
add esp, 4
mov esi, dword [ebp - 0x18]
test eax, eax
je 0x10032040
push eax
push esi
call fcn.1002df60
add esp, 8
push esi
call fcn.1002e510
jmp 0x1003204f
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov byte [ebx + 0x5d68], 1
movss xmm1, dword [ebx + 0x5d6c]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1003209e
subss xmm1, dword [ebx + 0x28]
comiss xmm0, xmm1
movss dword [ebx + 0x5d6c], xmm1
jb 0x1003209e
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x1003208d
push eax
call fcn.10035c20
add esp, 4
jmp 0x10032094
mov byte [ebx + 0xa2], 1
mov dword [ebx + 0x5d6c], 0
movss xmm0, dword [edi + 0x28]
lea ecx, [edi + 0x5cdc]
inc dword [edi + 0x3f18]
xor eax, eax
cvtps2pd xmm0, xmm0
push eax
mov byte [edi + 0x3f24], 1
mov word [edi + 0x5ccc], ax
mov dword [edi + 0x3f8c], eax
addsd xmm0, qword [edi + 0x3f10]
movsd qword [edi + 0x3f10], xmm0
call fcn.1003b5a0
mov eax, dword [edi + 0x5fa0]
mov ecx, 0x3c
movss xmm1, dword [edi + 0x28]
movaps xmm0, xmm1
subss xmm0, dword [edi + eax*4 + 0x5eb0]
addss xmm0, dword [edi + 0x5fa8]
movss dword [edi + 0x5fa8], xmm0
movss dword [edi + eax*4 + 0x5eb0], xmm1
xorps xmm1, xmm1
mov eax, dword [edi + 0x5fa0]
inc eax
movss xmm2, dword [edi + 0x5fa8]
cdq
idiv ecx
mov eax, dword [edi + 0x5fa4]
movss xmm0, dword [0x1006e40c]
inc eax
cmp eax, ecx
mov dword [edi + 0x5fa0], edx
movss dword [ebp - 0x14], xmm0
cmovl ecx, eax
comiss xmm2, xmm1
mov dword [edi + 0x5fa4], ecx
movss xmm1, dword [0x1006b5bc]
jbe 0x1003216c
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movaps xmm0, xmm1
divss xmm0, xmm2
movss dword [edi + 0xa8], xmm0
mov ecx, dword [edi + 0x3f40]
test ecx, ecx
jns 0x1003219a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x3f3c]
call fcn.1003b440
mov dword [edi + 0x3f3c], 0
movzx eax, byte [edi + 0x56]
push eax
call fcn.10037ed0
mov esi, dword [0x100a4ea0]
add esp, 4
xorps xmm3, xmm3
mov eax, dword [esi + 0x4a10]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
mov ebx, dword [esi + 0x4a10]
mov eax, dword [esi + 0x4a08]
lea esi, [ebx + eax*4]
cmp ebx, esi
je 0x100322ca
nop dword [eax]
mov edx, dword [ebx]
add ebx, 4
mov eax, dword [edx + 0x94]
mov ecx, dword [edx + 0x98]
mov dword [edx + 0x84], eax
mov eax, dword [edx + 0x9c]
mov dword [edx + 0x88], ecx
mov ecx, dword [edx + 0xa0]
mov dword [edx + 0x8c], eax
mov dword [edx + 0x90], ecx
mov dword [edx + 0x9c], 0
mov dword [edx + 0xa0], 0
mov dword [edx + 0x94], 0
mov dword [edx + 0x98], 0
movss xmm0, dword [edx + 0x88]
movss xmm2, dword [edx + 0x84]
movaps xmm1, xmm2
addss xmm0, dword [edx + 8]
addss xmm1, dword [edx + 4]
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [edx + 0x14], xmm1
subss xmm0, xmm2
movaps xmm2, xmm3
movaps xmm1, xmm3
addss xmm0, dword [edx + 0x8c]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x88]
addss xmm0, dword [edx + 0x90]
movss dword [edx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x20], xmm1
cmp ebx, esi
jne 0x10032200
mov eax, dword [edi + 0x3c]
mov byte [eax + 0x10], 1
mov esi, dword [0x100a4ea0]
mov ebx, dword [esi + 0x48]
test ebx, ebx
jne 0x100322e6
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
movss xmm1, dword [esi + 0x40]
movss xmm0, dword [0x1006b5bc]
mov ecx, dword [esi + 0x3f98]
mov dword [esi + 0x3d00], ebx
mulss xmm1, dword [ebx + 0x10]
mulss xmm1, dword [ebx + 0x4c]
maxss xmm0, xmm1
movss dword [esi + 0x3d08], xmm0
test ecx, ecx
je 0x1003233d
mov eax, dword [ecx]
movss xmm3, dword [ecx + 0x264]
mulss xmm3, dword [eax + 0x3d08]
mov eax, dword [ecx + 0x300]
test eax, eax
je 0x1003233d
mulss xmm3, dword [eax + 0x264]
movss xmm7, dword [ebp - 0x14]
movss xmm4, dword [0x1006e418]
movaps xmm6, xmm7
movss dword [esi + 0x3d04], xmm3
movaps xmm5, xmm4
mov edx, dword [ebx + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x3d0c], eax
lea eax, [edx + 0x60]
mov dword [esi + 0x3d10], ecx
mov dword [esi + 0x3f08], eax
mov dword [esi + 0x3d14], ebx
movss dword [esi + 0x3d18], xmm3
mov ecx, dword [edi + 0x4a10]
mov eax, dword [edi + 0x4a08]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x100323e3
nop word [eax + eax]
mov eax, dword [ecx]
movss xmm3, dword [eax + 4]
comiss xmm7, xmm3
movss xmm2, dword [eax + 8]
movaps xmm1, xmm3
addss xmm1, dword [eax + 0xc]
movaps xmm0, xmm2
addss xmm0, dword [eax + 0x10]
jbe 0x100323c4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x100323cc
movaps xmm6, xmm2
comiss xmm1, xmm4
jbe 0x100323d4
movaps xmm4, xmm1
comiss xmm0, xmm5
jbe 0x100323dc
movaps xmm5, xmm0
add ecx, 4
cmp ecx, edx
jne 0x100323a0
movss dword [edi + 0x3d24], xmm7
movss dword [edi + 0x3d28], xmm6
movss dword [edi + 0x3d2c], xmm4
movss dword [edi + 0x3d30], xmm5
movss xmm0, dword [edi + 0x3998]
mov eax, dword [edi + 0x3994]
push ecx
lea ecx, [edi + 0x3d0c]
mov dword [edi + 0x3d1c], eax
movss dword [esp], xmm0
call fcn.10050ea0
xor edx, edx
mov dword [edi + 0x3d34], 0
cmp byte [edi + 0x3990], dl
je 0x1003244b
mov dword [edi + 0x3d34], 1
mov edx, 1
cmp byte [edi + 0x3991], 0
mov ecx, edx
je 0x1003246d
mov eax, dword [edi + 0x3d00]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1003246d
or ecx, 2
mov dword [edi + 0x3d34], ecx
cmp byte [edi + 0x3992], 0
je 0x1003247f
or ecx, 4
mov dword [edi + 0x3d34], ecx
test byte [edi + 0x1c], 8
je 0x1003248e
or ecx, 8
mov dword [edi + 0x3d34], ecx
mov ecx, dword [edi + 0x4a10]
mov eax, dword [edi + 0x4a08]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x100324ae
mov eax, dword [ecx]
add ecx, 4
mov byte [eax + 0x38], 0
cmp ecx, edx
jne 0x100324a1
cmp byte [edi + 0x4bf4], 0
je 0x100324e8
mov eax, dword [edi + 0x4c0c]
cmp eax, dword [edi + 0x3fe8]
jne 0x100324e8
mov ecx, dword [0x100a4ea0]
cmp dword [ecx + 0x3fe8], eax
jne 0x100324d9
mov dword [ecx + 0x3fec], eax
cmp dword [ecx + 0x4010], eax
jne 0x100324e8
mov byte [ecx + 0x4014], 1
cmp dword [edi + 0x3fd8], 0
jne 0x100324fd
mov dword [edi + 0x3fe0], 0
jmp 0x1003250f
mov eax, dword [edi + 0x3fd4]
test eax, eax
je 0x10032519
cmp dword [edi + 0x3fe8], eax
jne 0x10032519
mov dword [edi + 0x3fe4], 0
mov eax, dword [edi + 0x3fd4]
test eax, eax
je 0x10032553
movss xmm1, dword [edi + 0x28]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3fe0]
movss dword [edi + 0x3fe0], xmm0
cmp dword [edi + 0x3fe8], eax
je 0x10032553
addss xmm1, dword [edi + 0x3fe4]
movss dword [edi + 0x3fe4], xmm1
mov dword [edi + 0x3fd8], eax
mov eax, dword [edi + 0x3fe8]
mov dword [edi + 0x3fd4], 0
mov word [edi + 0x3fdc], 0
test eax, eax
je 0x100325a8
cmp dword [edi + 0x3fec], eax
je 0x100325a8
cmp dword [edi + 0x4010], eax
jne 0x100325a8
test byte [edi + 0x5e04], 1
je 0x1003259c
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.100295b0
add esp, 4
push 0
push 0
call fcn.10036110
add esp, 8
mov ecx, dword [edi + 0x3fe8]
test ecx, ecx
je 0x100325c7
movss xmm0, dword [edi + 0x28]
addss xmm0, dword [edi + 0x3ff0]
movss dword [edi + 0x3ff0], xmm0
mov eax, dword [edi + 0x4004]
movss xmm0, dword [edi + 0x28]
addss xmm0, dword [edi + 0x4020]
mov dword [edi + 0x4018], eax
mov al, byte [edi + 0x3ff8]
mov byte [edi + 0x4015], al
mov eax, dword [edi + 0x5c3c]
movss dword [edi + 0x4020], xmm0
mov dword [edi + 0x4010], ecx
mov dword [edi + 0x3fec], 0
mov byte [edi + 0x3ff9], 0
mov byte [edi + 0x4014], 0
mov byte [edi + 0x3ff4], 0
test eax, eax
je 0x10032631
cmp ecx, eax
je 0x10032631
mov dword [edi + 0x5c3c], 0
test ecx, ecx
jne 0x1003264f
mov dword [edi + 0x48b0], ecx
mov dword [edi + 0x48a8], ecx
mov byte [edi + 0x48ac], cl
mov dword [edi + 0x48b0], ecx
jmp 0x10032677
mov eax, dword [edi + 0x48b0]
test eax, eax
je 0x10032677
test al, 2
je 0x10032677
mov eax, dword [0x100a4ea0]
mov dword [eax + 0x40d0], ecx
mov dword [eax + 0x40cc], ecx
mov word [eax + 0x40d4], 0
mov ecx, dword [edi + 0x4d2c]
test ecx, ecx
je 0x1003269a
movss xmm0, dword [edi + 0x4d48]
comiss xmm0, dword [edi + 0x3cec]
jb 0x100326a4
mov dword [edi + 0x4d3c], ecx
jmp 0x100326a4
mov dword [edi + 0x4d3c], 0
mov eax, dword [edi + 0x3f9c]
test eax, eax
je 0x100326ca
movss xmm0, dword [edi + 0x4d48]
comiss xmm0, dword [edi + 0x3cec]
jb 0x100326d4
mov eax, dword [eax + 8]
mov dword [edi + 0x4d40], eax
jmp 0x100326d4
mov dword [edi + 0x4d40], 0
movss xmm0, dword [edi + 0x4d34]
movss xmm3, dword [0x1006e388]
mov dword [edi + 0x4d30], ecx
test ecx, ecx
je 0x10032707
addss xmm0, dword [edi + 0x28]
mov dword [edi + 0x4d2c], 0
movss dword [edi + 0x4d34], xmm0
jmp 0x10032742
comiss xmm0, dword [0x1006e36c]
jbe 0x1003274c
movss xmm1, dword [edi + 0x28]
movaps xmm0, xmm3
movaps xmm2, xmm1
addss xmm1, xmm1
addss xmm2, dword [edi + 0x4d38]
maxss xmm0, xmm1
movss dword [edi + 0x4d38], xmm2
comiss xmm2, xmm0
jb 0x1003274c
mov dword [edi + 0x4d34], 0
mov dword [edi + 0x4d38], 0
mov eax, dword [edi + 0x4c68]
mov dword [edi + 0x4c6c], eax
mov dword [edi + 0x4c68], 0
mov dword [edi + 0x4c64], 0x7f7fffff
mov word [edi + 0x4bf5], 0
mov dword [edi + 0x4c74], 0
call fcn.10038720
call fcn.1002f8c0
call fcn.10038c60
call fcn.10037c60
mov esi, dword [0x100a4ea0]
mov ecx, dword [esi + 0x3fa4]
test ecx, ecx
je 0x10032851
mov eax, dword [esi + 0x3fe8]
mov dword [esi + 0x3fec], eax
cmp dword [esi + 0x4010], eax
jne 0x100327c2
mov byte [esi + 0x4014], 1
cmp byte [esi + 0xe18], 0
mov edx, dword [ecx + 0x308]
je 0x10032845
lea ecx, [esi + 0xe10]
test ecx, ecx
je 0x100327df
mov eax, ecx
jmp 0x100327e9
mov eax, dword [0x100a4ea0]
add eax, 0xe10
movss xmm0, dword [eax]
movss xmm1, dword [0x1006e414]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x10032845
comiss xmm2, xmm1
jb 0x10032845
movss xmm0, dword [ecx]
lea eax, [ebp - 0xc]
subss xmm0, dword [esi + 0x3ffc]
push 1
push eax
push edx
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [esi + 0x4000]
movss dword [ebp - 8], xmm0
call fcn.10036c90
push 0
push dword [esi + 0x3fa4]
call fcn.1002afe0
add esp, 0x14
jmp 0x10032890
mov dword [esi + 0x3fa4], 0
jmp 0x10032884
mov ecx, dword [esi + 0x4004]
test ecx, ecx
je 0x10032890
mov eax, dword [esi + 0x3fe8]
cmp dword [ecx + 0x74], eax
jne 0x10032890
mov dword [esi + 0x3fec], eax
cmp dword [esi + 0x4010], eax
jne 0x1003287b
mov byte [esi + 0x4014], 1
cmp byte [esi + 0xe18], 0
jne 0x10032890
push 0
push 0
call fcn.10036110
add esp, 8
mov eax, dword [0x100a4ea0]
movss xmm2, dword [0x1006e3dc]
mov edx, dword [eax + 0x49e0]
sub edx, 1
js 0x100328ce
mov eax, dword [eax + 0x49e8]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x100328c6
test dword [ecx + 0xc], 0x8000000
jne 0x100328e7
sub eax, 0x28
sub edx, 1
jns 0x100328b7
cmp dword [edi + 0x4bc8], 0
je 0x10032902
movss xmm0, dword [edi + 0x4bd8]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10032902
movss xmm1, dword [edi + 0x28]
mulss xmm1, xmm2
addss xmm1, dword [edi + 0x4bf0]
minss xmm1, dword [0x1006b5bc]
jmp 0x10032923
movss xmm0, dword [edi + 0x28]
mulss xmm0, dword [0x1006e3e4]
movss xmm1, dword [edi + 0x4bf0]
subss xmm1, xmm0
maxss xmm1, dword [0x1006e36c]
movss dword [edi + 0x4bf0], xmm1
movups xmm0, xmmword [edi + 0x5d48]
mov dword [edi + 0x4d44], 0
mov dword [edi + 0x5fb4], 0xffffffff
mov dword [edi + 0x5fb0], 0xffffffff
mov dword [edi + 0x5fac], 0xffffffff
movups xmmword [edi + 0x5d58], xmm0
mov byte [edi + 0x5d48], 0
call fcn.100392b0
cmp byte [edi + 0x3f27], 0
jne 0x1003299a
movss xmm1, dword [edi + 0x5c]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1003299a
movsd xmm0, qword [edi + 0x3f10]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
jmp 0x1003299f
movss xmm0, dword [ebp - 0x14]
mov ebx, dword [edi + 0x3f58]
mov eax, dword [edi + 0x3f50]
lea eax, [ebx + eax*4]
cmp ebx, eax
je 0x10032b15
mov edi, eax
nop dword [eax + eax]
mov esi, dword [ebx]
mov ax, word [esi + 0xbc]
mov cl, byte [esi + 0xae]
mov word [esi + 0xbe], ax
xor eax, eax
mov byte [esi + 0xaf], cl
mov byte [esi + 0xae], 0
mov byte [esi + 0xb0], 0
mov word [esi + 0xbc], ax
test cl, cl
jne 0x10032b02
cmp byte [esi + 0x360], al
jne 0x10032b02
comiss xmm0, dword [esi + 0x244]
jbe 0x10032b02
mov ecx, dword [esi + 0x26c]
mov byte [esi + 0x360], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x358], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x35c], eax
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x10032a64
push eax
mov dword [esi + 0xf0], 0
mov dword [esi + 0xec], 0
call fcn.1002e510
add esp, 4
mov dword [esi + 0xf4], 0
mov ecx, dword [esi + 0x26c]
call fcn.10051bc0
mov eax, dword [esi + 0x190]
test eax, eax
je 0x10032aa0
push eax
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
call fcn.1002e510
add esp, 4
mov dword [esi + 0x190], 0
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x10032ad1
push eax
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b0], 0
call fcn.1002e510
add esp, 4
mov dword [esi + 0x1b8], 0
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x10032b02
push eax
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1bc], 0
call fcn.1002e510
add esp, 4
mov dword [esi + 0x1c4], 0
movss xmm0, dword [ebp - 0x14]
add ebx, 4
cmp ebx, edi
jne 0x100329c0
mov edi, dword [ebp - 0x20]
xor esi, esi
cmp dword [edi + 0x4cd8], esi
jle 0x10032b6d
xor ebx, ebx
xorps xmm0, xmm0
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edi + 0x4ce0]
movss xmm1, dword [eax + esi*4]
comiss xmm1, xmm0
jb 0x10032b5e
movss xmm2, dword [ebp - 0x14]
comiss xmm2, xmm1
jbe 0x10032b5e
mov eax, dword [edi + 0x4cc0]
add eax, ebx
push eax
call fcn.1005a940
add esp, 4
xorps xmm0, xmm0
inc esi
add ebx, 0x200
cmp esi, dword [edi + 0x4cd8]
jl 0x10032b30
imul ebx, dword [edi + 0x4cac], 0x6c
mov esi, dword [edi + 0x4cb4]
add ebx, esi
cmp esi, ebx
je 0x10032baa
xorps xmm0, xmm0
movss xmm1, dword [esi + 4]
comiss xmm1, xmm0
jb 0x10032ba3
movss xmm2, dword [ebp - 0x14]
comiss xmm2, xmm1
jbe 0x10032ba3
push esi
call fcn.1005aa10
add esp, 4
xorps xmm0, xmm0
add esi, 0x6c
cmp esi, ebx
jne 0x10032b83
cmp byte [edi + 0x3f27], 0
je 0x10032c20
mov esi, dword [0x100a4ea0]
mov eax, dword [esi + 0x49d0]
test eax, eax
je 0x10032bea
push eax
mov dword [esi + 0x49cc], 0
mov dword [esi + 0x49c8], 0
call fcn.1002e510
add esp, 4
mov dword [esi + 0x49d0], 0
mov eax, dword [esi + 0x49dc]
test eax, eax
je 0x10032c1b
push eax
mov dword [esi + 0x49d8], 0
mov dword [esi + 0x49d4], 0
call fcn.1002e510
add esp, 4
mov dword [esi + 0x49dc], 0
call fcn.1005a760
mov eax, dword [edi + 0x4a14]
mov byte [edi + 0x3f27], 0
test eax, eax
je 0x10032c89
cmp byte [eax + 0xaf], 0
jne 0x10032c89
mov eax, dword [0x100a4ea0]
mov edx, dword [eax + 0x3f5c]
sub edx, 1
js 0x10032c7d
mov eax, dword [eax + 0x3f64]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x10032c75
cmp byte [ecx + 0xaf], 0
je 0x10032c75
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x10032e46
sub esi, 4
sub edx, 1
jns 0x10032c53
push 1
push 0
call fcn.1002afe0
add esp, 8
mov ecx, dword [edi + 0x3f78]
test ecx, ecx
jns 0x10032ce8
mov eax, ecx
xor esi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x10032ce8
imul eax, esi, 0x64
push eax
call fcn.1002e480
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x3f7c]
test eax, eax
je 0x10032cdc
imul ecx, dword [edi + 0x3f74], 0x64
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
push dword [edi + 0x3f7c]
call fcn.1002e510
add esp, 0x10
mov dword [edi + 0x3f7c], ebx
mov dword [edi + 0x3f78], esi
push 0
lea ecx, [edi + 0x49ec]
mov dword [edi + 0x3f74], 0
call fcn.1003b6b0
mov ecx, dword [edi + 0x49cc]
lea esi, [edi + 0x49c8]
test ecx, ecx
jns 0x10032d5e
mov eax, ecx
xor ebx, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jle 0x10032d5e
lea eax, [ebx*4]
push eax
call fcn.1002e480
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x18], eax
test edx, edx
je 0x10032d58
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 8]
call fcn.1002e510
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov dword [esi + 8], eax
mov dword [esi + 4], ebx
lea eax, [ebp - 0x18]
mov dword [esi], 0
push eax
mov ecx, esi
mov dword [ebp - 0x18], 0
call fcn.1003aff0
push 0
lea ecx, [edi + 0x49d4]
call fcn.1003b620
mov ebx, dword [0x100a4ea0]
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 0x5e27], 0
mov dword [ebx + 0x5e2c], 0
je 0x10032f69
mov eax, dword [0x100a4ea0]
mov esi, dword [ebx + 0x3fd8]
push 1
push 0
push 0x20e
mov dword [ebp - 8], esi
mov dword [eax + 0x4d44], 7
call fcn.1002d490
add esp, 0xc
test al, al
je 0x10032dd7
mov byte [ebx + 0x5e27], 0
mov eax, dword [ebx + 0xe30]
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
cmp eax, 0x3000
je 0x10032e51
movzx ecx, byte [ebx + 0x5e28]
mov edx, dword [0x100a4ea0]
cmp byte [edx + ecx + 0xe18], 0
je 0x10032e51
movss xmm1, dword [edx + ecx*4 + 0x3860]
comiss xmm0, xmm1
ja 0x10032e51
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10032e4e
lea eax, [ecx + 0x28f]
push 0
push eax
call fcn.10037980
add esp, 8
xorps xmm0, xmm0
test al, al
je 0x10032e4e
mov eax, dword [ebp - 0x14]
test esi, esi
je 0x10032e51
mov dword [ebx + 0x5e2c], esi
mov byte [ebx + 0x5e27], 0
jmp 0x10032e51
push 1
push ecx
jmp 0x10032c81
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
xor ebx, ebx
mov esi, 0x3860
nop dword [eax + eax]
cmp eax, 0x3000
jne 0x10032eac
mov eax, dword [0x100a4ea0]
cmp byte [eax + ebx + 0xe18], 0
je 0x10032ea9
movss xmm1, dword [eax + esi]
comiss xmm0, xmm1
ja 0x10032ea9
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10032ea9
lea eax, [ebx + 0x28f]
push 0
push eax
call fcn.10037980
add esp, 8
test al, al
mov eax, dword [ebp - 0x14]
je 0x10032eac
mov byte [edi + 0x5e28], bl
jmp 0x10032eac
mov eax, dword [ebp - 0x14]
add esi, 4
inc ebx
xorps xmm0, xmm0
cmp esi, 0x386c
jl 0x10032e60
mov eax, dword [0x100a4ea0]
push 0
push 0
or dword [eax + 0x492c], 0x40
mov dword [eax + 0x4984], 0x3f333333
call fcn.10027770
mov edi, dword [ebp - 0x20]
add esp, 8
test al, al
je 0x10032f69
mov esi, dword [ebp - 8]
push esi
push str.HoveredId:_0x_08X
call fcn.10048840
push str.Press_ESC_to_abort_picking.
call fcn.10048840
add esp, 0xc
mov dword [ebp - 0x10], str.Left
cmp dword [ebp - 0x14], 0x3000
mov dword [ebp - 0xc], str.Right
mov dword [ebp - 8], str.Middle
jne 0x10032f30
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.10048840
add esp, 4
jmp 0x10032f64
mov eax, dword [ebp - 0x18]
xor ecx, ecx
test esi, esi
movzx eax, byte [eax + 0x5e28]
push dword [ebp + eax*4 - 0x10]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x100a4ea0]
add eax, 0x399c
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.100488a0
add esp, 0xc
call fcn.10029a40
call fcn.10037b10
mov eax, dword [0x100a4ea0]
xorps xmm0, xmm0
mov dword [ebp - 8], eax
movss xmm1, dword [eax + 0x5e30]
comiss xmm0, xmm1
jae 0x10033106
mulss xmm1, dword [0x1006e3dc]
mov ebx, dword [eax + 0x4994]
mov esi, ebx
shl esi, 4
shl ebx, 4
add esi, eax
cvtps2pd xmm0, xmm1
add ebx, eax
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x1006e390]
addss xmm0, dword [0x1006e390]
cvtss2sd xmm0, xmm0
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fld1
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [ebp - 0x1c]
movsd xmm1, qword [ebp - 0x1c]
xorps xmm0, xmm0
cvtpd2ps xmm1, xmm1
movss xmm2, dword [0x1006e390]
divss xmm1, dword [0x1006e380]
movss xmm4, dword [0x1006b5bc]
cvttss2si eax, xmm1
movaps xmm3, xmm4
cvtsi2ss xmm0, eax
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm2
subss xmm3, xmm0
movaps xmm0, xmm4
subss xmm0, xmm1
mulss xmm3, xmm2
mulss xmm0, xmm2
subss xmm4, xmm0
mulss xmm4, xmm2
cmp eax, 5
ja case.0x10033030.5
jmp dword [eax*4 + 0x10033210]
movss xmm0, dword [0x1006e388]
movaps xmm1, xmm4
jmp 0x10033087
movss xmm0, dword [0x1006e388]
movaps xmm1, xmm2
movaps xmm2, xmm3
jmp 0x10033087
movaps xmm1, xmm2
movaps xmm0, xmm4
movss xmm2, dword [0x1006e388]
jmp 0x10033087
movaps xmm0, xmm2
movaps xmm1, xmm3
movss xmm2, dword [0x1006e388]
jmp 0x10033087
movaps xmm0, xmm2
movaps xmm2, xmm4
jmp 0x1003307f
movaps xmm0, xmm3
movss xmm1, dword [0x1006e388]
mov edx, 0x39a0
mov edi, 0x399c
mov eax, esi
lea ecx, [edx + 4]
movss dword [esi + edi], xmm2
mov edi, dword [ebp - 0x20]
movss dword [edx + ebx], xmm1
xorps xmm1, xmm1
movss dword [eax + ecx], xmm0
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x4994]
add eax, eax
mov dword [ecx + eax*8 + 0x39a8], 0x3f800000
movss xmm0, dword [ecx + 0x5e30]
subss xmm0, dword [ecx + 0x28]
comiss xmm1, xmm0
movss dword [ecx + 0x5e30], xmm0
jb 0x10033106
mov eax, dword [0x100a4ea0]
mov ecx, dword [eax + 0x4994]
cmp ecx, 0x35
je 0x100330fc
movups xmm0, xmmword [eax + 0x5e34]
add ecx, ecx
movups xmmword [eax + ecx*8 + 0x399c], xmm0
mov dword [eax + 0x4994], 0x35
mov al, byte [edi + 0x5e25]
test al, al
je 0x10033124
sub al, 1
mov byte [edi + 0x5e25], al
jne 0x10033124
mov dword [edi + 0x48bc], 0
mov al, byte [edi + 0x5e24]
test al, al
je 0x1003314c
sub al, 1
mov byte [edi + 0x5e24], al
jne 0x1003314c
push str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.100295b0
add esp, 4
and dword [edi + 0x5e04], 0xffffffef
mov byte [edi + 0x3f25], 1
mov eax, dword [0x100a4ea0]
push 0
push 0
push str.DebugDefault
or dword [eax + 0x492c], 2
mov dword [eax + 0x494c], 0x43c80000
mov dword [eax + 0x4950], 0x43c80000
mov dword [eax + 0x4934], 4
call fcn.10024c90
add esp, 0xc
cmp byte [edi + 0x75], 0
je 0x100331c9
mov cl, byte [edi + 0x5e26]
cmp cl, 0xff
jne 0x100331a3
xor edx, edx
jmp 0x100331cc
mov eax, dword [edi + 0x3f18]
and eax, 0x80000003
jns 0x100331b5
dec eax
or eax, 0xfffffffc
inc eax
neg eax
movsx ecx, cl
sbb eax, eax
inc eax
add eax, ecx
mov ecx, 0xa
cdq
idiv ecx
jmp 0x100331cc
or dl, 0xff
mov byte [edi + 0x5e26], dl
mov eax, dword [edi + 0x5da0]
mov esi, dword [edi + 0x5da8]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x100331ff
cmp dword [esi + 4], 1
jne 0x100331f8
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x100331e8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10064d84
mov esp, ebp
pop ebp
ret