Function at 0x1001a800
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [0x10051300]
mov dword [ebp - 0xc], edi
mov eax, dword [edi + 0x5dec]
sub eax, 1
mov dword [ebp - 8], eax
js 0x1001a88e
lea ebx, [eax + eax*4]
shl ebx, 2
nop word [eax + eax]
mov ecx, dword [edi + 0x5df4]
cmp dword [ecx + ebx + 4], 7
jne 0x1001a883
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 + 0x5dec]
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 - 8]
add esp, 0xc
dec dword [edi + 0x5dec]
dec eax
sub ebx, 0x14
mov dword [ebp - 8], eax
test eax, eax
jns 0x1001a830
mov eax, dword [edi + 0x5dec]
mov esi, dword [edi + 0x5df4]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x1001a8bb
cmp dword [esi + 4], 0
jne 0x1001a8b4
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x1001a8a4
mov eax, dword [0x10051300]
cmp byte [eax + 0x4a], 0
je 0x1001a8d0
test byte [eax + 0xc], 2
jne 0x1001a8d0
mov byte [eax + 0x4a], 0
mov ebx, dword [0x10051300]
cmp byte [ebx + 0x5db4], 0
jne 0x1001a9c9
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1001a9c2
push 0x100490b4
push eax
call fcn.10014540
mov esi, eax
add esp, 8
test esi, esi
je 0x1001a9c2
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x1001a9b8
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 0x1001a9b8
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x1001a9b8
push 0
push dword [ebp - 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1001a9b8
push dword [ebp - 4]
call fcn.10016c10
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x1001a9b8
push esi
push dword [ebp - 4]
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 - 4]
je 0x1001a993
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov esi, dword [ebp - 8]
push esi
call fcn.10016ca0
add esp, 8
jmp 0x1001a9c2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [ebp - 4]
add esp, 4
mov esi, dword [ebp - 8]
test eax, eax
je 0x1001a9b0
push eax
push esi
call fcn.100166f0
add esp, 8
push esi
call fcn.10016ca0
jmp 0x1001a9bf
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov byte [ebx + 0x5db4], 1
movss xmm1, dword [ebx + 0x5db8]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1001aa0e
subss xmm1, dword [ebx + 0x18]
comiss xmm0, xmm1
movss dword [ebx + 0x5db8], xmm1
jb 0x1001aa0e
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1001a9fd
push eax
call fcn.1001dfe0
add esp, 4
jmp 0x1001aa04
mov byte [ebx + 0x96], 1
mov dword [ebx + 0x5db8], 0
movss xmm0, dword [edi + 0x18]
lea ecx, [edi + 0x5d28]
inc dword [edi + 0x3f08]
xor eax, eax
cvtps2pd xmm0, xmm0
push eax
mov byte [edi + 0x3f14], 1
mov word [edi + 0x5d18], ax
mov dword [edi + 0x3f7c], eax
addsd xmm0, qword [edi + 0x3f00]
movsd qword [edi + 0x3f00], xmm0
call fcn.100233c0
mov eax, dword [edi + 0x5ff8]
mov ecx, 0x3c
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [edi + eax*4 + 0x5f08]
addss xmm0, dword [edi + 0x6000]
movss dword [edi + 0x6000], xmm0
movss dword [edi + eax*4 + 0x5f08], xmm1
xorps xmm1, xmm1
mov eax, dword [edi + 0x5ff8]
inc eax
movss xmm2, dword [edi + 0x6000]
cdq
idiv ecx
mov eax, dword [edi + 0x5ffc]
movss xmm0, dword [0x100492e8]
inc eax
cmp eax, ecx
mov dword [edi + 0x5ff8], edx
movss dword [ebp - 4], xmm0
cmovl ecx, eax
comiss xmm2, xmm1
mov dword [edi + 0x5ffc], ecx
movss xmm1, dword [0x10049298]
jbe 0x1001aadc
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movaps xmm0, xmm1
divss xmm0, xmm2
movss dword [edi + 0x9c], xmm0
mov ecx, dword [edi + 0x3f30]
test ecx, ecx
jns 0x1001ab0a
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 + 0x3f2c]
call fcn.10023260
mov dword [edi + 0x3f2c], 0
movzx eax, byte [edi + 0x46]
push eax
call fcn.1001fb90
mov esi, dword [0x10051300]
add esp, 4
xorps xmm3, xmm3
mov eax, dword [esi + 0x4a38]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
mov ebx, dword [esi + 0x4a38]
mov eax, dword [esi + 0x4a30]
lea esi, [ebx + eax*4]
cmp ebx, esi
je 0x1001ac3a
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 0x1001ab70
mov eax, dword [edi + 0x2c]
mov byte [eax + 0x10], 1
mov esi, dword [0x10051300]
mov ebx, dword [esi + 0x38]
test ebx, ebx
jne 0x1001ac56
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
movss xmm1, dword [esi + 0x30]
movss xmm0, dword [0x10049298]
mov ecx, dword [esi + 0x3f8c]
mov dword [esi + 0x3cf0], ebx
mulss xmm1, dword [ebx + 0x10]
mulss xmm1, dword [ebx + 0x4c]
maxss xmm0, xmm1
movss dword [esi + 0x3cf8], xmm0
test ecx, ecx
je 0x1001acad
mov eax, dword [ecx]
movss xmm3, dword [ecx + 0x264]
mulss xmm3, dword [eax + 0x3cf8]
mov eax, dword [ecx + 0x300]
test eax, eax
je 0x1001acad
mulss xmm3, dword [eax + 0x264]
movss xmm7, dword [ebp - 4]
movss xmm5, dword [0x100492f4]
movaps xmm6, xmm7
movss dword [esi + 0x3cf4], xmm3
movaps xmm4, xmm5
mov edx, dword [ebx + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x3cfc], eax
lea eax, [edx + 0x60]
mov dword [esi + 0x3d00], ecx
mov dword [esi + 0x3ef8], eax
mov dword [esi + 0x3d04], ebx
movss dword [esi + 0x3d08], xmm3
mov ecx, dword [edi + 0x4a38]
mov eax, dword [edi + 0x4a30]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1001ad53
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 0x1001ad34
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1001ad3c
movaps xmm6, xmm2
comiss xmm1, xmm5
jbe 0x1001ad44
movaps xmm5, xmm1
comiss xmm0, xmm4
jbe 0x1001ad4c
movaps xmm4, xmm0
add ecx, 4
cmp ecx, edx
jne 0x1001ad10
movss dword [edi + 0x3d14], xmm7
movss dword [edi + 0x3d18], xmm6
movss dword [edi + 0x3d1c], xmm5
movss dword [edi + 0x3d20], xmm4
movss xmm0, dword [edi + 0x3988]
mov eax, dword [edi + 0x3984]
push ecx
lea ecx, [edi + 0x3cfc]
mov dword [edi + 0x3d0c], eax
movss dword [esp], xmm0
call fcn.10029ea0
xor edx, edx
mov dword [edi + 0x3d24], 0
cmp byte [edi + 0x3980], dl
je 0x1001adbb
mov dword [edi + 0x3d24], 1
mov edx, 1
cmp byte [edi + 0x3981], 0
mov ecx, edx
je 0x1001addd
mov eax, dword [edi + 0x3cf0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1001addd
or ecx, 2
mov dword [edi + 0x3d24], ecx
cmp byte [edi + 0x3982], 0
je 0x1001adef
or ecx, 4
mov dword [edi + 0x3d24], ecx
test byte [edi + 0xc], 8
je 0x1001adfe
or ecx, 8
mov dword [edi + 0x3d24], ecx
mov ecx, dword [edi + 0x4a38]
mov eax, dword [edi + 0x4a30]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1001ae1e
mov eax, dword [ecx]
add ecx, 4
mov byte [eax + 0x38], 0
cmp ecx, edx
jne 0x1001ae11
cmp byte [edi + 0x4c30], 0
je 0x1001ae58
mov eax, dword [edi + 0x4c48]
cmp eax, dword [edi + 0x3fdc]
jne 0x1001ae58
mov ecx, dword [0x10051300]
cmp dword [ecx + 0x3fdc], eax
jne 0x1001ae49
mov dword [ecx + 0x3fe0], eax
cmp dword [ecx + 0x4004], eax
jne 0x1001ae58
mov byte [ecx + 0x4008], 1
cmp dword [edi + 0x3fcc], 0
jne 0x1001ae6d
mov dword [edi + 0x3fd4], 0
jmp 0x1001ae7f
mov eax, dword [edi + 0x3fc8]
test eax, eax
je 0x1001ae89
cmp dword [edi + 0x3fdc], eax
jne 0x1001ae89
mov dword [edi + 0x3fd8], 0
mov eax, dword [edi + 0x3fc8]
test eax, eax
je 0x1001aec3
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3fd4]
movss dword [edi + 0x3fd4], xmm0
cmp dword [edi + 0x3fdc], eax
je 0x1001aec3
addss xmm1, dword [edi + 0x3fd8]
movss dword [edi + 0x3fd8], xmm1
mov dword [edi + 0x3fcc], eax
mov eax, dword [edi + 0x3fdc]
mov dword [edi + 0x3fc8], 0
mov word [edi + 0x3fd0], 0
test eax, eax
je 0x1001af18
cmp dword [edi + 0x3fe0], eax
je 0x1001af18
cmp dword [edi + 0x4004], eax
jne 0x1001af18
test byte [edi + 0x5e50], 1
je 0x1001af0c
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.10011b80
add esp, 4
push 0
push 0
call fcn.1001e4d0
add esp, 8
mov ecx, dword [edi + 0x3fdc]
test ecx, ecx
je 0x1001af37
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3fe4]
movss dword [edi + 0x3fe4], xmm0
mov eax, dword [edi + 0x3ffc]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x4014]
mov dword [edi + 0x400c], eax
mov al, byte [edi + 0x3fec]
mov byte [edi + 0x4009], al
mov eax, dword [edi + 0x5c88]
movss dword [edi + 0x4014], xmm0
mov dword [edi + 0x4004], ecx
mov dword [edi + 0x3fe0], 0
mov byte [edi + 0x3fed], 0
mov byte [edi + 0x4008], 0
mov byte [edi + 0x3fe8], 0
test eax, eax
je 0x1001afa1
cmp ecx, eax
je 0x1001afa1
mov dword [edi + 0x5c88], 0
test ecx, ecx
jne 0x1001afbf
mov dword [edi + 0x48d4], ecx
mov dword [edi + 0x48c8], ecx
mov byte [edi + 0x48cc], cl
mov dword [edi + 0x48d4], ecx
jmp 0x1001afe7
mov eax, dword [edi + 0x48d4]
test eax, eax
je 0x1001afe7
test al, 2
je 0x1001afe7
mov eax, dword [0x10051300]
mov dword [eax + 0x40f0], ecx
mov dword [eax + 0x40ec], ecx
mov word [eax + 0x40f4], 0
mov ecx, dword [edi + 0x4d6c]
test ecx, ecx
je 0x1001b00a
movss xmm0, dword [edi + 0x4d88]
comiss xmm0, dword [edi + 0x3cdc]
jb 0x1001b014
mov dword [edi + 0x4d7c], ecx
jmp 0x1001b014
mov dword [edi + 0x4d7c], 0
mov eax, dword [edi + 0x3f90]
test eax, eax
je 0x1001b03a
movss xmm0, dword [edi + 0x4d88]
comiss xmm0, dword [edi + 0x3cdc]
jb 0x1001b044
mov eax, dword [eax + 8]
mov dword [edi + 0x4d80], eax
jmp 0x1001b044
mov dword [edi + 0x4d80], 0
movss xmm0, dword [edi + 0x4d74]
mov dword [edi + 0x4d70], ecx
test ecx, ecx
je 0x1001b06f
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4d6c], 0
movss dword [edi + 0x4d74], xmm0
jmp 0x1001b0af
comiss xmm0, dword [0x10049234]
jbe 0x1001b0b9
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x1004925c]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4d78]
addss xmm1, xmm1
movss dword [edi + 0x4d78], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1001b0b9
mov dword [edi + 0x4d74], 0
mov dword [edi + 0x4d78], 0
mov eax, dword [edi + 0x4ca4]
mov dword [edi + 0x4ca8], eax
mov dword [edi + 0x4ca4], 0
mov dword [edi + 0x4ca0], 0x7f7fffff
mov word [edi + 0x4c31], 0
mov dword [edi + 0x4cb0], 0
call fcn.100203e0
call fcn.10018080
call fcn.10020990
call fcn.1001f920
mov esi, dword [0x10051300]
mov ecx, dword [esi + 0x3f98]
test ecx, ecx
je 0x1001b1be
mov eax, dword [esi + 0x3fdc]
mov dword [esi + 0x3fe0], eax
cmp dword [esi + 0x4004], eax
jne 0x1001b12f
mov byte [esi + 0x4008], 1
cmp byte [esi + 0xe08], 0
mov edx, dword [ecx + 0x308]
je 0x1001b1b2
lea ecx, [esi + 0xe00]
test ecx, ecx
je 0x1001b14c
mov eax, ecx
jmp 0x1001b156
mov eax, dword [0x10051300]
add eax, 0xe00
movss xmm0, dword [eax]
movss xmm1, dword [0x100492f0]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1001b1b2
comiss xmm2, xmm1
jb 0x1001b1b2
movss xmm0, dword [ecx]
lea eax, [ebp - 0x14]
subss xmm0, dword [esi + 0x3ff4]
push 1
push eax
push edx
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [esi + 0x3ff8]
movss dword [ebp - 0x10], xmm0
call fcn.1001f270
push 0
push dword [esi + 0x3f98]
call fcn.100134e0
add esp, 0x14
jmp 0x1001b1fd
mov dword [esi + 0x3f98], 0
jmp 0x1001b1f1
mov ecx, dword [esi + 0x3ffc]
test ecx, ecx
je 0x1001b1fd
mov eax, dword [esi + 0x3fdc]
cmp dword [ecx + 0x74], eax
jne 0x1001b1fd
mov dword [esi + 0x3fe0], eax
cmp dword [esi + 0x4004], eax
jne 0x1001b1e8
mov byte [esi + 0x4008], 1
cmp byte [esi + 0xe08], 0
jne 0x1001b1fd
push 0
push 0
call fcn.1001e4d0
add esp, 8
mov eax, dword [0x10051300]
movss xmm2, dword [0x100492b8]
mov edx, dword [eax + 0x4a08]
sub edx, 1
js 0x1001b23b
mov eax, dword [eax + 0x4a10]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1001b233
test dword [ecx + 0xc], 0x8000000
jne 0x1001b254
sub eax, 0x28
sub edx, 1
jns 0x1001b224
cmp dword [edi + 0x4c00], 0
je 0x1001b26f
movss xmm0, dword [edi + 0x4c10]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1001b26f
movss xmm1, dword [edi + 0x18]
mulss xmm1, xmm2
addss xmm1, dword [edi + 0x4c2c]
minss xmm1, dword [0x10049298]
jmp 0x1001b290
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x100492c0]
movss xmm1, dword [edi + 0x4c2c]
subss xmm1, xmm0
maxss xmm1, dword [0x10049234]
movss dword [edi + 0x4c2c], xmm1
movups xmm0, xmmword [edi + 0x5d94]
mov dword [edi + 0x4d84], 0
mov dword [edi + 0x600c], 0xffffffff
mov dword [edi + 0x6008], 0xffffffff
mov dword [edi + 0x6004], 0xffffffff
movups xmmword [edi + 0x5da4], xmm0
mov byte [edi + 0x5d94], 0
call fcn.10020fd0
cmp byte [edi + 0x3f17], 0
jne 0x1001b307
movss xmm1, dword [edi + 0x4c]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1001b307
movsd xmm0, qword [edi + 0x3f00]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [ebp - 4], xmm0
jmp 0x1001b30c
movss xmm0, dword [ebp - 4]
mov ebx, dword [edi + 0x3f48]
mov eax, dword [edi + 0x3f40]
lea eax, [ebx + eax*4]
cmp ebx, eax
je 0x1001b485
mov edi, eax
nop word [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 0x1001b472
cmp byte [esi + 0x364], al
jne 0x1001b472
comiss xmm0, dword [esi + 0x244]
jbe 0x1001b472
mov ecx, dword [esi + 0x26c]
mov byte [esi + 0x364], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x35c], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x360], eax
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x1001b3d4
push eax
mov dword [esi + 0xf0], 0
mov dword [esi + 0xec], 0
call fcn.10016ca0
add esp, 4
mov dword [esi + 0xf4], 0
mov ecx, dword [esi + 0x26c]
call fcn.1002abc0
mov eax, dword [esi + 0x190]
test eax, eax
je 0x1001b410
push eax
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
call fcn.10016ca0
add esp, 4
mov dword [esi + 0x190], 0
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x1001b441
push eax
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b0], 0
call fcn.10016ca0
add esp, 4
mov dword [esi + 0x1b8], 0
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x1001b472
push eax
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1bc], 0
call fcn.10016ca0
add esp, 4
mov dword [esi + 0x1c4], 0
movss xmm0, dword [ebp - 4]
add ebx, 4
cmp ebx, edi
jne 0x1001b330
mov edi, dword [ebp - 0xc]
xor esi, esi
cmp dword [edi + 0x4d18], esi
jle 0x1001b4dd
xor ebx, ebx
xorps xmm0, xmm0
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edi + 0x4d20]
movss xmm1, dword [eax + esi*4]
comiss xmm1, xmm0
jb 0x1001b4ce
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm1
jbe 0x1001b4ce
mov eax, dword [edi + 0x4d00]
add eax, ebx
push eax
call fcn.10033180
add esp, 4
xorps xmm0, xmm0
inc esi
add ebx, 0x200
cmp esi, dword [edi + 0x4d18]
jl 0x1001b4a0
imul ebx, dword [edi + 0x4cec], 0x6c
mov esi, dword [edi + 0x4cf4]
add ebx, esi
cmp esi, ebx
je 0x1001b51a
xorps xmm0, xmm0
movss xmm1, dword [esi + 4]
comiss xmm1, xmm0
jb 0x1001b513
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm1
jbe 0x1001b513
push esi
call fcn.10033250
add esp, 4
xorps xmm0, xmm0
add esi, 0x6c
cmp esi, ebx
jne 0x1001b4f3
cmp byte [edi + 0x3f17], 0
je 0x1001b590
mov esi, dword [0x10051300]
mov eax, dword [esi + 0x49f8]
test eax, eax
je 0x1001b55a
push eax
mov dword [esi + 0x49f4], 0
mov dword [esi + 0x49f0], 0
call fcn.10016ca0
add esp, 4
mov dword [esi + 0x49f8], 0
mov eax, dword [esi + 0x4a04]
test eax, eax
je 0x1001b58b
push eax
mov dword [esi + 0x4a00], 0
mov dword [esi + 0x49fc], 0
call fcn.10016ca0
add esp, 4
mov dword [esi + 0x4a04], 0
call fcn.10032fa0
mov eax, dword [edi + 0x4a3c]
mov byte [edi + 0x3f17], 0
test eax, eax
je 0x1001b5f9
cmp byte [eax + 0xaf], 0
jne 0x1001b5f9
mov eax, dword [0x10051300]
mov edx, dword [eax + 0x3f4c]
sub edx, 1
js 0x1001b5ed
mov eax, dword [eax + 0x3f54]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x1001b5e5
cmp byte [ecx + 0xaf], 0
je 0x1001b5e5
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x1001b7b6
sub esi, 4
sub edx, 1
jns 0x1001b5c3
push 1
push 0
call fcn.100134e0
add esp, 8
mov ecx, dword [edi + 0x3f68]
test ecx, ecx
jns 0x1001b658
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 0x1001b658
imul eax, esi, 0x64
push eax
call fcn.10016c10
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x3f6c]
test eax, eax
je 0x1001b64c
imul ecx, dword [edi + 0x3f64], 0x64
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
push dword [edi + 0x3f6c]
call fcn.10016ca0
add esp, 0x10
mov dword [edi + 0x3f6c], ebx
mov dword [edi + 0x3f68], esi
push 0
lea ecx, [edi + 0x4a14]
mov dword [edi + 0x3f64], 0
call fcn.100234d0
mov ecx, dword [edi + 0x49f4]
lea esi, [edi + 0x49f0]
test ecx, ecx
jns 0x1001b6ce
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 0x1001b6ce
lea eax, [ebx*4]
push eax
call fcn.10016c10
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 8], eax
test edx, edx
je 0x1001b6c8
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 8]
call fcn.10016ca0
mov eax, dword [ebp - 8]
add esp, 0x10
mov dword [esi + 8], eax
mov dword [esi + 4], ebx
lea eax, [ebp - 8]
mov dword [esi], 0
push eax
mov ecx, esi
mov dword [ebp - 8], 0
call fcn.10022d80
push 0
lea ecx, [edi + 0x49fc]
call fcn.10023440
mov ebx, dword [0x10051300]
mov dword [ebp - 8], ebx
cmp byte [ebx + 0x5e7d], 0
mov dword [ebx + 0x5e80], 0
je 0x1001b8d9
mov eax, dword [0x10051300]
mov esi, dword [ebx + 0x3fcc]
push 1
push 0
push 0x20e
mov dword [ebp - 0x10], esi
mov dword [eax + 0x4d84], 7
call fcn.10015b50
add esp, 0xc
test al, al
je 0x1001b747
mov byte [ebx + 0x5e7d], 0
mov eax, dword [ebx + 0xe20]
xorps xmm0, xmm0
mov dword [ebp - 4], eax
cmp eax, 0x3000
je 0x1001b7c1
movzx ecx, byte [ebx + 0x5e7e]
mov edx, dword [0x10051300]
cmp byte [edx + ecx + 0xe08], 0
je 0x1001b7c1
movss xmm1, dword [edx + ecx*4 + 0x3850]
comiss xmm0, xmm1
ja 0x1001b7c1
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1001b7be
lea eax, [ecx + 0x28f]
push 0
push eax
call fcn.1001f640
add esp, 8
xorps xmm0, xmm0
test al, al
je 0x1001b7be
mov eax, dword [ebp - 4]
test esi, esi
je 0x1001b7c1
mov dword [ebx + 0x5e80], esi
mov byte [ebx + 0x5e7d], 0
jmp 0x1001b7c1
push 1
push ecx
jmp 0x1001b5f1
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
xor ebx, ebx
mov esi, 0x3850
nop dword [eax + eax]
cmp eax, 0x3000
jne 0x1001b81c
mov eax, dword [0x10051300]
cmp byte [eax + ebx + 0xe08], 0
je 0x1001b819
movss xmm1, dword [eax + esi]
comiss xmm0, xmm1
ja 0x1001b819
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1001b819
lea eax, [ebx + 0x28f]
push 0
push eax
call fcn.1001f640
add esp, 8
test al, al
mov eax, dword [ebp - 4]
je 0x1001b81c
mov byte [edi + 0x5e7e], bl
jmp 0x1001b81c
mov eax, dword [ebp - 4]
add esi, 4
inc ebx
xorps xmm0, xmm0
cmp esi, 0x385c
jl 0x1001b7d0
mov eax, dword [0x10051300]
push 0
push 0
or dword [eax + 0x4954], 0x40
mov dword [eax + 0x49ac], 0x3f333333
call fcn.10010000
mov edi, dword [ebp - 0xc]
add esp, 8
test al, al
je 0x1001b8d9
mov esi, dword [ebp - 0x10]
push esi
push str.HoveredId:_0x_08X
call fcn.1003fcf0
push str.Press_ESC_to_abort_picking.
call fcn.1003fcf0
add esp, 0xc
mov dword [ebp - 0x18], str.Left
cmp dword [ebp - 4], 0x3000
mov dword [ebp - 0x14], str.Right
mov dword [ebp - 0x10], str.Middle
jne 0x1001b8a0
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.1003fcf0
add esp, 4
jmp 0x1001b8d4
mov eax, dword [ebp - 8]
xor ecx, ecx
test esi, esi
movzx eax, byte [eax + 0x5e7e]
push dword [ebp + eax*4 - 0x18]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x10051300]
add eax, 0x398c
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.1003fd50
add esp, 0xc
call fcn.10011f70
call fcn.1001f7d0
mov esi, dword [0x10051300]
xorps xmm0, xmm0
movss xmm1, dword [esi + 0x5e84]
comiss xmm0, xmm1
jae 0x1001b9c0
mov ecx, dword [esi + 0x49bc]
lea eax, [esi + 0x3994]
mulss xmm1, dword [0x100492b8]
mov edx, ecx
shl edx, 4
add eax, edx
push eax
lea eax, [ecx + 0x399]
shl eax, 4
add eax, esi
push eax
lea eax, [esi + 0x398c]
add eax, edx
push eax
sub esp, 8
cvtps2pd xmm0, xmm1
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0x3f000000
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
push ecx
mulss xmm0, dword [0x10049270]
addss xmm0, dword [0x10049270]
movss dword [esp], xmm0
call fcn.10011280
mov eax, dword [esi + 0x49bc]
xorps xmm1, xmm1
add eax, eax
add esp, 0x18
mov dword [esi + eax*8 + 0x3998], 0x3f800000
movss xmm0, dword [esi + 0x5e84]
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5e84], xmm0
jb 0x1001b9c0
mov eax, dword [0x10051300]
mov ecx, dword [eax + 0x49bc]
cmp ecx, 0x35
je 0x1001b9b6
movups xmm0, xmmword [eax + 0x5e88]
add ecx, ecx
movups xmmword [eax + ecx*8 + 0x398c], xmm0
mov dword [eax + 0x49bc], 0x35
mov al, byte [edi + 0x5e75]
test al, al
je 0x1001b9e5
sub al, 1
mov byte [edi + 0x5e75], al
jne 0x1001b9e5
mov dword [edi + 0x48e0], 0
mov byte [edi + 0x5e76], 0
mov al, byte [edi + 0x5e74]
test al, al
je 0x1001ba1e
sub al, 1
mov byte [edi + 0x5e74], al
jne 0x1001ba1e
push str._Debug_Log:_Auto_disabled_some_ImGuiDebugLogFlags_after_2_frames__n
call fcn.10011b80
mov eax, dword [edi + 0x5e70]
add esp, 4
not eax
mov dword [edi + 0x5e70], 0
and dword [edi + 0x5e50], eax
mov byte [edi + 0x3f15], 1
mov eax, dword [0x10051300]
push 0
push 0
push str.DebugDefault
or dword [eax + 0x4954], 2
mov dword [eax + 0x4974], 0x43c80000
mov dword [eax + 0x4978], 0x43c80000
mov dword [eax + 0x495c], 4
call fcn.1000d5e0
add esp, 0xc
cmp byte [edi + 0x66], 0
je 0x1001ba9b
mov cl, byte [edi + 0x5e7c]
cmp cl, 0xff
jne 0x1001ba75
xor edx, edx
jmp 0x1001ba9e
mov eax, dword [edi + 0x3f08]
and eax, 0x80000003
jns 0x1001ba87
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 0x1001ba9e
or dl, 0xff
mov byte [edi + 0x5e7c], dl
mov eax, dword [edi + 0x5dec]
mov esi, dword [edi + 0x5df4]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x1001bad7
nop word [eax + eax]
cmp dword [esi + 4], 1
jne 0x1001bad0
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x1001bac0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret