Function at 0x1002c290
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x1011e00c]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov edi, dword [0x101203a8]
mov dword [esp + 0x2c], edi
mov edx, dword [edi + 0x5ab0]
lea eax, [edi + 0x5ab8]
sub edx, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edx
js 0x1002c343
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x5ab8]
cmp dword [ecx + eax + 4], 7
jne 0x1002c32b
mov esi, ecx
sub ecx, esi
add ecx, eax
mov eax, 0x66666667
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 + 0x5ab0]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*4 - 0x14]
push eax
lea eax, [edx + 0x14]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x24]
add esp, 0xc
dec dword [edi + 0x5ab0]
mov edx, dword [esp + 0x14]
dec edx
sub eax, 0x14
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
test edx, edx
jns 0x1002c2d3
lea eax, [edi + 0x5ab8]
jmp 0x1002c347
mov dword [esp + 0x28], eax
xor esi, esi
cmp dword [edi + 0x5ab0], esi
jle 0x1002c383
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov eax, dword [eax]
add eax, ecx
cmp dword [eax + 4], 0
jne 0x1002c36f
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
mov ecx, dword [esp + 0x1c]
add esp, 8
mov eax, dword [esp + 0x28]
inc esi
add ecx, 0x14
mov dword [esp + 0x14], ecx
cmp esi, dword [edi + 0x5ab0]
jl 0x1002c357
mov esi, dword [0x101203a8]
cmp byte [esi + 0x4a], 0
je 0x1002c399
test byte [esi + 0xc], 2
jne 0x1002c399
mov byte [esi + 0x4a], 0
cmp byte [esi + 0x5a79], 0
lea eax, [esi + 0x20]
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x1c], ecx
jne 0x1002c407
mov ecx, dword [eax]
test ecx, ecx
je 0x1002c400
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
call fcn.100283e0
mov ecx, eax
add esp, 8
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x1002c3fd
mov edx, dword [esp + 0x14]
test edx, edx
je 0x1002c3e6
call fcn.1003da90
mov ecx, dword [esp + 0x30]
mov eax, dword [0x101203a8]
test eax, eax
je 0x1002c3f5
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x20]
add esp, 4
lea eax, [esi + 0x20]
mov byte [esi + 0x5a79], 1
movss xmm0, dword [esi + 0x5a7c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1002c4a2
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5a7c], xmm0
jb 0x1002c4a2
mov eax, dword [eax]
mov dword [esp + 0x30], eax
test eax, eax
je 0x1002c491
mov eax, dword [0x101203a8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov dword [eax + 0x5a7c], 0
call fcn.1003dcb0
mov ecx, dword [esp + 0x30]
mov edx, 0x10111788
mov dword [esp + 0x20], eax
call fcn.100282e0
mov dword [esp + 0x30], eax
test eax, eax
je 0x1002c498
push eax
push dword [esp + 0x18]
push 1
push dword [esp + 0x2c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esp + 0x40]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x1002c498
mov byte [esi + 0x94], 1
mov dword [esi + 0x5a7c], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3de8]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x3df4], 1
mov word [edi + 0x5a3e], ax
mov dword [edi + 0x3e5c], eax
addsd xmm0, qword [edi + 0x3de0]
movsd qword [edi + 0x3de0], xmm0
mov ecx, dword [edi + 0x5a50]
test ecx, ecx
jns 0x1002c4fc
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 + 0x5a4c]
call fcn.1003f270
mov dword [edi + 0x5a4c], 0
mov ecx, 0x3c
mov eax, dword [edi + 0x5c60]
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [edi + eax*4 + 0x5b70]
addss xmm0, dword [edi + 0x5c68]
movss dword [edi + 0x5c68], xmm0
movss dword [edi + eax*4 + 0x5b70], xmm1
mov eax, dword [edi + 0x5c60]
inc eax
movss xmm1, dword [edi + 0x5c68]
cdq
idiv ecx
mov eax, dword [edi + 0x5c64]
movss xmm0, dword [0x10117124]
inc eax
cmp eax, ecx
mov dword [edi + 0x5c60], edx
movss dword [esp + 0x18], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x10116ed4]
mov dword [edi + 0x5c64], ecx
jbe 0x1002c593
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10116f8c]
divss xmm0, xmm1
movss dword [edi + 0x98], xmm0
mov ecx, dword [edi + 0x3e10]
test ecx, ecx
jns 0x1002c5c1
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 + 0x3e0c]
call fcn.1003f890
mov dword [edi + 0x3e0c], 0
mov cl, byte [edi + 0x46]
call fcn.10036d50
mov esi, dword [0x101203a8]
xorps xmm3, xmm3
mov eax, dword [esi + 0x47e8]
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
cmp dword [esi + 0x47e0], 0
jle 0x1002c6e2
xor edi, edi
mov eax, dword [esi + 0x47e8]
movaps xmm2, xmm3
mov edx, dword [eax + edi*4]
inc edi
mov eax, dword [edx + 0x8c]
mov ecx, dword [edx + 0x90]
movss xmm0, dword [edx + 8]
mov dword [edx + 0x7c], eax
mov eax, dword [edx + 0x94]
mov dword [edx + 0x80], ecx
mov ecx, dword [edx + 0x98]
mov dword [edx + 0x84], eax
mov dword [edx + 0x88], ecx
mov dword [edx + 0x94], 0
mov dword [edx + 0x98], 0
mov dword [edx + 0x8c], 0
mov dword [edx + 0x90], 0
addss xmm0, dword [edx + 0x80]
movss xmm1, dword [edx + 0x7c]
addss xmm1, dword [edx + 4]
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [edx + 0x14], xmm1
movaps xmm1, xmm3
subss xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 0x84]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x80]
addss xmm0, dword [edx + 0x88]
movss dword [edx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x20], xmm1
cmp edi, dword [esi + 0x47e0]
jl 0x1002c613
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0x2c]
mov byte [eax + 0x10], 1
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x1002c700
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
movss xmm1, dword [esi + 0x30]
movss xmm2, dword [0x10116f8c]
mov edx, dword [esi + 0x3e68]
movaps xmm0, xmm2
mov dword [esi + 0x3bd0], ecx
mulss xmm1, dword [ecx + 0x10]
mulss xmm1, dword [ecx + 0x4c]
maxss xmm0, xmm1
movss dword [esi + 0x3bd8], xmm0
test edx, edx
je 0x1002c75c
mov eax, dword [edx]
movss xmm0, dword [edx + 0x25c]
mulss xmm0, dword [eax + 0x3bd8]
mov eax, dword [edx + 0x2f8]
test eax, eax
je 0x1002c75f
mulss xmm0, dword [eax + 0x25c]
jmp 0x1002c75f
movaps xmm0, xmm3
movss xmm7, dword [esp + 0x18]
movss xmm4, dword [0x1011718c]
movaps xmm6, xmm7
movss dword [esi + 0x3bd4], xmm0
movaps xmm5, xmm4
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x3bdc], eax
lea eax, [edx + 0x60]
mov dword [esi + 0x3dd8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x3be0], ecx
mov dword [esi + 0x3be4], eax
movss dword [esi + 0x3be8], xmm0
mov edx, dword [edi + 0x47e0]
test edx, edx
jle 0x1002c80c
mov ecx, dword [edi + 0x47e8]
nop dword [eax + eax]
mov eax, dword [ecx]
movss xmm3, dword [eax + 4]
comiss xmm7, xmm3
movss xmm2, dword [eax + 8]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x10]
jbe 0x1002c7e4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1002c7ec
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x1002c7f4
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1002c7fc
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x1002c7c0
movss xmm2, dword [0x10116f8c]
mov eax, dword [edi + 0x3854]
movss xmm1, dword [edi + 0x3858]
movss dword [esp + 0x30], xmm7
movss dword [esp + 0x34], xmm6
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x3c], xmm5
movups xmm0, xmmword [esp + 0x30]
mov dword [edi + 0x3bec], eax
movups xmmword [edi + 0x3bf4], xmm0
movss xmm0, dword [edi + 0x3bf0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002c93b
movss dword [edi + 0x3bf0], xmm1
xor esi, esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1002c8ec
movss xmm1, dword [edi + 0x3bf0]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x10117010]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x1002c8dd
mov eax, 4
jmp 0x1002c8f1
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x1002c8f1
mov eax, 0x30
movss xmm2, dword [0x10116f8c]
mov byte [esi + edi + 0x3d98], al
inc esi
cmp esi, 0x40
jl 0x1002c863
movsd xmm0, qword [0x10116fa0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x10116f8c]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3bf0]
divss xmm0, xmm1
movss dword [edi + 0x3d94], xmm0
xor edx, edx
mov dword [edi + 0x3c04], 0
cmp byte [edi + 0x3850], dl
je 0x1002c95e
mov dword [edi + 0x3c04], 1
mov edx, 1
cmp byte [edi + 0x3851], 0
mov ecx, edx
je 0x1002c980
mov eax, dword [edi + 0x3bd0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1002c980
or ecx, 2
mov dword [edi + 0x3c04], ecx
cmp byte [edi + 0x3852], 0
je 0x1002c992
or ecx, 4
mov dword [edi + 0x3c04], ecx
test byte [edi + 0xc], 8
je 0x1002c9a1
or ecx, 8
mov dword [edi + 0x3c04], ecx
xor esi, esi
cmp dword [edi + 0x47e0], esi
jle 0x1002c9d2
nop dword [eax + eax]
mov eax, dword [edi + 0x47e8]
push 0x2c
push 0
mov eax, dword [eax + esi*4]
add eax, 0x38
push eax
call sub.VCRUNTIME140.dll_memset
inc esi
add esp, 0xc
cmp esi, dword [edi + 0x47e0]
jl 0x1002c9b0
cmp byte [edi + 0x4984], 0
mov ecx, dword [0x101203a8]
je 0x1002ca0c
mov eax, dword [edi + 0x499c]
cmp eax, dword [edi + 0x3eb4]
jne 0x1002ca0c
cmp dword [ecx + 0x3eb4], eax
jne 0x1002c9fd
mov dword [ecx + 0x3eb8], eax
cmp dword [ecx + 0x3edc], eax
jne 0x1002ca0c
mov byte [ecx + 0x3ee0], 1
cmp dword [edi + 0x3ea4], 0
lea eax, [edi + 0x3ea0]
mov edx, dword [eax]
jne 0x1002ca35
mov dword [edi + 0x3eac], 0
mov esi, edx
mov dword [edi + 0x3eb0], 0
jmp 0x1002ca5b
mov dword [esp + 0x14], eax
mov esi, edx
test edx, edx
je 0x1002ca57
mov dword [esp + 0x14], eax
cmp dword [edi + 0x3eb4], edx
jne 0x1002ca57
mov dword [edi + 0x3eb0], 0
jmp 0x1002ca5b
mov eax, dword [esp + 0x14]
movss xmm1, dword [edi + 0x18]
test esi, esi
je 0x1002ca92
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3eac]
movss dword [edi + 0x3eac], xmm0
cmp dword [edi + 0x3eb4], esi
je 0x1002ca92
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3eb0]
movss dword [edi + 0x3eb0], xmm0
mov dword [eax], 0
movaps xmm2, xmm1
mov eax, dword [edi + 0x3eb4]
mov dword [edi + 0x3ea4], esi
mov word [edi + 0x3ea8], 0
test eax, eax
je 0x1002caee
cmp dword [edi + 0x3eb8], eax
je 0x1002caee
cmp dword [edi + 0x3edc], eax
jne 0x1002caee
test byte [edi + 0x5b14], 1
je 0x1002cada
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.1003e580
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.1002b530
movss xmm2, dword [edi + 0x18]
mov ecx, dword [0x101203a8]
mov edx, dword [edi + 0x3eb4]
test edx, edx
je 0x1002cb0b
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x3ebc]
movss dword [edi + 0x3ebc], xmm0
mov eax, dword [edi + 0x3ed0]
addss xmm2, dword [edi + 0x3eec]
mov dword [edi + 0x3ee4], eax
mov al, byte [edi + 0x3ec4]
mov byte [edi + 0x3ee1], al
mov eax, dword [edi + 0x59bc]
movss dword [edi + 0x3eec], xmm2
mov dword [edi + 0x3edc], edx
mov dword [edi + 0x3eb8], 0
mov byte [edi + 0x3ec5], 0
mov byte [edi + 0x3ee0], 0
mov byte [edi + 0x3ec0], 0
test eax, eax
je 0x1002cb70
cmp edx, eax
je 0x1002cb70
mov dword [edi + 0x59bc], 0
test edx, edx
jne 0x1002cb8e
mov dword [edi + 0x46b8], edx
mov dword [edi + 0x46b0], edx
mov byte [edi + 0x46b4], dl
mov dword [edi + 0x46b8], edx
jmp 0x1002cbb1
mov eax, dword [edi + 0x46b8]
test eax, eax
je 0x1002cbb1
test al, 2
je 0x1002cbb1
mov dword [ecx + 0x3f9c], edx
mov dword [ecx + 0x3f98], edx
mov word [ecx + 0x3fa0], 0
mov ecx, dword [edi + 0x4aac]
mov eax, edi
mov dword [esp + 0x14], 0x3bbc
mov edx, 0x4ac8
mov esi, edi
test ecx, ecx
je 0x1002cbe5
movss xmm0, dword [edi + 0x4ac8]
comiss xmm0, dword [edi + 0x3bbc]
jb 0x1002cbef
mov dword [edi + 0x4abc], ecx
jmp 0x1002cbef
mov dword [edi + 0x4abc], 0
cmp dword [edi + 0x3e6c], 0
je 0x1002cc18
movss xmm0, dword [eax + edx]
mov eax, dword [esp + 0x14]
comiss xmm0, dword [esi + eax]
jb 0x1002cc22
mov eax, dword [edi + 0x3e6c]
mov eax, dword [eax + 8]
mov dword [edi + 0x4ac0], eax
jmp 0x1002cc22
mov dword [edi + 0x4ac0], 0
movss xmm0, dword [edi + 0x4ab4]
mov dword [edi + 0x4ab0], ecx
test ecx, ecx
je 0x1002cc4d
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4aac], 0
movss dword [edi + 0x4ab4], xmm0
jmp 0x1002cc8d
comiss xmm0, dword [0x10116ed4]
jbe 0x1002cc97
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x10116f34]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4ab8]
addss xmm1, xmm1
movss dword [edi + 0x4ab8], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1002cc97
mov dword [edi + 0x4ab4], 0
mov dword [edi + 0x4ab8], 0
mov eax, dword [edi + 0x49e8]
mov dword [edi + 0x49ec], eax
mov dword [edi + 0x49e8], 0
mov dword [edi + 0x49e4], 0x7f7fffff
mov word [edi + 0x4985], 0
mov dword [edi + 0x49f4], 0
call fcn.10035990
call fcn.1003a860
call fcn.10035ef0
call fcn.1002c020
mov esi, dword [0x101203a8]
mov ecx, dword [esi + 0x3e74]
test ecx, ecx
je 0x1002cd9f
mov eax, dword [esi + 0x3eb4]
mov dword [esi + 0x3eb8], eax
cmp dword [esi + 0x3edc], eax
jne 0x1002cd0d
mov byte [esi + 0x3ee0], 1
cmp byte [esi + 0xdc0], 0
mov eax, dword [ecx + 0x300]
mov dword [esp + 0x30], eax
je 0x1002cd93
lea eax, [esi + 0xdb8]
mov ecx, eax
test eax, eax
jne 0x1002cd32
lea ecx, [esi + 0xdb8]
movss xmm0, dword [ecx]
movss xmm1, dword [0x10117188]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x1002cd93
comiss xmm2, xmm1
jb 0x1002cd93
movss xmm0, dword [eax]
lea edx, [esp + 0x20]
subss xmm0, dword [esi + 0x3ec8]
mov ecx, dword [esp + 0x30]
push 1
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x3ecc]
movss dword [esp + 0x28], xmm0
call fcn.10034cd0
mov ecx, dword [esi + 0x3e74]
add esp, 4
xor edx, edx
call fcn.10034630
jmp 0x1002cddb
mov dword [esi + 0x3e74], 0
jmp 0x1002cdd2
mov ecx, dword [esi + 0x3ed0]
test ecx, ecx
je 0x1002cddb
mov eax, dword [esi + 0x3eb4]
cmp dword [ecx + 0x70], eax
jne 0x1002cddb
mov dword [esi + 0x3eb8], eax
cmp dword [esi + 0x3edc], eax
jne 0x1002cdc9
mov byte [esi + 0x3ee0], 1
cmp byte [esi + 0xdc0], 0
jne 0x1002cddb
xor edx, edx
xor ecx, ecx
call fcn.1002b530
mov eax, dword [0x101203a8]
mov edx, dword [eax + 0x47c4]
sub edx, 1
js 0x1002ce17
mov eax, dword [eax + 0x47cc]
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 0x1002ce0f
test dword [ecx + 0xc], 0x8000000
jne 0x1002ce31
sub eax, 0x28
sub edx, 1
jns 0x1002ce00
cmp dword [edi + 0x4958], 0
je 0x1002ce50
movss xmm0, dword [edi + 0x4968]
comiss xmm0, dword [0x10116ed4]
jbe 0x1002ce50
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x10117030]
addss xmm1, dword [edi + 0x4980]
minss xmm1, dword [0x10116f8c]
jmp 0x1002ce71
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x10117040]
movss xmm1, dword [edi + 0x4980]
subss xmm1, xmm0
maxss xmm1, dword [0x10116ed4]
movss dword [edi + 0x4980], xmm1
movups xmm0, xmmword [edi + 0x5a58]
mov dword [edi + 0x4ac4], 0
mov dword [edi + 0x5c74], 0xffffffff
mov dword [edi + 0x5c70], 0xffffffff
mov dword [edi + 0x5c6c], 0xffffffff
movups xmmword [edi + 0x5a68], xmm0
mov byte [edi + 0x5a58], 0
call fcn.100362d0
cmp byte [edi + 0x3df7], 0
jne 0x1002cee9
movss xmm0, dword [edi + 0x4c]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1002cee9
movsd xmm1, qword [edi + 0x3de0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x18], xmm1
jmp 0x1002ceef
movss xmm1, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x3e20], ecx
je 0x1002d0ac
nop dword [eax]
nop word [eax + eax]
mov eax, dword [edi + 0x3e28]
mov esi, dword [eax + ecx*4]
mov ax, word [esi + 0xb6]
mov cl, byte [esi + 0xaa]
mov word [esi + 0xb8], ax
xor eax, eax
mov byte [esi + 0xab], cl
mov byte [esi + 0xaa], 0
mov byte [esi + 0xac], 0
mov word [esi + 0xb6], ax
test cl, cl
jne 0x1002d091
cmp byte [esi + 0x358], al
jne 0x1002d091
comiss xmm1, dword [esi + 0x23c]
jbe 0x1002d091
mov ecx, dword [esi + 0x264]
mov byte [esi + 0x358], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x350], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x354], eax
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x1002cfc9
mov eax, dword [0x101203a8]
mov dword [esi + 0xe8], 0
mov dword [esi + 0xe4], 0
test eax, eax
je 0x1002cfb7
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0xec], 0
mov ecx, dword [esi + 0x264]
call fcn.10047110
mov ecx, dword [esi + 0x188]
test ecx, ecx
je 0x1002d013
mov eax, dword [0x101203a8]
mov dword [esi + 0x184], 0
mov dword [esi + 0x180], 0
test eax, eax
je 0x1002d001
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x188], 0
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x1002d052
mov eax, dword [0x101203a8]
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1a8], 0
test eax, eax
je 0x1002d040
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x1b0], 0
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
je 0x1002d091
mov eax, dword [0x101203a8]
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
test eax, eax
je 0x1002d07f
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x1bc], 0
mov ecx, dword [esp + 0x14]
movss xmm1, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [edi + 0x3e20]
jne 0x1002cf10
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp dword [edi + 0x4a58], ecx
jle 0x1002d208
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x30], edx
nop word [eax + eax]
mov eax, dword [edi + 0x4a60]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1002d1ed
movss xmm1, dword [esp + 0x18]
comiss xmm1, xmm0
jbe 0x1002d1ea
mov esi, dword [edi + 0x4a40]
mov eax, dword [0x101203a8]
add esi, edx
mov dword [esp + 0x14], eax
mov dword [esi + 0x198], 0
mov ecx, dword [esi + 0x194]
test ecx, ecx
je 0x1002d148
mov dword [esi + 0x190], 0
mov dword [esi + 0x18c], 0
test eax, eax
je 0x1002d136
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x194], 0
mov byte [esi + 0x1d9], 1
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x1002d18e
mov eax, dword [0x101203a8]
mov dword [esi + 0x158], 0
mov dword [esi + 0x154], 0
test eax, eax
je 0x1002d17c
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x15c], 0
xor edx, edx
mov byte [esi + 0x1e5], 1
cmp dword [esi + 0x40], edx
jle 0x1002d1b6
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [ecx + eax - 0x20], di
cmp edx, dword [esi + 0x40]
jl 0x1002d1a1
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
sub esi, dword [eax + 0x4a40]
mov eax, 0x4325c53f
imul esi
mov eax, dword [esp + 0x14]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
mov eax, dword [eax + 0x4a60]
add ecx, edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x20]
xorps xmm1, xmm1
inc ecx
add edx, 0x1e8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], edx
cmp ecx, dword [edi + 0x4a58]
jl 0x1002d0d0
xor ecx, ecx
mov dword [esp + 0x30], ecx
cmp dword [edi + 0x4a2c], ecx
jle 0x1002d26d
xor esi, esi
xorps xmm1, xmm1
nop dword [eax + eax]
mov eax, dword [edi + 0x4a34]
mov dword [esp + 0x20], eax
movss xmm0, dword [esi + eax + 4]
comiss xmm0, xmm1
jb 0x1002d25d
movss xmm1, dword [esp + 0x18]
comiss xmm1, xmm0
jbe 0x1002d25a
lea ecx, [eax + 0x10]
add ecx, esi
call fcn.1004a040
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov dword [esi + eax + 4], 0xbf800000
xorps xmm1, xmm1
inc ecx
add esi, 0x68
mov dword [esp + 0x30], ecx
cmp ecx, dword [edi + 0x4a2c]
jl 0x1002d220
cmp byte [edi + 0x3df7], 0
je 0x1002d2fe
mov esi, dword [0x101203a8]
mov eax, dword [esi + 0x47b4]
test eax, eax
je 0x1002d2ba
mov dword [esi + 0x47b0], 0
mov dword [esi + 0x47ac], 0
test esi, esi
je 0x1002d2a8
dec dword [esi + 0xac]
push eax
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x47b4], 0
mov ecx, dword [esi + 0x47c0]
test ecx, ecx
je 0x1002d2f9
mov eax, dword [0x101203a8]
mov dword [esi + 0x47bc], 0
mov dword [esi + 0x47b8], 0
test eax, eax
je 0x1002d2e7
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x47c0], 0
call fcn.10053be0
mov eax, dword [edi + 0x47ec]
mov byte [edi + 0x3df7], 0
test eax, eax
je 0x1002d363
cmp byte [eax + 0xab], 0
jne 0x1002d363
mov eax, dword [0x101203a8]
mov edx, dword [eax + 0x3e2c]
sub edx, 1
js 0x1002d357
mov eax, dword [eax + 0x3e34]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x1002d34f
cmp byte [ecx + 0xab], 0
je 0x1002d34f
mov eax, dword [ecx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1002d359
sub esi, 4
sub edx, 1
jns 0x1002d331
xor ecx, ecx
mov edx, 1
call fcn.10034630
mov ecx, dword [edi + 0x3e48]
test ecx, ecx
jns 0x1002d389
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 + 0x3e44]
call fcn.1003f820
mov dword [edi + 0x3e44], 0
mov ecx, dword [edi + 0x47d4]
test ecx, ecx
jns 0x1002d3b9
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 + 0x47d0]
call fcn.1003f7a0
lea esi, [edi + 0x47ac]
mov dword [edi + 0x47d0], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1002d3e8
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.1003f270
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1002d3fd
push 8
mov ecx, esi
call fcn.1003f270
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x47b8]
inc dword [esi]
call fcn.1003f040
mov esi, dword [0x101203a8]
cmp byte [esi + 0x5b37], 0
mov dword [esi + 0x5b3c], 0
je 0x1002d586
mov eax, dword [esi + 0x3ea4]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [esp + 0x20], eax
mov dword [esi + 0x4ac4], 7
call fcn.100355d0
add esp, 4
test al, al
je 0x1002d465
mov byte [esi + 0x5b37], 0
mov ecx, dword [esi + 0xdd8]
mov dword [esp + 0x18], ecx
cmp ecx, 0x3000
je 0x1002d4a7
movzx ecx, byte [esi + 0x5b38]
xor edx, edx
push 0
call fcn.100357a0
mov ecx, dword [esp + 0x1c]
add esp, 4
test al, al
je 0x1002d4a7
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1002d4a7
mov dword [esi + 0x5b3c], eax
mov byte [esi + 0x5b37], 0
xor eax, eax
mov dword [esp + 0x14], eax
nop dword [eax]
cmp ecx, 0x3000
jne 0x1002d4d8
push 0
xor edx, edx
mov ecx, eax
call fcn.100357a0
mov ecx, dword [esp + 0x1c]
add esp, 4
test al, al
mov eax, dword [esp + 0x14]
je 0x1002d4d8
mov byte [esi + 0x5b38], al
inc eax
mov dword [esp + 0x14], eax
cmp eax, 3
jl 0x1002d4b0
or dword [esi + 0x471c], 0x40
xor ecx, ecx
mov dword [esi + 0x4770], 0x3f333333
call fcn.100384e0
test al, al
je 0x1002d586
push dword [esp + 0x1c]
push str.HoveredId:_0x_08X
call fcn.10054920
push str.Press_ESC_to_abort_picking.
call fcn.10054920
add esp, 0xc
mov dword [esp + 0x30], str.Left
cmp dword [esp + 0x18], 0x3000
mov dword [esp + 0x34], str.Right
mov dword [esp + 0x38], str.Middle
jne 0x1002d54e
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.10054920
add esp, 4
jmp 0x1002d581
movzx eax, byte [esi + 0x5b38]
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
push dword [esp + eax*4 + 0x30]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x101203a8]
add eax, 0x385c
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.100549f0
add esp, 0xc
call fcn.10034350
call fcn.1003e8a0
mov al, byte [edi + 0x5b35]
test al, al
je 0x1002d5a9
sub al, 1
mov byte [edi + 0x5b35], al
jne 0x1002d5a9
mov dword [edi + 0x46c4], 0
mov al, byte [edi + 0x5b34]
test al, al
je 0x1002d5d1
sub al, 1
mov byte [edi + 0x5b34], al
jne 0x1002d5d1
push str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.1003e580
add esp, 4
and dword [edi + 0x5b14], 0xffffffef
mov eax, dword [0x101203a8]
xor edx, edx
mov byte [edi + 0x3df5], 1
mov ecx, str.DebugDefault
push 0
or dword [eax + 0x471c], 2
mov dword [eax + 0x473c], 0x43c80000
mov dword [eax + 0x4740], 0x43c80000
mov dword [eax + 0x4724], 4
call fcn.10031c90
add esp, 4
cmp byte [edi + 0x65], 0
je 0x1002d64e
mov cl, byte [edi + 0x5b36]
cmp cl, 0xff
jne 0x1002d628
xor edx, edx
jmp 0x1002d651
mov eax, dword [edi + 0x3de8]
and eax, 0x80000003
jns 0x1002d63a
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 0x1002d651
or dl, 0xff
xor esi, esi
mov byte [edi + 0x5b36], dl
cmp dword [edi + 0x5ab0], esi
jle 0x1002d693
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
add eax, ecx
cmp dword [eax + 4], 1
jne 0x1002d683
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
mov ecx, dword [esp + 0x38]
add esp, 8
inc esi
add ecx, 0x14
mov dword [esp + 0x30], ecx
cmp esi, dword [edi + 0x5ab0]
jl 0x1002d667
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.100f238c
mov esp, ebp
pop ebp
ret