Function at 0x10028fd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [0x1009a5f4]
mov dword [ebp - 0xc], edi
mov eax, dword [edi + 0x5e50]
sub eax, 1
mov dword [ebp - 8], eax
js 0x1002905e
lea ebx, [eax + eax*4]
shl ebx, 2
nop word [eax + eax]
mov ecx, dword [edi + 0x5e58]
cmp dword [ecx + ebx + 4], 7
jne 0x10029053
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 + 0x5e50]
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.1005caa0
mov eax, dword [ebp - 8]
add esp, 0xc
dec dword [edi + 0x5e50]
dec eax
sub ebx, 0x14
mov dword [ebp - 8], eax
test eax, eax
jns 0x10029000
mov eax, dword [edi + 0x5e50]
mov esi, dword [edi + 0x5e58]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x1002908b
cmp dword [esi + 4], 0
jne 0x10029084
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x10029074
mov ebx, dword [0x1009a5f4]
cmp byte [ebx + 0x5e18], 0
jne 0x1002917c
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x10029175
push 0x10081410
push eax
call fcn.100221b0
mov esi, eax
add esp, 8
test esi, esi
je 0x10029175
push esi
call fcn.100663d9
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x1002916c
push 2
push 0
push esi
call fcn.10065d86
add esp, 0xc
test eax, eax
jne 0x1002916c
push esi
call fcn.100663d9
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x1002916c
push 0
push dword [ebp - 8]
push esi
call fcn.10065d86
add esp, 0xc
test eax, eax
jne 0x1002916c
push dword [ebp - 4]
call fcn.10025330
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x1002916c
push esi
push dword [ebp - 4]
push 1
push eax
call fcn.100659f1
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x10029148
call fcn.10065472
mov esi, dword [ebp - 8]
push esi
call fcn.100253c0
add esp, 8
jmp 0x10029175
call fcn.10065472
mov eax, dword [ebp - 4]
add esp, 4
mov esi, dword [ebp - 8]
test eax, eax
je 0x10029164
push eax
push esi
call fcn.10024df0
add esp, 8
push esi
call fcn.100253c0
jmp 0x10029172
push esi
call fcn.10065472
add esp, 4
mov byte [ebx + 0x5e18], 1
movss xmm1, dword [ebx + 0x5e1c]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100291c1
subss xmm1, dword [ebx + 0x18]
comiss xmm0, xmm1
movss dword [ebx + 0x5e1c], xmm1
jb 0x100291c1
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x100291b0
push eax
call fcn.1002cf60
add esp, 4
jmp 0x100291b7
mov byte [ebx + 0x96], 1
mov dword [ebx + 0x5e1c], 0
movss xmm0, dword [edi + 0x18]
lea ecx, [edi + 0x5d8c]
inc dword [edi + 0x3f30]
xor eax, eax
cvtps2pd xmm0, xmm0
push eax
mov byte [edi + 0x3f3c], 1
mov word [edi + 0x5d7c], ax
mov dword [edi + 0x3fb4], eax
addsd xmm0, qword [edi + 0x3f28]
movsd qword [edi + 0x3f28], xmm0
call fcn.10032890
mov eax, dword [edi + 0x6064]
mov ecx, 0x3c
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [edi + eax*4 + 0x5f74]
addss xmm0, dword [edi + 0x606c]
movss dword [edi + 0x606c], xmm0
movss dword [edi + eax*4 + 0x5f74], xmm1
mov eax, dword [edi + 0x6064]
inc eax
movss xmm1, dword [edi + 0x606c]
cdq
idiv ecx
mov eax, dword [edi + 0x6068]
movss xmm0, dword [0x10081650]
inc eax
cmp eax, ecx
mov dword [edi + 0x6064], edx
movss dword [ebp - 4], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x1007fa70]
mov dword [edi + 0x6068], ecx
jbe 0x1002928d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1007f830]
divss xmm0, xmm1
movss dword [edi + 0x9c], xmm0
mov ecx, dword [edi + 0x3f68]
test ecx, ecx
jns 0x100292bb
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.10032730
mov dword [edi + 0x3f64], 0
movzx eax, byte [edi + 0x46]
push eax
call fcn.1002eff0
mov esi, dword [0x1009a5f4]
add esp, 4
mov eax, dword [esi + 0x4a84]
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 + 0x4a84]
mov eax, dword [esi + 0x4a7c]
lea esi, [ebx + eax*4]
cmp ebx, esi
je 0x100293ea
nop dword [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 0x10029320
mov eax, dword [edi + 0x2c]
movss xmm7, dword [ebp - 4]
movss xmm4, dword [0x1008165c]
movaps xmm6, xmm7
movaps xmm5, xmm4
mov byte [eax + 0x10], 1
mov esi, dword [0x1009a5f4]
mov ecx, dword [esi + 0x4a84]
mov eax, dword [esi + 0x4a7c]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x10029463
nop dword [eax]
mov eax, dword [ecx]
movss xmm3, dword [eax + 8]
comiss xmm7, xmm3
movss xmm2, dword [eax + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x14]
jbe 0x10029444
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1002944c
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10029454
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1002945c
movaps xmm5, xmm1
add ecx, 4
cmp ecx, edx
jne 0x10029420
mov eax, dword [esi + 0x398c]
movss dword [ebp - 0x1c], xmm7
movss dword [ebp - 0x18], xmm6
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0x10], xmm5
movups xmm0, xmmword [ebp - 0x1c]
push ecx
lea ecx, [esi + 0x3d28]
mov dword [esi + 0x3d38], eax
movups xmmword [esi + 0x3d40], xmm0
movss xmm0, dword [esi + 0x3990]
movss dword [esp], xmm0
call fcn.100394a0
xor edx, edx
mov dword [esi + 0x3d50], 0
cmp byte [esi + 0x3988], dl
je 0x100294ca
mov dword [esi + 0x3d50], 1
mov edx, 1
cmp byte [esi + 0x3989], 0
mov ecx, edx
je 0x100294e6
mov eax, dword [esi + 0x2c]
test byte [eax], 4
jne 0x100294e6
or ecx, 2
mov dword [esi + 0x3d50], ecx
cmp byte [esi + 0x398a], 0
je 0x100294f8
or ecx, 4
mov dword [esi + 0x3d50], ecx
test byte [esi + 0xc], 8
je 0x10029507
or ecx, 8
mov dword [esi + 0x3d50], ecx
mov esi, dword [0x1009a5f4]
mov ebx, dword [esi + 0x38]
test ebx, ebx
jne 0x1002951c
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
movss xmm1, dword [esi + 0x30]
movss xmm0, dword [0x1007f830]
mov ecx, dword [esi + 0x3fc4]
mov dword [esi + 0x3d18], ebx
mulss xmm1, dword [ebx + 0x10]
mulss xmm1, dword [ebx + 0x4c]
maxss xmm0, xmm1
movss dword [esi + 0x3d20], xmm0
test ecx, ecx
je 0x10029575
mov eax, dword [ecx]
movss xmm0, dword [ecx + 0x270]
mulss xmm0, dword [eax + 0x3d20]
mov eax, dword [ecx + 0x30c]
test eax, eax
je 0x10029578
mulss xmm0, dword [eax + 0x270]
jmp 0x10029578
xorps xmm0, xmm0
movss dword [esi + 0x3d1c], xmm0
mov edx, dword [ebx + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x3d28], eax
lea eax, [edx + 0x60]
mov dword [esi + 0x3d2c], ecx
mov dword [esi + 0x3f24], eax
mov dword [esi + 0x3d30], ebx
movss dword [esi + 0x3d34], xmm0
mov ecx, dword [edi + 0x4a84]
mov eax, dword [edi + 0x4a7c]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x100295cd
nop
mov eax, dword [ecx]
add ecx, 4
mov byte [eax + 0x40], 0
cmp ecx, edx
jne 0x100295c0
cmp byte [edi + 0x4c84], 0
je 0x10029607
mov eax, dword [edi + 0x4c9c]
cmp eax, dword [edi + 0x4018]
jne 0x10029607
mov ecx, dword [0x1009a5f4]
cmp dword [ecx + 0x4018], eax
jne 0x100295f8
mov dword [ecx + 0x401c], eax
cmp dword [ecx + 0x4040], eax
jne 0x10029607
mov byte [ecx + 0x4044], 1
cmp dword [edi + 0x4008], 0
jne 0x1002961c
mov dword [edi + 0x400c], 0
jmp 0x1002962e
mov eax, dword [edi + 0x4004]
test eax, eax
je 0x10029638
cmp dword [edi + 0x4018], eax
jne 0x10029638
mov dword [edi + 0x4010], 0
mov eax, dword [edi + 0x4004]
test eax, eax
je 0x10029672
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x400c]
movss dword [edi + 0x400c], xmm0
cmp dword [edi + 0x4018], eax
je 0x10029672
addss xmm1, dword [edi + 0x4010]
movss dword [edi + 0x4010], xmm1
mov dword [edi + 0x4008], eax
mov eax, dword [edi + 0x4018]
mov dword [edi + 0x4004], 0
mov word [edi + 0x4014], 0
test eax, eax
je 0x100296c7
cmp dword [edi + 0x401c], eax
je 0x100296c7
cmp dword [edi + 0x4040], eax
jne 0x100296c7
test byte [edi + 0x5eb4], 1
je 0x100296bb
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.1001f380
add esp, 4
push 0
push 0
call fcn.1002d490
add esp, 8
mov ecx, dword [edi + 0x4018]
test ecx, ecx
je 0x100296e6
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x4020]
movss dword [edi + 0x4020], xmm0
mov eax, dword [edi + 0x4038]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x4050]
mov dword [edi + 0x4048], eax
mov al, byte [edi + 0x4028]
mov byte [edi + 0x4045], al
mov eax, dword [edi + 0x5cdc]
movss dword [edi + 0x4050], xmm0
mov dword [edi + 0x4040], ecx
mov dword [edi + 0x401c], 0
mov byte [edi + 0x4029], 0
mov byte [edi + 0x4044], 0
mov byte [edi + 0x4024], 0
test eax, eax
je 0x10029750
cmp ecx, eax
je 0x10029750
mov dword [edi + 0x5cdc], 0
test ecx, ecx
jne 0x1002976e
mov dword [edi + 0x4914], ecx
mov dword [edi + 0x4908], ecx
mov byte [edi + 0x490c], cl
mov dword [edi + 0x4914], ecx
jmp 0x1002979d
mov eax, dword [edi + 0x4914]
test eax, eax
je 0x1002979d
test al, 2
je 0x1002979d
mov ecx, dword [0x1009a5f4]
mov eax, dword [edi + 0x4018]
mov dword [ecx + 0x4130], eax
mov dword [ecx + 0x412c], eax
mov word [ecx + 0x4134], 0
mov ecx, dword [edi + 0x4dc0]
test ecx, ecx
je 0x100297c0
movss xmm0, dword [edi + 0x4ddc]
comiss xmm0, dword [edi + 0x3d04]
jb 0x100297ca
mov dword [edi + 0x4dd0], ecx
jmp 0x100297ca
mov dword [edi + 0x4dd0], 0
mov eax, dword [edi + 0x3fc8]
test eax, eax
je 0x100297f0
movss xmm0, dword [edi + 0x4ddc]
comiss xmm0, dword [edi + 0x3d04]
jb 0x100297fa
mov eax, dword [eax + 8]
mov dword [edi + 0x4dd4], eax
jmp 0x100297fa
mov dword [edi + 0x4dd4], 0
movss xmm0, dword [edi + 0x4dc8]
mov dword [edi + 0x4dc4], ecx
test ecx, ecx
je 0x10029825
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4dc0], 0
movss dword [edi + 0x4dc8], xmm0
jmp 0x10029865
comiss xmm0, dword [0x1007fa70]
jbe 0x1002986f
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x100815c4]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4dcc]
addss xmm1, xmm1
movss dword [edi + 0x4dcc], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1002986f
mov dword [edi + 0x4dc8], 0
mov dword [edi + 0x4dcc], 0
mov eax, dword [edi + 0x4cf8]
mov dword [edi + 0x4cfc], eax
mov dword [edi + 0x4cf8], 0
mov dword [edi + 0x4cf4], 0x7f7fffff
mov word [edi + 0x4c85], 0
mov dword [edi + 0x4d04], 0
call fcn.1002f890
call fcn.10026890
call fcn.1002fe40
call fcn.1002ed60
mov esi, dword [0x1009a5f4]
mov ecx, dword [esi + 0x3fd4]
test ecx, ecx
je 0x10029974
mov eax, dword [esi + 0x4018]
mov dword [esi + 0x401c], eax
cmp dword [esi + 0x4040], eax
jne 0x100298e5
mov byte [esi + 0x4044], 1
cmp byte [esi + 0xc4], 0
mov edx, dword [ecx + 0x314]
je 0x10029968
lea ecx, [esi + 0xbc]
test ecx, ecx
je 0x10029902
mov eax, ecx
jmp 0x1002990c
mov eax, dword [0x1009a5f4]
add eax, 0xbc
movss xmm0, dword [eax]
movss xmm1, dword [0x10081654]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x10029968
comiss xmm2, xmm1
jb 0x10029968
movss xmm0, dword [ecx]
lea eax, [ebp - 0x14]
subss xmm0, dword [esi + 0x4030]
push 1
push eax
push edx
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [esi + 0x4034]
movss dword [ebp - 0x10], xmm0
call fcn.1002e630
push 0
push dword [esi + 0x3fd4]
call fcn.10020e10
add esp, 0x14
jmp 0x100299b3
mov dword [esi + 0x3fd4], 0
jmp 0x100299a7
mov ecx, dword [esi + 0x4038]
test ecx, ecx
je 0x100299b3
mov eax, dword [esi + 0x4018]
cmp dword [ecx + 0x7c], eax
jne 0x100299b3
mov dword [esi + 0x401c], eax
cmp dword [esi + 0x4040], eax
jne 0x1002999e
mov byte [esi + 0x4044], 1
cmp byte [esi + 0xc4], 0
jne 0x100299b3
push 0
push 0
call fcn.1002d490
add esp, 8
mov eax, dword [0x1009a5f4]
movss xmm2, dword [0x1008161c]
mov edx, dword [eax + 0x4a58]
sub edx, 1
js 0x100299f7
mov eax, dword [eax + 0x4a60]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
nop word [eax + eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x100299ef
test dword [ecx + 0xc], 0x8000000
jne 0x10029a10
sub eax, 0x28
sub edx, 1
jns 0x100299e0
cmp dword [edi + 0x4c54], 0
je 0x10029a2b
movss xmm0, dword [edi + 0x4c64]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10029a2b
movss xmm1, dword [edi + 0x18]
mulss xmm1, xmm2
addss xmm1, dword [edi + 0x4c80]
minss xmm1, dword [0x1007f830]
jmp 0x10029a4c
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x10081624]
movss xmm1, dword [edi + 0x4c80]
subss xmm1, xmm0
maxss xmm1, dword [0x1007fa70]
movss dword [edi + 0x4c80], xmm1
movups xmm0, xmmword [edi + 0x5df8]
mov dword [edi + 0x4dd8], 0
mov dword [edi + 0x6078], 0xffffffff
mov dword [edi + 0x6074], 0xffffffff
mov dword [edi + 0x6070], 0xffffffff
movups xmmword [edi + 0x5e08], xmm0
mov byte [edi + 0x5df8], 0
call fcn.10030450
cmp byte [edi + 0x3f3f], 0
jne 0x10029ac3
movss xmm1, dword [edi + 0x4c]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x10029ac3
movsd xmm0, qword [edi + 0x3f28]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [ebp - 4], xmm0
jmp 0x10029ac8
movss xmm0, dword [ebp - 4]
mov ebx, dword [edi + 0x3f80]
mov eax, dword [edi + 0x3f78]
lea eax, [ebx + eax*4]
cmp ebx, eax
je 0x10029c36
mov edi, eax
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 0x10029c23
cmp byte [esi + 0x370], al
jne 0x10029c23
comiss xmm0, dword [esi + 0x250]
jbe 0x10029c23
mov ecx, dword [esi + 0x278]
mov byte [esi + 0x370], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x368], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x36c], eax
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x10029b85
push eax
mov dword [esi + 0xf8], 0
mov dword [esi + 0xf4], 0
call fcn.100253c0
add esp, 4
mov dword [esi + 0xfc], 0
mov ecx, dword [esi + 0x278]
call fcn.10039c90
mov eax, dword [esi + 0x198]
test eax, eax
je 0x10029bc1
push eax
mov dword [esi + 0x194], 0
mov dword [esi + 0x190], 0
call fcn.100253c0
add esp, 4
mov dword [esi + 0x198], 0
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x10029bf2
push eax
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1bc], 0
call fcn.100253c0
add esp, 4
mov dword [esi + 0x1c4], 0
mov eax, dword [esi + 0x1d0]
test eax, eax
je 0x10029c23
push eax
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1c8], 0
call fcn.100253c0
add esp, 4
mov dword [esi + 0x1d0], 0
movss xmm0, dword [ebp - 4]
add ebx, 4
cmp ebx, edi
jne 0x10029ae1
mov edi, dword [ebp - 0xc]
xor esi, esi
cmp dword [edi + 0x4d6c], esi
jle 0x10029c8d
xor ebx, ebx
xorps xmm0, xmm0
nop word [eax + eax]
mov eax, dword [edi + 0x4d74]
movss xmm1, dword [eax + esi*4]
comiss xmm1, xmm0
jb 0x10029c7e
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm1
jbe 0x10029c7e
mov eax, dword [edi + 0x4d54]
add eax, ebx
push eax
call fcn.10044ed0
add esp, 4
xorps xmm0, xmm0
inc esi
add ebx, 0x200
cmp esi, dword [edi + 0x4d6c]
jl 0x10029c50
mov eax, dword [edi + 0x4d40]
mov ecx, eax
mov esi, dword [edi + 0x4d48]
shl ecx, 4
sub ecx, eax
lea ebx, [esi + ecx*8]
cmp esi, ebx
je 0x10029cd7
xorps xmm0, xmm0
nop word [eax + eax]
movss xmm1, dword [esi + 4]
comiss xmm1, xmm0
jb 0x10029cd0
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm1
jbe 0x10029cd0
push esi
call fcn.10044fa0
add esp, 4
xorps xmm0, xmm0
add esi, 0x78
cmp esi, ebx
jne 0x10029cb0
cmp byte [edi + 0x3f3f], 0
je 0x10029d4d
mov esi, dword [0x1009a5f4]
mov eax, dword [esi + 0x4a48]
test eax, eax
je 0x10029d17
push eax
mov dword [esi + 0x4a44], 0
mov dword [esi + 0x4a40], 0
call fcn.100253c0
add esp, 4
mov dword [esi + 0x4a48], 0
mov eax, dword [esi + 0x4a54]
test eax, eax
je 0x10029d48
push eax
mov dword [esi + 0x4a50], 0
mov dword [esi + 0x4a4c], 0
call fcn.100253c0
add esp, 4
mov dword [esi + 0x4a54], 0
call fcn.10044cf0
mov eax, dword [edi + 0x4a88]
mov byte [edi + 0x3f3f], 0
test eax, eax
je 0x10029db6
cmp byte [eax + 0xbb], 0
jne 0x10029db6
mov eax, dword [0x1009a5f4]
mov edx, dword [eax + 0x3f84]
sub edx, 1
js 0x10029daa
mov eax, dword [eax + 0x3f8c]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x10029da2
cmp byte [ecx + 0xbb], 0
je 0x10029da2
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x10029f73
sub esi, 4
sub edx, 1
jns 0x10029d80
push 1
push 0
call fcn.10020e10
add esp, 8
mov ecx, dword [edi + 0x3fa0]
test ecx, ecx
jns 0x10029e15
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 0x10029e15
imul eax, esi, 0x68
push eax
call fcn.10025330
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x3fa4]
test eax, eax
je 0x10029e09
imul ecx, dword [edi + 0x3f9c], 0x68
push ecx
push eax
push ebx
call fcn.1005caa0
push dword [edi + 0x3fa4]
call fcn.100253c0
add esp, 0x10
mov dword [edi + 0x3fa4], ebx
mov dword [edi + 0x3fa0], esi
push 0
lea ecx, [edi + 0x4a64]
mov dword [edi + 0x3f9c], 0
call fcn.100329a0
mov ecx, dword [edi + 0x4a44]
lea esi, [edi + 0x4a40]
test ecx, ecx
jns 0x10029e8b
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 0x10029e8b
lea eax, [ebx*4]
push eax
call fcn.10025330
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 8], eax
test edx, edx
je 0x10029e85
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call fcn.1005caa0
push dword [esi + 8]
call fcn.100253c0
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.10032250
push 0
lea ecx, [edi + 0x4a4c]
call fcn.10032910
mov ebx, dword [0x1009a5f4]
mov dword [ebp - 8], ebx
cmp byte [ebx + 0x5ee1], 0
mov dword [ebx + 0x5ee4], 0
je 0x1002a091
mov eax, dword [0x1009a5f4]
mov esi, dword [ebx + 0x4008]
push 0
push 1
push 0x20e
mov dword [ebp - 0x10], esi
mov dword [eax + 0x4dd8], 7
call fcn.100240d0
add esp, 0xc
test al, al
je 0x10029f04
mov byte [ebx + 0x5ee1], 0
mov eax, dword [ebx + 0xdc]
xorps xmm0, xmm0
mov dword [ebp - 4], eax
cmp eax, 0x3000
je 0x10029f7e
movzx ecx, byte [ebx + 0x5ee2]
mov edx, dword [0x1009a5f4]
cmp byte [edx + ecx + 0xc4], 0
je 0x10029f7e
movss xmm1, dword [edx + ecx*4 + 0x2b10]
comiss xmm0, xmm1
ja 0x10029f7e
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10029f7b
lea eax, [ecx + 0x28f]
push 0
push eax
call fcn.1002eaf0
add esp, 8
xorps xmm0, xmm0
test al, al
je 0x10029f7b
mov eax, dword [ebp - 4]
test esi, esi
je 0x10029f7e
mov dword [ebx + 0x5ee4], esi
mov byte [ebx + 0x5ee1], 0
jmp 0x10029f7e
push 1
push ecx
jmp 0x10029dae
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
xor ebx, ebx
mov esi, 0x2b10
cmp eax, 0x3000
jne 0x10029fd4
mov eax, dword [0x1009a5f4]
cmp byte [eax + ebx + 0xc4], 0
je 0x10029fd1
movss xmm1, dword [eax + esi]
comiss xmm0, xmm1
ja 0x10029fd1
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10029fd1
lea eax, [ebx + 0x28f]
push 0
push eax
call fcn.1002eaf0
add esp, 8
test al, al
mov eax, dword [ebp - 4]
je 0x10029fd4
mov byte [edi + 0x5ee2], bl
jmp 0x10029fd4
mov eax, dword [ebp - 4]
add esi, 4
inc ebx
xorps xmm0, xmm0
cmp esi, 0x2b1c
jl 0x10029f88
mov eax, dword [0x1009a5f4]
push 0
push 0
or dword [eax + 0x49a0], 0x40
mov dword [eax + 0x49f8], 0x3f333333
call fcn.1001d5c0
mov edi, dword [ebp - 0xc]
add esp, 8
test al, al
je 0x1002a091
mov esi, dword [ebp - 0x10]
push esi
push str.HoveredId:_0x_08X
call fcn.10057110
push str.Press_ESC_to_abort_picking.
call fcn.10057110
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 0x1002a058
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.10057110
add esp, 4
jmp 0x1002a08c
mov eax, dword [ebp - 8]
xor ecx, ecx
test esi, esi
movzx eax, byte [eax + 0x5ee2]
push dword [ebp + eax*4 - 0x18]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x1009a5f4]
add eax, 0x3994
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.10057170
add esp, 0xc
call fcn.1001f780
call fcn.1002ec10
mov esi, dword [0x1009a5f4]
xorps xmm0, xmm0
movss xmm1, dword [esi + 0x5ee8]
comiss xmm0, xmm1
jae 0x1002a174
mov ecx, dword [esi + 0x4a0c]
lea eax, [esi + 0x399c]
mulss xmm1, dword [0x1008161c]
shl ecx, 4
add eax, ecx
push eax
lea eax, [esi + 0x3998]
add eax, ecx
push eax
lea eax, [esi + 0x3994]
add eax, ecx
push eax
sub esp, 8
cvtps2pd xmm0, xmm1
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0x3f000000
call fcn.10064c80
cvtsd2ss xmm0, xmm0
push ecx
mulss xmm0, dword [0x1007f824]
addss xmm0, dword [0x1007f824]
movss dword [esp], xmm0
call fcn.1001ea10
mov eax, dword [esi + 0x4a0c]
xorps xmm1, xmm1
add eax, 0x39a
add esp, 0x18
add eax, eax
mov dword [esi + eax*8], 0x3f800000
movss xmm0, dword [esi + 0x5ee8]
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5ee8], xmm0
jb 0x1002a174
mov eax, dword [0x1009a5f4]
mov ecx, dword [eax + 0x4a0c]
cmp ecx, 0x37
je 0x1002a16a
movups xmm0, xmmword [eax + 0x5eec]
add ecx, ecx
movups xmmword [eax + ecx*8 + 0x3994], xmm0
mov dword [eax + 0x4a0c], 0x37
mov al, byte [edi + 0x5ed9]
test al, al
je 0x1002a199
sub al, 1
mov byte [edi + 0x5ed9], al
jne 0x1002a199
mov dword [edi + 0x4920], 0
mov byte [edi + 0x5eda], 0
mov al, byte [edi + 0x5ed8]
test al, al
je 0x1002a1d2
sub al, 1
mov byte [edi + 0x5ed8], al
jne 0x1002a1d2
push str._Debug_Log:_Auto_disabled_some_ImGuiDebugLogFlags_after_2_frames__n
call fcn.1001f380
mov eax, dword [edi + 0x5ed4]
add esp, 4
not eax
mov dword [edi + 0x5ed4], 0
and dword [edi + 0x5eb4], eax
mov byte [edi + 0x3f3d], 1
mov eax, dword [0x1009a5f4]
push 0
push 0
push str.DebugDefault
or dword [eax + 0x49a0], 2
mov dword [eax + 0x49c0], 0x43c80000
mov dword [eax + 0x49c4], 0x43c80000
mov dword [eax + 0x49a8], 4
call fcn.1001a670
add esp, 0xc
cmp byte [edi + 0x66], 0
je 0x1002a24f
mov cl, byte [edi + 0x5ee0]
cmp cl, 0xff
jne 0x1002a229
xor edx, edx
jmp 0x1002a252
mov eax, dword [edi + 0x3f30]
and eax, 0x80000003
jns 0x1002a23b
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 0x1002a252
or dl, 0xff
mov byte [edi + 0x5ee0], dl
mov eax, dword [edi + 0x5e50]
mov esi, dword [edi + 0x5e58]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x1002a287
nop
cmp dword [esi + 4], 1
jne 0x1002a280
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x1002a270
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret