Function at 0x8f7680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [0x94544c]
mov dword [ebp - 0xc], edi
mov eax, dword [edi + 0x5df4]
sub eax, 1
mov dword [ebp - 8], eax
js 0x8f770e
lea ebx, [eax + eax*4]
shl ebx, 2
nop word [eax + eax]
mov ecx, dword [edi + 0x5dfc]
cmp dword [ecx + ebx + 4], 7
jne 0x8f7703
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 + 0x5df4]
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 + 0x5df4]
dec eax
sub ebx, 0x14
mov dword [ebp - 8], eax
test eax, eax
jns 0x8f76b0
mov eax, dword [edi + 0x5df4]
mov esi, dword [edi + 0x5dfc]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x8f773b
cmp dword [esi + 4], 0
jne 0x8f7734
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x8f7724
mov eax, dword [0x94544c]
cmp byte [eax + 0x4a], 0
je 0x8f7750
test byte [eax + 0xc], 2
jne 0x8f7750
mov byte [eax + 0x4a], 0
mov ebx, dword [0x94544c]
cmp byte [ebx + 0x5dbc], 0
jne 0x8f7849
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x8f7842
push 0x935c6c
push eax
call fcn.008f12f0
mov esi, eax
add esp, 8
test esi, esi
je 0x8f7842
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 0x8f7838
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 0x8f7838
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 0x8f7838
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 0x8f7838
push dword [ebp - 4]
call fcn.008f3a40
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x8f7838
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 0x8f7813
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov esi, dword [ebp - 8]
push esi
call fcn.008f3ad0
add esp, 8
jmp 0x8f7842
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 0x8f7830
push eax
push esi
call fcn.008f3520
add esp, 8
push esi
call fcn.008f3ad0
jmp 0x8f783f
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov byte [ebx + 0x5dbc], 1
movss xmm1, dword [ebx + 0x5dc0]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x8f788e
subss xmm1, dword [ebx + 0x18]
comiss xmm0, xmm1
movss dword [ebx + 0x5dc0], xmm1
jb 0x8f788e
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x8f787d
push eax
call fcn.008faf40
add esp, 4
jmp 0x8f7884
mov byte [ebx + 0x96], 1
mov dword [ebx + 0x5dc0], 0
movss xmm0, dword [edi + 0x18]
lea ecx, [edi + 0x5d30]
inc dword [edi + 0x3f08]
xor eax, eax
cvtps2pd xmm0, xmm0
push eax
mov byte [edi + 0x3f14], 1
mov word [edi + 0x5d20], ax
mov dword [edi + 0x3f7c], eax
addsd xmm0, qword [edi + 0x3f00]
movsd qword [edi + 0x3f00], xmm0
call fcn.00900d40
mov eax, dword [edi + 0x6008]
mov ecx, 0x3c
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [edi + eax*4 + 0x5f18]
addss xmm0, dword [edi + 0x6010]
movss dword [edi + 0x6010], xmm0
movss dword [edi + eax*4 + 0x5f18], xmm1
xorps xmm1, xmm1
mov eax, dword [edi + 0x6008]
inc eax
movss xmm2, dword [edi + 0x6010]
cdq
idiv ecx
mov eax, dword [edi + 0x600c]
movss xmm0, dword [0x935ea4]
inc eax
cmp eax, ecx
mov dword [edi + 0x6008], edx
movss dword [ebp - 4], xmm0
cmovl ecx, eax
comiss xmm2, xmm1
mov dword [edi + 0x600c], ecx
movss xmm1, dword [0x935e50]
jbe 0x8f795c
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 0x8f798a
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.00900be0
mov dword [edi + 0x3f2c], 0
movzx eax, byte [edi + 0x46]
push eax
call fcn.008fd410
mov esi, dword [0x94544c]
add esp, 4
xorps xmm3, xmm3
mov eax, dword [esi + 0x4a34]
mov edx, dword [eax]
mov dword [edx + 4], 5
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov ebx, dword [esi + 0x4a34]
mov eax, dword [esi + 0x4a2c]
lea esi, [ebx + eax*4]
cmp ebx, esi
je 0x8f7aba
nop word [eax + eax]
mov edx, dword [ebx]
add ebx, 4
mov eax, dword [edx + 0x98]
mov ecx, dword [edx + 0x9c]
mov dword [edx + 0x88], eax
mov eax, dword [edx + 0xa0]
mov dword [edx + 0x8c], ecx
mov ecx, dword [edx + 0xa4]
mov dword [edx + 0x90], eax
mov dword [edx + 0x94], ecx
mov dword [edx + 0xa0], 0
mov dword [edx + 0xa4], 0
mov dword [edx + 0x98], 0
mov dword [edx + 0x9c], 0
movss xmm0, dword [edx + 0x8c]
movss xmm2, dword [edx + 0x88]
movaps xmm1, xmm2
addss xmm0, dword [edx + 0xc]
addss xmm1, dword [edx + 8]
movss dword [edx + 0x1c], xmm0
movss xmm0, dword [edx + 0x10]
movss dword [edx + 0x18], xmm1
subss xmm0, xmm2
movaps xmm2, xmm3
movaps xmm1, xmm3
addss xmm0, dword [edx + 0x90]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x8c]
addss xmm0, dword [edx + 0x94]
movss dword [edx + 0x20], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x24], xmm1
cmp ebx, esi
jne 0x8f79f0
mov eax, dword [edi + 0x2c]
mov byte [eax + 0x10], 1
mov esi, dword [0x94544c]
mov ebx, dword [esi + 0x38]
test ebx, ebx
jne 0x8f7ad6
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
movss xmm1, dword [esi + 0x30]
movss xmm0, dword [0x935e50]
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 0x8f7b2d
mov eax, dword [ecx]
movss xmm3, dword [ecx + 0x268]
mulss xmm3, dword [eax + 0x3cf8]
mov eax, dword [ecx + 0x304]
test eax, eax
je 0x8f7b2d
mulss xmm3, dword [eax + 0x268]
movss xmm7, dword [ebp - 4]
movss xmm5, dword [0x935eb0]
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 + 0x4a34]
mov eax, dword [edi + 0x4a2c]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x8f7bd3
nop word [eax + eax]
mov eax, dword [ecx]
movss xmm3, dword [eax + 8]
comiss xmm7, xmm3
movss xmm2, dword [eax + 0xc]
movaps xmm1, xmm3
addss xmm1, dword [eax + 0x10]
movaps xmm0, xmm2
addss xmm0, dword [eax + 0x14]
jbe 0x8f7bb4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x8f7bbc
movaps xmm6, xmm2
comiss xmm1, xmm5
jbe 0x8f7bc4
movaps xmm5, xmm1
comiss xmm0, xmm4
jbe 0x8f7bcc
movaps xmm4, xmm0
add ecx, 4
cmp ecx, edx
jne 0x8f7b90
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.00907990
xor edx, edx
mov dword [edi + 0x3d24], 0
cmp byte [edi + 0x3980], dl
je 0x8f7c3b
mov dword [edi + 0x3d24], 1
mov edx, 1
cmp byte [edi + 0x3981], 0
mov ecx, edx
je 0x8f7c5d
mov eax, dword [edi + 0x3cf0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x8f7c5d
or ecx, 2
mov dword [edi + 0x3d24], ecx
cmp byte [edi + 0x3982], 0
je 0x8f7c6f
or ecx, 4
mov dword [edi + 0x3d24], ecx
test byte [edi + 0xc], 8
je 0x8f7c7e
or ecx, 8
mov dword [edi + 0x3d24], ecx
mov ecx, dword [edi + 0x4a34]
mov eax, dword [edi + 0x4a2c]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x8f7c9e
mov eax, dword [ecx]
add ecx, 4
mov byte [eax + 0x3c], 0
cmp ecx, edx
jne 0x8f7c91
cmp byte [edi + 0x4c30], 0
je 0x8f7cd8
mov eax, dword [edi + 0x4c48]
cmp eax, dword [edi + 0x3fdc]
jne 0x8f7cd8
mov ecx, dword [0x94544c]
cmp dword [ecx + 0x3fdc], eax
jne 0x8f7cc9
mov dword [ecx + 0x3fe0], eax
cmp dword [ecx + 0x4004], eax
jne 0x8f7cd8
mov byte [ecx + 0x4008], 1
cmp dword [edi + 0x3fcc], 0
jne 0x8f7ced
mov dword [edi + 0x3fd4], 0
jmp 0x8f7cff
mov eax, dword [edi + 0x3fc8]
test eax, eax
je 0x8f7d09
cmp dword [edi + 0x3fdc], eax
jne 0x8f7d09
mov dword [edi + 0x3fd8], 0
mov eax, dword [edi + 0x3fc8]
test eax, eax
je 0x8f7d43
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3fd4]
movss dword [edi + 0x3fd4], xmm0
cmp dword [edi + 0x3fdc], eax
je 0x8f7d43
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 0x8f7d98
cmp dword [edi + 0x3fe0], eax
je 0x8f7d98
cmp dword [edi + 0x4004], eax
jne 0x8f7d98
test byte [edi + 0x5e58], 1
je 0x8f7d8c
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.008ee7e0
add esp, 4
push 0
push 0
call fcn.008fb450
add esp, 8
mov ecx, dword [edi + 0x3fdc]
test ecx, ecx
je 0x8f7db7
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 0x8f7e21
cmp ecx, eax
je 0x8f7e21
mov dword [edi + 0x5c88], 0
test ecx, ecx
jne 0x8f7e3f
mov dword [edi + 0x48d4], ecx
mov dword [edi + 0x48c8], ecx
mov byte [edi + 0x48cc], cl
mov dword [edi + 0x48d4], ecx
jmp 0x8f7e67
mov eax, dword [edi + 0x48d4]
test eax, eax
je 0x8f7e67
test al, 2
je 0x8f7e67
mov eax, dword [0x94544c]
mov dword [eax + 0x40f0], ecx
mov dword [eax + 0x40ec], ecx
mov word [eax + 0x40f4], 0
mov ecx, dword [edi + 0x4d6c]
test ecx, ecx
je 0x8f7e8a
movss xmm0, dword [edi + 0x4d88]
comiss xmm0, dword [edi + 0x3cdc]
jb 0x8f7e94
mov dword [edi + 0x4d7c], ecx
jmp 0x8f7e94
mov dword [edi + 0x4d7c], 0
mov eax, dword [edi + 0x3f90]
test eax, eax
je 0x8f7eba
movss xmm0, dword [edi + 0x4d88]
comiss xmm0, dword [edi + 0x3cdc]
jb 0x8f7ec4
mov eax, dword [eax + 8]
mov dword [edi + 0x4d80], eax
jmp 0x8f7ec4
mov dword [edi + 0x4d80], 0
movss xmm0, dword [edi + 0x4d74]
mov dword [edi + 0x4d70], ecx
test ecx, ecx
je 0x8f7eef
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4d6c], 0
movss dword [edi + 0x4d74], xmm0
jmp 0x8f7f2f
comiss xmm0, dword [0x935dec]
jbe 0x8f7f39
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x935e14]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4d78]
addss xmm1, xmm1
movss dword [edi + 0x4d78], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x8f7f39
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.008fdc60
call fcn.008f4ee0
call fcn.008fe210
call fcn.008fd1a0
mov esi, dword [0x94544c]
mov ecx, dword [esi + 0x3f98]
test ecx, ecx
je 0x8f803e
mov eax, dword [esi + 0x3fdc]
mov dword [esi + 0x3fe0], eax
cmp dword [esi + 0x4004], eax
jne 0x8f7faf
mov byte [esi + 0x4008], 1
cmp byte [esi + 0xe08], 0
mov edx, dword [ecx + 0x30c]
je 0x8f8032
lea ecx, [esi + 0xe00]
test ecx, ecx
je 0x8f7fcc
mov eax, ecx
jmp 0x8f7fd6
mov eax, dword [0x94544c]
add eax, 0xe00
movss xmm0, dword [eax]
movss xmm1, dword [0x935eac]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x8f8032
comiss xmm2, xmm1
jb 0x8f8032
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.008fc290
push 0
push dword [esi + 0x3f98]
call fcn.008f0200
add esp, 0x14
jmp 0x8f807d
mov dword [esi + 0x3f98], 0
jmp 0x8f8071
mov ecx, dword [esi + 0x3ffc]
test ecx, ecx
je 0x8f807d
mov eax, dword [esi + 0x3fdc]
cmp dword [ecx + 0x74], eax
jne 0x8f807d
mov dword [esi + 0x3fe0], eax
cmp dword [esi + 0x4004], eax
jne 0x8f8068
mov byte [esi + 0x4008], 1
cmp byte [esi + 0xe08], 0
jne 0x8f807d
push 0
push 0
call fcn.008fb450
add esp, 8
mov eax, dword [0x94544c]
movss xmm2, dword [0x935e70]
mov edx, dword [eax + 0x4a08]
sub edx, 1
js 0x8f80bb
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 0x8f80b3
test dword [ecx + 0xc], 0x8000000
jne 0x8f80d4
sub eax, 0x28
sub edx, 1
jns 0x8f80a4
cmp dword [edi + 0x4c00], 0
je 0x8f80ef
movss xmm0, dword [edi + 0x4c10]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x8f80ef
movss xmm1, dword [edi + 0x18]
mulss xmm1, xmm2
addss xmm1, dword [edi + 0x4c2c]
minss xmm1, dword [0x935e50]
jmp 0x8f8110
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x935e78]
movss xmm1, dword [edi + 0x4c2c]
subss xmm1, xmm0
maxss xmm1, dword [0x935dec]
movss dword [edi + 0x4c2c], xmm1
movups xmm0, xmmword [edi + 0x5d9c]
mov dword [edi + 0x4d84], 0
mov dword [edi + 0x601c], 0xffffffff
mov dword [edi + 0x6018], 0xffffffff
mov dword [edi + 0x6014], 0xffffffff
movups xmmword [edi + 0x5dac], xmm0
mov byte [edi + 0x5d9c], 0
call fcn.008fe860
cmp byte [edi + 0x3f17], 0
jne 0x8f8187
movss xmm1, dword [edi + 0x4c]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x8f8187
movsd xmm0, qword [edi + 0x3f00]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [ebp - 4], xmm0
jmp 0x8f818c
movss xmm0, dword [ebp - 4]
mov ebx, dword [edi + 0x3f48]
mov eax, dword [edi + 0x3f40]
lea eax, [ebx + eax*4]
cmp ebx, eax
je 0x8f8305
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 0x8f82f2
cmp byte [esi + 0x368], al
jne 0x8f82f2
comiss xmm0, dword [esi + 0x248]
jbe 0x8f82f2
mov ecx, dword [esi + 0x270]
mov byte [esi + 0x368], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x360], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x364], eax
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x8f8254
push eax
mov dword [esi + 0xf0], 0
mov dword [esi + 0xec], 0
call fcn.008f3ad0
add esp, 4
mov dword [esi + 0xf4], 0
mov ecx, dword [esi + 0x270]
call fcn.009086b0
mov eax, dword [esi + 0x190]
test eax, eax
je 0x8f8290
push eax
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
call fcn.008f3ad0
add esp, 4
mov dword [esi + 0x190], 0
mov eax, dword [esi + 0x1bc]
test eax, eax
je 0x8f82c1
push eax
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
call fcn.008f3ad0
add esp, 4
mov dword [esi + 0x1bc], 0
mov eax, dword [esi + 0x1c8]
test eax, eax
je 0x8f82f2
push eax
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c0], 0
call fcn.008f3ad0
add esp, 4
mov dword [esi + 0x1c8], 0
movss xmm0, dword [ebp - 4]
add ebx, 4
cmp ebx, edi
jne 0x8f81b0
mov edi, dword [ebp - 0xc]
xor esi, esi
cmp dword [edi + 0x4d18], esi
jle 0x8f835d
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 0x8f834e
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm1
jbe 0x8f834e
mov eax, dword [edi + 0x4d00]
add eax, ebx
push eax
call fcn.009131f0
add esp, 4
xorps xmm0, xmm0
inc esi
add ebx, 0x200
cmp esi, dword [edi + 0x4d18]
jl 0x8f8320
imul ebx, dword [edi + 0x4cec], 0x6c
mov esi, dword [edi + 0x4cf4]
add ebx, esi
cmp esi, ebx
je 0x8f839a
xorps xmm0, xmm0
movss xmm1, dword [esi + 4]
comiss xmm1, xmm0
jb 0x8f8393
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm1
jbe 0x8f8393
push esi
call fcn.009132c0
add esp, 4
xorps xmm0, xmm0
add esi, 0x6c
cmp esi, ebx
jne 0x8f8373
cmp byte [edi + 0x3f17], 0
je 0x8f8410
mov esi, dword [0x94544c]
mov eax, dword [esi + 0x49f8]
test eax, eax
je 0x8f83da
push eax
mov dword [esi + 0x49f4], 0
mov dword [esi + 0x49f0], 0
call fcn.008f3ad0
add esp, 4
mov dword [esi + 0x49f8], 0
mov eax, dword [esi + 0x4a04]
test eax, eax
je 0x8f840b
push eax
mov dword [esi + 0x4a00], 0
mov dword [esi + 0x49fc], 0
call fcn.008f3ad0
add esp, 4
mov dword [esi + 0x4a04], 0
call fcn.00913010
mov eax, dword [edi + 0x4a38]
mov byte [edi + 0x3f17], 0
test eax, eax
je 0x8f8479
cmp byte [eax + 0xaf], 0
jne 0x8f8479
mov eax, dword [0x94544c]
mov edx, dword [eax + 0x3f4c]
sub edx, 1
js 0x8f846d
mov eax, dword [eax + 0x3f54]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x8f8465
cmp byte [ecx + 0xaf], 0
je 0x8f8465
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x8f8636
sub esi, 4
sub edx, 1
jns 0x8f8443
push 1
push 0
call fcn.008f0200
add esp, 8
mov ecx, dword [edi + 0x3f68]
test ecx, ecx
jns 0x8f84d8
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 0x8f84d8
imul eax, esi, 0x64
push eax
call fcn.008f3a40
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x3f6c]
test eax, eax
je 0x8f84cc
imul ecx, dword [edi + 0x3f64], 0x64
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
push dword [edi + 0x3f6c]
call fcn.008f3ad0
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.00900e50
mov ecx, dword [edi + 0x49f4]
lea esi, [edi + 0x49f0]
test ecx, ecx
jns 0x8f854e
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 0x8f854e
lea eax, [ebx*4]
push eax
call fcn.008f3a40
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 8], eax
test edx, edx
je 0x8f8548
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 8]
call fcn.008f3ad0
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.00900700
push 0
lea ecx, [edi + 0x49fc]
call fcn.00900dc0
mov ebx, dword [0x94544c]
mov dword [ebp - 8], ebx
cmp byte [ebx + 0x5e85], 0
mov dword [ebx + 0x5e88], 0
je 0x8f8759
mov eax, dword [0x94544c]
mov esi, dword [ebx + 0x3fcc]
push 1
push 0
push 0x20e
mov dword [ebp - 0x10], esi
mov dword [eax + 0x4d84], 7
call fcn.008f2980
add esp, 0xc
test al, al
je 0x8f85c7
mov byte [ebx + 0x5e85], 0
mov eax, dword [ebx + 0xe20]
xorps xmm0, xmm0
mov dword [ebp - 4], eax
cmp eax, 0x3000
je 0x8f8641
movzx ecx, byte [ebx + 0x5e86]
mov edx, dword [0x94544c]
cmp byte [edx + ecx + 0xe08], 0
je 0x8f8641
movss xmm1, dword [edx + ecx*4 + 0x3850]
comiss xmm0, xmm1
ja 0x8f8641
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x8f863e
lea eax, [ecx + 0x28f]
push 0
push eax
call fcn.008fcec0
add esp, 8
xorps xmm0, xmm0
test al, al
je 0x8f863e
mov eax, dword [ebp - 4]
test esi, esi
je 0x8f8641
mov dword [ebx + 0x5e88], esi
mov byte [ebx + 0x5e85], 0
jmp 0x8f8641
push 1
push ecx
jmp 0x8f8471
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
xor ebx, ebx
mov esi, 0x3850
nop dword [eax + eax]
cmp eax, 0x3000
jne 0x8f869c
mov eax, dword [0x94544c]
cmp byte [eax + ebx + 0xe08], 0
je 0x8f8699
movss xmm1, dword [eax + esi]
comiss xmm0, xmm1
ja 0x8f8699
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x8f8699
lea eax, [ebx + 0x28f]
push 0
push eax
call fcn.008fcec0
add esp, 8
test al, al
mov eax, dword [ebp - 4]
je 0x8f869c
mov byte [edi + 0x5e86], bl
jmp 0x8f869c
mov eax, dword [ebp - 4]
add esi, 4
inc ebx
xorps xmm0, xmm0
cmp esi, 0x385c
jl 0x8f8650
mov eax, dword [0x94544c]
push 0
push 0
or dword [eax + 0x4954], 0x40
mov dword [eax + 0x49ac], 0x3f333333
call fcn.008ecad0
mov edi, dword [ebp - 0xc]
add esp, 8
test al, al
je 0x8f8759
mov esi, dword [ebp - 0x10]
push esi
push str.HoveredId:_0x_08X
call fcn.00919890
push str.Press_ESC_to_abort_picking.
call fcn.00919890
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 0x8f8720
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.00919890
add esp, 4
jmp 0x8f8754
mov eax, dword [ebp - 8]
xor ecx, ecx
test esi, esi
movzx eax, byte [eax + 0x5e86]
push dword [ebp + eax*4 - 0x18]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x94544c]
add eax, 0x398c
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.00919900
add esp, 0xc
call fcn.008eec30
call fcn.008fd050
mov esi, dword [0x94544c]
xorps xmm0, xmm0
movss xmm1, dword [esi + 0x5e8c]
comiss xmm0, xmm1
jae 0x8f8840
mov ecx, dword [esi + 0x49bc]
lea eax, [esi + 0x3994]
mulss xmm1, dword [0x935e70]
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 [0x935e28]
addss xmm0, dword [0x935e28]
movss dword [esp], xmm0
call fcn.008ede50
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 + 0x5e8c]
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5e8c], xmm0
jb 0x8f8840
mov eax, dword [0x94544c]
mov ecx, dword [eax + 0x49bc]
cmp ecx, 0x35
je 0x8f8836
movups xmm0, xmmword [eax + 0x5e90]
add ecx, ecx
movups xmmword [eax + ecx*8 + 0x398c], xmm0
mov dword [eax + 0x49bc], 0x35
mov al, byte [edi + 0x5e7d]
test al, al
je 0x8f8865
sub al, 1
mov byte [edi + 0x5e7d], al
jne 0x8f8865
mov dword [edi + 0x48e0], 0
mov byte [edi + 0x5e7e], 0
mov al, byte [edi + 0x5e7c]
test al, al
je 0x8f889e
sub al, 1
mov byte [edi + 0x5e7c], al
jne 0x8f889e
push str._Debug_Log:_Auto_disabled_some_ImGuiDebugLogFlags_after_2_frames__n
call fcn.008ee7e0
mov eax, dword [edi + 0x5e78]
add esp, 4
not eax
mov dword [edi + 0x5e78], 0
and dword [edi + 0x5e58], eax
mov byte [edi + 0x3f15], 1
mov eax, dword [0x94544c]
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.008ea160
add esp, 0xc
cmp byte [edi + 0x66], 0
je 0x8f891b
mov cl, byte [edi + 0x5e84]
cmp cl, 0xff
jne 0x8f88f5
xor edx, edx
jmp 0x8f891e
mov eax, dword [edi + 0x3f08]
and eax, reloc.WS2_32.dll_closesocket
jns 0x8f8907
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 0x8f891e
or dl, 0xff
mov byte [edi + 0x5e84], dl
mov eax, dword [edi + 0x5df4]
mov esi, dword [edi + 0x5dfc]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x8f8957
nop word [eax + eax]
cmp dword [esi + 4], 1
jne 0x8f8950
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x8f8940
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret