Function at 0x100315c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
mov eax, dword [0x1011f00c]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov edi, dword [0x1012274c]
mov dword [esp + 0x24], edi
mov eax, dword [edi + 0x5ab0]
lea ecx, [edi + 0x5ab8]
sub eax, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
js 0x1003166e
lea ebx, [eax + eax*4]
shl ebx, 2
mov ecx, dword [ecx]
cmp dword [ecx + ebx + 4], 7
jne 0x10031654
mov esi, dword [edi + 0x5ab8]
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 + 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 + 0x1c]
add esp, 0xc
dec dword [edi + 0x5ab0]
dec eax
lea ecx, [edi + 0x5ab8]
sub ebx, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jns 0x10031600
lea ecx, [edi + 0x5ab8]
jmp 0x10031672
mov dword [esp + 0x1c], ecx
xor esi, esi
cmp dword [edi + 0x5ab0], esi
jle 0x100316a4
xor ebx, ebx
nop
mov eax, dword [ecx]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x10031698
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
mov ecx, dword [esp + 0x24]
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5ab0]
jl 0x10031680
mov esi, dword [0x1012274c]
cmp byte [esi + 0x4a], 0
je 0x100316ba
test byte [esi + 0xc], 2
jne 0x100316ba
mov byte [esi + 0x4a], 0
cmp byte [esi + 0x5a79], 0
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x18], eax
jne 0x10031722
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1003171b
push ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
call fcn.1002d730
mov ecx, eax
add esp, 8
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x1003171b
mov edx, dword [esp + 0x10]
test edx, edx
je 0x10031704
call fcn.10042d20
mov ecx, dword [esp + 0x14]
mov eax, dword [0x1012274c]
test eax, eax
je 0x10031713
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x1c]
add esp, 4
mov byte [esi + 0x5a79], 1
movss xmm0, dword [esi + 0x5a7c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100317af
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5a7c], xmm0
jb 0x100317af
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x1003179e
mov eax, dword [0x1012274c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [eax + 0x5a7c], 0
call fcn.10042f40
mov edx, 0x101171a8
mov dword [esp + 0x14], eax
mov ecx, ebx
call fcn.1002d630
mov ebx, eax
test ebx, ebx
je 0x100317a5
push ebx
push dword [esp + 0x14]
push 1
push dword [esp + 0x20]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x100317a5
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 0x10031809
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.10044500
mov dword [edi + 0x5a4c], 0
mov ecx, 0x3c
mov eax, dword [edi + 0x5c60]
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x10117ec0]
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 [0x1011804c]
inc eax
cmp eax, ecx
mov dword [edi + 0x5c60], edx
movss dword [esp + 0x10], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x10117e04]
mov dword [edi + 0x5c64], ecx
jbe 0x100318a3
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [edi + 0x98], xmm0
mov ecx, dword [edi + 0x3e10]
test ecx, ecx
jns 0x100318d1
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.10044b20
mov dword [edi + 0x3e0c], 0
mov cl, byte [edi + 0x46]
call fcn.1003c090
mov ebx, dword [0x1012274c]
xor esi, esi
mov dword [esp + 0x14], ebx
xorps xmm3, xmm3
mov eax, dword [ebx + 0x47e8]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
cmp dword [ebx + 0x47e0], esi
jle 0x100319fb
nop word [eax + eax]
mov eax, dword [ebx + 0x47e8]
movaps xmm2, xmm3
mov edx, dword [eax + esi*4]
inc esi
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 esi, dword [ebx + 0x47e0]
jl 0x10031930
mov eax, dword [edi + 0x2c]
mov byte [eax + 0x10], 1
mov esi, dword [ebx + 0x38]
test esi, esi
jne 0x10031a11
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x44]
mov esi, dword [eax]
movss xmm2, dword [0x10117ec0]
mov ecx, dword [ebx + 0x3e68]
movaps xmm0, xmm2
mov dword [ebx + 0x3bd0], esi
movss xmm1, dword [esi + 0x10]
mulss xmm1, dword [ebx + 0x30]
mulss xmm1, dword [esi + 0x4c]
maxss xmm0, xmm1
movss dword [ebx + 0x3bd8], xmm0
test ecx, ecx
je 0x10031a6d
mov eax, dword [ecx]
movss xmm0, dword [ecx + 0x25c]
mulss xmm0, dword [eax + 0x3bd8]
mov eax, dword [ecx + 0x2f8]
test eax, eax
je 0x10031a70
mulss xmm0, dword [eax + 0x25c]
jmp 0x10031a70
movaps xmm0, xmm3
movss xmm7, dword [esp + 0x10]
movss xmm4, dword [0x101180c8]
movaps xmm6, xmm7
movss dword [ebx + 0x3bd4], xmm0
movaps xmm5, xmm4
mov edx, dword [esi + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [ebx + 0x3bdc], eax
lea eax, [edx + 0x60]
mov dword [ebx + 0x3be0], ecx
mov dword [ebx + 0x3dd8], eax
mov dword [ebx + 0x3be4], esi
movss dword [ebx + 0x3be8], xmm0
mov edx, dword [edi + 0x47e0]
test edx, edx
jle 0x10031b1c
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 0x10031af4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x10031afc
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10031b04
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x10031b0c
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x10031ad0
movss xmm2, dword [0x10117ec0]
movss dword [edi + 0x3bf4], xmm7
movss dword [edi + 0x3bf8], xmm6
movss dword [edi + 0x3bfc], xmm4
movss dword [edi + 0x3c00], xmm5
mov eax, dword [edi + 0x3854]
movss xmm1, dword [edi + 0x3858]
mov dword [edi + 0x3bec], eax
movss xmm0, dword [edi + 0x3bf0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10031c4b
movss dword [edi + 0x3bf0], xmm1
xor esi, esi
mov ebx, 0x200
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x10031bf8
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 [0x10117f30]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x10031bee
mov eax, 4
jmp 0x10031bfd
cmp eax, 0x200
cmovg eax, ebx
jmp 0x10031bfd
mov eax, 0x30
movss xmm2, dword [0x10117ec0]
mov byte [esi + edi + 0x3d98], al
inc esi
cmp esi, 0x40
jl 0x10031b74
movsd xmm0, qword [0x10117ed0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x10117ec0]
cvtsd2ss xmm0, xmm0
mov ebx, dword [esp + 0x14]
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 0x10031c6e
mov dword [edi + 0x3c04], 1
mov edx, 1
cmp byte [edi + 0x3851], 0
mov ecx, edx
je 0x10031c90
mov eax, dword [edi + 0x3bd0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x10031c90
or ecx, 2
mov dword [edi + 0x3c04], ecx
cmp byte [edi + 0x3852], 0
je 0x10031ca2
or ecx, 4
mov dword [edi + 0x3c04], ecx
test byte [edi + 0xc], 8
je 0x10031cb1
or ecx, 8
mov dword [edi + 0x3c04], ecx
xor esi, esi
cmp dword [edi + 0x47e0], esi
jle 0x10031ce2
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 0x10031cc0
cmp byte [edi + 0x4984], 0
je 0x10031d16
mov eax, dword [edi + 0x499c]
cmp eax, dword [edi + 0x3eb4]
jne 0x10031d16
cmp dword [ebx + 0x3eb4], eax
jne 0x10031d07
mov dword [ebx + 0x3eb8], eax
cmp dword [ebx + 0x3edc], eax
jne 0x10031d16
mov byte [ebx + 0x3ee0], 1
cmp dword [edi + 0x3ea4], 0
lea eax, [edi + 0x3ea0]
mov ecx, dword [eax]
jne 0x10031d33
mov dword [edi + 0x3eac], 0
jmp 0x10031d43
mov edx, ecx
mov esi, eax
test ecx, ecx
je 0x10031d51
cmp dword [edi + 0x3eb4], ecx
jne 0x10031d51
mov dword [edi + 0x3eb0], 0
mov edx, ecx
mov esi, eax
movss xmm1, dword [edi + 0x18]
test edx, edx
je 0x10031d88
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3eac]
movss dword [edi + 0x3eac], xmm0
cmp dword [edi + 0x3eb4], edx
je 0x10031d88
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3eb0]
movss dword [edi + 0x3eb0], xmm0
mov eax, dword [edi + 0x3eb4]
movaps xmm2, xmm1
mov dword [edi + 0x3ea4], edx
mov dword [esi], 0
mov word [edi + 0x3ea8], 0
test eax, eax
je 0x10031de4
cmp dword [edi + 0x3eb8], eax
je 0x10031de4
cmp dword [edi + 0x3edc], eax
jne 0x10031de4
test byte [edi + 0x5b14], 1
je 0x10031dd0
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.10043810
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.10030860
movss xmm2, dword [edi + 0x18]
mov ebx, dword [0x1012274c]
mov ecx, dword [edi + 0x3eb4]
test ecx, ecx
je 0x10031e01
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], ecx
mov dword [edi + 0x3eb8], 0
mov byte [edi + 0x3ec5], 0
mov byte [edi + 0x3ee0], 0
mov byte [edi + 0x3ec0], 0
test eax, eax
je 0x10031e66
cmp ecx, eax
je 0x10031e66
mov dword [edi + 0x59bc], 0
test ecx, ecx
jne 0x10031e84
mov dword [edi + 0x46b8], ecx
mov dword [edi + 0x46b0], ecx
mov byte [edi + 0x46b4], cl
mov dword [edi + 0x46b8], ecx
jmp 0x10031ea7
mov eax, dword [edi + 0x46b8]
test eax, eax
je 0x10031ea7
test al, 2
je 0x10031ea7
mov dword [ebx + 0x3f9c], ecx
mov dword [ebx + 0x3f98], ecx
mov word [ebx + 0x3fa0], 0
mov ecx, dword [edi + 0x4aac]
mov eax, edi
mov edx, 0x4ac8
mov esi, edi
mov ebx, 0x3bbc
test ecx, ecx
je 0x10031ed8
movss xmm0, dword [edi + 0x4ac8]
comiss xmm0, dword [edi + 0x3bbc]
jb 0x10031ee2
mov dword [edi + 0x4abc], ecx
jmp 0x10031ee2
mov dword [edi + 0x4abc], 0
cmp dword [edi + 0x3e6c], 0
je 0x10031f07
movss xmm0, dword [eax + edx]
comiss xmm0, dword [esi + ebx]
jb 0x10031f11
mov eax, dword [edi + 0x3e6c]
mov eax, dword [eax + 8]
mov dword [edi + 0x4ac0], eax
jmp 0x10031f11
mov dword [edi + 0x4ac0], 0
movss xmm0, dword [edi + 0x4ab4]
mov dword [edi + 0x4ab0], ecx
test ecx, ecx
je 0x10031f3c
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4aac], 0
movss dword [edi + 0x4ab4], xmm0
jmp 0x10031f7c
comiss xmm0, dword [0x10117e04]
jbe 0x10031f86
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x10117e68]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4ab8]
addss xmm1, xmm1
movss dword [edi + 0x4ab8], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x10031f86
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.1003acd0
call fcn.1003fb10
call fcn.1003b230
call fcn.10031350
mov esi, dword [0x1012274c]
mov ecx, dword [esi + 0x3e74]
test ecx, ecx
je 0x10032088
mov eax, dword [esi + 0x3eb4]
mov dword [esi + 0x3eb8], eax
cmp dword [esi + 0x3edc], eax
jne 0x10031ffc
mov byte [esi + 0x3ee0], 1
cmp byte [esi + 0xdc0], 0
mov ebx, dword [ecx + 0x300]
je 0x1003207c
lea eax, [esi + 0xdb8]
mov ecx, eax
test eax, eax
jne 0x1003201d
lea ecx, [esi + 0xdb8]
movss xmm0, dword [ecx]
movss xmm1, dword [0x101180c4]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x1003207c
comiss xmm2, xmm1
jb 0x1003207c
movss xmm0, dword [eax]
lea edx, [esp + 0x28]
subss xmm0, dword [esi + 0x3ec8]
push 1
mov ecx, ebx
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x3ecc]
movss dword [esp + 0x30], xmm0
call fcn.1003a010
mov ecx, dword [esi + 0x3e74]
add esp, 4
xor edx, edx
call fcn.10039970
jmp 0x100320c4
mov dword [esi + 0x3e74], 0
jmp 0x100320bb
mov ecx, dword [esi + 0x3ed0]
test ecx, ecx
je 0x100320c4
mov eax, dword [esi + 0x3eb4]
cmp dword [ecx + 0x70], eax
jne 0x100320c4
mov dword [esi + 0x3eb8], eax
cmp dword [esi + 0x3edc], eax
jne 0x100320b2
mov byte [esi + 0x3ee0], 1
cmp byte [esi + 0xdc0], 0
jne 0x100320c4
xor edx, edx
xor ecx, ecx
call fcn.10030860
mov eax, dword [0x1012274c]
mov edx, dword [eax + 0x47c4]
sub edx, 1
js 0x100320fa
mov eax, dword [eax + 0x47cc]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x100320f2
test dword [ecx + 0xc], 0x8000000
jne 0x10032114
sub eax, 0x28
sub edx, 1
jns 0x100320e3
cmp dword [edi + 0x4958], 0
je 0x10032133
movss xmm0, dword [edi + 0x4968]
comiss xmm0, dword [0x10117e04]
jbe 0x10032133
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x10117f50]
addss xmm1, dword [edi + 0x4980]
minss xmm1, dword [0x10117ec0]
jmp 0x10032154
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x10117f60]
movss xmm1, dword [edi + 0x4980]
subss xmm1, xmm0
maxss xmm1, dword [0x10117e04]
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.1003b610
cmp byte [edi + 0x3df7], 0
jne 0x100321cc
movss xmm0, dword [edi + 0x4c]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x100321cc
movsd xmm1, qword [edi + 0x3de0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x10], xmm1
jmp 0x100321d2
movss xmm1, dword [esp + 0x10]
xor ebx, ebx
cmp dword [edi + 0x3e20], ebx
je 0x10032374
mov eax, dword [edi + 0x3e28]
mov esi, dword [eax + ebx*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 0x10032361
cmp byte [esi + 0x358], al
jne 0x10032361
comiss xmm1, dword [esi + 0x23c]
jbe 0x10032361
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 0x10032299
mov eax, dword [0x1012274c]
mov dword [esi + 0xe8], 0
mov dword [esi + 0xe4], 0
test eax, eax
je 0x10032287
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0xec], 0
mov ecx, dword [esi + 0x264]
call fcn.1004c530
mov ecx, dword [esi + 0x188]
test ecx, ecx
je 0x100322e3
mov eax, dword [0x1012274c]
mov dword [esi + 0x184], 0
mov dword [esi + 0x180], 0
test eax, eax
je 0x100322d1
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x188], 0
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x10032322
mov eax, dword [0x1012274c]
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1a8], 0
test eax, eax
je 0x10032310
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x1b0], 0
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
je 0x10032361
mov eax, dword [0x1012274c]
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
test eax, eax
je 0x1003234f
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x1bc], 0
movss xmm1, dword [esp + 0x10]
inc ebx
cmp ebx, dword [edi + 0x3e20]
jne 0x100321e0
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp dword [edi + 0x4a58], ecx
jle 0x100324c5
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x14], edx
nop
mov eax, dword [edi + 0x4a60]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x100324aa
movss xmm1, dword [esp + 0x10]
comiss xmm1, xmm0
jbe 0x100324a7
mov esi, dword [edi + 0x4a40]
mov ebx, dword [0x1012274c]
add esi, edx
mov dword [esp + 0x28], ebx
mov dword [esi + 0x198], 0
mov eax, dword [esi + 0x194]
test eax, eax
je 0x10032409
mov dword [esi + 0x190], 0
mov dword [esi + 0x18c], 0
test ebx, ebx
je 0x100323f7
dec dword [ebx + 0xac]
push eax
call dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x194], 0
mov byte [esi + 0x1d9], 1
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x1003244f
mov eax, dword [0x1012274c]
mov dword [esi + 0x158], 0
mov dword [esi + 0x154], 0
test eax, eax
je 0x1003243d
dec dword [eax + 0xac]
push ecx
call dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x15c], 0
xor edx, edx
mov byte [esi + 0x1e5], 1
cmp dword [esi + 0x40], edx
jle 0x1003247b
xor ecx, ecx
or ebx, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [ecx + eax - 0x20], bx
cmp edx, dword [esi + 0x40]
jl 0x10032462
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
sub esi, dword [ebx + 0x4a40]
mov eax, 0x4325c53f
imul esi
mov eax, dword [ebx + 0x4a60]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x14]
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 + 0x14], edx
cmp ecx, dword [edi + 0x4a58]
jl 0x10032390
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [edi + 0x4a2c], eax
jle 0x10032525
xor esi, esi
xorps xmm1, xmm1
nop dword [eax + eax]
mov ebx, dword [edi + 0x4a34]
movss xmm0, dword [esi + ebx + 4]
comiss xmm0, xmm1
jb 0x10032515
movss xmm1, dword [esp + 0x10]
comiss xmm1, xmm0
jbe 0x10032512
lea ecx, [ebx + 0x10]
add ecx, esi
call fcn.1004f460
mov eax, dword [esp + 0x14]
mov dword [esi + ebx + 4], 0xbf800000
xorps xmm1, xmm1
inc eax
add esi, 0x68
mov dword [esp + 0x14], eax
cmp eax, dword [edi + 0x4a2c]
jl 0x100324e0
cmp byte [edi + 0x3df7], 0
je 0x100325bc
mov esi, dword [0x1012274c]
mov eax, dword [esi + 0x47b4]
test eax, eax
je 0x10032576
mov dword [esi + 0x47b0], 0
mov dword [esi + 0x47ac], 0
test esi, esi
je 0x10032560
dec dword [esi + 0xac]
mov ebx, dword [esp + 0x18]
push eax
call ebx
add esp, 4
mov dword [esi + 0x47b4], 0
jmp 0x1003257a
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x47c0]
test ecx, ecx
je 0x100325b7
mov eax, dword [0x1012274c]
mov dword [esi + 0x47bc], 0
mov dword [esi + 0x47b8], 0
test eax, eax
je 0x100325a7
dec dword [eax + 0xac]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x47c0], 0
call fcn.10059170
mov eax, dword [edi + 0x47ec]
mov byte [edi + 0x3df7], 0
test eax, eax
je 0x10032622
cmp byte [eax + 0xab], 0
jne 0x10032622
mov eax, dword [0x1012274c]
mov edx, dword [eax + 0x3e2c]
sub edx, 1
js 0x10032616
mov eax, dword [eax + 0x3e34]
lea esi, [eax + edx*4]
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x1003260e
cmp byte [ecx + 0xab], 0
je 0x1003260e
mov eax, dword [ecx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x10032618
sub esi, 4
sub edx, 1
jns 0x100325f0
xor ecx, ecx
mov edx, 1
call fcn.10039970
mov ecx, dword [edi + 0x3e48]
test ecx, ecx
jns 0x10032648
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.10044ab0
mov dword [edi + 0x3e44], 0
mov ecx, dword [edi + 0x47d4]
test ecx, ecx
jns 0x10032678
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.10044a30
lea esi, [edi + 0x47ac]
mov dword [edi + 0x47d0], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x100326a7
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.10044500
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x100326bc
push 8
mov ecx, esi
call fcn.10044500
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.100442d0
mov esi, dword [0x1012274c]
cmp byte [esi + 0x5b37], 0
mov dword [esi + 0x5b3c], 0
je 0x1003282f
mov ebx, dword [esi + 0x3ea4]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [esp + 0x2c], ebx
mov dword [esi + 0x4ac4], 7
call fcn.1003a910
add esp, 4
test al, al
je 0x10032724
mov byte [esi + 0x5b37], 0
mov eax, dword [esi + 0xdd8]
mov dword [esp + 0x10], eax
cmp eax, 0x3000
je 0x10032761
movzx ecx, byte [esi + 0x5b38]
xor edx, edx
push 0
call fcn.1003aae0
add esp, 4
test al, al
mov eax, dword [esp + 0x10]
je 0x10032761
test ebx, ebx
je 0x10032761
mov dword [esi + 0x5b3c], ebx
mov byte [esi + 0x5b37], 0
xor ebx, ebx
cmp eax, 0x3000
jne 0x10032786
push 0
xor edx, edx
mov ecx, ebx
call fcn.1003aae0
add esp, 4
test al, al
mov eax, dword [esp + 0x10]
je 0x10032786
mov byte [esi + 0x5b38], bl
inc ebx
cmp ebx, 3
jl 0x10032763
or dword [esi + 0x471c], 0x40
xor ecx, ecx
mov dword [esi + 0x4770], 0x3f333333
call fcn.1003d800
test al, al
je 0x1003282f
mov ebx, dword [esp + 0x28]
push ebx
push str.HoveredId:_0x_08X
call fcn.10059eb0
push str.Press_ESC_to_abort_picking.
call fcn.10059eb0
add esp, 0xc
mov dword [esp + 0x28], str.Left
cmp dword [esp + 0x10], 0x3000
mov dword [esp + 0x2c], str.Right
mov dword [esp + 0x30], str.Middle
jne 0x100327f9
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.10059eb0
add esp, 4
jmp 0x1003282a
movzx eax, byte [esi + 0x5b38]
xor ecx, ecx
test ebx, ebx
push dword [esp + eax*4 + 0x28]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x1012274c]
add eax, 0x385c
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.10059f80
add esp, 0xc
call fcn.10039690
call fcn.10043b30
mov al, byte [edi + 0x5b35]
test al, al
je 0x10032852
sub al, 1
mov byte [edi + 0x5b35], al
jne 0x10032852
mov dword [edi + 0x46c4], 0
mov al, byte [edi + 0x5b34]
test al, al
je 0x1003287a
sub al, 1
mov byte [edi + 0x5b34], al
jne 0x1003287a
push str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.10043810
add esp, 4
and dword [edi + 0x5b14], 0xffffffef
mov eax, dword [0x1012274c]
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.10036fd0
add esp, 4
cmp byte [edi + 0x65], 0
je 0x100328f7
mov cl, byte [edi + 0x5b36]
cmp cl, 0xff
jne 0x100328d1
xor edx, edx
jmp 0x100328fa
mov eax, dword [edi + 0x3de8]
and eax, 0x80000003
jns 0x100328e3
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 0x100328fa
or dl, 0xff
xor esi, esi
mov byte [edi + 0x5b36], dl
cmp dword [edi + 0x5ab0], esi
jle 0x10032934
xor ebx, ebx
nop dword [eax]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
add eax, ebx
cmp dword [eax + 4], 1
jne 0x10032928
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5ab0]
jl 0x10032910
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100f1854
mov esp, ebp
pop ebp
ret