Function at 0x1005e9c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [0x1009400c]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [0x101db19c]
mov ebp, dword [edi + 0x5d68]
sub ebp, 1
js 0x1005ea48
lea ebx, [ebp*4]
add ebx, ebp
shl ebx, 2
nop
mov ecx, dword [edi + 0x5d70]
cmp dword [ecx + ebx + 4], 7
jne 0x1005ea40
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 + 0x5d68]
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
add esp, 0xc
dec dword [edi + 0x5d68]
sub ebx, 0x14
sub ebp, 1
jns 0x1005e9f0
mov eax, dword [edi + 0x5d68]
mov esi, dword [edi + 0x5d70]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x1005ea77
nop
cmp dword [esi + 4], 0
jne 0x1005ea70
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x1005ea60
mov eax, dword [0x101db19c]
cmp byte [eax + 0x4a], 0
je 0x1005ea8c
test byte [eax + 0xc], 2
jne 0x1005ea8c
mov byte [eax + 0x4a], 0
mov ebx, dword [0x101db19c]
cmp byte [ebx + 0x5d30], 0
jne 0x1005eb7b
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1005eb74
push 0x100895e8
push eax
call fcn.100592a0
mov esi, eax
add esp, 8
test esi, esi
je 0x1005eb74
mov ebp, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebp
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x1005eb6a
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 0x1005eb6a
push esi
call ebp
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x1005eb6a
push 0
push dword [esp + 0x14]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1005eb6a
push ebp
call fcn.1005b090
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x1005eb6a
push esi
push ebp
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, ebp
je 0x1005eb47
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov esi, dword [esp + 0x14]
push esi
call fcn.1005b0d0
add esp, 8
jmp 0x1005eb74
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov esi, dword [esp + 0x14]
add esp, 4
test ebp, ebp
je 0x1005eb62
push ebp
push esi
call fcn.1005ab20
add esp, 8
push esi
call fcn.1005b0d0
jmp 0x1005eb71
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov byte [ebx + 0x5d30], 1
movss xmm1, dword [ebx + 0x5d34]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1005ebc0
subss xmm1, dword [ebx + 0x18]
comiss xmm0, xmm1
movss dword [ebx + 0x5d34], xmm1
jb 0x1005ebc0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1005ebaf
push eax
call fcn.10062460
add esp, 4
jmp 0x1005ebb6
mov byte [ebx + 0x92], 1
mov dword [ebx + 0x5d34], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3f08]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x3f14], 1
mov word [edi + 0x5c94], ax
mov dword [edi + 0x3f7c], eax
addsd xmm0, qword [edi + 0x3f00]
movsd qword [edi + 0x3f00], xmm0
mov ecx, dword [edi + 0x5ca8]
test ecx, ecx
jns 0x1005ec1a
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 + 0x5ca4]
call fcn.10067ac0
mov dword [edi + 0x5ca4], 0
mov ecx, 0x3c
mov eax, dword [edi + 0x5f54]
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x1008b888]
subss xmm0, dword [edi + eax*4 + 0x5e64]
addss xmm0, dword [edi + 0x5f5c]
movss dword [edi + 0x5f5c], xmm0
movss dword [edi + eax*4 + 0x5e64], xmm1
mov eax, dword [edi + 0x5f54]
inc eax
movss xmm1, dword [edi + 0x5f5c]
cdq
idiv ecx
mov eax, dword [edi + 0x5f58]
movss xmm0, dword [0x100821f8]
inc eax
cmp eax, ecx
mov dword [edi + 0x5f54], edx
movss dword [esp + 0x10], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x1008b820]
mov dword [edi + 0x5f58], ecx
jbe 0x1005ecb4
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [edi + 0x98], xmm0
mov ecx, dword [edi + 0x3f30]
test ecx, ecx
jns 0x1005ece2
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.10067bc0
mov dword [edi + 0x3f2c], 0
movzx eax, byte [edi + 0x46]
push eax
call fcn.100642d0
mov esi, dword [0x101db19c]
add esp, 4
xorps xmm3, xmm3
mov eax, dword [esi + 0x49ec]
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 + 0x49ec]
mov eax, dword [esi + 0x49e4]
lea esi, [ebx + eax*4]
cmp ebx, esi
je 0x1005ee0b
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 0x1005ed41
mov eax, dword [edi + 0x2c]
mov byte [eax + 0x10], 1
mov esi, dword [0x101db19c]
mov ebx, dword [esi + 0x38]
test ebx, ebx
jne 0x1005ee27
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
movss xmm1, dword [esi + 0x30]
movss xmm0, dword [0x1008b888]
mov ecx, dword [esi + 0x3f88]
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 0x1005ee7e
mov eax, dword [ecx]
movss xmm3, dword [ecx + 0x264]
mulss xmm3, dword [eax + 0x3cf8]
mov eax, dword [ecx + 0x300]
test eax, eax
je 0x1005ee7e
mulss xmm3, dword [eax + 0x264]
movss xmm7, dword [esp + 0x10]
movss xmm5, dword [0x10082200]
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 + 0x49ec]
mov eax, dword [edi + 0x49e4]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1005ef23
nop dword [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 0x1005ef04
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1005ef0c
movaps xmm6, xmm2
comiss xmm1, xmm5
jbe 0x1005ef14
movaps xmm5, xmm1
comiss xmm0, xmm4
jbe 0x1005ef1c
movaps xmm4, xmm0
add ecx, 4
cmp ecx, edx
jne 0x1005eee0
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.1006e9f0
xor edx, edx
mov dword [edi + 0x3d24], 0
cmp byte [edi + 0x3980], dl
je 0x1005ef8b
mov dword [edi + 0x3d24], 1
mov edx, 1
cmp byte [edi + 0x3981], 0
mov ecx, edx
je 0x1005efad
mov eax, dword [edi + 0x3cf0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1005efad
or ecx, 2
mov dword [edi + 0x3d24], ecx
cmp byte [edi + 0x3982], 0
je 0x1005efbf
or ecx, 4
mov dword [edi + 0x3d24], ecx
test byte [edi + 0xc], 8
je 0x1005efce
or ecx, 8
mov dword [edi + 0x3d24], ecx
mov ecx, dword [edi + 0x49ec]
mov eax, dword [edi + 0x49e4]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1005efee
mov eax, dword [ecx]
add ecx, 4
mov byte [eax + 0x38], 0
cmp ecx, edx
jne 0x1005efe1
cmp byte [edi + 0x4bcc], 0
je 0x1005f028
mov eax, dword [edi + 0x4be4]
cmp eax, dword [edi + 0x3fd8]
jne 0x1005f028
mov ecx, dword [0x101db19c]
cmp dword [ecx + 0x3fd8], eax
jne 0x1005f019
mov dword [ecx + 0x3fdc], eax
cmp dword [ecx + 0x4000], eax
jne 0x1005f028
mov byte [ecx + 0x4004], 1
cmp dword [edi + 0x3fc8], 0
jne 0x1005f03d
mov dword [edi + 0x3fd0], 0
jmp 0x1005f04f
mov eax, dword [edi + 0x3fc4]
test eax, eax
je 0x1005f059
cmp dword [edi + 0x3fd8], eax
jne 0x1005f059
mov dword [edi + 0x3fd4], 0
mov eax, dword [edi + 0x3fc4]
test eax, eax
je 0x1005f093
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3fd0]
movss dword [edi + 0x3fd0], xmm0
cmp dword [edi + 0x3fd8], eax
je 0x1005f093
addss xmm1, dword [edi + 0x3fd4]
movss dword [edi + 0x3fd4], xmm1
mov dword [edi + 0x3fc8], eax
mov eax, dword [edi + 0x3fd8]
mov dword [edi + 0x3fc4], 0
mov word [edi + 0x3fcc], 0
test eax, eax
je 0x1005f0e8
cmp dword [edi + 0x3fdc], eax
je 0x1005f0e8
cmp dword [edi + 0x4000], eax
jne 0x1005f0e8
test byte [edi + 0x5dcc], 1
je 0x1005f0dc
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.10056e40
add esp, 4
push 0
push 0
call fcn.10062970
add esp, 8
mov ecx, dword [edi + 0x3fd8]
test ecx, ecx
je 0x1005f107
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3fe0]
movss dword [edi + 0x3fe0], xmm0
mov eax, dword [edi + 0x3ff4]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x4010]
mov dword [edi + 0x4008], eax
mov al, byte [edi + 0x3fe8]
mov byte [edi + 0x4005], al
mov eax, dword [edi + 0x5c04]
movss dword [edi + 0x4010], xmm0
mov dword [edi + 0x4000], ecx
mov dword [edi + 0x3fdc], 0
mov byte [edi + 0x3fe9], 0
mov byte [edi + 0x4004], 0
mov byte [edi + 0x3fe4], 0
test eax, eax
je 0x1005f171
cmp ecx, eax
je 0x1005f171
mov dword [edi + 0x5c04], 0
test ecx, ecx
jne 0x1005f18f
mov dword [edi + 0x48a0], ecx
mov dword [edi + 0x4898], ecx
mov byte [edi + 0x489c], cl
mov dword [edi + 0x48a0], ecx
jmp 0x1005f1b7
mov eax, dword [edi + 0x48a0]
test eax, eax
je 0x1005f1b7
test al, 2
je 0x1005f1b7
mov eax, dword [0x101db19c]
mov dword [eax + 0x40c0], ecx
mov dword [eax + 0x40bc], ecx
mov word [eax + 0x40c4], 0
mov ecx, dword [edi + 0x4cf4]
test ecx, ecx
je 0x1005f1da
movss xmm0, dword [edi + 0x4d10]
comiss xmm0, dword [edi + 0x3cdc]
jb 0x1005f1e4
mov dword [edi + 0x4d04], ecx
jmp 0x1005f1e4
mov dword [edi + 0x4d04], 0
mov eax, dword [edi + 0x3f8c]
test eax, eax
je 0x1005f20a
movss xmm0, dword [edi + 0x4d10]
comiss xmm0, dword [edi + 0x3cdc]
jb 0x1005f214
mov eax, dword [eax + 8]
mov dword [edi + 0x4d08], eax
jmp 0x1005f214
mov dword [edi + 0x4d08], 0
movss xmm0, dword [edi + 0x4cfc]
mov dword [edi + 0x4cf8], ecx
test ecx, ecx
je 0x1005f23f
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4cf4], 0
movss dword [edi + 0x4cfc], xmm0
jmp 0x1005f27f
comiss xmm0, dword [0x1008b820]
jbe 0x1005f289
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x1008b850]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4d00]
addss xmm1, xmm1
movss dword [edi + 0x4d00], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1005f289
mov dword [edi + 0x4cfc], 0
mov dword [edi + 0x4d00], 0
mov eax, dword [edi + 0x4c30]
mov dword [edi + 0x4c34], eax
mov dword [edi + 0x4c30], 0
mov dword [edi + 0x4c2c], 0x7f7fffff
mov word [edi + 0x4bcd], 0
mov dword [edi + 0x4c3c], 0
call fcn.10064a70
call fcn.1005c4b0
call fcn.10064fb0
call fcn.10064070
mov esi, dword [0x101db19c]
mov ecx, dword [esi + 0x3f94]
test ecx, ecx
je 0x1005f391
mov eax, dword [esi + 0x3fd8]
mov dword [esi + 0x3fdc], eax
cmp dword [esi + 0x4000], eax
jne 0x1005f2ff
mov byte [esi + 0x4004], 1
cmp byte [esi + 0xe08], 0
mov edx, dword [ecx + 0x308]
je 0x1005f385
lea ecx, [esi + 0xe00]
test ecx, ecx
je 0x1005f31c
mov eax, ecx
jmp 0x1005f326
mov eax, dword [0x101db19c]
add eax, 0xe00
movss xmm0, dword [eax]
movss xmm1, dword [0x100821fc]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1005f385
comiss xmm2, xmm1
jb 0x1005f385
movss xmm0, dword [ecx]
lea eax, [esp + 0x14]
subss xmm0, dword [esi + 0x3fec]
push 1
push eax
push edx
movss dword [esp + 0x20], xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [esi + 0x3ff0]
movss dword [esp + 0x24], xmm0
call fcn.10063180
push 0
push dword [esi + 0x3f94]
call fcn.10058520
add esp, 0x14
jmp 0x1005f3d0
mov dword [esi + 0x3f94], 0
jmp 0x1005f3c4
mov ecx, dword [esi + 0x3ff4]
test ecx, ecx
je 0x1005f3d0
mov eax, dword [esi + 0x3fd8]
cmp dword [ecx + 0x74], eax
jne 0x1005f3d0
mov dword [esi + 0x3fdc], eax
cmp dword [esi + 0x4000], eax
jne 0x1005f3bb
mov byte [esi + 0x4004], 1
cmp byte [esi + 0xe08], 0
jne 0x1005f3d0
push 0
push 0
call fcn.10062970
add esp, 8
mov eax, dword [0x101db19c]
mov edx, dword [eax + 0x49bc]
sub edx, 1
js 0x1005f407
mov eax, dword [eax + 0x49c4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x1005f3ff
test dword [ecx + 0xc], 0x8000000
jne 0x1005f421
sub eax, 0x28
sub edx, 1
jns 0x1005f3f0
cmp dword [edi + 0x4ba0], 0
je 0x1005f440
movss xmm0, dword [edi + 0x4bb0]
comiss xmm0, dword [0x1008b820]
jbe 0x1005f440
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x1008b968]
addss xmm1, dword [edi + 0x4bc8]
minss xmm1, dword [0x1008b888]
jmp 0x1005f461
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1008b974]
movss xmm1, dword [edi + 0x4bc8]
subss xmm1, xmm0
maxss xmm1, dword [0x1008b820]
movss dword [edi + 0x4bc8], xmm1
movups xmm0, xmmword [edi + 0x5d10]
mov dword [edi + 0x4d0c], 0
mov dword [edi + 0x5f68], 0xffffffff
mov dword [edi + 0x5f64], 0xffffffff
mov dword [edi + 0x5f60], 0xffffffff
movups xmmword [edi + 0x5d20], xmm0
mov byte [edi + 0x5d10], 0
call fcn.100655b0
cmp byte [edi + 0x3f17], 0
jne 0x1005f4d9
movss xmm1, dword [edi + 0x4c]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1005f4d9
movsd xmm0, qword [edi + 0x3f00]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
jmp 0x1005f4df
movss xmm0, dword [esp + 0x10]
mov ebx, dword [edi + 0x3f48]
mov eax, dword [edi + 0x3f40]
lea ebp, [ebx + eax*4]
cmp ebx, ebp
je 0x1005f653
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 0x1005f642
cmp byte [esi + 0x360], al
jne 0x1005f642
comiss xmm0, dword [esi + 0x244]
jbe 0x1005f642
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 0x1005f5a4
push eax
mov dword [esi + 0xf0], 0
mov dword [esi + 0xec], 0
call fcn.1005b0d0
add esp, 4
mov dword [esi + 0xf4], 0
mov ecx, dword [esi + 0x26c]
call fcn.1006f720
mov eax, dword [esi + 0x190]
test eax, eax
je 0x1005f5e0
push eax
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
call fcn.1005b0d0
add esp, 4
mov dword [esi + 0x190], 0
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x1005f611
push eax
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b0], 0
call fcn.1005b0d0
add esp, 4
mov dword [esi + 0x1b8], 0
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x1005f642
push eax
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1bc], 0
call fcn.1005b0d0
add esp, 4
mov dword [esi + 0x1c4], 0
movss xmm0, dword [esp + 0x10]
add ebx, 4
cmp ebx, ebp
jne 0x1005f500
xor esi, esi
cmp dword [edi + 0x4ca0], esi
jle 0x1005f6a0
xor ebx, ebx
xorps xmm0, xmm0
mov eax, dword [edi + 0x4ca8]
movss xmm1, dword [eax + esi*4]
comiss xmm1, xmm0
jb 0x1005f691
movss xmm2, dword [esp + 0x10]
comiss xmm2, xmm1
jbe 0x1005f691
mov eax, dword [edi + 0x4c88]
add eax, ebx
push eax
call fcn.10079c80
add esp, 4
xorps xmm0, xmm0
inc esi
add ebx, 0x200
cmp esi, dword [edi + 0x4ca0]
jl 0x1005f662
imul ebx, dword [edi + 0x4c74], 0x6c
mov esi, dword [edi + 0x4c7c]
add ebx, esi
cmp esi, ebx
je 0x1005f6de
xorps xmm0, xmm0
movss xmm1, dword [esi + 4]
comiss xmm1, xmm0
jb 0x1005f6d7
movss xmm2, dword [esp + 0x10]
comiss xmm2, xmm1
jbe 0x1005f6d7
push esi
call fcn.10079d40
add esp, 4
xorps xmm0, xmm0
add esi, 0x6c
cmp esi, ebx
jne 0x1005f6b6
cmp byte [edi + 0x3f17], 0
je 0x1005f754
mov esi, dword [0x101db19c]
mov eax, dword [esi + 0x49ac]
test eax, eax
je 0x1005f71e
push eax
mov dword [esi + 0x49a8], 0
mov dword [esi + 0x49a4], 0
call fcn.1005b0d0
add esp, 4
mov dword [esi + 0x49ac], 0
mov eax, dword [esi + 0x49b8]
test eax, eax
je 0x1005f74f
push eax
mov dword [esi + 0x49b4], 0
mov dword [esi + 0x49b0], 0
call fcn.1005b0d0
add esp, 4
mov dword [esi + 0x49b8], 0
call fcn.10079aa0
mov eax, dword [edi + 0x49f0]
mov byte [edi + 0x3f17], 0
test eax, eax
je 0x1005f7bd
cmp byte [eax + 0xaf], 0
jne 0x1005f7bd
mov eax, dword [0x101db19c]
mov edx, dword [eax + 0x3f4c]
sub edx, 1
js 0x1005f7b1
mov eax, dword [eax + 0x3f54]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x1005f7a9
cmp byte [ecx + 0xaf], 0
je 0x1005f7a9
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x1005f935
sub esi, 4
sub edx, 1
jns 0x1005f787
push 1
push 0
call fcn.10058520
add esp, 8
mov ecx, dword [edi + 0x3f68]
test ecx, ecx
jns 0x1005f7e3
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 + 0x3f64]
call fcn.10067d50
mov dword [edi + 0x3f64], 0
mov ecx, dword [edi + 0x49cc]
test ecx, ecx
jns 0x1005f813
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 + 0x49c8]
call fcn.10067b40
lea esi, [edi + 0x49a4]
mov dword [edi + 0x49c8], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1005f842
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10067ac0
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1005f857
push 8
mov ecx, esi
call fcn.10067ac0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x49b0]
inc dword [esi]
call fcn.10067fc0
mov ebp, dword [0x101db19c]
cmp byte [ebp + 0x5def], 0
mov dword [ebp + 0x5df4], 0
je 0x1005fa52
mov eax, dword [0x101db19c]
mov ebx, dword [ebp + 0x3fc8]
push 1
push 0
push 0x20e
mov dword [esp + 0x20], ebx
mov dword [eax + 0x4d0c], 7
call fcn.1005a100
add esp, 0xc
test al, al
je 0x1005f8c4
mov byte [ebp + 0x5def], 0
mov eax, dword [ebp + 0xe20]
xorps xmm0, xmm0
mov dword [esp + 0x10], eax
cmp eax, 0x3000
je 0x1005f941
movzx ecx, byte [ebp + 0x5df0]
mov edx, dword [0x101db19c]
cmp byte [edx + ecx + 0xe08], 0
je 0x1005f941
movss xmm1, dword [edx + ecx*4 + 0x3850]
comiss xmm0, xmm1
ja 0x1005f941
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1005f93d
lea eax, [ecx + 0x28f]
push 0
push eax
call fcn.10063e80
add esp, 8
xorps xmm0, xmm0
test al, al
je 0x1005f93d
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x1005f941
mov dword [ebp + 0x5df4], ebx
mov byte [ebp + 0x5def], 0
jmp 0x1005f941
push 1
push ecx
jmp 0x1005f7b5
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov esi, 0x3850
cmp eax, 0x3000
jne 0x1005f996
mov eax, dword [0x101db19c]
cmp byte [eax + ebx + 0xe08], 0
je 0x1005f992
movss xmm1, dword [esi + eax]
comiss xmm0, xmm1
ja 0x1005f992
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1005f992
lea eax, [ebx + 0x28f]
push 0
push eax
call fcn.10063e80
add esp, 8
test al, al
mov eax, dword [esp + 0x10]
je 0x1005f996
mov byte [ebp + 0x5df0], bl
jmp 0x1005f996
mov eax, dword [esp + 0x10]
add esi, 4
inc ebx
xorps xmm0, xmm0
cmp esi, 0x385c
jl 0x1005f948
mov eax, dword [0x101db19c]
push 0
push 0
or dword [eax + 0x490c], 0x40
mov dword [eax + 0x4964], 0x3f333333
call fcn.10055380
add esp, 8
test al, al
je 0x1005fa52
mov esi, dword [esp + 0x14]
push esi
push str.HoveredId:_0x_08X
call fcn.10078e80
push str.Press_ESC_to_abort_picking.
call fcn.10078e80
add esp, 0xc
mov dword [esp + 0x14], str.Left
cmp dword [esp + 0x10], 0x3000
mov dword [esp + 0x18], str.Right
mov dword [esp + 0x1c], str.Middle
jne 0x1005fa1c
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.10078e80
add esp, 4
jmp 0x1005fa4d
movzx eax, byte [ebp + 0x5df0]
xor ecx, ecx
test esi, esi
push dword [esp + eax*4 + 0x14]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x101db19c]
add eax, 0x398c
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.10078ee0
add esp, 0xc
call fcn.100572a0
mov esi, dword [0x101db19c]
mov dword [esi + 0x3fc0], 0
mov eax, dword [esi + 0x5e08]
inc eax
cmp dword [esi + 0x3f08], eax
jne 0x1005fb3a
mov ebx, dword [esi + 0x3fc8]
test ebx, ebx
jne 0x1005fa85
mov ebx, dword [esi + 0x3fd8]
cmp dword [esi + 0x5e10], ebx
je 0x1005facd
mov dword [esi + 0x5e10], ebx
mov dword [esi + 0x5e0c], 0xffffffff
mov ecx, dword [esi + 0x5e18]
test ecx, ecx
jns 0x1005fac3
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, [esi + 0x5e14]
call fcn.10067cd0
mov dword [esi + 0x5e14], 0
test ebx, ebx
je 0x1005fb3a
mov eax, dword [esi + 0x5e0c]
test eax, eax
js 0x1005fb03
mov ecx, eax
cmp eax, dword [esi + 0x5e14]
jge 0x1005fb16
mov ebp, dword [esi + 0x5e1c]
lea edx, [eax + eax*8]
cmp byte [ebp + edx*8 + 5], 0
jne 0x1005fafc
cmp byte [ebp + edx*8 + 4], 2
jle 0x1005fb16
inc eax
mov dword [esi + 0x5e0c], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x1005fb12
mov dword [esi + 0x3fc0], ebx
jmp 0x1005fb3a
test ecx, ecx
js 0x1005fb3a
cmp ecx, dword [esi + 0x5e14]
jge 0x1005fb3a
mov eax, dword [esi + 0x5e1c]
lea ecx, [ecx + ecx*8]
mov eax, dword [eax + ecx*8]
mov dword [esi + 0x3fc0], eax
mov eax, dword [esi + 0x5e1c]
inc byte [eax + ecx*8 + 4]
mov al, byte [edi + 0x5ded]
test al, al
je 0x1005fb58
sub al, 1
mov byte [edi + 0x5ded], al
jne 0x1005fb58
mov dword [edi + 0x48ac], 0
mov al, byte [edi + 0x5dec]
test al, al
je 0x1005fb80
sub al, 1
mov byte [edi + 0x5dec], al
jne 0x1005fb80
push str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.10056e40
add esp, 4
and dword [edi + 0x5dcc], 0xffffffef
mov byte [edi + 0x3f15], 1
mov eax, dword [0x101db19c]
push 0
push 0
push str.DebugDefault
or dword [eax + 0x490c], 2
mov dword [eax + 0x492c], 0x43c80000
mov dword [eax + 0x4930], 0x43c80000
mov dword [eax + 0x4914], 4
call fcn.10052fa0
add esp, 0xc
cmp byte [edi + 0x65], 0
je 0x1005fbfd
mov cl, byte [edi + 0x5dee]
cmp cl, 0xff
jne 0x1005fbd7
xor edx, edx
jmp 0x1005fc00
mov eax, dword [edi + 0x3f08]
and eax, 0x80000003
jns 0x1005fbe9
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 0x1005fc00
or dl, 0xff
mov byte [edi + 0x5dee], dl
mov eax, dword [edi + 0x5d68]
mov esi, dword [edi + 0x5d70]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x1005fc37
nop dword [eax]
cmp dword [esi + 4], 1
jne 0x1005fc30
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x1005fc20
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1004d763
add esp, 0x14
ret