Function at 0x1001a580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [0x100890f8]
mov dword [esp + 0x2c], edi
mov eax, dword [edi + 0x5a44]
sub eax, 1
mov dword [esp + 0x20], eax
js 0x1001a610
lea ebx, [eax + eax*4]
shl ebx, 2
nop dword [eax + eax]
mov ecx, dword [edi + 0x5a4c]
cmp dword [ecx + ebx + 4], 7
jne 0x1001a604
mov esi, ecx
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 + 0x5a44]
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 + 0x2c]
add esp, 0xc
dec dword [edi + 0x5a44]
dec eax
sub ebx, 0x14
mov dword [esp + 0x20], eax
test eax, eax
jns 0x1001a5b0
xor esi, esi
cmp dword [edi + 0x5a44], esi
jle 0x1001a644
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x5a4c]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x1001a638
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a44]
jl 0x1001a620
mov esi, dword [0x100890f8]
cmp byte [esi + 0x66], 0
je 0x1001a65a
test byte [esi + 0xc], 2
jne 0x1001a65a
mov byte [esi + 0x66], 0
cmp byte [esi + 0x5a0d], 0
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x1c], ebx
jne 0x1001a6c1
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1001a6ba
push ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
call fcn.10016d50
mov ecx, eax
add esp, 8
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x1001a6ba
mov edx, dword [esp + 0x20]
test edx, edx
je 0x1001a6a5
call fcn.1002a770
mov ecx, dword [esp + 0x28]
mov eax, dword [0x100890f8]
test eax, eax
je 0x1001a6b4
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov byte [esi + 0x5a0d], 1
movss xmm0, dword [esi + 0x5a10]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1001a74e
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5a10], xmm0
jb 0x1001a74e
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x1001a73d
mov eax, dword [0x100890f8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [eax + 0x5a10], 0
call fcn.1002aa10
mov edx, 0x10068c10
mov dword [esp + 0x28], eax
mov ecx, ebx
call fcn.10016c50
mov ebx, eax
test ebx, ebx
je 0x1001a744
push ebx
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 ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x1001a744
mov byte [esi + 0x98], 1
mov dword [esi + 0x5a10], 0
movss xmm0, dword [edi + 0x18]
lea ecx, [edi + 0x59e0]
inc dword [edi + 0x3dd8]
xor eax, eax
cvtps2pd xmm0, xmm0
push eax
mov byte [edi + 0x3de4], 1
mov word [edi + 0x59d2], ax
mov dword [edi + 0x3e2c], eax
addsd xmm0, qword [edi + 0x3dd0]
movsd qword [edi + 0x3dd0], xmm0
call fcn.1002c0e0
mov eax, dword [edi + 0x5bec]
mov ecx, 0x3c
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x1006ebec]
subss xmm0, dword [edi + eax*4 + 0x5afc]
addss xmm0, dword [edi + 0x5bf4]
movss dword [edi + 0x5bf4], xmm0
movss dword [edi + eax*4 + 0x5afc], xmm1
mov eax, dword [edi + 0x5bec]
inc eax
movss xmm1, dword [edi + 0x5bf4]
cdq
idiv ecx
mov eax, dword [edi + 0x5bf0]
movss xmm0, dword [0x1006ecb8]
inc eax
cmp eax, ecx
mov dword [edi + 0x5bec], edx
movss dword [esp + 0x20], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x1006eb48]
mov dword [edi + 0x5bf0], ecx
jbe 0x1001a81e
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
push ecx
lea ecx, [edi + 0x378c]
movss dword [edi + 0x9c], xmm0
call fcn.1002bf80
mov cl, byte [edi + 0x62]
call fcn.10024250
mov ebx, dword [0x100890f8]
xor esi, esi
mov dword [esp + 0x28], ebx
xorps xmm3, xmm3
mov eax, dword [ebx + 0x47b4]
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 + 0x47ac], esi
jle 0x1001a94b
nop dword [eax]
mov eax, dword [ebx + 0x47b4]
movaps xmm2, xmm3
mov edx, dword [eax + esi*4]
inc esi
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 esi, dword [ebx + 0x47ac]
jl 0x1001a880
mov eax, dword [edi + 0x48]
mov byte [eax + 0x10], 1
mov esi, dword [ebx + 0x54]
test esi, esi
jne 0x1001a961
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x44]
mov esi, dword [eax]
movss xmm1, dword [ebx + 0x4c]
movss xmm2, dword [0x1006ebec]
mov eax, dword [ebx + 0x3e38]
movaps xmm0, xmm2
mov dword [ebx + 0x3bc4], esi
mulss xmm1, dword [esi + 0x10]
mulss xmm1, dword [esi + 0x4c]
maxss xmm0, xmm1
movss dword [ebx + 0x3bcc], xmm0
test eax, eax
je 0x1001a9bb
movss xmm0, dword [eax + 0x258]
mov eax, dword [eax + 0x2f4]
mulss xmm0, dword [ebx + 0x3bcc]
test eax, eax
je 0x1001a9be
mulss xmm0, dword [eax + 0x258]
jmp 0x1001a9be
movaps xmm0, xmm3
movss xmm7, dword [esp + 0x20]
movss xmm4, dword [0x1006ecd4]
movaps xmm6, xmm7
movss dword [ebx + 0x3bc8], xmm0
movaps xmm5, xmm4
mov edx, dword [esi + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [ebx + 0x3bd0], eax
lea eax, [edx + 0x60]
mov dword [ebx + 0x3bd4], ecx
mov dword [ebx + 0x3dcc], eax
mov dword [ebx + 0x3bd8], esi
movss dword [ebx + 0x3bdc], xmm0
mov edx, dword [edi + 0x47ac]
test edx, edx
jle 0x1001aa62
mov ecx, dword [edi + 0x47b4]
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 0x1001aa3a
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1001aa42
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x1001aa4a
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1001aa52
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x1001aa16
movss xmm2, dword [0x1006ebec]
movss dword [edi + 0x3be8], xmm7
movss dword [edi + 0x3bec], xmm6
movss dword [edi + 0x3bf0], xmm4
movss dword [edi + 0x3bf4], xmm5
mov eax, dword [edi + 0x386c]
movss xmm1, dword [edi + 0x3870]
mov dword [edi + 0x3be0], eax
movss xmm0, dword [edi + 0x3be4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1001ab97
movss dword [edi + 0x3be4], xmm1
xor esi, esi
mov ebx, 0x200
nop word [eax + eax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1001ab44
movss xmm1, dword [edi + 0x3be4]
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 [0x1006ec24]
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 0x1001ab3a
mov eax, 4
jmp 0x1001ab49
cmp eax, 0x200
cmovg eax, ebx
jmp 0x1001ab49
mov eax, 0x30
movss xmm2, dword [0x1006ebec]
mov byte [esi + edi + 0x3d8c], al
inc esi
cmp esi, 0x40
jl 0x1001aac0
movsd xmm0, qword [0x1006ebf8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x1006ebec]
cvtsd2ss xmm0, xmm0
mov ebx, dword [esp + 0x28]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3be4]
divss xmm0, xmm1
movss dword [edi + 0x3d88], xmm0
xor edx, edx
mov dword [edi + 0x3bf8], 0
cmp byte [edi + 0x3868], dl
je 0x1001abba
mov dword [edi + 0x3bf8], 1
mov edx, 1
cmp byte [edi + 0x3869], 0
mov ecx, edx
je 0x1001abdc
mov eax, dword [edi + 0x3bc4]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1001abdc
or ecx, 2
mov dword [edi + 0x3bf8], ecx
cmp byte [edi + 0x386a], 0
je 0x1001abee
or ecx, 4
mov dword [edi + 0x3bf8], ecx
test byte [edi + 0xc], 8
je 0x1001abfd
or ecx, 8
mov dword [edi + 0x3bf8], ecx
xor esi, esi
cmp dword [edi + 0x47ac], esi
jle 0x1001ac32
nop word [eax + eax]
mov eax, dword [edi + 0x47b4]
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 + 0x47ac]
jl 0x1001ac10
cmp byte [edi + 0x4940], 0
je 0x1001ac66
mov eax, dword [edi + 0x4958]
cmp eax, dword [edi + 0x3e84]
jne 0x1001ac66
cmp dword [ebx + 0x3e84], eax
jne 0x1001ac57
mov dword [ebx + 0x3e88], eax
cmp dword [ebx + 0x3eac], eax
jne 0x1001ac66
mov byte [ebx + 0x3eb0], 1
cmp dword [edi + 0x3e74], 0
jne 0x1001ac7b
mov dword [edi + 0x3e7c], 0
jmp 0x1001ac8d
mov eax, dword [edi + 0x3e70]
test eax, eax
je 0x1001ac97
cmp dword [edi + 0x3e84], eax
jne 0x1001ac97
mov dword [edi + 0x3e80], 0
mov eax, dword [edi + 0x3e70]
test eax, eax
je 0x1001acd1
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e7c]
movss dword [edi + 0x3e7c], xmm0
cmp dword [edi + 0x3e84], eax
je 0x1001acd1
addss xmm1, dword [edi + 0x3e80]
movss dword [edi + 0x3e80], xmm1
mov dword [edi + 0x3e74], eax
mov eax, dword [edi + 0x3e84]
mov dword [edi + 0x3e70], 0
mov word [edi + 0x3e78], 0
test eax, eax
je 0x1001ad29
cmp dword [edi + 0x3e88], eax
je 0x1001ad29
cmp dword [edi + 0x3eac], eax
jne 0x1001ad29
test byte [edi + 0x5aa4], 1
je 0x1001ad1a
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.1002b350
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.10019790
mov ebx, dword [0x100890f8]
mov ecx, dword [edi + 0x3e84]
test ecx, ecx
je 0x1001ad48
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3e8c]
movss dword [edi + 0x3e8c], xmm0
mov eax, dword [edi + 0x3ea0]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3ebc]
mov dword [edi + 0x3eb4], eax
mov al, byte [edi + 0x3e94]
mov byte [edi + 0x3eb1], al
mov eax, dword [edi + 0x5958]
movss dword [edi + 0x3ebc], xmm0
mov dword [edi + 0x3eac], ecx
mov dword [edi + 0x3e88], 0
mov byte [edi + 0x3e95], 0
mov byte [edi + 0x3eb0], 0
mov byte [edi + 0x3e90], 0
test eax, eax
je 0x1001adb2
cmp ecx, eax
je 0x1001adb2
mov dword [edi + 0x5958], 0
test ecx, ecx
jne 0x1001add0
mov dword [edi + 0x4688], ecx
mov dword [edi + 0x4680], ecx
mov byte [edi + 0x4684], cl
mov dword [edi + 0x4688], ecx
jmp 0x1001adf3
mov eax, dword [edi + 0x4688]
test eax, eax
je 0x1001adf3
test al, 2
je 0x1001adf3
mov dword [ebx + 0x3f6c], ecx
mov dword [ebx + 0x3f68], ecx
mov word [ebx + 0x3f70], 0
mov eax, dword [edi + 0x4a68]
movss xmm0, dword [edi + 0x4a70]
mov dword [edi + 0x4a6c], eax
test eax, eax
je 0x1001ae24
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4a68], 0
movss dword [edi + 0x4a70], xmm0
jmp 0x1001ae64
comiss xmm0, dword [0x1006eb48]
jbe 0x1001ae6e
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x1006eb9c]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4a74]
addss xmm1, xmm1
movss dword [edi + 0x4a74], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1001ae6e
mov dword [edi + 0x4a70], 0
mov dword [edi + 0x4a74], 0
mov eax, dword [edi + 0x49a4]
mov dword [edi + 0x49a8], eax
mov dword [edi + 0x49a4], 0
mov dword [edi + 0x49a0], 0x7f7fffff
mov word [edi + 0x4941], 0
mov dword [edi + 0x49b0], 0
call fcn.10022f60
call fcn.100272c0
call fcn.100234c0
call fcn.1001a310
mov esi, dword [0x100890f8]
mov ecx, dword [esi + 0x3e44]
test ecx, ecx
je 0x1001af6e
mov eax, dword [esi + 0x3e84]
mov dword [esi + 0x3e88], eax
cmp dword [esi + 0x3eac], eax
jne 0x1001aee4
mov byte [esi + 0x3eb0], 1
cmp byte [esi + 0xdc0], 0
mov ebx, dword [ecx + 0x2fc]
je 0x1001af62
lea eax, [esi + 0xdb8]
mov ecx, eax
test eax, eax
jne 0x1001af05
lea ecx, [esi + 0xdb8]
movss xmm0, dword [ecx]
movss xmm1, dword [0x1006ecd0]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x1001af62
comiss xmm2, xmm1
jb 0x1001af62
movss xmm0, dword [eax]
lea edx, [esp + 0x30]
subss xmm0, dword [esi + 0x3e98]
push 1
mov ecx, ebx
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x3e9c]
movss dword [esp + 0x38], xmm0
call fcn.100224d0
mov ecx, dword [esi + 0x3e44]
add esp, 4
call fcn.10022230
jmp 0x1001afaa
mov dword [esi + 0x3e44], 0
jmp 0x1001afa1
mov ecx, dword [esi + 0x3ea0]
test ecx, ecx
je 0x1001afaa
mov eax, dword [esi + 0x3e84]
cmp dword [ecx + 0x6c], eax
jne 0x1001afaa
mov dword [esi + 0x3e88], eax
cmp dword [esi + 0x3eac], eax
jne 0x1001af98
mov byte [esi + 0x3eb0], 1
cmp byte [esi + 0xdc0], 0
jne 0x1001afaa
xor edx, edx
xor ecx, ecx
call fcn.10019790
mov eax, dword [0x100890f8]
mov edx, dword [eax + 0x4790]
sub edx, 1
js 0x1001afe7
mov eax, dword [eax + 0x4798]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x1001afdf
test dword [ecx + 8], 0x8000000
jne 0x1001b001
sub eax, 0x28
sub edx, 1
jns 0x1001afd0
cmp dword [edi + 0x4910], 0
je 0x1001b020
movss xmm0, dword [edi + 0x4920]
comiss xmm0, dword [0x1006eb48]
jbe 0x1001b020
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x1006ec30]
addss xmm1, dword [edi + 0x4938]
minss xmm1, dword [0x1006ebec]
jmp 0x1001b041
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1006ec40]
movss xmm1, dword [edi + 0x4938]
subss xmm1, xmm0
maxss xmm1, dword [0x1006eb48]
movss dword [edi + 0x4938], xmm1
movups xmm0, xmmword [edi + 0x59ec]
mov dword [edi + 0x493c], 0
mov dword [edi + 0x5c00], 0xffffffff
mov dword [edi + 0x5bfc], 0xffffffff
mov dword [edi + 0x5bf8], 0xffffffff
movups xmmword [edi + 0x59fc], xmm0
mov byte [edi + 0x59ec], 0
call fcn.10023850
cmp byte [edi + 0x3de7], 0
jne 0x1001b0b9
movss xmm0, dword [edi + 0x68]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1001b0b9
movsd xmm1, qword [edi + 0x3dd0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
jmp 0x1001b0bf
movss xmm1, dword [esp + 0x20]
xor ebx, ebx
cmp dword [edi + 0x3df0], ebx
je 0x1001b264
nop dword [eax]
mov eax, dword [edi + 0x3df8]
mov esi, dword [eax + ebx*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 0x1001b251
cmp byte [esi + 0x344], al
jne 0x1001b251
comiss xmm1, dword [esi + 0x238]
jbe 0x1001b251
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 0x1001b189
mov eax, dword [0x100890f8]
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe0], 0
test eax, eax
je 0x1001b177
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0xe8], 0
mov ecx, dword [esi + 0x260]
call fcn.10034c80
mov ecx, dword [esi + 0x184]
test ecx, ecx
je 0x1001b1d3
mov eax, dword [0x100890f8]
mov dword [esi + 0x180], 0
mov dword [esi + 0x17c], 0
test eax, eax
je 0x1001b1c1
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x184], 0
mov ecx, dword [esi + 0x1ac]
test ecx, ecx
je 0x1001b212
mov eax, dword [0x100890f8]
mov dword [esi + 0x1a8], 0
mov dword [esi + 0x1a4], 0
test eax, eax
je 0x1001b200
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x1ac], 0
mov ecx, dword [esi + 0x1b8]
test ecx, ecx
je 0x1001b251
mov eax, dword [0x100890f8]
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b0], 0
test eax, eax
je 0x1001b23f
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x1b8], 0
movss xmm1, dword [esp + 0x20]
inc ebx
cmp ebx, dword [edi + 0x3df0]
jne 0x1001b0d0
xor ecx, ecx
mov dword [esp + 0x24], ecx
cmp dword [edi + 0x4a14], ecx
jle 0x1001b3b5
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x28], edx
nop
mov eax, dword [edi + 0x4a1c]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1001b39a
movss xmm1, dword [esp + 0x20]
comiss xmm1, xmm0
jbe 0x1001b397
mov esi, dword [edi + 0x49fc]
mov ebx, dword [0x100890f8]
add esi, edx
mov dword [esp + 0x30], ebx
mov dword [esi + 0x198], 0
mov eax, dword [esi + 0x194]
test eax, eax
je 0x1001b2f9
mov dword [esi + 0x190], 0
mov dword [esi + 0x18c], 0
test ebx, ebx
je 0x1001b2e7
dec dword [ebx + 0xb0]
push eax
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x194], 0
mov byte [esi + 0x1d9], 1
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x1001b33f
mov eax, dword [0x100890f8]
mov dword [esi + 0x158], 0
mov dword [esi + 0x154], 0
test eax, eax
je 0x1001b32d
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x15c], 0
xor edx, edx
mov byte [esi + 0x1e5], 1
cmp dword [esi + 0x40], edx
jle 0x1001b36b
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 0x1001b352
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
sub esi, dword [ebx + 0x49fc]
mov eax, 0x4325c53f
imul esi
mov eax, dword [ebx + 0x4a1c]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x24]
xorps xmm1, xmm1
inc ecx
add edx, 0x1e8
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
cmp ecx, dword [edi + 0x4a14]
jl 0x1001b280
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [edi + 0x49e8], eax
jle 0x1001b415
xor esi, esi
xorps xmm1, xmm1
nop dword [eax + eax]
mov ebx, dword [edi + 0x49f0]
movss xmm0, dword [esi + ebx + 4]
comiss xmm0, xmm1
jb 0x1001b405
movss xmm1, dword [esp + 0x20]
comiss xmm1, xmm0
jbe 0x1001b402
lea ecx, [ebx + 0x10]
add ecx, esi
call fcn.10037920
mov eax, dword [esp + 0x28]
mov dword [esi + ebx + 4], 0xbf800000
xorps xmm1, xmm1
inc eax
add esi, 0x68
mov dword [esp + 0x28], eax
cmp eax, dword [edi + 0x49e8]
jl 0x1001b3d0
cmp byte [edi + 0x3de7], 0
je 0x1001b4ac
mov esi, dword [0x100890f8]
mov eax, dword [esi + 0x4780]
test eax, eax
je 0x1001b466
mov dword [esi + 0x477c], 0
mov dword [esi + 0x4778], 0
test esi, esi
je 0x1001b450
dec dword [esi + 0xb0]
mov ebx, dword [esp + 0x1c]
push eax
call ebx
add esp, 4
mov dword [esi + 0x4780], 0
jmp 0x1001b46a
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x478c]
test ecx, ecx
je 0x1001b4a7
mov eax, dword [0x100890f8]
mov dword [esi + 0x4788], 0
mov dword [esi + 0x4784], 0
test eax, eax
je 0x1001b497
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x478c], 0
call fcn.1003f4d0
mov eax, dword [edi + 0x47b8]
mov byte [edi + 0x3de7], 0
test eax, eax
je 0x1001b511
cmp byte [eax + 0xa7], 0
jne 0x1001b511
mov eax, dword [0x100890f8]
mov edx, dword [eax + 0x3dfc]
sub edx, 1
js 0x1001b50a
mov eax, dword [eax + 0x3e04]
lea esi, [eax + edx*4]
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x1001b502
cmp byte [ecx + 0xa7], 0
je 0x1001b502
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1001b6d7
sub esi, 4
sub edx, 1
jns 0x1001b4e0
xor ecx, ecx
call fcn.10022230
mov ecx, dword [edi + 0x3e18]
test ecx, ecx
jns 0x1001b537
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.1002c6c0
mov dword [edi + 0x3e14], 0
mov ecx, dword [edi + 0x47a0]
test ecx, ecx
jns 0x1001b567
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 + 0x479c]
call fcn.1002c640
lea esi, [edi + 0x4778]
mov dword [edi + 0x479c], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1001b596
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.1002be40
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1001b5ab
push 8
mov ecx, esi
call fcn.1002be40
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x4784]
inc dword [esi]
call fcn.1002bc10
mov esi, dword [0x100890f8]
cmp byte [esi + 0x5ac5], 0
mov dword [esi + 0x5ac8], 0
je 0x1001b72f
mov ebx, dword [esi + 0x3e74]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [esp + 0x34], ebx
mov dword [esi + 0x493c], 7
call fcn.10022c60
add esp, 4
test al, al
je 0x1001b613
mov byte [esi + 0x5ac5], 0
mov eax, dword [esi + 0xdd4]
mov dword [esp + 0x20], eax
cmp eax, 0x3000
je 0x1001b649
movzx ecx, byte [esi + 0x5ac6]
call fcn.10022dc0
test al, al
mov eax, dword [esp + 0x20]
je 0x1001b649
test ebx, ebx
je 0x1001b649
mov dword [esi + 0x5ac8], ebx
mov byte [esi + 0x5ac5], 0
xor ebx, ebx
nop dword [eax + eax]
cmp eax, 0x3000
jne 0x1001b66c
mov ecx, ebx
call fcn.10022dc0
test al, al
mov eax, dword [esp + 0x20]
je 0x1001b66c
mov byte [esi + 0x5ac6], bl
inc ebx
cmp ebx, 3
jl 0x1001b650
or dword [esi + 0x46e8], 0x40
xor ecx, ecx
mov dword [esi + 0x473c], 0x3f333333
call fcn.10025700
mov ebx, dword [esp + 0x30]
push ebx
push str.HoveredId:_0x_08X
call fcn.100405d0
push str.Press_ESC_to_abort_picking.
call fcn.100405d0
add esp, 0xc
mov dword [esp + 0x30], str.Left
cmp dword [esp + 0x20], 0x3000
mov dword [esp + 0x34], str.Right
mov dword [esp + 0x38], str.Middle
jne 0x1001b6f3
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.100405d0
add esp, 4
jmp 0x1001b724
mov eax, dword [ecx + 0x30c]
test eax, eax
je 0x1001b6ea
cmp byte [eax + 0xa7], 0
jne 0x1001b6ec
mov eax, ecx
mov ecx, eax
jmp 0x1001b50c
movzx eax, byte [esi + 0x5ac6]
xor ecx, ecx
test ebx, ebx
push dword [esp + eax*4 + 0x30]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x100890f8]
add eax, 0x3874
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.100406a0
add esp, 0xc
call fcn.10021fe0
mov esi, dword [0x100890f8]
mov ebx, esi
mov dword [ebx + 0x3e6c], 0
mov eax, dword [ebx + 0x5adc]
inc eax
cmp dword [ebx + 0x3dd8], eax
jne 0x1001b84b
mov ecx, dword [ebx + 0x3e74]
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x1001b766
mov ecx, dword [ebx + 0x3e84]
mov dword [esp + 0x20], ecx
cmp dword [ebx + 0x5ae4], ecx
je 0x1001b7c3
lea eax, [ebx + 0x5ae8]
mov dword [ebx + 0x5ae4], ecx
mov dword [ebx + 0x5ae0], 0xffffffff
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
test edx, edx
jns 0x1001b7bd
mov eax, edx
xor ecx, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x30]
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x5ae8]
call fcn.1002c730
mov esi, dword [0x100890f8]
lea eax, [ebx + 0x5ae8]
mov ecx, dword [esp + 0x20]
mov dword [eax], 0
test ecx, ecx
je 0x1001b84b
mov eax, dword [ebx + 0x5ae0]
test eax, eax
js 0x1001b814
mov edx, eax
cmp eax, dword [ebx + 0x5ae8]
jge 0x1001b827
mov ecx, dword [ebx + 0x5af0]
lea edx, [eax + eax*8]
cmp byte [ecx + edx*8 + 5], 0
mov ecx, dword [esp + 0x20]
jne 0x1001b80d
mov edi, dword [ebx + 0x5af0]
lea ecx, [eax + eax*8]
mov edx, eax
cmp byte [edi + ecx*8 + 4], 2
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
jle 0x1001b827
inc eax
mov dword [ebx + 0x5ae0], eax
mov edx, eax
cmp eax, 0xffffffff
jne 0x1001b823
mov dword [ebx + 0x3e6c], ecx
jmp 0x1001b84b
test edx, edx
js 0x1001b84b
cmp edx, dword [ebx + 0x5ae8]
jge 0x1001b84b
mov eax, dword [ebx + 0x5af0]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*8]
mov dword [ebx + 0x3e6c], eax
mov eax, dword [ebx + 0x5af0]
inc byte [eax + ecx*8 + 4]
mov al, byte [edi + 0x5ac4]
test al, al
je 0x1001b869
sub al, 1
mov byte [edi + 0x5ac4], al
jne 0x1001b869
mov dword [edi + 0x4694], 0
mov byte [edi + 0x3de5], 1
xor edx, edx
or dword [esi + 0x46e8], 2
mov ecx, str.DebugDefault
push 0
mov dword [esi + 0x4708], 0x43c80000
mov dword [esi + 0x470c], 0x43c80000
mov dword [esi + 0x46f0], 4
call fcn.1001f720
xor esi, esi
add esp, 4
cmp dword [edi + 0x5a44], esi
jle 0x1001b8d6
xor ebx, ebx
mov eax, dword [edi + 0x5a4c]
add eax, ebx
cmp dword [eax + 4], 1
jne 0x1001b8ca
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a44]
jl 0x1001b8b2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret