Function at 0x10008a50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
push edi
mov edi, dword [0x1007a700]
mov dword [esp + 0x1c], edi
mov edx, dword [edi + 0x5a24]
lea eax, [edi + 0x5a2c]
sub edx, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
js 0x10008b00
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x18], eax
nop dword [eax]
mov ecx, dword [edi + 0x5a2c]
cmp dword [ecx + eax + 4], 7
jne 0x10008ae8
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 + 0x5a24]
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 + 0x5a24]
mov edx, dword [esp + 0x20]
dec edx
sub eax, 0x14
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
test edx, edx
jns 0x10008a90
lea eax, [edi + 0x5a2c]
jmp 0x10008b04
mov dword [esp + 0x24], eax
xor esi, esi
cmp dword [edi + 0x5a24], esi
jle 0x10008b40
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov eax, dword [eax]
add eax, ecx
cmp dword [eax + 4], 0
jne 0x10008b2c
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, dword [esp + 0x24]
inc esi
add ecx, 0x14
mov dword [esp + 0x20], ecx
cmp esi, dword [edi + 0x5a24]
jl 0x10008b14
mov esi, dword [0x1007a700]
cmp byte [esi + 0x66], 0
je 0x10008b56
test byte [esi + 0xc], 2
jne 0x10008b56
mov byte [esi + 0x66], 0
cmp byte [esi + 0x59ed], 0
lea ecx, [esi + 0x20]
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x14], eax
jne 0x10008bc5
mov eax, dword [ecx]
test eax, eax
je 0x10008bbe
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
push ecx
mov ecx, eax
call fcn.10004990
mov ecx, eax
add esp, 8
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x10008bbb
mov edx, dword [esp + 0x20]
test edx, edx
je 0x10008ba4
call fcn.10019c90
mov ecx, dword [esp + 0x30]
mov eax, dword [0x1007a700]
test eax, eax
je 0x10008bb3
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
lea ecx, [esi + 0x20]
mov byte [esi + 0x59ed], 1
movss xmm0, dword [esi + 0x59f0]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10008c60
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x59f0], xmm0
jb 0x10008c60
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
test eax, eax
je 0x10008c4f
mov eax, dword [0x1007a700]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [eax + 0x59f0], 0
call fcn.10019eb0
mov ecx, dword [esp + 0x30]
mov edx, 0x1006c9e4
mov dword [esp + 0x28], eax
call fcn.10004890
mov dword [esp + 0x30], eax
test eax, eax
je 0x10008c56
push eax
push dword [esp + 0x24]
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 0x10008c56
mov byte [esi + 0x98], 1
mov dword [esi + 0x59f0], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3dc8]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x3dd4], 1
mov word [edi + 0x59b2], ax
mov dword [edi + 0x3e1c], eax
addsd xmm0, qword [edi + 0x3dc0]
movsd qword [edi + 0x3dc0], xmm0
mov ecx, dword [edi + 0x59c4]
test ecx, ecx
jns 0x10008cba
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 + 0x59c0]
call fcn.1001b270
mov dword [edi + 0x59c0], 0
mov ecx, 0x3c
mov eax, dword [edi + 0x5bcc]
xorps xmm3, xmm3
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x10076798]
movss xmm4, dword [0x10076698]
subss xmm0, dword [edi + eax*4 + 0x5adc]
movss dword [esp + 0x18], xmm2
addss xmm0, dword [edi + 0x5bd4]
movss dword [edi + 0x5bd4], xmm0
movss dword [edi + eax*4 + 0x5adc], xmm1
mov eax, dword [edi + 0x5bcc]
inc eax
movss xmm1, dword [edi + 0x5bd4]
cdq
idiv ecx
mov eax, dword [edi + 0x5bd0]
inc eax
mov dword [edi + 0x5bcc], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [edi + 0x5bd0], ecx
jbe 0x10008d55
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x10008d58
movaps xmm0, xmm2
mov esi, dword [0x1007a700]
movss dword [edi + 0x9c], xmm0
mov eax, dword [esi + 0x47a4]
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 + 0x479c], 0
jle 0x10008e75
xor edi, edi
nop dword [eax]
mov eax, dword [esi + 0x47a4]
movaps xmm2, xmm3
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, 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 + 0x479c]
jl 0x10008da0
movss xmm2, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x48]
mov esi, dword [0x1007a700]
mov byte [eax + 0x10], 1
mov eax, dword [esi + 0x54]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x10008e99
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x44]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
movss xmm1, dword [esi + 0x4c]
movaps xmm0, xmm4
mov ecx, dword [esi + 0x3e28]
mov dword [esi + 0x3bb0], eax
mulss xmm1, dword [eax + 0x10]
mulss xmm1, dword [eax + 0x44]
maxss xmm0, xmm1
movss dword [esi + 0x3bb8], xmm0
test ecx, ecx
je 0x10008eeb
movss xmm0, dword [ecx + 0x258]
mov ecx, dword [ecx + 0x2f4]
mulss xmm0, dword [esi + 0x3bb8]
test ecx, ecx
je 0x10008eee
mulss xmm0, dword [ecx + 0x258]
jmp 0x10008eee
movaps xmm0, xmm3
movss xmm4, dword [0x100767d4]
movaps xmm7, xmm2
movss dword [esi + 0x3bb4], xmm0
movaps xmm6, xmm2
mov edx, dword [eax + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x3bbc], eax
lea eax, [edx + 0x60]
mov dword [esi + 0x3db8], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x3bc0], ecx
mov dword [esi + 0x3bc4], eax
movss dword [esi + 0x3bc8], xmm0
mov edx, dword [edi + 0x479c]
test edx, edx
jle 0x10008f94
mov ecx, dword [edi + 0x47a4]
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 0x10008f74
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x10008f7c
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10008f84
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x10008f8c
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x10008f50
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 + 0x3bcc], eax
movups xmmword [edi + 0x3bd4], xmm0
movss xmm0, dword [edi + 0x3bd0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100090c9
movss dword [edi + 0x3bd0], xmm1
xor esi, esi
nop dword [eax + eax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x10009082
movss xmm1, dword [edi + 0x3bd0]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10076698]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x100766f0]
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 0x10009073
mov eax, 4
jmp 0x10009087
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x10009087
mov eax, 0x30
mov byte [esi + edi + 0x3d78], al
inc esi
cmp esi, 0x40
jl 0x10008ff0
movsd xmm0, qword [0x100766a8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x10076698]
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 0x100090ec
mov dword [edi + 0x3be4], 1
mov edx, 1
cmp byte [edi + 0x3855], 0
mov ecx, edx
je 0x1000910e
mov eax, dword [edi + 0x3bb0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1000910e
or ecx, 2
mov dword [edi + 0x3be4], ecx
cmp byte [edi + 0x3856], 0
je 0x10009120
or ecx, 4
mov dword [edi + 0x3be4], ecx
test byte [edi + 0xc], 8
je 0x1000912f
or ecx, 8
mov dword [edi + 0x3be4], ecx
xor esi, esi
cmp dword [edi + 0x479c], esi
jle 0x10009162
nop dword [eax]
mov eax, dword [edi + 0x47a4]
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 + 0x479c]
jl 0x10009140
cmp byte [edi + 0x4930], 0
je 0x1000919c
mov eax, dword [edi + 0x4948]
cmp eax, dword [edi + 0x3e74]
jne 0x1000919c
mov ecx, dword [0x1007a700]
cmp dword [ecx + 0x3e74], eax
jne 0x1000918d
mov dword [ecx + 0x3e78], eax
cmp dword [ecx + 0x3e9c], eax
jne 0x1000919c
mov byte [ecx + 0x3ea0], 1
cmp dword [edi + 0x3e64], 0
lea eax, [edi + 0x3e60]
mov ecx, dword [eax]
jne 0x100091b9
mov dword [edi + 0x3e6c], 0
jmp 0x100091c9
mov edx, ecx
mov esi, eax
test ecx, ecx
je 0x100091d7
cmp dword [edi + 0x3e74], ecx
jne 0x100091d7
mov dword [edi + 0x3e70], 0
mov edx, ecx
mov esi, eax
movss xmm1, dword [edi + 0x18]
test edx, edx
je 0x1000920e
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e6c]
movss dword [edi + 0x3e6c], xmm0
cmp dword [edi + 0x3e74], edx
je 0x1000920e
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e70]
movss dword [edi + 0x3e70], xmm0
mov eax, dword [edi + 0x3e74]
movaps xmm2, xmm1
mov dword [edi + 0x3e64], edx
mov dword [esi], 0
mov word [edi + 0x3e68], 0
test eax, eax
je 0x10009264
cmp dword [edi + 0x3e78], eax
je 0x10009264
cmp dword [edi + 0x3e9c], eax
jne 0x10009264
test byte [edi + 0x5a84], 1
je 0x10009256
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.1001a6e0
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.10007dd0
movss xmm2, dword [edi + 0x18]
mov ecx, dword [edi + 0x3e74]
test ecx, ecx
je 0x10009281
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x3e7c]
movss dword [edi + 0x3e7c], xmm0
mov eax, dword [edi + 0x3e90]
addss xmm2, dword [edi + 0x3eac]
mov dword [edi + 0x3ea4], eax
mov al, byte [edi + 0x3e84]
mov byte [edi + 0x3ea1], al
mov eax, dword [edi + 0x5940]
movss dword [edi + 0x3eac], xmm2
mov dword [edi + 0x3e9c], ecx
mov dword [edi + 0x3e78], 0
mov byte [edi + 0x3e85], 0
mov byte [edi + 0x3ea0], 0
mov byte [edi + 0x3e80], 0
test eax, eax
je 0x100092e6
cmp ecx, eax
je 0x100092e6
mov dword [edi + 0x5940], 0
test ecx, ecx
jne 0x10009304
mov dword [edi + 0x4678], ecx
mov dword [edi + 0x4670], ecx
mov byte [edi + 0x4674], cl
mov dword [edi + 0x4678], ecx
jmp 0x1000932c
mov eax, dword [edi + 0x4678]
test eax, eax
je 0x1000932c
test al, 2
je 0x1000932c
mov eax, dword [0x1007a700]
mov dword [eax + 0x3f5c], ecx
mov dword [eax + 0x3f58], ecx
mov word [eax + 0x3f60], 0
mov eax, dword [edi + 0x4a58]
movss xmm0, dword [edi + 0x4a60]
mov dword [edi + 0x4a5c], eax
test eax, eax
je 0x1000935d
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4a58], 0
movss dword [edi + 0x4a60], xmm0
jmp 0x1000939d
comiss xmm0, dword [0x100765e8]
jbe 0x100093a7
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x1007663c]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4a64]
addss xmm1, xmm1
movss dword [edi + 0x4a64], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x100093a7
mov dword [edi + 0x4a60], 0
mov dword [edi + 0x4a64], 0
mov eax, dword [edi + 0x4994]
push ecx
lea ecx, [edi + 0x378c]
mov dword [edi + 0x4998], eax
mov dword [edi + 0x4994], 0
mov dword [edi + 0x4990], 0x7f7fffff
mov word [edi + 0x4931], 0
mov dword [edi + 0x49a0], 0
call fcn.1001b3b0
mov cl, byte [edi + 0x62]
call fcn.10012b00
call fcn.10011830
call fcn.10016200
call fcn.10011da0
call fcn.100087e0
mov esi, dword [0x1007a700]
mov ecx, dword [esi + 0x3e34]
test ecx, ecx
je 0x100094c1
mov eax, dword [esi + 0x3e74]
mov dword [esi + 0x3e78], eax
cmp dword [esi + 0x3e9c], eax
jne 0x10009431
mov byte [esi + 0x3ea0], 1
cmp byte [esi + 0xdc0], 0
mov eax, dword [ecx + 0x2fc]
mov dword [esp + 0x30], eax
je 0x100094b5
lea eax, [esi + 0xdb8]
mov ecx, eax
test eax, eax
jne 0x10009456
lea ecx, [esi + 0xdb8]
movss xmm0, dword [ecx]
movss xmm1, dword [0x100767d0]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x100094b5
comiss xmm2, xmm1
jb 0x100094b5
movss xmm0, dword [eax]
lea edx, [esp + 0x28]
subss xmm0, dword [esi + 0x3e88]
mov ecx, dword [esp + 0x30]
push 1
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x3e8c]
movss dword [esp + 0x30], xmm0
call fcn.10010bb0
mov ecx, dword [esi + 0x3e34]
add esp, 4
call fcn.10010740
jmp 0x100094fd
mov dword [esi + 0x3e34], 0
jmp 0x100094f4
mov ecx, dword [esi + 0x3e90]
test ecx, ecx
je 0x100094fd
mov eax, dword [esi + 0x3e74]
cmp dword [ecx + 0x6c], eax
jne 0x100094fd
mov dword [esi + 0x3e78], eax
cmp dword [esi + 0x3e9c], eax
jne 0x100094eb
mov byte [esi + 0x3ea0], 1
cmp byte [esi + 0xdc0], 0
jne 0x100094fd
xor edx, edx
xor ecx, ecx
call fcn.10007dd0
mov eax, dword [0x1007a700]
mov edx, dword [eax + 0x4780]
sub edx, 1
js 0x10009537
mov eax, dword [eax + 0x4788]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000952f
test dword [ecx + 8], 0x8000000
jne 0x10009551
sub eax, 0x28
sub edx, 1
jns 0x10009520
cmp dword [edi + 0x4900], 0
je 0x10009570
movss xmm0, dword [edi + 0x4910]
comiss xmm0, dword [0x100765e8]
jbe 0x10009570
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x10076704]
addss xmm1, dword [edi + 0x4928]
minss xmm1, dword [0x10076698]
jmp 0x10009591
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x10076714]
movss xmm1, dword [edi + 0x4928]
subss xmm1, xmm0
maxss xmm1, dword [0x100765e8]
movss dword [edi + 0x4928], xmm1
movups xmm0, xmmword [edi + 0x59cc]
mov dword [edi + 0x492c], 0
mov dword [edi + 0x5be0], 0xffffffff
mov dword [edi + 0x5bdc], 0xffffffff
mov dword [edi + 0x5bd8], 0xffffffff
movups xmmword [edi + 0x59dc], xmm0
mov byte [edi + 0x59cc], 0
call fcn.10012100
cmp byte [edi + 0x3dd7], 0
jne 0x10009609
movss xmm0, dword [edi + 0x68]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x10009609
movsd xmm1, qword [edi + 0x3dc0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x18], xmm1
jmp 0x1000960f
movss xmm1, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp dword [edi + 0x3de0], ecx
je 0x100097cc
nop dword [eax]
nop word [eax + eax]
mov eax, dword [edi + 0x3de8]
mov esi, dword [eax + ecx*4]
mov ax, word [esi + 0xb2]
mov cl, byte [esi + 0xa6]
mov word [esi + 0xb4], ax
xor eax, eax
mov byte [esi + 0xa7], cl
mov byte [esi + 0xa6], 0
mov byte [esi + 0xa8], 0
mov word [esi + 0xb2], ax
test cl, cl
jne 0x100097b1
cmp byte [esi + 0x344], al
jne 0x100097b1
comiss xmm1, dword [esi + 0x238]
jbe 0x100097b1
mov ecx, dword [esi + 0x260]
mov byte [esi + 0x344], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x33c], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x340], eax
mov ecx, dword [esi + 0xe8]
test ecx, ecx
je 0x100096e9
mov eax, dword [0x1007a700]
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe0], 0
test eax, eax
je 0x100096d7
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0xe8], 0
mov ecx, dword [esi + 0x260]
call fcn.10023640
mov ecx, dword [esi + 0x184]
test ecx, ecx
je 0x10009733
mov eax, dword [0x1007a700]
mov dword [esi + 0x180], 0
mov dword [esi + 0x17c], 0
test eax, eax
je 0x10009721
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x184], 0
mov ecx, dword [esi + 0x1ac]
test ecx, ecx
je 0x10009772
mov eax, dword [0x1007a700]
mov dword [esi + 0x1a8], 0
mov dword [esi + 0x1a4], 0
test eax, eax
je 0x10009760
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x1ac], 0
mov ecx, dword [esi + 0x1b8]
test ecx, ecx
je 0x100097b1
mov eax, dword [0x1007a700]
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b0], 0
test eax, eax
je 0x1000979f
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x1b8], 0
mov ecx, dword [esp + 0x20]
movss xmm1, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [edi + 0x3de0]
jne 0x10009630
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp dword [edi + 0x4a04], ecx
jle 0x1000992a
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x30], edx
nop word [eax + eax]
mov eax, dword [edi + 0x4a0c]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1000990f
movss xmm1, dword [esp + 0x18]
comiss xmm1, xmm0
jbe 0x1000990c
mov esi, dword [edi + 0x49ec]
mov eax, dword [0x1007a700]
add esi, edx
mov dword [esp + 0x20], eax
mov dword [esi + 0x1a8], 0
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x10009868
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
test eax, eax
je 0x10009856
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x1a4], 0
mov byte [esi + 0x1d0], 1
mov ecx, dword [esi + 0x170]
test ecx, ecx
je 0x100098ae
mov eax, dword [0x1007a700]
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
test eax, eax
je 0x1000989c
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x170], 0
xor edx, edx
mov byte [esi + 0x1dc], 1
cmp dword [esi + 0x54], edx
jle 0x100098d6
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 0x100098c1
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
sub esi, dword [eax + 0x49ec]
mov eax, 0x88888889
imul esi
mov eax, dword [esp + 0x20]
add edx, esi
sar edx, 8
mov ecx, edx
mov eax, dword [eax + 0x4a0c]
shr ecx, 0x1f
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, 0x1e0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
cmp ecx, dword [edi + 0x4a04]
jl 0x100097f0
xor ecx, ecx
mov dword [esp + 0x30], ecx
cmp dword [edi + 0x49d8], ecx
jle 0x1000998d
xor esi, esi
xorps xmm1, xmm1
nop dword [eax]
mov eax, dword [edi + 0x49e0]
mov dword [esp + 0x28], eax
movss xmm0, dword [esi + eax + 4]
comiss xmm0, xmm1
jb 0x1000997d
movss xmm1, dword [esp + 0x18]
comiss xmm1, xmm0
jbe 0x1000997a
lea ecx, [eax + 0x10]
add ecx, esi
call fcn.10026330
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 + 0x49d8]
jl 0x10009940
cmp byte [edi + 0x3dd7], 0
je 0x10009a1e
mov esi, dword [0x1007a700]
mov eax, dword [esi + 0x4770]
test eax, eax
je 0x100099da
mov dword [esi + 0x476c], 0
mov dword [esi + 0x4768], 0
test esi, esi
je 0x100099c8
dec dword [esi + 0xb0]
push eax
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x4770], 0
mov ecx, dword [esi + 0x477c]
test ecx, ecx
je 0x10009a19
mov eax, dword [0x1007a700]
mov dword [esi + 0x4778], 0
mov dword [esi + 0x4774], 0
test eax, eax
je 0x10009a07
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x477c], 0
call fcn.1002b910
mov eax, dword [edi + 0x47a8]
mov byte [edi + 0x3dd7], 0
test eax, eax
je 0x10009a82
cmp byte [eax + 0xa7], 0
jne 0x10009a82
mov eax, dword [0x1007a700]
mov edx, dword [eax + 0x3dec]
sub edx, 1
js 0x10009a7b
mov eax, dword [eax + 0x3df4]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x10009a73
cmp byte [ecx + 0xa7], 0
je 0x10009a73
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x10009c54
sub esi, 4
sub edx, 1
jns 0x10009a51
xor ecx, ecx
call fcn.10010740
mov ecx, dword [edi + 0x3e08]
test ecx, ecx
jns 0x10009aa8
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.1001b990
mov dword [edi + 0x3e04], 0
mov ecx, dword [edi + 0x4790]
test ecx, ecx
jns 0x10009ad8
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 + 0x478c]
call fcn.1001b910
lea esi, [edi + 0x4768]
mov dword [edi + 0x478c], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10009b07
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.1001b270
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x10009b1c
push 8
mov ecx, esi
call fcn.1001b270
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x4774]
inc dword [esi]
call fcn.1001b040
mov esi, dword [0x1007a700]
cmp byte [esi + 0x5aa5], 0
mov dword [esi + 0x5aa8], 0
je 0x10009cac
mov eax, dword [esi + 0x3e64]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [esp + 0x24], eax
mov dword [esi + 0x492c], 7
call fcn.10011530
add esp, 4
test al, al
je 0x10009b84
mov byte [esi + 0x5aa5], 0
mov ecx, dword [esi + 0xdd4]
mov dword [esp + 0x18], ecx
cmp ecx, 0x3000
je 0x10009bbf
movzx ecx, byte [esi + 0x5aa6]
call fcn.10011690
mov ecx, dword [esp + 0x18]
test al, al
je 0x10009bbf
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10009bbf
mov dword [esi + 0x5aa8], eax
mov byte [esi + 0x5aa5], 0
xor eax, eax
mov dword [esp + 0x14], eax
cmp ecx, 0x3000
jne 0x10009be6
mov ecx, eax
call fcn.10011690
mov ecx, dword [esp + 0x18]
test al, al
mov eax, dword [esp + 0x14]
je 0x10009be6
mov byte [esi + 0x5aa6], al
inc eax
mov dword [esp + 0x14], eax
cmp eax, 3
jl 0x10009bc5
or dword [esi + 0x46d8], 0x40
xor ecx, ecx
mov dword [esi + 0x472c], 0x3f333333
call fcn.10014090
push dword [esp + 0x20]
push str.HoveredId:_0x_08X
call fcn.1002c6d0
push str.Press_ESC_to_abort_picking.
call fcn.1002c6d0
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 0x10009c70
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.1002c6d0
add esp, 4
jmp 0x10009ca1
mov eax, dword [ecx + 0x30c]
test eax, eax
je 0x10009c67
cmp byte [eax + 0xa7], 0
jne 0x10009c69
mov eax, ecx
mov ecx, eax
jmp 0x10009a7d
movzx eax, byte [esi + 0x5aa6]
mov ecx, 0x3870
cmp dword [esp + 0x20], 0
push dword [esp + eax*4 + 0x30]
mov eax, 0x3860
cmove eax, ecx
add eax, dword [0x1007a700]
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.1002c760
add esp, 0xc
call fcn.10010570
mov esi, dword [0x1007a700]
lea eax, [esi + 0x3e5c]
lea edx, [esi + 0x5abc]
mov dword [eax], 0
mov dword [esp + 0x28], eax
mov eax, dword [edx]
inc eax
mov dword [esp + 0x20], edx
cmp dword [esi + 0x3dc8], eax
jne 0x10009dc5
mov eax, dword [esi + 0x3e64]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x10009ced
mov eax, dword [esi + 0x3e74]
mov dword [esp + 0x18], eax
cmp dword [edx + 8], eax
je 0x10009d48
lea ecx, [edx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 4], 0xffffffff
mov eax, dword [ecx + 4]
test eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
jge 0x10009d42
mov eax, dword [esp + 0x14]
xor ecx, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x14]
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x34]
call fcn.1001ba00
mov esi, dword [0x1007a700]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword [ecx], 0
test eax, eax
je 0x10009dc5
mov eax, dword [edx + 4]
test eax, eax
js 0x10009d8f
mov ecx, eax
cmp eax, dword [edx + 0xc]
jge 0x10009da6
mov edi, dword [edx + 0x14]
lea ecx, [eax + eax*8]
mov dword [esp + 0x30], edi
cmp byte [edi + ecx*8 + 5], 0
mov edi, dword [esp + 0x1c]
jne 0x10009d8b
mov edi, dword [esp + 0x30]
lea edx, [eax + eax*8]
mov ecx, eax
cmp byte [edi + edx*8 + 4], 2
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jle 0x10009da6
inc eax
mov dword [edx + 4], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x10009da2
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
jmp 0x10009dc5
test ecx, ecx
js 0x10009dc5
cmp ecx, dword [edx + 0xc]
jge 0x10009dc5
mov eax, dword [edx + 0x14]
lea ecx, [ecx + ecx*8]
mov edx, dword [esp + 0x28]
mov eax, dword [eax + ecx*8]
mov dword [edx], eax
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x14]
inc byte [eax + ecx*8 + 4]
mov al, byte [edi + 0x5aa4]
test al, al
je 0x10009de3
sub al, 1
mov byte [edi + 0x5aa4], al
jne 0x10009de3
mov dword [edi + 0x4684], 0
mov byte [edi + 0x3dd5], 1
xor edx, edx
or dword [esi + 0x46d8], 2
mov ecx, str.DebugDefault
push 0
mov dword [esi + 0x46f8], 0x43c80000
mov dword [esi + 0x46fc], 0x43c80000
mov dword [esi + 0x46e0], 4
call fcn.1000db50
xor esi, esi
add esp, 4
cmp dword [edi + 0x5a24], esi
jle 0x10009e5c
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
add eax, ecx
cmp dword [eax + 4], 1
jne 0x10009e4c
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 + 0x5a24]
jl 0x10009e30
pop edi
pop esi
mov esp, ebp
pop ebp
ret