Function at 0x1001e050
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [0x100b9cac]
mov ebp, dword [edi + 0x5f14]
sub ebp, 1
js 0x1001e0d8
lea ebx, [ebp*4]
add ebx, ebp
shl ebx, 2
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [edi + 0x5f1c]
cmp dword [ecx + ebx + 4], 7
jne 0x1001e0d0
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 + 0x5f14]
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 + 0x5f14]
sub ebx, 0x14
sub ebp, 1
jns 0x1001e080
mov eax, dword [edi + 0x5f14]
mov esi, dword [edi + 0x5f1c]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x1001e107
nop
cmp dword [esi + 4], 0
jne 0x1001e100
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x1001e0f0
mov esi, dword [0x100b9cac]
cmp byte [esi + 0x5edc], 0
jne 0x1001e1f6
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1001e1ef
push 0x10099128
push eax
call fcn.10015e10
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1001e1ef
mov ebp, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push ebx
call ebp
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x1001e1e5
push 2
push 0
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1001e1e5
push ebx
call ebp
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x1001e1e5
push 0
push dword [esp + 0x14]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1001e1e5
push ebp
call fcn.1001a110
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x1001e1e5
push ebx
push ebp
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push ebx
cmp eax, ebp
je 0x1001e1c2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ebx, dword [esp + 0x14]
push ebx
call fcn.1001a150
add esp, 8
jmp 0x1001e1ef
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ebx, dword [esp + 0x14]
add esp, 4
test ebp, ebp
je 0x1001e1dd
push ebp
push ebx
call fcn.10019750
add esp, 8
push ebx
call fcn.1001a150
jmp 0x1001e1ec
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov byte [esi + 0x5edc], 1
movss xmm1, dword [esi + 0x5ee0]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1001e23b
subss xmm1, dword [esi + 0x18]
comiss xmm0, xmm1
movss dword [esi + 0x5ee0], xmm1
jb 0x1001e23b
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1001e22a
push eax
call fcn.10022b70
add esp, 4
jmp 0x1001e231
mov byte [esi + 0xa2], 1
mov dword [esi + 0x5ee0], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3f58]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x3f64], 1
mov word [edi + 0x5e40], ax
mov dword [edi + 0x3fdc], eax
addsd xmm0, qword [edi + 0x3f50]
movsd qword [edi + 0x3f50], xmm0
mov ecx, dword [edi + 0x5e54]
test ecx, ecx
jns 0x1001e295
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 + 0x5e50]
call fcn.1002d9f0
mov dword [edi + 0x5e50], 0
mov ecx, 0x3c
mov eax, dword [edi + 0x612c]
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [edi + eax*4 + 0x603c]
addss xmm0, dword [edi + 0x6134]
movss dword [edi + 0x6134], xmm0
movss dword [edi + eax*4 + 0x603c], xmm1
mov eax, dword [edi + 0x612c]
inc eax
movss xmm1, dword [edi + 0x6134]
cdq
idiv ecx
mov eax, dword [edi + 0x6130]
movss xmm0, dword [0x1009b4f4]
inc eax
cmp eax, ecx
mov dword [edi + 0x612c], edx
movss dword [esp + 0x10], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x1009b3f0]
mov dword [edi + 0x6130], ecx
jbe 0x1001e32c
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1009b468]
divss xmm0, xmm1
movss dword [edi + 0xa8], xmm0
mov ecx, dword [edi + 0x3f90]
test ecx, ecx
jns 0x1001e35a
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 + 0x3f8c]
call fcn.1002db70
mov dword [edi + 0x3f8c], 0
movzx eax, byte [edi + 0x47]
push eax
call fcn.10029df0
mov esi, dword [0x100b9cac]
add esp, 4
mov eax, dword [esi + 0x4ab4]
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 + 0x4ab4]
mov eax, dword [esi + 0x4aac]
lea esi, [ebx + eax*4]
cmp ebx, esi
je 0x1001e48a
nop word [eax + eax]
mov edx, dword [ebx]
add ebx, 4
mov eax, dword [edx + 0x9c]
mov ecx, dword [edx + 0xa0]
mov dword [edx + 0x8c], eax
mov eax, dword [edx + 0xa4]
mov dword [edx + 0x90], ecx
mov ecx, dword [edx + 0xa8]
mov dword [edx + 0x94], eax
mov dword [edx + 0x98], ecx
mov dword [edx + 0xa4], 0
mov dword [edx + 0xa8], 0
mov dword [edx + 0x9c], 0
mov dword [edx + 0xa0], 0
movss xmm0, dword [edx + 0x90]
movss xmm2, dword [edx + 0x8c]
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
xorps xmm2, xmm2
xorps xmm1, xmm1
addss xmm0, dword [edx + 0x94]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x90]
addss xmm0, dword [edx + 0x98]
movss dword [edx + 0x20], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x24], xmm1
cmp ebx, esi
jne 0x1001e3c0
mov eax, dword [edi + 0x2c]
movss xmm7, dword [esp + 0x10]
movss xmm4, dword [0x1009b50c]
movaps xmm6, xmm7
movaps xmm5, xmm4
mov byte [eax + 0x18], 1
mov esi, dword [0x100b9cac]
mov ecx, dword [esi + 0x4ab4]
mov eax, dword [esi + 0x4aac]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1001e503
nop
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 0x1001e4e4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1001e4ec
movaps xmm6, xmm2
comiss xmm1, xmm4
jbe 0x1001e4f4
movaps xmm4, xmm1
comiss xmm0, xmm5
jbe 0x1001e4fc
movaps xmm5, xmm0
add ecx, 4
cmp ecx, edx
jne 0x1001e4c0
mov eax, dword [esi + 0x3998]
movss dword [esp + 0x14], xmm7
movss dword [esp + 0x18], xmm6
movss dword [esp + 0x1c], xmm4
movss dword [esp + 0x20], xmm5
movups xmm0, xmmword [esp + 0x14]
push ecx
lea ecx, [esi + 0x3d48]
mov dword [esi + 0x3d5c], eax
movups xmmword [esi + 0x3d64], xmm0
movss xmm0, dword [esi + 0x399c]
movss dword [esp], xmm0
call fcn.1003a2d0
xor edx, edx
mov dword [esi + 0x3d74], 0
cmp byte [esi + 0x3994], dl
je 0x1001e56f
mov dword [esi + 0x3d74], 1
mov edx, 1
cmp byte [esi + 0x3995], 0
mov ecx, edx
je 0x1001e58b
mov eax, dword [esi + 0x2c]
test byte [eax], 4
jne 0x1001e58b
or ecx, 2
mov dword [esi + 0x3d74], ecx
cmp byte [esi + 0x3996], 0
je 0x1001e59d
or ecx, 4
mov dword [esi + 0x3d74], ecx
test byte [esi + 0xc], 8
je 0x1001e5ac
or ecx, 8
mov dword [esi + 0x3d74], ecx
mov ecx, dword [0x100b9cac]
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x1001e5c1
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax]
push eax
call fcn.10023430
mov ecx, dword [edi + 0x4ab4]
add esp, 4
mov eax, dword [edi + 0x4aac]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1001e5ed
nop dword [eax]
mov eax, dword [ecx]
add ecx, 4
mov byte [eax + 0x40], 0
cmp ecx, edx
jne 0x1001e5e0
cmp byte [edi + 0x4cb4], 0
je 0x1001e627
mov eax, dword [edi + 0x4ccc]
cmp eax, dword [edi + 0x4040]
jne 0x1001e627
mov ecx, dword [0x100b9cac]
cmp dword [ecx + 0x4040], eax
jne 0x1001e618
mov dword [ecx + 0x4044], eax
cmp dword [ecx + 0x4068], eax
jne 0x1001e627
mov byte [ecx + 0x406c], 1
cmp dword [edi + 0x4030], 0
jne 0x1001e63c
mov dword [edi + 0x4034], 0
jmp 0x1001e64e
mov eax, dword [edi + 0x402c]
test eax, eax
je 0x1001e658
cmp dword [edi + 0x4040], eax
jne 0x1001e658
mov dword [edi + 0x4038], 0
mov eax, dword [edi + 0x402c]
test eax, eax
je 0x1001e692
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x4034]
movss dword [edi + 0x4034], xmm0
cmp dword [edi + 0x4040], eax
je 0x1001e692
addss xmm1, dword [edi + 0x4038]
movss dword [edi + 0x4038], xmm1
mov dword [edi + 0x4030], eax
mov eax, dword [edi + 0x4040]
mov dword [edi + 0x402c], 0
mov word [edi + 0x403c], 0
test eax, eax
je 0x1001e6e7
cmp dword [edi + 0x4044], eax
je 0x1001e6e7
cmp dword [edi + 0x4068], eax
jne 0x1001e6e7
test byte [edi + 0x5f7c], 1
je 0x1001e6db
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.1000efe0
add esp, 4
push 0
push 0
call fcn.10023180
add esp, 8
mov ecx, dword [edi + 0x4040]
test ecx, ecx
je 0x1001e706
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x4048]
movss dword [edi + 0x4048], xmm0
mov eax, dword [edi + 0x4060]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x4078]
mov dword [edi + 0x4070], eax
mov al, byte [edi + 0x4050]
mov byte [edi + 0x406d], al
mov eax, dword [edi + 0x5da0]
movss dword [edi + 0x4078], xmm0
mov dword [edi + 0x4068], ecx
mov dword [edi + 0x4044], 0
mov byte [edi + 0x4051], 0
mov byte [edi + 0x406c], 0
mov byte [edi + 0x404c], 0
test eax, eax
je 0x1001e770
cmp ecx, eax
je 0x1001e770
mov dword [edi + 0x5da0], 0
test ecx, ecx
jne 0x1001e780
mov dword [edi + 0x4930], ecx
mov byte [edi + 0x4934], cl
mov ecx, dword [edi + 0x4e84]
test ecx, ecx
je 0x1001e7a3
movss xmm0, dword [edi + 0x4ea0]
comiss xmm0, dword [edi + 0x3d20]
jb 0x1001e7ad
mov dword [edi + 0x4e94], ecx
jmp 0x1001e7ad
mov dword [edi + 0x4e94], 0
mov eax, dword [edi + 0x3ff0]
test eax, eax
je 0x1001e7d3
movss xmm0, dword [edi + 0x4ea0]
comiss xmm0, dword [edi + 0x3d20]
jb 0x1001e7dd
mov eax, dword [eax + 8]
mov dword [edi + 0x4e98], eax
jmp 0x1001e7dd
mov dword [edi + 0x4e98], 0
movss xmm0, dword [edi + 0x4e8c]
mov dword [edi + 0x4e88], ecx
test ecx, ecx
je 0x1001e808
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4e84], 0
movss dword [edi + 0x4e8c], xmm0
jmp 0x1001e848
comiss xmm0, dword [0x1009b3f0]
jbe 0x1001e852
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x1009b428]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4e90]
addss xmm1, xmm1
movss dword [edi + 0x4e90], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1001e852
mov dword [edi + 0x4e8c], 0
mov dword [edi + 0x4e90], 0
mov eax, dword [edi + 0x4d28]
mov dword [edi + 0x4d2c], eax
mov dword [edi + 0x4d28], 0
mov dword [edi + 0x4d24], 0x7f7fffff
mov word [edi + 0x4cb5], 0
mov dword [edi + 0x4d34], 0
call fcn.1002a5d0
call fcn.1001b8c0
call fcn.1002ab70
call fcn.10029b50
mov esi, dword [0x100b9cac]
mov ecx, dword [esi + 0x3ffc]
test ecx, ecx
je 0x1001e95a
mov eax, dword [esi + 0x4040]
mov dword [esi + 0x4044], eax
cmp dword [esi + 0x4068], eax
jne 0x1001e8c8
mov byte [esi + 0x406c], 1
cmp byte [esi + 0xd0], 0
mov edx, dword [ecx + 0x328]
je 0x1001e94e
lea ecx, [esi + 0xc8]
test ecx, ecx
je 0x1001e8e5
mov eax, ecx
jmp 0x1001e8ef
mov eax, dword [0x100b9cac]
add eax, 0xc8
movss xmm0, dword [eax]
movss xmm1, dword [0x1009b504]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x1001e94e
comiss xmm2, xmm1
jb 0x1001e94e
movss xmm0, dword [ecx]
lea eax, [esp + 0x14]
subss xmm0, dword [esi + 0x4058]
push 1
push eax
push edx
movss dword [esp + 0x20], xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [esi + 0x405c]
movss dword [esp + 0x24], xmm0
call fcn.100248c0
push 0
push dword [esi + 0x3ffc]
call fcn.10013e20
add esp, 0x14
jmp 0x1001e999
mov dword [esi + 0x3ffc], 0
jmp 0x1001e98d
mov ecx, dword [esi + 0x4060]
test ecx, ecx
je 0x1001e999
mov eax, dword [esi + 0x4040]
cmp dword [ecx + 0x7c], eax
jne 0x1001e999
mov dword [esi + 0x4044], eax
cmp dword [esi + 0x4068], eax
jne 0x1001e984
mov byte [esi + 0x406c], 1
cmp byte [esi + 0xd0], 0
jne 0x1001e999
push 0
push 0
call fcn.10023180
add esp, 8
mov eax, dword [0x100b9cac]
movss xmm2, dword [0x1009b4a8]
mov edx, dword [eax + 0x4a88]
sub edx, 1
js 0x1001e9d7
mov eax, dword [eax + 0x4a90]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1001e9cf
test dword [ecx + 0xc], 0x8000000
jne 0x1001e9f0
sub eax, 0x28
sub edx, 1
jns 0x1001e9c0
cmp dword [edi + 0x4c84], 0
je 0x1001ea0b
movss xmm0, dword [edi + 0x4c94]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1001ea0b
movss xmm1, dword [edi + 0x18]
mulss xmm1, xmm2
addss xmm1, dword [edi + 0x4cb0]
minss xmm1, dword [0x1009b468]
jmp 0x1001ea2c
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1009b4b8]
movss xmm1, dword [edi + 0x4cb0]
subss xmm1, xmm0
maxss xmm1, dword [0x1009b3f0]
movss dword [edi + 0x4cb0], xmm1
movups xmm0, xmmword [edi + 0x5ebc]
mov dword [edi + 0x4e9c], 0
mov dword [edi + 0x6140], 0xffffffff
mov dword [edi + 0x613c], 0xffffffff
mov dword [edi + 0x6138], 0xffffffff
movups xmmword [edi + 0x5ecc], xmm0
mov byte [edi + 0x5ebc], 0
call fcn.1002b170
cmp byte [edi + 0x3f67], 0
jne 0x1001eaa4
movss xmm1, dword [edi + 0x50]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1001eaa4
movsd xmm0, qword [edi + 0x3f50]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
jmp 0x1001eaaa
movss xmm0, dword [esp + 0x10]
mov ebx, dword [edi + 0x3fa8]
mov eax, dword [edi + 0x3fa0]
lea ebp, [ebx + eax*4]
cmp ebx, ebp
je 0x1001ec14
mov esi, dword [ebx]
mov ax, word [esi + 0xc8]
mov cl, byte [esi + 0xba]
mov word [esi + 0xca], ax
xor eax, eax
mov byte [esi + 0xbb], cl
mov byte [esi + 0xba], 0
mov byte [esi + 0xbc], 0
mov word [esi + 0xc8], ax
test cl, cl
jne 0x1001ec03
cmp byte [esi + 0x384], al
jne 0x1001ec03
comiss xmm0, dword [esi + 0x250]
jbe 0x1001ec03
mov ecx, dword [esi + 0x278]
mov byte [esi + 0x384], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x37c], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x380], eax
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x1001eb65
push eax
mov dword [esi + 0xf8], 0
mov dword [esi + 0xf4], 0
call fcn.1001a150
add esp, 4
mov dword [esi + 0xfc], 0
mov ecx, dword [esi + 0x278]
call fcn.1003b880
mov eax, dword [esi + 0x198]
test eax, eax
je 0x1001eba1
push eax
mov dword [esi + 0x194], 0
mov dword [esi + 0x190], 0
call fcn.1001a150
add esp, 4
mov dword [esi + 0x198], 0
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x1001ebd2
push eax
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1bc], 0
call fcn.1001a150
add esp, 4
mov dword [esi + 0x1c4], 0
mov eax, dword [esi + 0x1d0]
test eax, eax
je 0x1001ec03
push eax
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1c8], 0
call fcn.1001a150
add esp, 4
mov dword [esi + 0x1d0], 0
movss xmm0, dword [esp + 0x10]
add ebx, 4
cmp ebx, ebp
jne 0x1001eac1
xor ebx, ebx
cmp dword [edi + 0x4d9c], ebx
jle 0x1001ec71
xor esi, esi
xorps xmm0, xmm0
xor ebp, ebp
nop word [eax + eax]
mov eax, dword [edi + 0x4da4]
movss xmm1, dword [eax + ebp]
comiss xmm1, xmm0
jb 0x1001ec5f
movss xmm2, dword [esp + 0x10]
comiss xmm2, xmm1
jbe 0x1001ec5f
mov eax, dword [edi + 0x4d84]
add eax, esi
push eax
call fcn.1008e3d0
add esp, 4
xorps xmm0, xmm0
inc ebx
add esi, 0x200
add ebp, 4
cmp ebx, dword [edi + 0x4d9c]
jl 0x1001ec30
mov eax, dword [edi + 0x4d70]
mov ecx, eax
mov esi, dword [edi + 0x4d78]
shl ecx, 4
sub ecx, eax
lea ebx, [esi + ecx*8]
cmp esi, ebx
je 0x1001ecb8
xorps xmm0, xmm0
nop
movss xmm1, dword [esi + 4]
comiss xmm1, xmm0
jb 0x1001ecb1
movss xmm2, dword [esp + 0x10]
comiss xmm2, xmm1
jbe 0x1001ecb1
push esi
call fcn.1008e490
add esp, 4
xorps xmm0, xmm0
add esi, 0x78
cmp esi, ebx
jne 0x1001ec90
cmp byte [edi + 0x3f67], 0
je 0x1001ed47
mov esi, dword [0x100b9cac]
mov eax, dword [esi + 0x4a78]
test eax, eax
je 0x1001ecfc
push eax
mov dword [esi + 0x4a74], 0
mov dword [esi + 0x4a70], 0
call fcn.1001a150
add esp, 4
mov dword [esi + 0x4a78], 0
mov eax, dword [esi + 0x4a84]
test eax, eax
je 0x1001ed2d
push eax
mov dword [esi + 0x4a80], 0
mov dword [esi + 0x4a7c], 0
call fcn.1001a150
add esp, 4
mov dword [esi + 0x4a84], 0
lea ecx, [esi + 0x4e58]
mov dword [esi + 0x4e54], 0
call fcn.1002d300
call fcn.1008e1f0
mov eax, dword [edi + 0x4ab8]
mov byte [edi + 0x3f67], 0
test eax, eax
je 0x1001edb6
cmp byte [eax + 0xbb], 0
jne 0x1001edb6
mov eax, dword [0x100b9cac]
mov edx, dword [eax + 0x3fac]
sub edx, 1
js 0x1001edaa
mov eax, dword [eax + 0x3fb4]
lea esi, [eax + edx*4]
nop word [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x1001eda2
cmp byte [ecx + 0xbb], 0
je 0x1001eda2
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x1001ef40
sub esi, 4
sub edx, 1
jns 0x1001ed80
push 1
push 0
call fcn.10013e20
add esp, 8
mov ecx, dword [edi + 0x3fc8]
test ecx, ecx
jns 0x1001eddc
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 + 0x3fc4]
call fcn.1002de00
mov dword [edi + 0x3fc4], 0
mov ecx, dword [edi + 0x4a98]
test ecx, ecx
jns 0x1001ee0c
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 + 0x4a94]
call fcn.1002dd00
lea esi, [edi + 0x4a70]
mov dword [edi + 0x4a94], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1001ee3b
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.1002d9f0
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1001ee50
push 8
mov ecx, esi
call fcn.1002d9f0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0x10
inc dword [esi]
mov ecx, dword [esi]
mov eax, dword [edi + 0x4a78]
mov eax, dword [eax + ecx*4 - 4]
lea ecx, [edi + 0x4a7c]
mov dword [edi + 0x4940], eax
call fcn.1002e090
mov ebp, dword [0x100b9cac]
cmp byte [ebp + 0x5fa9], 0
mov dword [ebp + 0x5fac], 0
je 0x1001f05a
mov eax, dword [0x100b9cac]
mov ebx, dword [ebp + 0x4030]
push 0
push 1
push 0x20e
mov dword [esp + 0x20], ebx
mov dword [eax + 0x4e9c], 7
call fcn.100185f0
add esp, 0xc
test al, al
je 0x1001eecf
mov byte [ebp + 0x5fa9], 0
mov eax, dword [ebp + 0xe8]
xorps xmm0, xmm0
mov dword [esp + 0x10], eax
cmp eax, 0x3000
je 0x1001ef4c
movzx ecx, byte [ebp + 0x5faa]
mov edx, dword [0x100b9cac]
cmp byte [edx + ecx + 0xd0], 0
je 0x1001ef4c
movss xmm1, dword [edx + ecx*4 + 0x2b18]
comiss xmm0, xmm1
ja 0x1001ef4c
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1001ef48
lea eax, [ecx + 0x28f]
push 0
push eax
call fcn.10029a50
add esp, 8
xorps xmm0, xmm0
test al, al
je 0x1001ef48
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x1001ef4c
mov dword [ebp + 0x5fac], ebx
mov byte [ebp + 0x5fa9], 0
jmp 0x1001ef4c
push 1
push ecx
jmp 0x1001edae
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov esi, 0x2b18
cmp eax, 0x3000
jne 0x1001efa1
mov eax, dword [0x100b9cac]
cmp byte [eax + ebx + 0xd0], 0
je 0x1001ef9d
movss xmm1, dword [eax + esi]
comiss xmm0, xmm1
ja 0x1001ef9d
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1001ef9d
lea eax, [ebx + 0x28f]
push 0
push eax
call fcn.10029a50
add esp, 8
test al, al
mov eax, dword [esp + 0x10]
je 0x1001efa1
mov byte [ebp + 0x5faa], bl
jmp 0x1001efa1
mov eax, dword [esp + 0x10]
add esi, 4
inc ebx
xorps xmm0, xmm0
cmp esi, 0x2b24
jl 0x1001ef53
mov eax, dword [0x100b9cac]
push 0
push 0
or dword [eax + 0x49d0], 0x40
mov dword [eax + 0x4a28], 0x3f333333
call fcn.1000c8a0
add esp, 8
test al, al
je 0x1001f05a
mov esi, dword [esp + 0x14]
push esi
push str.HoveredId:_0x_08X
call fcn.10085230
push str.Press_ESC_to_abort_picking.
call fcn.10085230
add esp, 0xc
mov dword [esp + 0x14], 0x1009b12c
cmp dword [esp + 0x10], 0x3000
mov dword [esp + 0x18], 0x1009b134
mov dword [esp + 0x1c], str.Middle
jne 0x1001f027
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.10085230
add esp, 4
jmp 0x1001f055
movzx eax, byte [ebp + 0x5faa]
mov ecx, 0x39b0
test esi, esi
push dword [esp + eax*4 + 0x14]
mov eax, 0x39a0
cmove eax, ecx
add eax, dword [0x100b9cac]
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.10085290
add esp, 0xc
call fcn.10012590
mov esi, dword [0x100b9cac]
mov dword [esi + 0x4028], 0
mov eax, dword [esi + 0x5fe0]
inc eax
cmp dword [esi + 0x3f58], eax
jne 0x1001f142
mov ebx, dword [esi + 0x4030]
test ebx, ebx
jne 0x1001f08d
mov ebx, dword [esi + 0x4040]
cmp dword [esi + 0x5fe8], ebx
je 0x1001f0d5
mov dword [esi + 0x5fe8], ebx
mov dword [esi + 0x5fe4], 0xffffffff
mov ecx, dword [esi + 0x5ff0]
test ecx, ecx
jns 0x1001f0cb
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 + 0x5fec]
call fcn.1002dd80
mov dword [esi + 0x5fec], 0
test ebx, ebx
je 0x1001f142
mov eax, dword [esi + 0x5fe4]
test eax, eax
js 0x1001f10b
mov ecx, eax
cmp eax, dword [esi + 0x5fec]
jge 0x1001f11e
mov ebp, dword [esi + 0x5ff4]
lea edx, [eax + eax*8]
cmp byte [ebp + edx*8 + 5], 0
jne 0x1001f104
cmp byte [ebp + edx*8 + 4], 2
jle 0x1001f11e
inc eax
mov dword [esi + 0x5fe4], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x1001f11a
mov dword [esi + 0x4028], ebx
jmp 0x1001f142
test ecx, ecx
js 0x1001f142
cmp ecx, dword [esi + 0x5fec]
jge 0x1001f142
mov eax, dword [esi + 0x5ff4]
lea ecx, [ecx + ecx*8]
mov eax, dword [eax + ecx*8]
mov dword [esi + 0x4028], eax
mov eax, dword [esi + 0x5ff4]
inc byte [eax + ecx*8 + 4]
mov esi, dword [0x100b9cac]
xorps xmm0, xmm0
movss xmm1, dword [esi + 0x5fb0]
comiss xmm0, xmm1
jae 0x1001f226
mov edx, dword [esi + 0x4a3c]
lea eax, [esi + 0x39a8]
mulss xmm1, dword [0x1009b4a8]
mov ecx, edx
shl ecx, 4
add eax, ecx
push eax
lea eax, [esi + 0x39a4]
add eax, ecx
push eax
lea eax, [edx + 0x39a]
shl eax, 4
add eax, esi
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 [0x1009b440]
addss xmm0, dword [0x1009b440]
movss dword [esp], xmm0
call fcn.1000df70
mov eax, dword [esi + 0x4a3c]
xorps xmm1, xmm1
add eax, eax
add esp, 0x18
mov dword [esi + eax*8 + 0x39ac], 0x3f800000
movss xmm0, dword [esi + 0x5fb0]
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5fb0], xmm0
jb 0x1001f226
mov ecx, dword [0x100b9cac]
mov eax, dword [ecx + 0x4a3c]
cmp eax, 0x38
je 0x1001f21c
movups xmm0, xmmword [ecx + 0x5fb4]
add eax, 0x39a
add eax, eax
movups xmmword [ecx + eax*8], xmm0
mov dword [ecx + 0x4a3c], 0x38
mov al, byte [edi + 0x5fa1]
test al, al
je 0x1001f24b
sub al, 1
mov byte [edi + 0x5fa1], al
jne 0x1001f24b
mov dword [edi + 0x4944], 0
mov byte [edi + 0x5fa2], 0
mov al, byte [edi + 0x5fa0]
test al, al
je 0x1001f284
sub al, 1
mov byte [edi + 0x5fa0], al
jne 0x1001f284
push str._Debug_Log:_Auto_disabled_some_ImGuiDebugLogFlags_after_2_frames__n
call fcn.1000efe0
mov eax, dword [edi + 0x5f9c]
add esp, 4
not eax
mov dword [edi + 0x5f9c], 0
and dword [edi + 0x5f7c], eax
mov byte [edi + 0x3f65], 1
mov eax, dword [0x100b9cac]
push 0
push 0
push str.DebugDefault
or dword [eax + 0x49d0], 2
mov dword [eax + 0x49f0], 0x43c80000
mov dword [eax + 0x49f4], 0x43c80000
mov dword [eax + 0x49d8], 4
call fcn.10009240
add esp, 0xc
cmp byte [edi + 0x6a], 0
je 0x1001f301
mov cl, byte [edi + 0x5fa8]
cmp cl, 0xff
jne 0x1001f2db
xor edx, edx
jmp 0x1001f304
mov eax, dword [edi + 0x3f58]
and eax, 0x80000003
jns 0x1001f2ed
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 0x1001f304
or dl, 0xff
mov byte [edi + 0x5fa8], dl
mov eax, dword [edi + 0x5f14]
mov esi, dword [edi + 0x5f1c]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x1001f337
cmp dword [esi + 4], 1
jne 0x1001f330
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x1001f320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret