Function at 0x10012a80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x101385c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x1013ab84]
mov dword [ebp - 0x1c], edi
mov eax, dword [edi + 0x5df4]
sub eax, 1
mov dword [ebp - 0x18], eax
js 0x10012b0e
lea ebx, [eax + eax*4]
shl ebx, 2
mov ecx, dword [edi + 0x5dfc]
cmp dword [ecx + ebx + 4], 7
jne 0x10012b03
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 fcn.100d26b0
mov eax, dword [ebp - 0x18]
add esp, 0xc
dec dword [edi + 0x5df4]
dec eax
sub ebx, 0x14
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x10012ab0
mov eax, dword [edi + 0x5df4]
mov esi, dword [edi + 0x5dfc]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x10012b3b
cmp dword [esi + 4], 0
jne 0x10012b34
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x10012b24
mov eax, dword [0x1013ab84]
cmp byte [eax + 0x4a], 0
je 0x10012b50
test byte [eax + 0xc], 2
jne 0x10012b50
mov byte [eax + 0x4a], 0
mov ebx, dword [0x1013ab84]
cmp byte [ebx + 0x5dbc], 0
jne 0x10012c41
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x10012c3a
push 0x10107e90
push eax
call fcn.1000c4b0
mov esi, eax
add esp, 8
test esi, esi
je 0x10012c3a
push esi
call fcn.100d74d6
add esp, 4
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x10012c31
push 2
push 0
push esi
call fcn.100d6db2
add esp, 0xc
test eax, eax
jne 0x10012c31
push esi
call fcn.100d74d6
add esp, 4
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x10012c31
push 0
push dword [ebp - 0x18]
push esi
call fcn.100d6db2
add esp, 0xc
test eax, eax
jne 0x10012c31
push dword [ebp - 0x14]
call fcn.1000ee80
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10012c31
push esi
push dword [ebp - 0x14]
push 1
push eax
call fcn.100d6954
add esp, 0x10
push esi
cmp eax, dword [ebp - 0x14]
je 0x10012c0d
call fcn.100d63e8
mov esi, dword [ebp - 0x18]
push esi
call fcn.1000ef10
add esp, 8
jmp 0x10012c3a
call fcn.100d63e8
mov eax, dword [ebp - 0x14]
add esp, 4
mov esi, dword [ebp - 0x18]
test eax, eax
je 0x10012c29
push eax
push esi
call fcn.1000e960
add esp, 8
push esi
call fcn.1000ef10
jmp 0x10012c37
push esi
call fcn.100d63e8
add esp, 4
mov byte [ebx + 0x5dbc], 1
movss xmm1, dword [ebx + 0x5dc0]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10012c86
subss xmm1, dword [ebx + 0x18]
comiss xmm0, xmm1
movss dword [ebx + 0x5dc0], xmm1
jb 0x10012c86
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x10012c75
push eax
call fcn.10016460
add esp, 4
jmp 0x10012c7c
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.1001bb40
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 [0x101080e8]
inc eax
cmp eax, ecx
mov dword [edi + 0x6008], edx
movss dword [ebp - 0x14], xmm0
cmovl ecx, eax
comiss xmm2, xmm1
mov dword [edi + 0x600c], ecx
movss xmm1, dword [0x10108088]
jbe 0x10012d54
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 0x10012d82
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.1001b9e0
mov dword [edi + 0x3f2c], 0
movzx eax, byte [edi + 0x46]
push eax
call fcn.10018300
mov esi, dword [0x1013ab84]
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 0x10012eac
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 0x10012de2
mov eax, dword [edi + 0x2c]
mov byte [eax + 0x10], 1
mov esi, dword [0x1013ab84]
mov ebx, dword [esi + 0x38]
test ebx, ebx
jne 0x10012ec8
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
movss xmm1, dword [esi + 0x30]
movss xmm0, dword [0x10108088]
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 0x10012f1f
mov eax, dword [ecx]
movss xmm3, dword [ecx + 0x268]
mulss xmm3, dword [eax + 0x3cf8]
mov eax, dword [ecx + 0x304]
test eax, eax
je 0x10012f1f
mulss xmm3, dword [eax + 0x268]
movss xmm7, dword [ebp - 0x14]
movss xmm5, dword [0x101080f4]
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 0x10012fc3
nop dword [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 0x10012fa4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x10012fac
movaps xmm6, xmm2
comiss xmm1, xmm5
jbe 0x10012fb4
movaps xmm5, xmm1
comiss xmm0, xmm4
jbe 0x10012fbc
movaps xmm4, xmm0
add ecx, 4
cmp ecx, edx
jne 0x10012f80
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.100229f0
xor edx, edx
mov dword [edi + 0x3d24], 0
cmp byte [edi + 0x3980], dl
je 0x1001302b
mov dword [edi + 0x3d24], 1
mov edx, 1
cmp byte [edi + 0x3981], 0
mov ecx, edx
je 0x1001304d
mov eax, dword [edi + 0x3cf0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1001304d
or ecx, 2
mov dword [edi + 0x3d24], ecx
cmp byte [edi + 0x3982], 0
je 0x1001305f
or ecx, 4
mov dword [edi + 0x3d24], ecx
test byte [edi + 0xc], 8
je 0x1001306e
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 0x1001308e
mov eax, dword [ecx]
add ecx, 4
mov byte [eax + 0x3c], 0
cmp ecx, edx
jne 0x10013081
cmp byte [edi + 0x4c30], 0
je 0x100130c8
mov eax, dword [edi + 0x4c48]
cmp eax, dword [edi + 0x3fdc]
jne 0x100130c8
mov ecx, dword [0x1013ab84]
cmp dword [ecx + 0x3fdc], eax
jne 0x100130b9
mov dword [ecx + 0x3fe0], eax
cmp dword [ecx + 0x4004], eax
jne 0x100130c8
mov byte [ecx + 0x4008], 1
cmp dword [edi + 0x3fcc], 0
jne 0x100130dd
mov dword [edi + 0x3fd4], 0
jmp 0x100130ef
mov eax, dword [edi + 0x3fc8]
test eax, eax
je 0x100130f9
cmp dword [edi + 0x3fdc], eax
jne 0x100130f9
mov dword [edi + 0x3fd8], 0
mov eax, dword [edi + 0x3fc8]
test eax, eax
je 0x10013133
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3fd4]
movss dword [edi + 0x3fd4], xmm0
cmp dword [edi + 0x3fdc], eax
je 0x10013133
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 0x10013188
cmp dword [edi + 0x3fe0], eax
je 0x10013188
cmp dword [edi + 0x4004], eax
jne 0x10013188
test byte [edi + 0x5e58], 1
je 0x1001317c
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.10009ad0
add esp, 4
push 0
push 0
call fcn.10016950
add esp, 8
mov ecx, dword [edi + 0x3fdc]
test ecx, ecx
je 0x100131a7
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 0x10013211
cmp ecx, eax
je 0x10013211
mov dword [edi + 0x5c88], 0
test ecx, ecx
jne 0x1001322f
mov dword [edi + 0x48d4], ecx
mov dword [edi + 0x48c8], ecx
mov byte [edi + 0x48cc], cl
mov dword [edi + 0x48d4], ecx
jmp 0x10013257
mov eax, dword [edi + 0x48d4]
test eax, eax
je 0x10013257
test al, 2
je 0x10013257
mov eax, dword [0x1013ab84]
mov dword [eax + 0x40f0], ecx
mov dword [eax + 0x40ec], ecx
mov word [eax + 0x40f4], 0
mov ecx, dword [edi + 0x4d6c]
test ecx, ecx
je 0x1001327a
movss xmm0, dword [edi + 0x4d88]
comiss xmm0, dword [edi + 0x3cdc]
jb 0x10013284
mov dword [edi + 0x4d7c], ecx
jmp 0x10013284
mov dword [edi + 0x4d7c], 0
mov eax, dword [edi + 0x3f90]
test eax, eax
je 0x100132aa
movss xmm0, dword [edi + 0x4d88]
comiss xmm0, dword [edi + 0x3cdc]
jb 0x100132b4
mov eax, dword [eax + 8]
mov dword [edi + 0x4d80], eax
jmp 0x100132b4
mov dword [edi + 0x4d80], 0
movss xmm0, dword [edi + 0x4d74]
mov dword [edi + 0x4d70], ecx
test ecx, ecx
je 0x100132df
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4d6c], 0
movss dword [edi + 0x4d74], xmm0
jmp 0x1001331f
comiss xmm0, dword [0x10108024]
jbe 0x10013329
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x10108050]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4d78]
addss xmm1, xmm1
movss dword [edi + 0x4d78], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x10013329
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.10018b50
call fcn.10010300
call fcn.10019100
call fcn.10018090
mov esi, dword [0x1013ab84]
mov ecx, dword [esi + 0x3f98]
test ecx, ecx
je 0x1001342e
mov eax, dword [esi + 0x3fdc]
mov dword [esi + 0x3fe0], eax
cmp dword [esi + 0x4004], eax
jne 0x1001339f
mov byte [esi + 0x4008], 1
cmp byte [esi + 0xe08], 0
mov edx, dword [ecx + 0x30c]
je 0x10013422
lea ecx, [esi + 0xe00]
test ecx, ecx
je 0x100133bc
mov eax, ecx
jmp 0x100133c6
mov eax, dword [0x1013ab84]
add eax, 0xe00
movss xmm0, dword [eax]
movss xmm1, dword [0x101080f0]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x10013422
comiss xmm2, xmm1
jb 0x10013422
movss xmm0, dword [ecx]
lea eax, [ebp - 0xc]
subss xmm0, dword [esi + 0x3ff4]
push 1
push eax
push edx
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [esi + 0x3ff8]
movss dword [ebp - 8], xmm0
call fcn.100179e0
push 0
push dword [esi + 0x3f98]
call fcn.1000b480
add esp, 0x14
jmp 0x1001346d
mov dword [esi + 0x3f98], 0
jmp 0x10013461
mov ecx, dword [esi + 0x3ffc]
test ecx, ecx
je 0x1001346d
mov eax, dword [esi + 0x3fdc]
cmp dword [ecx + 0x74], eax
jne 0x1001346d
mov dword [esi + 0x3fe0], eax
cmp dword [esi + 0x4004], eax
jne 0x10013458
mov byte [esi + 0x4008], 1
cmp byte [esi + 0xe08], 0
jne 0x1001346d
push 0
push 0
call fcn.10016950
add esp, 8
mov eax, dword [0x1013ab84]
movss xmm2, dword [0x101080b4]
mov edx, dword [eax + 0x4a08]
sub edx, 1
js 0x100134ab
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 0x100134a3
test dword [ecx + 0xc], 0x8000000
jne 0x100134c4
sub eax, 0x28
sub edx, 1
jns 0x10013494
cmp dword [edi + 0x4c00], 0
je 0x100134df
movss xmm0, dword [edi + 0x4c10]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100134df
movss xmm1, dword [edi + 0x18]
mulss xmm1, xmm2
addss xmm1, dword [edi + 0x4c2c]
minss xmm1, dword [0x10108088]
jmp 0x10013500
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x101080bc]
movss xmm1, dword [edi + 0x4c2c]
subss xmm1, xmm0
maxss xmm1, dword [0x10108024]
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.10019750
cmp byte [edi + 0x3f17], 0
jne 0x10013577
movss xmm1, dword [edi + 0x4c]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x10013577
movsd xmm0, qword [edi + 0x3f00]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
jmp 0x1001357c
movss xmm0, dword [ebp - 0x14]
mov ebx, dword [edi + 0x3f48]
mov eax, dword [edi + 0x3f40]
lea eax, [ebx + eax*4]
cmp ebx, eax
je 0x100136f5
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 0x100136e2
cmp byte [esi + 0x368], al
jne 0x100136e2
comiss xmm0, dword [esi + 0x248]
jbe 0x100136e2
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 0x10013644
push eax
mov dword [esi + 0xf0], 0
mov dword [esi + 0xec], 0
call fcn.1000ef10
add esp, 4
mov dword [esi + 0xf4], 0
mov ecx, dword [esi + 0x270]
call fcn.10023710
mov eax, dword [esi + 0x190]
test eax, eax
je 0x10013680
push eax
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
call fcn.1000ef10
add esp, 4
mov dword [esi + 0x190], 0
mov eax, dword [esi + 0x1bc]
test eax, eax
je 0x100136b1
push eax
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
call fcn.1000ef10
add esp, 4
mov dword [esi + 0x1bc], 0
mov eax, dword [esi + 0x1c8]
test eax, eax
je 0x100136e2
push eax
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c0], 0
call fcn.1000ef10
add esp, 4
mov dword [esi + 0x1c8], 0
movss xmm0, dword [ebp - 0x14]
add ebx, 4
cmp ebx, edi
jne 0x100135a0
mov edi, dword [ebp - 0x1c]
xor esi, esi
cmp dword [edi + 0x4d18], esi
jle 0x1001374d
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 0x1001373e
movss xmm2, dword [ebp - 0x14]
comiss xmm2, xmm1
jbe 0x1001373e
mov eax, dword [edi + 0x4d00]
add eax, ebx
push eax
call fcn.1002e510
add esp, 4
xorps xmm0, xmm0
inc esi
add ebx, 0x200
cmp esi, dword [edi + 0x4d18]
jl 0x10013710
imul ebx, dword [edi + 0x4cec], 0x6c
mov esi, dword [edi + 0x4cf4]
add ebx, esi
cmp esi, ebx
je 0x1001378a
xorps xmm0, xmm0
movss xmm1, dword [esi + 4]
comiss xmm1, xmm0
jb 0x10013783
movss xmm2, dword [ebp - 0x14]
comiss xmm2, xmm1
jbe 0x10013783
push esi
call fcn.1002e5e0
add esp, 4
xorps xmm0, xmm0
add esi, 0x6c
cmp esi, ebx
jne 0x10013763
cmp byte [edi + 0x3f17], 0
je 0x10013800
mov esi, dword [0x1013ab84]
mov eax, dword [esi + 0x49f8]
test eax, eax
je 0x100137ca
push eax
mov dword [esi + 0x49f4], 0
mov dword [esi + 0x49f0], 0
call fcn.1000ef10
add esp, 4
mov dword [esi + 0x49f8], 0
mov eax, dword [esi + 0x4a04]
test eax, eax
je 0x100137fb
push eax
mov dword [esi + 0x4a00], 0
mov dword [esi + 0x49fc], 0
call fcn.1000ef10
add esp, 4
mov dword [esi + 0x4a04], 0
call fcn.1002e330
mov eax, dword [edi + 0x4a38]
mov byte [edi + 0x3f17], 0
test eax, eax
je 0x10013869
cmp byte [eax + 0xaf], 0
jne 0x10013869
mov eax, dword [0x1013ab84]
mov edx, dword [eax + 0x3f4c]
sub edx, 1
js 0x1001385d
mov eax, dword [eax + 0x3f54]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x10013855
cmp byte [ecx + 0xaf], 0
je 0x10013855
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x10013a26
sub esi, 4
sub edx, 1
jns 0x10013833
push 1
push 0
call fcn.1000b480
add esp, 8
mov ecx, dword [edi + 0x3f68]
test ecx, ecx
jns 0x100138c8
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 0x100138c8
imul eax, esi, 0x64
push eax
call fcn.1000ee80
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x3f6c]
test eax, eax
je 0x100138bc
imul ecx, dword [edi + 0x3f64], 0x64
push ecx
push eax
push ebx
call fcn.100d26b0
push dword [edi + 0x3f6c]
call fcn.1000ef10
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.1001bc50
mov ecx, dword [edi + 0x49f4]
lea esi, [edi + 0x49f0]
test ecx, ecx
jns 0x1001393e
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 0x1001393e
lea eax, [ebx*4]
push eax
call fcn.1000ee80
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x18], eax
test edx, edx
je 0x10013938
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call fcn.100d26b0
push dword [esi + 8]
call fcn.1000ef10
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.1001b500
push 0
lea ecx, [edi + 0x49fc]
call fcn.1001bbc0
mov ebx, dword [0x1013ab84]
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 0x5e85], 0
mov dword [ebx + 0x5e88], 0
je 0x10013b49
mov eax, dword [0x1013ab84]
mov esi, dword [ebx + 0x3fcc]
push 1
push 0
push 0x20e
mov dword [ebp - 8], esi
mov dword [eax + 0x4d84], 7
call fcn.1000dc10
add esp, 0xc
test al, al
je 0x100139b7
mov byte [ebx + 0x5e85], 0
mov eax, dword [ebx + 0xe20]
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
cmp eax, 0x3000
je 0x10013a31
movzx ecx, byte [ebx + 0x5e86]
mov edx, dword [0x1013ab84]
cmp byte [edx + ecx + 0xe08], 0
je 0x10013a31
movss xmm1, dword [edx + ecx*4 + 0x3850]
comiss xmm0, xmm1
ja 0x10013a31
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10013a2e
lea eax, [ecx + 0x28f]
push 0
push eax
call fcn.10017db0
add esp, 8
xorps xmm0, xmm0
test al, al
je 0x10013a2e
mov eax, dword [ebp - 0x14]
test esi, esi
je 0x10013a31
mov dword [ebx + 0x5e88], esi
mov byte [ebx + 0x5e85], 0
jmp 0x10013a31
push 1
push ecx
jmp 0x10013861
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
xor ebx, ebx
mov esi, 0x3850
nop dword [eax + eax]
cmp eax, 0x3000
jne 0x10013a8c
mov eax, dword [0x1013ab84]
cmp byte [eax + ebx + 0xe08], 0
je 0x10013a89
movss xmm1, dword [eax + esi]
comiss xmm0, xmm1
ja 0x10013a89
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10013a89
lea eax, [ebx + 0x28f]
push 0
push eax
call fcn.10017db0
add esp, 8
test al, al
mov eax, dword [ebp - 0x14]
je 0x10013a8c
mov byte [edi + 0x5e86], bl
jmp 0x10013a8c
mov eax, dword [ebp - 0x14]
add esi, 4
inc ebx
xorps xmm0, xmm0
cmp esi, 0x385c
jl 0x10013a40
mov eax, dword [0x1013ab84]
push 0
push 0
or dword [eax + 0x4954], 0x40
mov dword [eax + 0x49ac], 0x3f333333
call fcn.10007cf0
mov edi, dword [ebp - 0x1c]
add esp, 8
test al, al
je 0x10013b49
mov esi, dword [ebp - 8]
push esi
push str.HoveredId:_0x_08X
call fcn.100342e0
push str.Press_ESC_to_abort_picking.
call fcn.100342e0
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 0x10013b10
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.100342e0
add esp, 4
jmp 0x10013b44
mov eax, dword [ebp - 0x18]
xor ecx, ecx
test esi, esi
movzx eax, byte [eax + 0x5e86]
push dword [ebp + eax*4 - 0x10]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x1013ab84]
add eax, 0x398c
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.10034340
add esp, 0xc
call fcn.10009f10
call fcn.10017f40
mov esi, dword [0x1013ab84]
xorps xmm0, xmm0
movss xmm1, dword [esi + 0x5e8c]
comiss xmm0, xmm1
jae 0x10013c30
mov ecx, dword [esi + 0x49bc]
lea eax, [esi + 0x3994]
mulss xmm1, dword [0x101080b4]
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 fcn.100e1220
cvtsd2ss xmm0, xmm0
push ecx
mulss xmm0, dword [0x10108060]
addss xmm0, dword [0x10108060]
movss dword [esp], xmm0
call fcn.100091d0
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 0x10013c30
mov eax, dword [0x1013ab84]
mov ecx, dword [eax + 0x49bc]
cmp ecx, 0x35
je 0x10013c26
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 0x10013c55
sub al, 1
mov byte [edi + 0x5e7d], al
jne 0x10013c55
mov dword [edi + 0x48e0], 0
mov byte [edi + 0x5e7e], 0
mov al, byte [edi + 0x5e7c]
test al, al
je 0x10013c8e
sub al, 1
mov byte [edi + 0x5e7c], al
jne 0x10013c8e
push str._Debug_Log:_Auto_disabled_some_ImGuiDebugLogFlags_after_2_frames__n
call fcn.10009ad0
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 [0x1013ab84]
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.10005240
add esp, 0xc
cmp byte [edi + 0x66], 0
je 0x10013d0b
mov cl, byte [edi + 0x5e84]
cmp cl, 0xff
jne 0x10013ce5
xor edx, edx
jmp 0x10013d0e
mov eax, dword [edi + 0x3f08]
and eax, reloc.WS2_32.dll_closesocket
jns 0x10013cf7
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 0x10013d0e
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 0x10013d47
nop word [eax + eax]
cmp dword [esi + 4], 1
jne 0x10013d40
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x10013d30
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b62e4
mov esp, ebp
pop ebp
ret