Function at 0x10009880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x100d5018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x100d6f0c]
mov dword [ebp - 0x70], edi
mov ecx, dword [edi + 0x5a40]
lea eax, [ecx - 1]
mov dword [ebp - 0x64], eax
test eax, eax
js 0x10009918
lea ebx, [eax + eax*4]
shl ebx, 2
mov edx, dword [edi + 0x5a48]
cmp dword [ebx + edx + 4], 7
jne 0x10009907
mov esi, edx
mov ecx, ebx
sub ecx, esi
mov eax, 0x66666667
add ecx, edx
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 + 0x5a40]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*4 - 0x14]
push eax
lea eax, [edx + 0x14]
push eax
push edx
call fcn.10087620
mov eax, dword [ebp - 0x64]
add esp, 0xc
dec dword [edi + 0x5a40]
mov ecx, dword [edi + 0x5a40]
dec eax
sub ebx, 0x14
mov dword [ebp - 0x64], eax
test eax, eax
jns 0x100098b2
xor esi, esi
test ecx, ecx
jle 0x10009944
xor ebx, ebx
mov eax, dword [edi + 0x5a48]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x10009938
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a40]
jl 0x10009920
mov esi, dword [0x100d6f0c]
cmp byte [esi + 0x66], 0
je 0x1000995a
test byte [esi + 0xc], 2
jne 0x1000995a
mov byte [esi + 0x66], 0
cmp byte [esi + 0x5a09], 0
jne 0x100099b1
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x100099aa
push ecx
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
call fcn.10005e50
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100099aa
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x10009992
mov ecx, ebx
call fcn.100190b0
mov eax, dword [0x100d6f0c]
test eax, eax
je 0x100099a1
dec dword [eax + 0xb0]
push ebx
call fcn.1008dfdd
add esp, 4
mov byte [esi + 0x5a09], 1
movss xmm0, dword [esi + 0x5a0c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10009a37
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5a0c], xmm0
jb 0x10009a37
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x10009a26
mov eax, dword [0x100d6f0c]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0
mov dword [eax + 0x5a0c], 0
call fcn.100192e0
mov edx, 0x100cd87c
mov dword [ebp - 0x6c], eax
mov ecx, ebx
call fcn.10005d80
mov ebx, eax
test ebx, ebx
je 0x10009a2d
push ebx
push dword [ebp - 0x64]
push 1
push dword [ebp - 0x6c]
call fcn.1008dfa3
push ebx
call fcn.1008b2ce
add esp, 0x14
jmp 0x10009a2d
mov byte [esi + 0x98], 1
mov dword [esi + 0x5a0c], 0
movss xmm0, dword [edi + 0x18]
lea ecx, [edi + 0x59dc]
inc dword [edi + 0x3dd8]
xor eax, eax
cvtps2pd xmm0, xmm0
push eax
mov byte [edi + 0x3de4], 1
mov word [edi + 0x59ce], ax
mov dword [edi + 0x3e2c], eax
addsd xmm0, qword [edi + 0x3dd0]
movsd qword [edi + 0x3dd0], xmm0
call fcn.1001a840
mov eax, dword [edi + 0x5be8]
mov ecx, 0x3c
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [edi + eax*4 + 0x5af8]
addss xmm0, dword [edi + 0x5bf0]
movss dword [edi + 0x5bf0], xmm0
movss dword [edi + eax*4 + 0x5af8], xmm1
mov eax, dword [edi + 0x5be8]
inc eax
movss xmm1, dword [edi + 0x5bf0]
cdq
idiv ecx
mov eax, dword [edi + 0x5bec]
movss xmm0, dword [0x100ce46c]
inc eax
cmp eax, ecx
mov dword [edi + 0x5be8], edx
movss dword [ebp - 0x68], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x100ce2a8]
mov dword [edi + 0x5bec], ecx
jbe 0x10009b03
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x100ce334]
divss xmm0, xmm1
push ecx
lea ecx, [edi + 0x378c]
movss dword [edi + 0x9c], xmm0
call fcn.1001a6c0
mov cl, byte [edi + 0x62]
call fcn.10013070
mov ebx, dword [0x100d6f0c]
xor esi, esi
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 0x10009c2f
nop
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]
movss xmm1, dword [edx + 4]
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 eax, dword [edx + 0x94]
mov dword [edx + 0x98], 0
mov ecx, dword [edx + 0x98]
mov dword [edx + 0x8c], eax
mov dword [edx + 0x90], ecx
movss xmm0, dword [edx + 0x80]
addss xmm0, dword [edx + 8]
addss xmm1, dword [edx + 0x7c]
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 0x10009b60
mov eax, dword [edi + 0x48]
mov byte [eax + 0x10], 1
mov esi, dword [ebx + 0x54]
test esi, esi
jne 0x10009c45
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x44]
mov esi, dword [eax]
movss xmm2, dword [0x100ce334]
mov eax, dword [ebx + 0x3e38]
movaps xmm0, xmm2
mov dword [ebx + 0x3bc4], esi
movss xmm1, dword [esi + 0x10]
mulss xmm1, dword [ebx + 0x4c]
mulss xmm1, dword [esi + 0x4c]
maxss xmm0, xmm1
movss dword [ebx + 0x3bcc], xmm0
test eax, eax
je 0x10009c97
mulss xmm0, dword [eax + 0x25c]
mov eax, dword [eax + 0x2f8]
test eax, eax
je 0x10009c9a
mulss xmm0, dword [eax + 0x25c]
jmp 0x10009c9a
movaps xmm0, xmm3
movss xmm7, dword [0x100ce46c]
movss xmm4, dword [0x100ce49c]
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 0x10009d40
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 0x10009d18
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x10009d20
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10009d28
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x10009d30
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x10009cf4
movss xmm2, dword [0x100ce334]
mov eax, dword [edi + 0x386c]
movss xmm1, dword [edi + 0x3870]
movss dword [ebp - 0x18], xmm7
movss dword [ebp - 0x14], xmm6
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 0xc], xmm5
movups xmm0, xmmword [ebp - 0x18]
mov dword [edi + 0x3be0], eax
movups xmmword [edi + 0x3be8], xmm0
movss xmm0, dword [edi + 0x3be4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10009e6c
movss dword [edi + 0x3be4], xmm1
xor esi, esi
mov ebx, 0x200
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x10009e17
movss xmm1, dword [edi + 0x3be4]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.100ad910
movss xmm1, dword [0x100ce3d0]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x10], xmm0
fld qword [ebp - 0x10]
fstp qword [esp]
call fcn.100ac1f0
fstp qword [ebp - 0x10]
movsd xmm0, qword [ebp - 0x10]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x10009e0d
mov eax, 4
jmp 0x10009e1c
cmp eax, 0x200
cmovg eax, ebx
jmp 0x10009e1c
mov eax, 0x30
movss xmm2, dword [0x100ce334]
mov byte [edi + esi + 0x3d8c], al
inc esi
cmp esi, 0x40
jl 0x10009d97
movsd xmm0, qword [0x100ce368]
call fcn.100ae380
movss xmm1, dword [0x100ce334]
cvtsd2ss xmm0, xmm0
mov ebx, dword [0x100d6f0c]
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 0x10009e8f
mov dword [edi + 0x3bf8], 1
mov edx, 1
cmp byte [edi + 0x3869], 0
mov ecx, edx
je 0x10009eb1
mov eax, dword [edi + 0x3bc4]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x10009eb1
or ecx, 2
mov dword [edi + 0x3bf8], ecx
cmp byte [edi + 0x386a], 0
je 0x10009ec3
or ecx, 4
mov dword [edi + 0x3bf8], ecx
test byte [edi + 0xc], 8
je 0x10009ed2
or ecx, 8
mov dword [edi + 0x3bf8], ecx
xor esi, esi
cmp dword [edi + 0x47ac], esi
jle 0x10009f02
nop dword [eax]
mov eax, dword [edi + 0x47b4]
push 0x2c
push 0
mov eax, dword [eax + esi*4]
add eax, 0x38
push eax
call fcn.10087ba0
inc esi
add esp, 0xc
cmp esi, dword [edi + 0x47ac]
jl 0x10009ee0
cmp byte [edi + 0x493c], 0
je 0x10009f36
mov eax, dword [edi + 0x4954]
cmp eax, dword [edi + 0x3e84]
jne 0x10009f36
cmp dword [ebx + 0x3e84], eax
jne 0x10009f27
mov dword [ebx + 0x3e88], eax
cmp dword [ebx + 0x3eac], eax
jne 0x10009f36
mov byte [ebx + 0x3eb0], 1
cmp dword [edi + 0x3e74], 0
mov eax, dword [edi + 0x3e70]
jne 0x10009f51
mov dword [edi + 0x3e7c], 0
jmp 0x10009f5f
mov ecx, eax
test eax, eax
je 0x10009f6b
cmp dword [edi + 0x3e84], eax
jne 0x10009f6f
mov dword [edi + 0x3e80], 0
mov ecx, eax
test ecx, ecx
je 0x10009fa3
movss xmm1, dword [edi + 0x18]
mov eax, dword [edi + 0x3e84]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e7c]
movss dword [edi + 0x3e7c], xmm0
cmp eax, ecx
je 0x10009fa9
addss xmm1, dword [edi + 0x3e80]
movss dword [edi + 0x3e80], xmm1
jmp 0x10009fa9
mov eax, dword [edi + 0x3e84]
mov dword [edi + 0x3e74], ecx
mov dword [edi + 0x3e70], 0
mov word [edi + 0x3e78], 0
test eax, eax
je 0x1000a048
cmp dword [edi + 0x3e88], eax
je 0x1000a048
cmp dword [edi + 0x3eac], eax
jne 0x1000a048
test byte [edi + 0x5aa0], 1
je 0x1000a03d
movaps xmm0, xmmword [0x100ce5a0]
xor ecx, ecx
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x20], 0x7c571304
movaps xmm0, xmmword [0x100ce5b0]
movups xmmword [ebp - 0x50], xmm0
mov byte [ebp - 0x1c], 0
movaps xmm0, xmmword [0x100ce5c0]
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [0x100ce5d0]
movups xmmword [ebp - 0x30], xmm0
nop dword [eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x43
jb 0x1000a020
lea eax, [ebp - 0x5f]
mov byte [ebp - 0x1c], 0
push eax
call fcn.10019ba0
add esp, 4
call fcn.10008b10
mov ebx, dword [0x100d6f0c]
mov ecx, dword [edi + 0x3e84]
test ecx, ecx
je 0x1000a067
movss xmm0, dword [edi + 0x3e8c]
addss xmm0, dword [edi + 0x18]
movss dword [edi + 0x3e8c], xmm0
movss xmm0, dword [edi + 0x3ebc]
mov eax, dword [edi + 0x3ea0]
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x3eb4], eax
mov al, byte [edi + 0x3e94]
mov byte [edi + 0x3eb1], al
mov eax, dword [edi + 0x5954]
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 0x1000a0d1
cmp ecx, eax
je 0x1000a0d1
mov dword [edi + 0x5954], 0
test ecx, ecx
jne 0x1000a0ef
mov dword [edi + 0x4688], ecx
mov dword [edi + 0x4680], ecx
mov byte [edi + 0x4684], cl
mov dword [edi + 0x4688], ecx
jmp 0x1000a112
mov eax, dword [edi + 0x4688]
test eax, eax
je 0x1000a112
test al, 2
je 0x1000a112
mov dword [ebx + 0x3f6c], ecx
mov dword [ebx + 0x3f68], ecx
mov word [ebx + 0x3f70], 0
mov eax, dword [edi + 0x4a64]
movss xmm0, dword [edi + 0x4a6c]
mov dword [edi + 0x4a68], eax
test eax, eax
je 0x1000a143
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4a64], 0
movss dword [edi + 0x4a6c], xmm0
jmp 0x1000a183
comiss xmm0, dword [0x100ce2a8]
jbe 0x1000a18d
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x100ce2e4]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4a70]
addss xmm1, xmm1
movss dword [edi + 0x4a70], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1000a18d
mov dword [edi + 0x4a6c], 0
mov dword [edi + 0x4a70], 0
mov eax, dword [edi + 0x49a0]
mov dword [edi + 0x49a4], eax
mov dword [edi + 0x49a0], 0
mov dword [edi + 0x499c], 0x7f7fffff
mov word [edi + 0x493d], 0
mov dword [edi + 0x49ac], 0
call fcn.10011e60
call fcn.10016090
call fcn.100123c0
call fcn.10009630
mov esi, dword [0x100d6f0c]
mov ecx, dword [esi + 0x3e44]
test ecx, ecx
je 0x1000a274
mov eax, dword [esi + 0x3e84]
mov dword [esi + 0x3e88], eax
cmp dword [esi + 0x3eac], eax
jne 0x1000a203
mov byte [esi + 0x3eb0], 1
cmp byte [esi + 0xdc4], 0
je 0x1000a268
movss xmm1, dword [esi + 0xdbc]
movss xmm2, dword [0x100ce498]
comiss xmm1, xmm2
movss xmm0, dword [esi + 0xdc0]
jb 0x1000a268
comiss xmm0, xmm2
jb 0x1000a268
subss xmm1, dword [esi + 0x3e98]
subss xmm0, dword [esi + 0x3e9c]
mov ecx, dword [ecx + 0x300]
lea edx, [ebp - 0x10]
push 1
movss dword [ebp - 0x10], xmm1
movss dword [ebp - 0xc], xmm0
call fcn.10011680
mov ecx, dword [esi + 0x3e44]
add esp, 4
call fcn.100112f0
jmp 0x1000a2ac
mov dword [esi + 0x3e44], 0
jmp 0x1000a2a7
mov ecx, dword [esi + 0x3ea0]
test ecx, ecx
je 0x1000a2ac
mov eax, dword [esi + 0x3e84]
cmp dword [ecx + 0x6c], eax
jne 0x1000a2ac
mov dword [esi + 0x3e88], eax
cmp dword [esi + 0x3eac], eax
jne 0x1000a29e
mov byte [esi + 0x3eb0], 1
cmp byte [esi + 0xdc4], 0
jne 0x1000a2ac
call fcn.10008b10
mov eax, dword [0x100d6f0c]
mov edx, dword [eax + 0x4790]
sub edx, 1
js 0x1000a2e7
mov eax, dword [eax + 0x4798]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
nop dword [eax + eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000a2df
test dword [ecx + 8], 0x8000000
jne 0x1000a301
sub eax, 0x28
sub edx, 1
jns 0x1000a2d0
cmp dword [edi + 0x490c], 0
je 0x1000a320
movss xmm0, dword [edi + 0x491c]
comiss xmm0, dword [0x100ce2a8]
jbe 0x1000a320
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x100ce3f0]
addss xmm1, dword [edi + 0x4934]
minss xmm1, dword [0x100ce334]
jmp 0x1000a341
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x100ce400]
movss xmm1, dword [edi + 0x4934]
subss xmm1, xmm0
maxss xmm1, dword [0x100ce2a8]
movups xmm0, xmmword [edi + 0x59e8]
mov dword [edi + 0x4938], 0
movss dword [edi + 0x4934], xmm1
mov dword [edi + 0x5bfc], 0xffffffff
mov dword [edi + 0x5bf8], 0xffffffff
mov dword [edi + 0x5bf4], 0xffffffff
movups xmmword [edi + 0x59f8], xmm0
mov byte [edi + 0x59e8], 0
call fcn.10012800
cmp byte [edi + 0x3de7], 0
jne 0x1000a3b8
movss xmm1, dword [edi + 0x68]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1000a3b8
movsd xmm0, qword [edi + 0x3dd0]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [ebp - 0x68], xmm0
jmp 0x1000a3c0
movss xmm0, dword [0x100ce46c]
xor ebx, ebx
cmp dword [edi + 0x3df0], ebx
je 0x1000a567
nop
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 0x1000a555
cmp byte [esi + 0x348], al
jne 0x1000a555
comiss xmm0, dword [esi + 0x23c]
jbe 0x1000a555
mov ecx, dword [esi + 0x264]
mov byte [esi + 0x348], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x340], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x344], eax
mov ecx, dword [esi + 0xe8]
test ecx, ecx
je 0x1000a48a
mov eax, dword [0x100d6f0c]
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe0], 0
test eax, eax
je 0x1000a477
dec dword [eax + 0xb0]
push ecx
call fcn.1008dfdd
add esp, 4
mov dword [esi + 0xe8], 0
mov ecx, dword [esi + 0x264]
call fcn.100228a0
mov ecx, dword [esi + 0x184]
test ecx, ecx
je 0x1000a4d5
mov eax, dword [0x100d6f0c]
mov dword [esi + 0x180], 0
mov dword [esi + 0x17c], 0
test eax, eax
je 0x1000a4c2
dec dword [eax + 0xb0]
push ecx
call fcn.1008dfdd
add esp, 4
mov dword [esi + 0x184], 0
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x1000a515
mov eax, dword [0x100d6f0c]
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1a8], 0
test eax, eax
je 0x1000a502
dec dword [eax + 0xb0]
push ecx
call fcn.1008dfdd
add esp, 4
mov dword [esi + 0x1b0], 0
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
je 0x1000a555
mov eax, dword [0x100d6f0c]
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
test eax, eax
je 0x1000a542
dec dword [eax + 0xb0]
push ecx
call fcn.1008dfdd
add esp, 4
mov dword [esi + 0x1bc], 0
movss xmm0, dword [ebp - 0x68]
inc ebx
cmp ebx, dword [edi + 0x3df0]
jne 0x1000a3d0
xor ecx, ecx
mov dword [ebp - 0x64], ecx
cmp dword [edi + 0x4a10], ecx
jle 0x1000a6af
xor edx, edx
xorps xmm1, xmm1
mov dword [ebp - 0x6c], edx
mov eax, dword [edi + 0x4a18]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1000a696
movss xmm2, dword [ebp - 0x68]
comiss xmm2, xmm0
jbe 0x1000a696
mov esi, dword [edi + 0x49f8]
mov ebx, dword [0x100d6f0c]
add esi, edx
mov dword [ebp - 0xc], ebx
mov dword [esi + 0x198], 0
mov eax, dword [esi + 0x194]
test eax, eax
je 0x1000a5f8
mov dword [esi + 0x190], 0
mov dword [esi + 0x18c], 0
test ebx, ebx
je 0x1000a5e5
dec dword [ebx + 0xb0]
push eax
call fcn.1008dfdd
add esp, 4
mov dword [esi + 0x194], 0
mov byte [esi + 0x1d9], 1
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x1000a63f
mov eax, dword [0x100d6f0c]
mov dword [esi + 0x158], 0
mov dword [esi + 0x154], 0
test eax, eax
je 0x1000a62c
dec dword [eax + 0xb0]
push ecx
call fcn.1008dfdd
add esp, 4
mov dword [esi + 0x15c], 0
xor edx, edx
mov byte [esi + 0x1e5], 1
cmp dword [esi + 0x40], edx
jle 0x1000a669
xor ecx, ecx
or ebx, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [eax + ecx - 0x20], bx
cmp edx, dword [esi + 0x40]
jl 0x1000a652
mov edi, dword [ebp - 0x70]
mov ebx, dword [ebp - 0xc]
sub esi, dword [ebx + 0x49f8]
mov eax, 0x4325c53f
imul esi
xorps xmm1, xmm1
mov eax, dword [ebx + 0x4a18]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x6c]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [ebp - 0x64]
inc ecx
add edx, 0x1e8
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x6c], edx
cmp ecx, dword [edi + 0x4a10]
jl 0x1000a580
xor eax, eax
mov dword [ebp - 0x6c], eax
cmp dword [edi + 0x49e4], eax
jle 0x1000a703
xor esi, esi
xorps xmm1, xmm1
mov ebx, dword [edi + 0x49ec]
movss xmm0, dword [esi + ebx + 4]
comiss xmm0, xmm1
jb 0x1000a6f4
movss xmm2, dword [ebp - 0x68]
comiss xmm2, xmm0
jbe 0x1000a6f4
lea ecx, [ebx + 0x10]
add ecx, esi
call fcn.10025330
mov eax, dword [ebp - 0x6c]
xorps xmm1, xmm1
mov dword [esi + ebx + 4], 0xbf800000
inc eax
add esi, 0x68
mov dword [ebp - 0x6c], eax
cmp eax, dword [edi + 0x49e4]
jl 0x1000a6c1
cmp byte [edi + 0x3de7], 0
je 0x1000a796
mov esi, dword [0x100d6f0c]
mov eax, dword [esi + 0x4780]
test eax, eax
je 0x1000a751
mov dword [esi + 0x477c], 0
mov dword [esi + 0x4778], 0
test esi, esi
je 0x1000a73e
dec dword [esi + 0xb0]
push eax
call fcn.1008dfdd
add esp, 4
mov dword [esi + 0x4780], 0
mov ecx, dword [esi + 0x478c]
test ecx, ecx
je 0x1000a791
mov eax, dword [0x100d6f0c]
mov dword [esi + 0x4788], 0
mov dword [esi + 0x4784], 0
test eax, eax
je 0x1000a77e
dec dword [eax + 0xb0]
push ecx
call fcn.1008dfdd
add esp, 4
mov dword [esi + 0x478c], 0
call fcn.1002bdf0
mov eax, dword [edi + 0x47b8]
mov byte [edi + 0x3de7], 0
test eax, eax
je 0x1000a801
cmp byte [eax + 0xa7], 0
jne 0x1000a801
mov eax, dword [0x100d6f0c]
mov edx, dword [eax + 0x3dfc]
sub edx, 1
js 0x1000a7fa
mov eax, dword [eax + 0x3e04]
lea esi, [eax + edx*4]
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x1000a7f2
cmp byte [ecx + 0xa7], 0
je 0x1000a7f2
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1000a966
sub esi, 4
sub edx, 1
jns 0x1000a7d0
xor ecx, ecx
call fcn.100112f0
mov ecx, dword [edi + 0x3e18]
test ecx, ecx
jns 0x1000a827
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.1001ad40
mov dword [edi + 0x3e14], 0
mov ecx, dword [edi + 0x47a0]
test ecx, ecx
jns 0x1000a857
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.1001acc0
lea esi, [edi + 0x4778]
mov dword [edi + 0x479c], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1000a889
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.1001a580
mov ecx, dword [esi + 4]
xor edx, edx
mov dword [esi], 0
test ecx, ecx
jne 0x1000a8a0
push 8
mov ecx, esi
call fcn.1001a580
mov edx, dword [esi]
mov eax, dword [esi + 8]
push ecx
lea ecx, [edi + 0x4784]
mov dword [eax + edx*4], 0
inc dword [esi]
call fcn.1001a350
mov esi, dword [0x100d6f0c]
cmp byte [esi + 0x5ac2], 0
mov dword [esi + 0x5ac4], 0
je 0x1000aa7b
mov ebx, dword [esi + 0x3e74]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [ebp - 0xc], ebx
mov dword [esi + 0x4938], 7
call fcn.10011be0
add esp, 4
test al, al
je 0x1000a904
mov byte [esi + 0x5ac2], 0
mov eax, dword [esi + 0xdd8]
xorps xmm1, xmm1
mov dword [ebp - 0x68], eax
cmp eax, 0x3000
je 0x1000a985
movzx ecx, byte [esi + 0x5ac3]
cmp byte [ecx + esi + 0xdc4], 0
je 0x1000a985
movss xmm0, dword [esi + ecx*4 + 0x3728]
comiss xmm1, xmm0
ja 0x1000a985
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000a982
add ecx, 0x281
xor edx, edx
call fcn.10013520
test al, al
mov eax, dword [ebp - 0x68]
je 0x1000a985
test ebx, ebx
je 0x1000a985
mov dword [esi + 0x5ac4], ebx
mov byte [esi + 0x5ac2], 0
jmp 0x1000a985
mov eax, dword [ecx + 0x310]
test eax, eax
je 0x1000a979
cmp byte [eax + 0xa7], 0
jne 0x1000a97b
mov eax, ecx
mov ecx, eax
jmp 0x1000a7fc
mov eax, dword [ebp - 0x68]
mov ecx, 0x3728
xor ebx, ebx
mov dword [ebp - 0x64], ecx
nop
cmp eax, 0x3000
jne 0x1000a9d6
cmp byte [esi + ebx + 0xdc4], 0
je 0x1000a9d6
movss xmm0, dword [ecx + esi]
comiss xmm1, xmm0
ja 0x1000a9d6
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000a9d3
lea ecx, [ebx + 0x281]
xor edx, edx
call fcn.10013520
mov ecx, dword [ebp - 0x64]
test al, al
mov eax, dword [ebp - 0x68]
je 0x1000a9d6
mov byte [esi + 0x5ac3], bl
jmp 0x1000a9d6
mov eax, dword [ebp - 0x68]
add ecx, 4
inc ebx
mov dword [ebp - 0x64], ecx
cmp ecx, 0x3734
jl 0x1000a990
or dword [esi + 0x46e8], 0x40
xor ecx, ecx
mov dword [esi + 0x473c], 0x3f333333
call fcn.100140e0
mov ebx, dword [ebp - 0xc]
push ebx
push str.HoveredId:_0x_08X
call fcn.1002ca60
push str.Press_ESC_to_abort_picking.
call fcn.1002ca60
add esp, 0xc
mov dword [ebp - 0x14], str.Left
cmp dword [ebp - 0x68], 0x3000
mov dword [ebp - 0x10], str.Right
mov dword [ebp - 0xc], str.Middle
jne 0x1000aa45
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.1002ca60
add esp, 4
jmp 0x1000aa76
movzx eax, byte [esi + 0x5ac3]
xor ecx, ecx
test ebx, ebx
push dword [ebp + eax*4 - 0x14]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x100d6f0c]
add eax, 0x3874
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.1002cb30
add esp, 0xc
call fcn.10011090
call fcn.10019f10
mov al, byte [edi + 0x5ac1]
test al, al
je 0x1000aa9e
sub al, 1
mov byte [edi + 0x5ac1], al
jne 0x1000aa9e
mov dword [edi + 0x4694], 0
mov al, byte [edi + 0x5ac0]
test al, al
je 0x1000ab0b
sub al, 1
mov byte [edi + 0x5ac0], al
jne 0x1000ab0b
movaps xmm0, xmmword [0x100ce5f0]
xor ecx, ecx
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x20], 0x36155b
movaps xmm0, xmmword [0x100cea30]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [str._OcyJYRH]
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [0x100cea20]
movups xmmword [ebp - 0x30], xmm0
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x42
jb 0x1000aae7
lea eax, [ebp - 0x5f]
mov byte [ebp - 0x1d], 0
push eax
call fcn.10019ba0
add esp, 4
and dword [edi + 0x5aa0], 0xffffffef
mov eax, dword [0x100d6f0c]
movaps xmm0, xmmword [str.C_a_6____a__6_7]
mov byte [edi + 0x3de5], 1
movups xmmword [ebp - 0x18], xmm0
or dword [eax + 0x46e8], 2
xor ecx, ecx
mov dword [eax + 0x4708], 0x43c80000
mov dword [eax + 0x470c], 0x43c80000
mov dword [eax + 0x46f0], 4
nop dword [eax]
mov al, byte [ebp - 0x18]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 0xe
jb 0x1000ab50
push 0
xor edx, edx
mov byte [ebp - 9], 0
lea ecx, [ebp - 0x17]
call fcn.1000ec80
xor esi, esi
add esp, 4
cmp dword [edi + 0x5a40], esi
jle 0x1000aba4
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x5a48]
add eax, ebx
cmp dword [eax + 4], 1
jne 0x1000ab98
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a40]
jl 0x1000ab80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10044b19
mov esp, ebp
pop ebp
ret