Function at 0x10009ee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
push edi
mov edi, dword [0x103ca828]
mov dword [esp + 0x24], edi
mov edx, dword [edi + 0x5a1c]
lea eax, [edi + 0x5a24]
sub edx, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
js 0x10009f90
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x18], eax
nop dword [eax]
mov ecx, dword [edi + 0x5a24]
cmp dword [ecx + eax + 4], 7
jne 0x10009f78
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 + 0x5a1c]
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 + 0x5a1c]
mov edx, dword [esp + 0x1c]
dec edx
sub eax, 0x14
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
test edx, edx
jns 0x10009f20
lea eax, [edi + 0x5a24]
jmp 0x10009f94
mov dword [esp + 0x20], eax
xor esi, esi
cmp dword [edi + 0x5a1c], esi
jle 0x10009fd0
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [eax]
add eax, ecx
cmp dword [eax + 4], 0
jne 0x10009fbc
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
mov ecx, dword [esp + 0x24]
add esp, 8
mov eax, dword [esp + 0x20]
inc esi
add ecx, 0x14
mov dword [esp + 0x1c], ecx
cmp esi, dword [edi + 0x5a1c]
jl 0x10009fa4
mov esi, dword [0x103ca828]
cmp byte [esi + 0x66], 0
je 0x10009fe6
test byte [esi + 0xc], 2
jne 0x10009fe6
mov byte [esi + 0x66], 0
cmp byte [esi + 0x59e5], 0
lea eax, [esi + 0x20]
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x14], ecx
jne 0x1000a054
mov ecx, dword [eax]
test ecx, ecx
je 0x1000a04d
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
call fcn.10004c60
mov ecx, eax
add esp, 8
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x1000a04a
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1000a033
call fcn.1001b710
mov ecx, dword [esp + 0x30]
mov eax, dword [0x103ca828]
test eax, eax
je 0x1000a042
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
lea eax, [esi + 0x20]
mov byte [esi + 0x59e5], 1
movss xmm0, dword [esi + 0x59e8]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1000a0ef
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x59e8], xmm0
jb 0x1000a0ef
mov eax, dword [eax]
mov dword [esp + 0x30], eax
test eax, eax
je 0x1000a0de
mov eax, dword [0x103ca828]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [eax + 0x59e8], 0
call fcn.1001b9a0
mov ecx, dword [esp + 0x30]
mov edx, 0x10390640
mov dword [esp + 0x28], eax
call fcn.10004b60
mov dword [esp + 0x30], eax
test eax, eax
je 0x1000a0e5
push eax
push dword [esp + 0x20]
push 1
push dword [esp + 0x34]
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 0x1000a0e5
mov byte [esi + 0x98], 1
mov dword [esi + 0x59e8], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3dd8]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x3de4], 1
mov word [edi + 0x59aa], ax
mov dword [edi + 0x3e2c], eax
addsd xmm0, qword [edi + 0x3dd0]
movsd qword [edi + 0x3dd0], xmm0
mov ecx, dword [edi + 0x59bc]
test ecx, ecx
jns 0x1000a149
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 + 0x59b8]
call fcn.1001cf80
mov dword [edi + 0x59b8], 0
mov ecx, 0x3c
mov eax, dword [edi + 0x5ba8]
xorps xmm4, xmm4
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x103a2904]
movss xmm3, dword [0x103a2784]
subss xmm0, dword [edi + eax*4 + 0x5ab8]
movss dword [esp + 0x18], xmm2
addss xmm0, dword [edi + 0x5bb0]
movss dword [edi + 0x5bb0], xmm0
movss dword [edi + eax*4 + 0x5ab8], xmm1
mov eax, dword [edi + 0x5ba8]
inc eax
movss xmm1, dword [edi + 0x5bb0]
cdq
idiv ecx
mov eax, dword [edi + 0x5bac]
inc eax
mov dword [edi + 0x5ba8], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm4
mov dword [edi + 0x5bac], ecx
jbe 0x1000a1e4
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm3
divss xmm0, xmm1
jmp 0x1000a1e7
movaps xmm0, xmm2
mov esi, dword [0x103ca828]
movss dword [edi + 0x9c], xmm0
mov eax, dword [esi + 0x47a0]
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 + 0x4798], 0
jle 0x1000a305
xor edi, edi
nop dword [eax]
mov eax, dword [esi + 0x47a0]
movaps xmm2, xmm4
mov edx, dword [eax + edi*4]
inc edi
mov eax, dword [edx + 0x8c]
mov ecx, dword [edx + 0x90]
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
movss xmm0, dword [edx + 0x80]
addss xmm0, dword [edx + 8]
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, xmm4
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 + 0x4798]
jl 0x1000a230
movss xmm2, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x48]
mov esi, dword [0x103ca828]
mov byte [eax + 0x10], 1
mov eax, dword [esi + 0x54]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1000a329
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
movss xmm1, dword [esi + 0x4c]
movaps xmm0, xmm3
mov ecx, dword [esi + 0x3e38]
mov dword [esi + 0x3bc0], eax
mulss xmm1, dword [eax + 0x10]
mulss xmm1, dword [eax + 0x44]
maxss xmm0, xmm1
movss dword [esi + 0x3bc8], xmm0
test ecx, ecx
je 0x1000a37b
movss xmm0, dword [ecx + 0x240]
mov ecx, dword [ecx + 0x2dc]
mulss xmm0, dword [esi + 0x3bc8]
test ecx, ecx
je 0x1000a37e
mulss xmm0, dword [ecx + 0x240]
jmp 0x1000a37e
movaps xmm0, xmm4
movss xmm4, dword [0x103a2978]
movaps xmm7, xmm2
movss dword [esi + 0x3bc4], xmm0
movaps xmm6, xmm2
mov edx, dword [eax + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [esi + 0x3bcc], eax
lea eax, [edx + 0x58]
mov dword [esi + 0x3dc8], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x3bd0], ecx
mov dword [esi + 0x3bd4], eax
movss dword [esi + 0x3bd8], xmm0
mov edx, dword [edi + 0x4798]
test edx, edx
jle 0x1000a42c
mov ecx, dword [edi + 0x47a0]
nop word [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 0x1000a404
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1000a40c
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x1000a414
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1000a41c
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x1000a3e0
movss xmm3, dword [0x103a2784]
mov eax, dword [edi + 0x3858]
movss xmm1, dword [edi + 0x385c]
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 + 0x3bdc], eax
movups xmmword [edi + 0x3be4], xmm0
movss xmm0, dword [edi + 0x3be0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000a560
movss dword [edi + 0x3be0], xmm1
xor esi, esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1000a511
movss xmm1, dword [edi + 0x3be0]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x103a27ec]
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 0x1000a502
mov eax, 4
jmp 0x1000a516
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x1000a516
mov eax, 0x30
movss xmm3, dword [0x103a2784]
mov byte [esi + edi + 0x3d88], al
inc esi
cmp esi, 0x40
jl 0x1000a483
movsd xmm0, qword [0x103a2798]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x103a2784]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3be0]
divss xmm0, xmm1
movss dword [edi + 0x3d84], xmm0
xor edx, edx
mov dword [edi + 0x3bf4], 0
cmp byte [edi + 0x3854], dl
je 0x1000a583
mov dword [edi + 0x3bf4], 1
mov edx, 1
cmp byte [edi + 0x3855], 0
mov ecx, edx
je 0x1000a5a5
mov eax, dword [edi + 0x3bc0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1000a5a5
or ecx, 2
mov dword [edi + 0x3bf4], ecx
cmp byte [edi + 0x3856], 0
je 0x1000a5b7
or ecx, 4
mov dword [edi + 0x3bf4], ecx
test byte [edi + 0xc], 8
je 0x1000a5c6
or ecx, 8
mov dword [edi + 0x3bf4], ecx
xor esi, esi
cmp dword [edi + 0x4798], esi
jle 0x1000a5f2
mov eax, dword [edi + 0x47a0]
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 + 0x4798]
jl 0x1000a5d0
cmp byte [edi + 0x492c], 0
je 0x1000a62c
mov eax, dword [edi + 0x4944]
cmp eax, dword [edi + 0x3e70]
jne 0x1000a62c
mov ecx, dword [0x103ca828]
cmp dword [ecx + 0x3e70], eax
jne 0x1000a61d
mov dword [ecx + 0x3e74], eax
cmp dword [ecx + 0x3e98], eax
jne 0x1000a62c
mov byte [ecx + 0x3e9c], 1
cmp dword [edi + 0x3e60], 0
lea eax, [edi + 0x3e5c]
mov ecx, dword [eax]
jne 0x1000a649
mov dword [edi + 0x3e68], 0
jmp 0x1000a659
mov edx, ecx
mov esi, eax
test ecx, ecx
je 0x1000a667
cmp dword [edi + 0x3e70], ecx
jne 0x1000a667
mov dword [edi + 0x3e6c], 0
mov edx, ecx
mov esi, eax
movss xmm1, dword [edi + 0x18]
test edx, edx
je 0x1000a69e
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e68]
movss dword [edi + 0x3e68], xmm0
cmp dword [edi + 0x3e70], edx
je 0x1000a69e
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e6c]
movss dword [edi + 0x3e6c], xmm0
mov eax, dword [edi + 0x3e70]
movaps xmm2, xmm1
mov dword [edi + 0x3e60], edx
mov dword [esi], 0
mov word [edi + 0x3e64], 0
test eax, eax
je 0x1000a6f0
cmp dword [edi + 0x3e74], eax
je 0x1000a6f0
cmp dword [edi + 0x3e98], eax
jne 0x1000a6f0
test byte [edi + 0x5a60], 1
je 0x1000a6e6
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.1001c200
add esp, 4
call fcn.10008080
movss xmm2, dword [edi + 0x18]
mov edx, dword [edi + 0x3e70]
test edx, edx
je 0x1000a70d
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x3e78]
movss dword [edi + 0x3e78], xmm0
mov eax, dword [edi + 0x3e8c]
addss xmm2, dword [edi + 0x3ea8]
mov dword [edi + 0x3ea0], eax
mov al, byte [edi + 0x3e80]
mov byte [edi + 0x3e9d], al
mov eax, dword [edi + 0x5938]
movss dword [edi + 0x3ea8], xmm2
mov dword [edi + 0x3e98], edx
mov dword [edi + 0x3e74], 0
mov byte [edi + 0x3e81], 0
mov byte [edi + 0x3e9c], 0
mov byte [edi + 0x3e7c], 0
test eax, eax
je 0x1000a772
cmp edx, eax
je 0x1000a772
mov dword [edi + 0x5938], 0
test edx, edx
jne 0x1000a790
mov dword [edi + 0x4674], edx
mov dword [edi + 0x466c], edx
mov byte [edi + 0x4670], dl
mov dword [edi + 0x4674], edx
jmp 0x1000a7b3
mov eax, dword [edi + 0x4674]
test eax, eax
je 0x1000a7b3
test al, 2
je 0x1000a7b3
mov ecx, 0x20e
call fcn.10004100
mov dword [eax + 4], edx
mov dword [eax], edx
mov word [eax + 8], 0
mov eax, dword [edi + 0x4a54]
movss xmm0, dword [edi + 0x4a5c]
mov dword [edi + 0x4a58], eax
test eax, eax
je 0x1000a7e4
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4a54], 0
movss dword [edi + 0x4a5c], xmm0
jmp 0x1000a824
comiss xmm0, dword [0x103a26c8]
jbe 0x1000a82e
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x103a2728]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4a60]
addss xmm1, xmm1
movss dword [edi + 0x4a60], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1000a82e
mov dword [edi + 0x4a5c], 0
mov dword [edi + 0x4a60], 0
mov eax, dword [edi + 0x4990]
mov dword [edi + 0x4994], eax
mov dword [edi + 0x4990], 0
mov dword [edi + 0x498c], 0x7f7fffff
mov word [edi + 0x492d], 0
mov dword [edi + 0x499c], 0
mov ecx, dword [edi + 0x3790]
test ecx, ecx
jns 0x1000a887
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 + 0x378c]
call fcn.1001d660
mov dword [edi + 0x378c], 0
mov cl, byte [edi + 0x62]
call fcn.10014a50
call fcn.10008bc0
call fcn.10018600
call fcn.10009070
call fcn.10009c70
mov esi, dword [0x103ca828]
mov ecx, dword [esi + 0x3e44]
test ecx, ecx
je 0x1000a96c
mov eax, dword [esi + 0x3e70]
mov dword [esi + 0x3e74], eax
cmp dword [esi + 0x3e98], eax
jne 0x1000a8dc
mov byte [esi + 0x3e9c], 1
cmp byte [esi + 0xdc0], 0
mov eax, dword [ecx + 0x2e4]
mov dword [esp + 0x30], eax
je 0x1000a960
lea eax, [esi + 0xdb8]
mov ecx, eax
test eax, eax
jne 0x1000a901
lea ecx, [esi + 0xdb8]
movss xmm0, dword [ecx]
movss xmm1, dword [0x103a2970]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x1000a960
comiss xmm2, xmm1
jb 0x1000a960
movss xmm0, dword [eax]
lea edx, [esp + 0x28]
subss xmm0, dword [esi + 0x3e84]
mov ecx, dword [esp + 0x30]
push 1
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x3e88]
movss dword [esp + 0x30], xmm0
call fcn.10013e90
mov ecx, dword [esi + 0x3e44]
add esp, 4
call fcn.10013af0
jmp 0x1000a9a4
mov dword [esi + 0x3e44], 0
jmp 0x1000a99f
mov ecx, dword [esi + 0x3e8c]
test ecx, ecx
je 0x1000a9a4
mov eax, dword [esi + 0x3e70]
cmp dword [ecx + 0x54], eax
jne 0x1000a9a4
mov dword [esi + 0x3e74], eax
cmp dword [esi + 0x3e98], eax
jne 0x1000a996
mov byte [esi + 0x3e9c], 1
cmp byte [esi + 0xdc0], 0
jne 0x1000a9a4
call fcn.10008080
mov eax, dword [0x103ca828]
mov edx, dword [eax + 0x477c]
sub edx, 1
js 0x1000a9da
mov eax, dword [eax + 0x4784]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1000a9d2
test dword [ecx + 8], 0x8000000
jne 0x1000a9f4
sub eax, 0x28
sub edx, 1
jns 0x1000a9c3
cmp dword [edi + 0x48fc], 0
je 0x1000aa13
movss xmm0, dword [edi + 0x490c]
comiss xmm0, dword [0x103a26c8]
jbe 0x1000aa13
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x103a2808]
addss xmm1, dword [edi + 0x4924]
minss xmm1, dword [0x103a2784]
jmp 0x1000aa34
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x103a2824]
movss xmm1, dword [edi + 0x4924]
subss xmm1, xmm0
maxss xmm1, dword [0x103a26c8]
movss dword [edi + 0x4924], xmm1
movups xmm0, xmmword [edi + 0x59c4]
mov dword [edi + 0x4928], 0
mov dword [edi + 0x5bbc], 0xffffffff
mov dword [edi + 0x5bb8], 0xffffffff
mov dword [edi + 0x5bb4], 0xffffffff
movups xmmword [edi + 0x59d4], xmm0
mov byte [edi + 0x59c4], 0
call fcn.100093d0
cmp byte [edi + 0x3de7], 0
jne 0x1000aaac
movss xmm0, dword [edi + 0x68]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1000aaac
movsd xmm1, qword [edi + 0x3dd0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x18], xmm1
jmp 0x1000aab2
movss xmm1, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
cmp dword [edi + 0x3df0], ecx
je 0x1000ac6c
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edi + 0x3df8]
mov esi, dword [eax + ecx*4]
mov ax, word [esi + 0x9a]
mov cl, byte [esi + 0x8e]
mov word [esi + 0x9c], ax
xor eax, eax
mov byte [esi + 0x8f], cl
mov byte [esi + 0x8e], 0
mov byte [esi + 0x90], 0
mov word [esi + 0x9a], ax
test cl, cl
jne 0x1000ac51
cmp byte [esi + 0x32c], al
jne 0x1000ac51
comiss xmm1, dword [esi + 0x220]
jbe 0x1000ac51
mov ecx, dword [esi + 0x248]
mov byte [esi + 0x32c], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x324], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x328], eax
mov ecx, dword [esi + 0xd0]
test ecx, ecx
je 0x1000ab89
mov eax, dword [0x103ca828]
mov dword [esi + 0xcc], 0
mov dword [esi + 0xc8], 0
test eax, eax
je 0x1000ab77
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0xd0], 0
mov ecx, dword [esi + 0x248]
call fcn.1001efb0
mov ecx, dword [esi + 0x16c]
test ecx, ecx
je 0x1000abd3
mov eax, dword [0x103ca828]
mov dword [esi + 0x168], 0
mov dword [esi + 0x164], 0
test eax, eax
je 0x1000abc1
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x16c], 0
mov ecx, dword [esi + 0x194]
test ecx, ecx
je 0x1000ac12
mov eax, dword [0x103ca828]
mov dword [esi + 0x190], 0
mov dword [esi + 0x18c], 0
test eax, eax
je 0x1000ac00
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x194], 0
mov ecx, dword [esi + 0x1a0]
test ecx, ecx
je 0x1000ac51
mov eax, dword [0x103ca828]
mov dword [esi + 0x19c], 0
mov dword [esi + 0x198], 0
test eax, eax
je 0x1000ac3f
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x1a0], 0
mov ecx, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [edi + 0x3df0]
jne 0x1000aad0
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp dword [edi + 0x4a00], ecx
jle 0x1000adc8
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x30], edx
nop word [eax + eax]
mov eax, dword [edi + 0x4a08]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1000adad
movss xmm1, dword [esp + 0x18]
comiss xmm1, xmm0
jbe 0x1000adaa
mov esi, dword [edi + 0x49e8]
mov eax, dword [0x103ca828]
add esi, edx
mov dword [esp + 0x1c], eax
mov dword [esi + 0x1a4], 0
mov ecx, dword [esi + 0x1a0]
test ecx, ecx
je 0x1000ad08
mov dword [esi + 0x19c], 0
mov dword [esi + 0x198], 0
test eax, eax
je 0x1000acf6
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x1a0], 0
mov byte [esi + 0x1cc], 1
mov ecx, dword [esi + 0x170]
test ecx, ecx
je 0x1000ad4e
mov eax, dword [0x103ca828]
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
test eax, eax
je 0x1000ad3c
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x170], 0
xor edx, edx
mov byte [esi + 0x1d6], 1
cmp dword [esi + 0x54], edx
jle 0x1000ad76
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov word [eax + ecx - 0x18], di
cmp edx, dword [esi + 0x54]
jl 0x1000ad61
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
sub esi, dword [eax + 0x49e8]
mov eax, 0x22b63cbf
imul esi
mov eax, dword [esp + 0x1c]
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
mov eax, dword [eax + 0x4a08]
add ecx, edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x28]
xorps xmm1, xmm1
inc ecx
add edx, 0x1d8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
cmp ecx, dword [edi + 0x4a00]
jl 0x1000ac90
xor ecx, ecx
mov dword [esp + 0x30], ecx
cmp dword [edi + 0x49d4], ecx
jle 0x1000ae2d
xor esi, esi
xorps xmm1, xmm1
nop dword [eax + eax]
mov eax, dword [edi + 0x49dc]
mov dword [esp + 0x28], eax
movss xmm0, dword [esi + eax + 4]
comiss xmm0, xmm1
jb 0x1000ae1d
movss xmm1, dword [esp + 0x18]
comiss xmm1, xmm0
jbe 0x1000ae1a
lea ecx, [eax + 0x10]
add ecx, esi
call fcn.10022310
mov eax, dword [esp + 0x28]
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 + 0x49d4]
jl 0x1000ade0
cmp byte [edi + 0x3de7], 0
je 0x1000aebe
mov esi, dword [0x103ca828]
mov eax, dword [esi + 0x476c]
test eax, eax
je 0x1000ae7a
mov dword [esi + 0x4768], 0
mov dword [esi + 0x4764], 0
test esi, esi
je 0x1000ae68
dec dword [esi + 0xb0]
push eax
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x476c], 0
mov ecx, dword [esi + 0x4778]
test ecx, ecx
je 0x1000aeb9
mov eax, dword [0x103ca828]
mov dword [esi + 0x4774], 0
mov dword [esi + 0x4770], 0
test eax, eax
je 0x1000aea7
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x4778], 0
call fcn.10029880
mov eax, dword [edi + 0x47a4]
mov byte [edi + 0x3de7], 0
test eax, eax
je 0x1000af22
cmp byte [eax + 0x8f], 0
jne 0x1000af22
mov eax, dword [0x103ca828]
mov edx, dword [eax + 0x3dfc]
sub edx, 1
js 0x1000af1b
mov eax, dword [eax + 0x3e04]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x1000af13
cmp byte [ecx + 0x8f], 0
je 0x1000af13
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1000b106
sub esi, 4
sub edx, 1
jns 0x1000aef1
xor ecx, ecx
call fcn.10013af0
mov ecx, dword [edi + 0x3e18]
test ecx, ecx
jns 0x1000af48
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 + 0x3e14]
call fcn.1001d5f0
mov dword [edi + 0x3e14], 0
mov ecx, dword [edi + 0x478c]
test ecx, ecx
jns 0x1000af78
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 + 0x4788]
call fcn.1001d570
lea esi, [edi + 0x4764]
mov dword [edi + 0x4788], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1000afa7
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.1001cf80
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1000afbc
push 8
mov ecx, esi
call fcn.1001cf80
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x4770]
inc dword [esi]
call fcn.1001cd50
mov esi, dword [0x103ca828]
cmp byte [esi + 0x5a81], 0
mov dword [esi + 0x5a84], 0
je 0x1000b158
mov eax, dword [esi + 0x3e60]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [esp + 0x20], eax
mov dword [esi + 0x4928], 7
call fcn.10014650
add esp, 4
test al, al
je 0x1000b024
mov byte [esi + 0x5a81], 0
mov ecx, dword [esi + 0xdd4]
mov dword [esp + 0x18], ecx
cmp ecx, 0x3000
je 0x1000b066
movzx ecx, byte [esi + 0x5a82]
xor edx, edx
push 0
call fcn.10014810
mov ecx, dword [esp + 0x1c]
add esp, 4
test al, al
je 0x1000b066
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1000b066
mov dword [esi + 0x5a84], eax
mov byte [esi + 0x5a81], 0
xor eax, eax
mov dword [esp + 0x14], eax
nop dword [eax]
cmp ecx, 0x3000
jne 0x1000b098
push 0
xor edx, edx
mov ecx, eax
call fcn.10014810
mov ecx, dword [esp + 0x1c]
add esp, 4
test al, al
mov eax, dword [esp + 0x14]
je 0x1000b098
mov byte [esi + 0x5a82], al
inc eax
mov dword [esp + 0x14], eax
cmp eax, 3
jl 0x1000b070
or dword [esi + 0x46d4], 0x40
xor ecx, ecx
mov dword [esi + 0x4728], 0x3f333333
call fcn.100161f0
push dword [esp + 0x1c]
push str.HoveredId:_0x_08X
call fcn.1002a640
push str.Press_ESC_to_abort_picking.
call fcn.1002a640
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 0x1000b122
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.1002a640
add esp, 4
jmp 0x1000b153
mov eax, dword [ecx + 0x2f4]
test eax, eax
je 0x1000b119
cmp byte [eax + 0x8f], 0
jne 0x1000b11b
mov eax, ecx
mov ecx, eax
jmp 0x1000af1d
movzx eax, byte [esi + 0x5a82]
mov ecx, 0x3870
cmp dword [esp + 0x1c], 0
push dword [esp + eax*4 + 0x30]
mov eax, 0x3860
cmove eax, ecx
add eax, dword [0x103ca828]
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.1002a730
add esp, 0xc
call fcn.10013920
call fcn.1001c590
mov al, byte [edi + 0x5a80]
test al, al
je 0x1000b17b
sub al, 1
mov byte [edi + 0x5a80], al
jne 0x1000b17b
mov dword [edi + 0x4680], 0
mov eax, dword [0x103ca828]
xor edx, edx
mov byte [edi + 0x3de5], 1
mov ecx, str.DebugDefault
push 0
or dword [eax + 0x46d4], 2
mov dword [eax + 0x46f4], 0x43c80000
mov dword [eax + 0x46f8], 0x43c80000
mov dword [eax + 0x46dc], 4
call fcn.100111c0
xor esi, esi
add esp, 4
cmp dword [edi + 0x5a1c], esi
jle 0x1000b1fc
xor ecx, ecx
mov dword [esp + 0x30], ecx
nop dword [eax]
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
add eax, ecx
cmp dword [eax + 4], 1
jne 0x1000b1ec
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 + 0x5a1c]
jl 0x1000b1d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret