Function at 0x10009a40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [0x1005f6a4]
mov dword [ebp - 0x18], edi
mov eax, dword [edi + 0x5a0c]
lea ecx, [edi + 0x5a14]
sub eax, 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
js 0x10009adc
lea ebx, [eax + eax*4]
shl ebx, 2
nop
mov ecx, dword [ecx]
cmp dword [ecx + ebx + 4], 7
jne 0x10009ac3
mov esi, dword [edi + 0x5a14]
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 + 0x5a0c]
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 [ebp - 8]
add esp, 0xc
dec dword [edi + 0x5a0c]
dec eax
lea ecx, [edi + 0x5a14]
sub ebx, 0x14
mov dword [ebp - 8], eax
test eax, eax
jns 0x10009a70
lea ecx, [edi + 0x5a14]
jmp 0x10009adf
mov dword [ebp - 0xc], ecx
xor esi, esi
cmp dword [edi + 0x5a0c], esi
jle 0x10009b13
xor ebx, ebx
nop dword [eax + eax]
mov eax, dword [ecx]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x10009b07
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
mov ecx, dword [ebp - 0xc]
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a0c]
jl 0x10009af0
mov esi, dword [0x1005f6a4]
cmp byte [esi + 0x66], 0
je 0x10009b29
test byte [esi + 0xc], 2
jne 0x10009b29
mov byte [esi + 0x66], 0
cmp byte [esi + 0x59d5], 0
lea eax, [esi + 0x20]
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 4], ebx
jne 0x10009b8f
mov ecx, dword [eax]
test ecx, ecx
je 0x10009b88
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call fcn.10005bb0
mov ecx, eax
add esp, 8
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x10009b85
mov edx, dword [ebp - 8]
test edx, edx
je 0x10009b70
call fcn.10018860
mov ecx, dword [ebp - 0x14]
mov eax, dword [0x1005f6a4]
test eax, eax
je 0x10009b7f
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
lea eax, [esi + 0x20]
mov byte [esi + 0x59d5], 1
movss xmm0, dword [esi + 0x59d8]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10009c16
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x59d8], xmm0
jb 0x10009c16
mov ebx, dword [eax]
test ebx, ebx
je 0x10009c05
mov eax, dword [0x1005f6a4]
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [eax + 0x59d8], 0
call fcn.10018a80
mov edx, 0x1005bae4
mov dword [ebp - 0x14], eax
mov ecx, ebx
call fcn.10005ab0
mov ebx, eax
test ebx, ebx
je 0x10009c0c
push ebx
push dword [ebp - 8]
push 1
push dword [ebp - 0x14]
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 0x10009c0c
mov byte [esi + 0x98], 1
mov dword [esi + 0x59d8], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3dc8]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x3dd4], 1
mov word [edi + 0x599a], ax
mov dword [edi + 0x3e1c], eax
addsd xmm0, qword [edi + 0x3dc0]
movsd qword [edi + 0x3dc0], xmm0
mov ecx, dword [edi + 0x59ac]
test ecx, ecx
jns 0x10009c70
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 + 0x59a8]
call fcn.10019da0
mov dword [edi + 0x59a8], 0
mov ecx, 0x3c
mov eax, dword [edi + 0x5bb4]
xorps xmm3, xmm3
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x1005c688]
movss xmm4, dword [0x1005c5dc]
subss xmm0, dword [edi + eax*4 + 0x5ac4]
movss dword [ebp - 8], xmm2
addss xmm0, dword [edi + 0x5bbc]
movss dword [edi + 0x5bbc], xmm0
movss dword [edi + eax*4 + 0x5ac4], xmm1
mov eax, dword [edi + 0x5bb4]
inc eax
movss xmm1, dword [edi + 0x5bbc]
cdq
idiv ecx
mov eax, dword [edi + 0x5bb8]
inc eax
mov dword [edi + 0x5bb4], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [edi + 0x5bb8], ecx
jbe 0x10009d0a
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x10009d0d
movaps xmm0, xmm2
mov esi, dword [0x1005f6a4]
xor ebx, ebx
movss dword [edi + 0x9c], xmm0
mov eax, dword [esi + 0x4790]
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 + 0x4788], ebx
jle 0x10009e21
mov eax, dword [esi + 0x4790]
movaps xmm2, xmm3
mov edx, dword [eax + ebx*4]
inc ebx
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, 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 ebx, dword [esi + 0x4788]
jl 0x10009d51
movss xmm2, dword [ebp - 8]
mov eax, dword [edi + 0x48]
mov esi, dword [0x1005f6a4]
mov byte [eax + 0x10], 1
mov ebx, dword [esi + 0x54]
test ebx, ebx
jne 0x10009e3d
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
movss xmm1, dword [esi + 0x4c]
movaps xmm0, xmm4
mov eax, dword [esi + 0x3e28]
mov dword [esi + 0x3bb0], ebx
mulss xmm1, dword [ebx + 0x10]
mulss xmm1, dword [ebx + 0x44]
maxss xmm0, xmm1
movss dword [esi + 0x3bb8], xmm0
test eax, eax
je 0x10009e8f
movss xmm0, dword [eax + 0x240]
mov eax, dword [eax + 0x2dc]
mulss xmm0, dword [esi + 0x3bb8]
test eax, eax
je 0x10009e92
mulss xmm0, dword [eax + 0x240]
jmp 0x10009e92
movaps xmm0, xmm3
movss xmm4, dword [0x1005c6a0]
movaps xmm7, xmm2
movss dword [esi + 0x3bb4], xmm0
movaps xmm6, xmm2
mov edx, dword [ebx + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [esi + 0x3bbc], eax
lea eax, [edx + 0x58]
mov dword [esi + 0x3bc0], ecx
mov dword [esi + 0x3db8], eax
mov dword [esi + 0x3bc4], ebx
movss dword [esi + 0x3bc8], xmm0
mov edx, dword [edi + 0x4788]
test edx, edx
jle 0x10009f34
mov ecx, dword [edi + 0x4790]
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 0x10009f14
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x10009f1c
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10009f24
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x10009f2c
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x10009ef0
mov eax, dword [edi + 0x3858]
movss xmm1, dword [edi + 0x385c]
movss dword [ebp - 0x28], xmm7
movss dword [ebp - 0x24], xmm6
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm5
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x3bcc], eax
movups xmmword [edi + 0x3bd4], xmm0
movss xmm0, dword [edi + 0x3bd0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000a05c
movss dword [edi + 0x3bd0], xmm1
xor esi, esi
mov ebx, 0x200
nop dword [eax + eax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1000a015
movss xmm1, dword [edi + 0x3bd0]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1005c5dc]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x1005c60c]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x1000a00b
mov eax, 4
jmp 0x1000a01a
cmp eax, 0x200
cmovg eax, ebx
jmp 0x1000a01a
mov eax, 0x30
mov byte [esi + edi + 0x3d78], al
inc esi
cmp esi, 0x40
jl 0x10009f90
movsd xmm0, qword [0x1005c5f0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x1005c5dc]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3bd0]
divss xmm0, xmm1
movss dword [edi + 0x3d74], xmm0
xor edx, edx
mov dword [edi + 0x3be4], 0
cmp byte [edi + 0x3854], dl
je 0x1000a07f
mov dword [edi + 0x3be4], 1
mov edx, 1
cmp byte [edi + 0x3855], 0
mov ecx, edx
je 0x1000a0a1
mov eax, dword [edi + 0x3bb0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1000a0a1
or ecx, 2
mov dword [edi + 0x3be4], ecx
cmp byte [edi + 0x3856], 0
je 0x1000a0b3
or ecx, 4
mov dword [edi + 0x3be4], ecx
test byte [edi + 0xc], 8
je 0x1000a0c2
or ecx, 8
mov dword [edi + 0x3be4], ecx
xor esi, esi
cmp dword [edi + 0x4788], esi
jle 0x1000a0f2
nop dword [eax]
mov eax, dword [edi + 0x4790]
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 + 0x4788]
jl 0x1000a0d0
cmp byte [edi + 0x491c], 0
je 0x1000a12c
mov eax, dword [edi + 0x4934]
cmp eax, dword [edi + 0x3e60]
jne 0x1000a12c
mov ecx, dword [0x1005f6a4]
cmp dword [ecx + 0x3e60], eax
jne 0x1000a11d
mov dword [ecx + 0x3e64], eax
cmp dword [ecx + 0x3e88], eax
jne 0x1000a12c
mov byte [ecx + 0x3e8c], 1
cmp dword [edi + 0x3e50], 0
lea eax, [edi + 0x3e4c]
mov ecx, dword [eax]
jne 0x1000a149
mov dword [edi + 0x3e58], 0
jmp 0x1000a159
mov edx, ecx
mov esi, eax
test ecx, ecx
je 0x1000a167
cmp dword [edi + 0x3e60], ecx
jne 0x1000a167
mov dword [edi + 0x3e5c], 0
mov edx, ecx
mov esi, eax
movss xmm1, dword [edi + 0x18]
test edx, edx
je 0x1000a19e
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e58]
movss dword [edi + 0x3e58], xmm0
cmp dword [edi + 0x3e60], edx
je 0x1000a19e
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e5c]
movss dword [edi + 0x3e5c], xmm0
mov eax, dword [edi + 0x3e60]
movaps xmm2, xmm1
mov dword [edi + 0x3e50], edx
mov dword [esi], 0
mov word [edi + 0x3e54], 0
test eax, eax
je 0x1000a1f4
cmp dword [edi + 0x3e64], eax
je 0x1000a1f4
cmp dword [edi + 0x3e88], eax
jne 0x1000a1f4
test byte [edi + 0x5a6c], 1
je 0x1000a1e6
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.100192b0
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.10007b90
movss xmm2, dword [edi + 0x18]
mov ecx, dword [edi + 0x3e60]
test ecx, ecx
je 0x1000a211
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x3e68]
movss dword [edi + 0x3e68], xmm0
mov eax, dword [edi + 0x3e7c]
addss xmm2, dword [edi + 0x3e98]
mov dword [edi + 0x3e90], eax
mov al, byte [edi + 0x3e70]
mov byte [edi + 0x3e8d], al
mov eax, dword [edi + 0x5928]
movss dword [edi + 0x3e98], xmm2
mov dword [edi + 0x3e88], ecx
mov dword [edi + 0x3e64], 0
mov byte [edi + 0x3e71], 0
mov byte [edi + 0x3e8c], 0
mov byte [edi + 0x3e6c], 0
test eax, eax
je 0x1000a276
cmp ecx, eax
je 0x1000a276
mov dword [edi + 0x5928], 0
test ecx, ecx
jne 0x1000a294
mov dword [edi + 0x4664], ecx
mov dword [edi + 0x465c], ecx
mov byte [edi + 0x4660], cl
mov dword [edi + 0x4664], ecx
jmp 0x1000a2bc
mov eax, dword [edi + 0x4664]
test eax, eax
je 0x1000a2bc
test al, 2
je 0x1000a2bc
mov eax, dword [0x1005f6a4]
mov dword [eax + 0x3f48], ecx
mov dword [eax + 0x3f44], ecx
mov word [eax + 0x3f4c], 0
mov eax, dword [edi + 0x4a44]
movss xmm0, dword [edi + 0x4a4c]
mov dword [edi + 0x4a48], eax
test eax, eax
je 0x1000a2ed
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4a44], 0
movss dword [edi + 0x4a4c], xmm0
jmp 0x1000a32d
comiss xmm0, dword [0x1005c554]
jbe 0x1000a337
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x1005c590]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4a50]
addss xmm1, xmm1
movss dword [edi + 0x4a50], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1000a337
mov dword [edi + 0x4a4c], 0
mov dword [edi + 0x4a50], 0
mov eax, dword [edi + 0x4980]
push ecx
lea ecx, [edi + 0x378c]
mov dword [edi + 0x4984], eax
mov dword [edi + 0x4980], 0
mov dword [edi + 0x497c], 0x7f7fffff
mov word [edi + 0x491d], 0
mov dword [edi + 0x498c], 0
call fcn.10019ee0
mov cl, byte [edi + 0x62]
call fcn.100123e0
call fcn.100088f0
call fcn.100152f0
call fcn.10008e60
call fcn.100097d0
mov esi, dword [0x1005f6a4]
mov ecx, dword [esi + 0x3e34]
test ecx, ecx
je 0x1000a448
mov eax, dword [esi + 0x3e60]
mov dword [esi + 0x3e64], eax
cmp dword [esi + 0x3e88], eax
jne 0x1000a3c1
mov byte [esi + 0x3e8c], 1
cmp byte [esi + 0xdc0], 0
mov ebx, dword [ecx + 0x2e4]
je 0x1000a43c
lea eax, [esi + 0xdb8]
mov ecx, eax
test eax, eax
jne 0x1000a3e2
lea ecx, [esi + 0xdb8]
movss xmm0, dword [ecx]
movss xmm1, dword [0x1005c69c]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x1000a43c
comiss xmm2, xmm1
jb 0x1000a43c
movss xmm0, dword [eax]
lea edx, [ebp - 0x20]
subss xmm0, dword [esi + 0x3e74]
push 1
mov ecx, ebx
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x3e78]
movss dword [ebp - 0x1c], xmm0
call fcn.10011aa0
mov ecx, dword [esi + 0x3e34]
add esp, 4
call fcn.10011590
jmp 0x1000a484
mov dword [esi + 0x3e34], 0
jmp 0x1000a47b
mov ecx, dword [esi + 0x3e7c]
test ecx, ecx
je 0x1000a484
mov eax, dword [esi + 0x3e60]
cmp dword [ecx + 0x54], eax
jne 0x1000a484
mov dword [esi + 0x3e64], eax
cmp dword [esi + 0x3e88], eax
jne 0x1000a472
mov byte [esi + 0x3e8c], 1
cmp byte [esi + 0xdc0], 0
jne 0x1000a484
xor edx, edx
xor ecx, ecx
call fcn.10007b90
mov eax, dword [0x1005f6a4]
mov edx, dword [eax + 0x476c]
sub edx, 1
js 0x1000a4ba
mov eax, dword [eax + 0x4774]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1000a4b2
test dword [ecx + 8], 0x8000000
jne 0x1000a4d4
sub eax, 0x28
sub edx, 1
jns 0x1000a4a3
cmp dword [edi + 0x48ec], 0
je 0x1000a4f3
movss xmm0, dword [edi + 0x48fc]
comiss xmm0, dword [0x1005c554]
jbe 0x1000a4f3
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x1005c61c]
addss xmm1, dword [edi + 0x4914]
minss xmm1, dword [0x1005c5dc]
jmp 0x1000a514
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1005c628]
movss xmm1, dword [edi + 0x4914]
subss xmm1, xmm0
maxss xmm1, dword [0x1005c554]
movss dword [edi + 0x4914], xmm1
movups xmm0, xmmword [edi + 0x59b4]
mov dword [edi + 0x4918], 0
mov dword [edi + 0x5bc8], 0xffffffff
mov dword [edi + 0x5bc4], 0xffffffff
mov dword [edi + 0x5bc0], 0xffffffff
movups xmmword [edi + 0x59c4], xmm0
mov byte [edi + 0x59b4], 0
call fcn.100091c0
cmp byte [edi + 0x3dd7], 0
jne 0x1000a58b
movss xmm0, dword [edi + 0x68]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1000a58b
movsd xmm1, qword [edi + 0x3dc0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 8], xmm1
jmp 0x1000a590
movss xmm1, dword [ebp - 8]
xor ebx, ebx
cmp dword [edi + 0x3de0], ebx
je 0x1000a72f
nop
mov eax, dword [edi + 0x3de8]
mov esi, dword [eax + ebx*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 0x1000a71d
cmp byte [esi + 0x32c], al
jne 0x1000a71d
comiss xmm1, dword [esi + 0x220]
jbe 0x1000a71d
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 0x1000a658
mov eax, dword [0x1005f6a4]
mov dword [esi + 0xcc], 0
mov dword [esi + 0xc8], 0
test eax, eax
je 0x1000a647
dec dword [eax + 0xb0]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0xd0], 0
mov ecx, dword [esi + 0x248]
call fcn.10021c50
mov ecx, dword [esi + 0x16c]
test ecx, ecx
je 0x1000a6a1
mov eax, dword [0x1005f6a4]
mov dword [esi + 0x168], 0
mov dword [esi + 0x164], 0
test eax, eax
je 0x1000a690
dec dword [eax + 0xb0]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x16c], 0
mov ecx, dword [esi + 0x194]
test ecx, ecx
je 0x1000a6df
mov eax, dword [0x1005f6a4]
mov dword [esi + 0x190], 0
mov dword [esi + 0x18c], 0
test eax, eax
je 0x1000a6ce
dec dword [eax + 0xb0]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x194], 0
mov ecx, dword [esi + 0x1a0]
test ecx, ecx
je 0x1000a71d
mov eax, dword [0x1005f6a4]
mov dword [esi + 0x19c], 0
mov dword [esi + 0x198], 0
test eax, eax
je 0x1000a70c
dec dword [eax + 0xb0]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x1a0], 0
movss xmm1, dword [ebp - 8]
inc ebx
cmp ebx, dword [edi + 0x3de0]
jne 0x1000a5a0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [edi + 0x49f0], ecx
jle 0x1000a87d
xor edx, edx
xorps xmm1, xmm1
mov dword [ebp - 0x14], edx
nop dword [eax + eax]
mov eax, dword [edi + 0x49f8]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1000a864
movss xmm1, dword [ebp - 8]
comiss xmm1, xmm0
jbe 0x1000a861
mov esi, dword [edi + 0x49d8]
mov ebx, dword [0x1005f6a4]
add esi, edx
mov dword [ebp - 0x1c], ebx
mov dword [esi + 0x1a4], 0
mov eax, dword [esi + 0x1a0]
test eax, eax
je 0x1000a7c6
mov dword [esi + 0x19c], 0
mov dword [esi + 0x198], 0
test ebx, ebx
je 0x1000a7b5
dec dword [ebx + 0xb0]
push eax
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x1a0], 0
mov byte [esi + 0x1cc], 1
mov ecx, dword [esi + 0x170]
test ecx, ecx
je 0x1000a80b
mov eax, dword [0x1005f6a4]
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
test eax, eax
je 0x1000a7fa
dec dword [eax + 0xb0]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x170], 0
xor edx, edx
mov byte [esi + 0x1d6], 1
cmp dword [esi + 0x54], edx
jle 0x1000a837
xor ecx, ecx
or ebx, 0xffffffff
nop
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov word [ecx + eax - 0x18], bx
cmp edx, dword [esi + 0x54]
jl 0x1000a820
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
sub esi, dword [ebx + 0x49d8]
mov eax, 0x22b63cbf
imul esi
mov eax, dword [ebx + 0x49f8]
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [ebp - 0x10]
xorps xmm1, xmm1
inc ecx
add edx, 0x1d8
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
cmp ecx, dword [edi + 0x49f0]
jl 0x1000a750
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x49c4], eax
jle 0x1000a8d2
xor esi, esi
xorps xmm1, xmm1
nop
mov ebx, dword [edi + 0x49cc]
movss xmm0, dword [esi + ebx + 4]
comiss xmm0, xmm1
jb 0x1000a8c3
movss xmm1, dword [ebp - 8]
comiss xmm1, xmm0
jbe 0x1000a8c0
lea ecx, [ebx + 0x10]
add ecx, esi
call fcn.100245d0
mov eax, dword [ebp - 0x14]
mov dword [esi + ebx + 4], 0xbf800000
xorps xmm1, xmm1
inc eax
add esi, 0x68
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x49c4]
jl 0x1000a890
cmp byte [edi + 0x3dd7], 0
je 0x1000a967
mov esi, dword [0x1005f6a4]
mov eax, dword [esi + 0x475c]
test eax, eax
je 0x1000a922
mov dword [esi + 0x4758], 0
mov dword [esi + 0x4754], 0
test esi, esi
je 0x1000a90d
dec dword [esi + 0xb0]
mov ebx, dword [ebp - 4]
push eax
call ebx
add esp, 4
mov dword [esi + 0x475c], 0
jmp 0x1000a925
mov ebx, dword [ebp - 4]
mov ecx, dword [esi + 0x4768]
test ecx, ecx
je 0x1000a962
mov eax, dword [0x1005f6a4]
mov dword [esi + 0x4764], 0
mov dword [esi + 0x4760], 0
test eax, eax
je 0x1000a952
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x4768], 0
call fcn.10032430
mov eax, dword [edi + 0x4794]
mov byte [edi + 0x3dd7], 0
test eax, eax
je 0x1000a9d1
cmp byte [eax + 0x8f], 0
jne 0x1000a9d1
mov eax, dword [0x1005f6a4]
mov edx, dword [eax + 0x3dec]
sub edx, 1
js 0x1000a9ca
mov eax, dword [eax + 0x3df4]
lea esi, [eax + edx*4]
nop word [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x1000a9c2
cmp byte [ecx + 0x8f], 0
je 0x1000a9c2
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1000ab88
sub esi, 4
sub edx, 1
jns 0x1000a9a0
xor ecx, ecx
call fcn.10011590
mov ecx, dword [edi + 0x3e08]
test ecx, ecx
jns 0x1000a9f7
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 + 0x3e04]
call fcn.1001a5f0
mov dword [edi + 0x3e04], 0
mov ecx, dword [edi + 0x477c]
test ecx, ecx
jns 0x1000aa27
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 + 0x4778]
call fcn.1001a570
lea esi, [edi + 0x4754]
mov dword [edi + 0x4778], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1000aa56
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.10019da0
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1000aa6b
push 8
mov ecx, esi
call fcn.10019da0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push ecx
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x4760]
inc dword [esi]
call fcn.10019b70
mov esi, dword [0x1005f6a4]
cmp byte [esi + 0x5a8d], 0
mov dword [esi + 0x5a90], 0
je 0x1000abdd
mov ebx, dword [esi + 0x3e50]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [ebp - 0x1c], ebx
mov dword [esi + 0x4918], 7
call fcn.10012010
add esp, 4
test al, al
je 0x1000aad1
mov byte [esi + 0x5a8d], 0
mov eax, dword [esi + 0xdd4]
mov dword [ebp - 8], eax
cmp eax, 0x3000
je 0x1000ab05
movzx ecx, byte [esi + 0x5a8e]
call fcn.10012170
test al, al
mov eax, dword [ebp - 8]
je 0x1000ab05
test ebx, ebx
je 0x1000ab05
mov dword [esi + 0x5a90], ebx
mov byte [esi + 0x5a8d], 0
xor ebx, ebx
cmp eax, 0x3000
jne 0x1000ab22
mov ecx, ebx
call fcn.10012170
test al, al
mov eax, dword [ebp - 8]
je 0x1000ab22
mov byte [esi + 0x5a8e], bl
inc ebx
cmp ebx, 3
jl 0x1000ab07
or dword [esi + 0x46c4], 0x40
xor ecx, ecx
mov dword [esi + 0x4718], 0x3f333333
call fcn.10013410
mov ebx, dword [ebp - 0x1c]
push ebx
push str.HoveredId:_0x_08X
call fcn.10033550
push str.Press_ESC_to_abort_picking.
call fcn.10033550
add esp, 0xc
mov dword [ebp - 0x24], str.Left
cmp dword [ebp - 8], 0x3000
mov dword [ebp - 0x20], str.Right
mov dword [ebp - 0x1c], str.Middle
jne 0x1000aba4
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.10033550
add esp, 4
jmp 0x1000abd2
mov eax, dword [ecx + 0x2f4]
test eax, eax
je 0x1000ab9b
cmp byte [eax + 0x8f], 0
jne 0x1000ab9d
mov eax, ecx
mov ecx, eax
jmp 0x1000a9cc
movzx eax, byte [esi + 0x5a8e]
mov ecx, 0x3870
test ebx, ebx
push dword [ebp + eax*4 - 0x24]
mov eax, 0x3860
cmove eax, ecx
add eax, dword [0x1005f6a4]
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.10033640
add esp, 0xc
call fcn.100113c0
mov esi, dword [0x1005f6a4]
lea eax, [esi + 0x3e48]
lea ebx, [esi + 0x5aa4]
mov dword [eax], 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
inc eax
cmp dword [esi + 0x3dc8], eax
jne 0x1000acc2
mov edx, dword [esi + 0x3e50]
mov dword [ebp - 8], edx
test edx, edx
jne 0x1000ac17
mov edx, dword [esi + 0x3e60]
mov dword [ebp - 8], edx
cmp dword [ebx + 8], edx
je 0x1000ac5b
lea eax, [ebx + 0xc]
mov dword [ebx + 8], edx
mov dword [ebx + 4], 0xffffffff
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1000ac55
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, [ebx + 0xc]
call fcn.1001a660
mov esi, dword [0x1005f6a4]
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 8]
mov dword [eax], 0
test edx, edx
je 0x1000acc2
mov eax, dword [ebx + 4]
test eax, eax
js 0x1000ac96
mov ecx, eax
cmp eax, dword [ebx + 0xc]
jge 0x1000aca8
mov edx, dword [ebx + 0x14]
lea ecx, [eax + eax*8]
cmp byte [edx + ecx*8 + 5], 0
mov edx, dword [ebp - 8]
jne 0x1000ac92
mov edi, dword [ebx + 0x14]
lea edx, [eax + eax*8]
mov ecx, eax
cmp byte [edi + edx*8 + 4], 2
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
jle 0x1000aca8
inc eax
mov dword [ebx + 4], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x1000aca4
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
jmp 0x1000acc2
test ecx, ecx
js 0x1000acc2
cmp ecx, dword [ebx + 0xc]
jge 0x1000acc2
mov eax, dword [ebx + 0x14]
lea ecx, [ecx + ecx*8]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + ecx*8]
mov dword [edx], eax
mov eax, dword [ebx + 0x14]
inc byte [eax + ecx*8 + 4]
mov al, byte [edi + 0x5a8c]
test al, al
je 0x1000ace0
sub al, 1
mov byte [edi + 0x5a8c], al
jne 0x1000ace0
mov dword [edi + 0x4670], 0
mov byte [edi + 0x3dd5], 1
xor edx, edx
or dword [esi + 0x46c4], 2
mov ecx, str.DebugDefault
push 0
mov dword [esi + 0x46e4], 0x43c80000
mov dword [esi + 0x46e8], 0x43c80000
mov dword [esi + 0x46cc], 4
call fcn.1000eaf0
xor esi, esi
add esp, 4
cmp dword [edi + 0x5a0c], esi
jle 0x1000ad53
xor ebx, ebx
nop dword [eax]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, ebx
cmp dword [eax + 4], 1
jne 0x1000ad47
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a0c]
jl 0x1000ad30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret