Function at 0x1000b840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x100d8054]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov edi, dword [0x101dbe34]
mov dword [esp + 0x1c], edi
mov edx, dword [edi + 0x5a40]
lea ecx, [edx - 1]
mov dword [esp + 0xc], ecx
test ecx, ecx
js 0x1000b8f0
lea eax, [ecx + ecx*4]
shl eax, 2
mov dword [esp + 0x18], eax
nop dword [eax + eax]
mov edx, dword [edi + 0x5a48]
cmp dword [eax + edx + 4], 7
jne 0x1000b8da
mov ecx, eax
mov esi, edx
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.10089890
mov eax, dword [esp + 0x24]
add esp, 0xc
dec dword [edi + 0x5a40]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi + 0x5a40]
dec ecx
sub eax, 0x14
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
jns 0x1000b880
xor esi, esi
test edx, edx
jle 0x1000b92c
xor ecx, ecx
mov dword [esp + 0xc], ecx
nop dword [eax]
mov eax, dword [edi + 0x5a48]
add eax, ecx
cmp dword [eax + 4], 0
jne 0x1000b91c
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
mov ecx, dword [esp + 0x14]
add esp, 8
inc esi
add ecx, 0x14
mov dword [esp + 0xc], ecx
cmp esi, dword [edi + 0x5a40]
jl 0x1000b900
mov esi, dword [0x101dbe34]
cmp byte [esi + 0x66], 0
je 0x1000b942
test byte [esi + 0xc], 2
jne 0x1000b942
mov byte [esi + 0x66], 0
cmp byte [esi + 0x5a09], 0
jne 0x1000b9a2
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1000b99b
push ecx
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
call fcn.100087c0
mov ecx, eax
add esp, 8
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x1000b99b
mov edx, dword [esp + 0xc]
test edx, edx
je 0x1000b983
call fcn.1001a7a0
mov ecx, dword [esp + 0x20]
mov eax, dword [0x101dbe34]
test eax, eax
je 0x1000b992
dec dword [eax + 0xb0]
push ecx
call fcn.1009029d
add esp, 4
mov byte [esi + 0x5a09], 1
movss xmm0, dword [esi + 0x5a0c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1000ba3c
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5a0c], xmm0
jb 0x1000ba3c
mov eax, dword [esi + 0x20]
mov dword [esp + 0x20], eax
test eax, eax
je 0x1000ba2b
mov eax, dword [0x101dbe34]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [eax + 0x5a0c], 0
call fcn.1001a9d0
mov ecx, dword [esp + 0x20]
mov edx, 0x100cf9b0
mov dword [esp + 0x18], eax
call fcn.100086f0
mov dword [esp + 0x20], eax
test eax, eax
je 0x1000ba32
push eax
push dword [esp + 0x10]
push 1
push dword [esp + 0x24]
call fcn.10090263
push dword [esp + 0x30]
call fcn.1008d599
add esp, 0x14
jmp 0x1000ba32
mov byte [esi + 0x98], 1
mov dword [esi + 0x5a0c], 0
movss xmm1, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3dd8]
cvtps2pd xmm0, xmm1
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
mov ecx, dword [edi + 0x59e0]
test ecx, ecx
jns 0x1000ba9b
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 + 0x59dc]
call fcn.1001ba80
movss xmm1, dword [edi + 0x18]
mov dword [edi + 0x59dc], 0
movaps xmm0, xmm1
mov eax, dword [edi + 0x5be8]
mov ecx, 0x3c
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 [0x100d0620]
inc eax
cmp eax, ecx
mov dword [edi + 0x5be8], edx
movss dword [esp + 0x14], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x100d0444]
mov dword [edi + 0x5bec], ecx
jbe 0x1000bb2d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x100d04d4]
divss xmm0, xmm1
movss dword [edi + 0x9c], xmm0
mov ecx, dword [edi + 0x3790]
test ecx, ecx
jns 0x1000bb5b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x378c]
call fcn.1001bfe0
mov dword [edi + 0x378c], 0
mov cl, byte [edi + 0x62]
call fcn.10014820
mov esi, dword [0x101dbe34]
xorps xmm3, xmm3
mov eax, dword [esi + 0x47b4]
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 + 0x47ac], 0
jle 0x1000bc83
xor edi, edi
nop dword [eax]
mov eax, dword [esi + 0x47b4]
movaps xmm2, xmm3
mov edx, dword [eax + edi*4]
inc edi
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 edi, dword [esi + 0x47ac]
jl 0x1000bbb0
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x48]
mov byte [eax + 0x10], 1
mov eax, dword [esi + 0x54]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1000bca1
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x44]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
movss xmm2, dword [0x100d04d4]
mov ecx, dword [esi + 0x3e38]
movaps xmm0, xmm2
mov dword [esi + 0x3bc4], eax
movss xmm1, dword [eax + 0x10]
mulss xmm1, dword [esi + 0x4c]
mulss xmm1, dword [eax + 0x4c]
maxss xmm0, xmm1
movss dword [esi + 0x3bcc], xmm0
test ecx, ecx
je 0x1000bcf3
mulss xmm0, dword [ecx + 0x25c]
mov ecx, dword [ecx + 0x2f8]
test ecx, ecx
je 0x1000bcf6
mulss xmm0, dword [ecx + 0x25c]
jmp 0x1000bcf6
movaps xmm0, xmm3
movss xmm7, dword [0x100d0620]
movss xmm4, dword [0x100d0654]
movaps xmm6, xmm7
movss dword [esi + 0x3bc8], xmm0
movaps xmm5, xmm4
mov edx, dword [eax + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x3bd0], eax
lea eax, [edx + 0x60]
mov dword [esi + 0x3dcc], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x3bd4], ecx
mov dword [esi + 0x3bd8], eax
movss dword [esi + 0x3bdc], xmm0
mov edx, dword [edi + 0x47ac]
test edx, edx
jle 0x1000bda0
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 0x1000bd78
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1000bd80
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x1000bd88
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1000bd90
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x1000bd54
movss xmm2, dword [0x100d04d4]
mov eax, dword [edi + 0x386c]
movss xmm1, dword [edi + 0x3870]
movss dword [esp + 0x20], xmm7
movss dword [esp + 0x24], xmm6
movss dword [esp + 0x28], xmm4
movss dword [esp + 0x2c], xmm5
movups xmm0, xmmword [esp + 0x20]
mov dword [edi + 0x3be0], eax
movups xmmword [edi + 0x3be8], xmm0
movss xmm0, dword [edi + 0x3be4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000bed9
movss dword [edi + 0x3be4], xmm1
xor esi, esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1000be84
movss xmm1, dword [edi + 0x3be4]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.100afca0
movss xmm1, dword [0x100d057c]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
fstp qword [esp]
call fcn.100ae580
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x1000be75
mov eax, 4
jmp 0x1000be89
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x1000be89
mov eax, 0x30
movss xmm2, dword [0x100d04d4]
mov byte [edi + esi + 0x3d8c], al
inc esi
cmp esi, 0x40
jl 0x1000bdf7
movsd xmm0, qword [0x100d0508]
call fcn.100b0710
movss xmm1, dword [0x100d04d4]
cvtsd2ss xmm0, xmm0
mov esi, dword [0x101dbe34]
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 0x1000befc
mov dword [edi + 0x3bf8], 1
mov edx, 1
cmp byte [edi + 0x3869], 0
mov ecx, edx
je 0x1000bf1e
mov eax, dword [edi + 0x3bc4]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1000bf1e
or ecx, 2
mov dword [edi + 0x3bf8], ecx
cmp byte [edi + 0x386a], 0
je 0x1000bf30
or ecx, 4
mov dword [edi + 0x3bf8], ecx
test byte [edi + 0xc], 8
je 0x1000bf3f
or ecx, 8
mov dword [edi + 0x3bf8], ecx
cmp dword [edi + 0x47ac], 0
jle 0x1000bf78
xor esi, esi
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 fcn.10089ed0
inc esi
add esp, 0xc
cmp esi, dword [edi + 0x47ac]
jl 0x1000bf50
mov esi, dword [0x101dbe34]
cmp byte [edi + 0x493c], 0
je 0x1000bfac
mov eax, dword [edi + 0x4954]
cmp eax, dword [edi + 0x3e84]
jne 0x1000bfac
cmp dword [esi + 0x3e84], eax
jne 0x1000bf9d
mov dword [esi + 0x3e88], eax
cmp dword [esi + 0x3eac], eax
jne 0x1000bfac
mov byte [esi + 0x3eb0], 1
cmp dword [edi + 0x3e74], 0
mov eax, dword [edi + 0x3e70]
jne 0x1000bfc7
mov dword [edi + 0x3e7c], 0
jmp 0x1000bfd5
mov ecx, eax
test eax, eax
je 0x1000bfe1
cmp dword [edi + 0x3e84], eax
jne 0x1000bfe5
mov dword [edi + 0x3e80], 0
mov ecx, eax
test ecx, ecx
je 0x1000c019
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 0x1000c01f
addss xmm1, dword [edi + 0x3e80]
movss dword [edi + 0x3e80], xmm1
jmp 0x1000c01f
mov eax, dword [edi + 0x3e84]
mov dword [edi + 0x3e74], ecx
mov dword [edi + 0x3e70], 0
mov word [edi + 0x3e78], 0
test eax, eax
je 0x1000c0c5
cmp dword [edi + 0x3e88], eax
je 0x1000c0c5
cmp dword [edi + 0x3eac], eax
jne 0x1000c0c5
test byte [edi + 0x5aa0], 1
je 0x1000c0c0
movaps xmm0, xmmword [0x100d0870]
xor ecx, ecx
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x70], 0x48632730
movaps xmm0, xmmword [0x100d0830]
movups xmmword [esp + 0x40], xmm0
mov byte [esp + 0x74], 0
movaps xmm0, xmmword [0x100d0840]
movups xmmword [esp + 0x50], xmm0
movaps xmm0, xmmword [0x100d08d0]
movups xmmword [esp + 0x60], xmm0
nop dword [eax + eax]
mov al, byte [esp + 0x30]
xor byte [esp + ecx + 0x31], al
inc ecx
cmp ecx, 0x43
jb 0x1000c0a0
lea eax, [esp + 0x31]
mov byte [esp + 0x74], 0
push eax
call fcn.1001b270
add esp, 4
call fcn.1000acf0
mov ecx, dword [edi + 0x3e84]
test ecx, ecx
je 0x1000c0e4
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 + 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 0x1000c14e
cmp ecx, eax
je 0x1000c14e
mov dword [edi + 0x5954], 0
test ecx, ecx
jne 0x1000c16c
mov dword [edi + 0x4688], ecx
mov dword [edi + 0x4680], ecx
mov byte [edi + 0x4684], cl
mov dword [edi + 0x4688], ecx
jmp 0x1000c194
mov eax, dword [edi + 0x4688]
test eax, eax
je 0x1000c194
test al, 2
je 0x1000c194
mov eax, dword [0x101dbe34]
mov dword [eax + 0x3f6c], ecx
mov dword [eax + 0x3f68], ecx
mov word [eax + 0x3f70], 0
mov eax, dword [edi + 0x4a64]
movss xmm0, dword [edi + 0x4a6c]
mov dword [edi + 0x4a68], eax
test eax, eax
je 0x1000c1c5
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4a64], 0
movss dword [edi + 0x4a6c], xmm0
jmp 0x1000c205
comiss xmm0, dword [0x100d0444]
jbe 0x1000c20f
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x100d0480]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4a70]
addss xmm1, xmm1
movss dword [edi + 0x4a70], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1000c20f
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.10013610
call fcn.100176f0
call fcn.10013b70
call fcn.1000b5f0
mov esi, dword [0x101dbe34]
mov ecx, dword [esi + 0x3e44]
test ecx, ecx
je 0x1000c2f9
mov eax, dword [esi + 0x3e84]
mov dword [esi + 0x3e88], eax
cmp dword [esi + 0x3eac], eax
jne 0x1000c285
mov byte [esi + 0x3eb0], 1
cmp byte [esi + 0xdc4], 0
je 0x1000c2ed
movss xmm1, dword [esi + 0xdbc]
movss xmm2, dword [0x100d0650]
comiss xmm1, xmm2
movss xmm0, dword [esi + 0xdc0]
jb 0x1000c2ed
comiss xmm0, xmm2
jb 0x1000c2ed
subss xmm1, dword [esi + 0x3e98]
subss xmm0, dword [esi + 0x3e9c]
mov ecx, dword [ecx + 0x300]
lea edx, [esp + 0x20]
push 1
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm0
call fcn.10012e90
mov ecx, dword [esi + 0x3e44]
add esp, 4
call fcn.10012b60
jmp 0x1000c331
mov dword [esi + 0x3e44], 0
jmp 0x1000c32c
mov ecx, dword [esi + 0x3ea0]
test ecx, ecx
je 0x1000c331
mov eax, dword [esi + 0x3e84]
cmp dword [ecx + 0x6c], eax
jne 0x1000c331
mov dword [esi + 0x3e88], eax
cmp dword [esi + 0x3eac], eax
jne 0x1000c323
mov byte [esi + 0x3eb0], 1
cmp byte [esi + 0xdc4], 0
jne 0x1000c331
call fcn.1000acf0
mov eax, dword [0x101dbe34]
mov edx, dword [eax + 0x4790]
sub edx, 1
js 0x1000c367
mov eax, dword [eax + 0x4798]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1000c35f
test dword [ecx + 8], 0x8000000
jne 0x1000c381
sub eax, 0x28
sub edx, 1
jns 0x1000c350
cmp dword [edi + 0x490c], 0
je 0x1000c3a0
movss xmm0, dword [edi + 0x491c]
comiss xmm0, dword [0x100d0444]
jbe 0x1000c3a0
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x100d0598]
addss xmm1, dword [edi + 0x4934]
minss xmm1, dword [0x100d04d4]
jmp 0x1000c3c1
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x100d05a8]
movss xmm1, dword [edi + 0x4934]
subss xmm1, xmm0
maxss xmm1, dword [0x100d0444]
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.10013fb0
cmp byte [edi + 0x3de7], 0
jne 0x1000c439
movss xmm1, dword [edi + 0x68]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1000c439
movsd xmm0, qword [edi + 0x3dd0]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [esp + 0x14], xmm0
jmp 0x1000c441
movss xmm0, dword [0x100d0620]
xor ecx, ecx
mov dword [esp + 0xc], ecx
cmp dword [edi + 0x3df0], ecx
je 0x1000c600
nop dword [eax]
nop word [eax + eax]
mov eax, dword [edi + 0x3df8]
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 0x1000c5e5
cmp byte [esi + 0x348], al
jne 0x1000c5e5
comiss xmm0, dword [esi + 0x23c]
jbe 0x1000c5e5
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 0x1000c51a
mov eax, dword [0x101dbe34]
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe0], 0
test eax, eax
je 0x1000c507
dec dword [eax + 0xb0]
push ecx
call fcn.1009029d
add esp, 4
mov dword [esi + 0xe8], 0
mov ecx, dword [esi + 0x264]
call fcn.10023c70
mov ecx, dword [esi + 0x184]
test ecx, ecx
je 0x1000c565
mov eax, dword [0x101dbe34]
mov dword [esi + 0x180], 0
mov dword [esi + 0x17c], 0
test eax, eax
je 0x1000c552
dec dword [eax + 0xb0]
push ecx
call fcn.1009029d
add esp, 4
mov dword [esi + 0x184], 0
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x1000c5a5
mov eax, dword [0x101dbe34]
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1a8], 0
test eax, eax
je 0x1000c592
dec dword [eax + 0xb0]
push ecx
call fcn.1009029d
add esp, 4
mov dword [esi + 0x1b0], 0
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
je 0x1000c5e5
mov eax, dword [0x101dbe34]
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
test eax, eax
je 0x1000c5d2
dec dword [eax + 0xb0]
push ecx
call fcn.1009029d
add esp, 4
mov dword [esi + 0x1bc], 0
mov ecx, dword [esp + 0xc]
movss xmm0, dword [esp + 0x14]
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, dword [edi + 0x3df0]
jne 0x1000c460
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp dword [edi + 0x4a10], ecx
jle 0x1000c75a
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x10], edx
nop dword [eax + eax]
mov eax, dword [edi + 0x4a18]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1000c73f
movss xmm2, dword [esp + 0x14]
comiss xmm2, xmm0
jbe 0x1000c73f
mov esi, dword [edi + 0x49f8]
mov eax, dword [0x101dbe34]
add esi, edx
mov dword [esp + 0xc], eax
mov dword [esi + 0x198], 0
mov ecx, dword [esi + 0x194]
test ecx, ecx
je 0x1000c699
mov dword [esi + 0x190], 0
mov dword [esi + 0x18c], 0
test eax, eax
je 0x1000c686
dec dword [eax + 0xb0]
push ecx
call fcn.1009029d
add esp, 4
mov dword [esi + 0x194], 0
mov byte [esi + 0x1d9], 1
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x1000c6e0
mov eax, dword [0x101dbe34]
mov dword [esi + 0x158], 0
mov dword [esi + 0x154], 0
test eax, eax
je 0x1000c6cd
dec dword [eax + 0xb0]
push ecx
call fcn.1009029d
add esp, 4
mov dword [esi + 0x15c], 0
xor edx, edx
mov byte [esi + 0x1e5], 1
cmp dword [esi + 0x40], edx
jle 0x1000c708
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [eax + ecx - 0x20], di
cmp edx, dword [esi + 0x40]
jl 0x1000c6f3
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
xorps xmm1, xmm1
sub esi, dword [eax + 0x49f8]
mov eax, 0x4325c53f
imul esi
mov eax, dword [esp + 0xc]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
mov eax, dword [eax + 0x4a18]
add ecx, edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x18]
inc ecx
add edx, 0x1e8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
cmp ecx, dword [edi + 0x4a10]
jl 0x1000c620
xor ecx, ecx
mov dword [esp + 0xc], ecx
cmp dword [edi + 0x49e4], ecx
jle 0x1000c7bd
xor esi, esi
xorps xmm1, xmm1
nop dword [eax]
mov eax, dword [edi + 0x49ec]
mov dword [esp + 0x20], eax
movss xmm0, dword [esi + eax + 4]
comiss xmm0, xmm1
jb 0x1000c7ad
movss xmm2, dword [esp + 0x14]
comiss xmm2, xmm0
jbe 0x1000c7ad
lea ecx, [eax + 0x10]
add ecx, esi
call fcn.100266e0
mov eax, dword [esp + 0x20]
xorps xmm1, xmm1
mov ecx, dword [esp + 0xc]
mov dword [esi + eax + 4], 0xbf800000
inc ecx
add esi, 0x68
mov dword [esp + 0xc], ecx
cmp ecx, dword [edi + 0x49e4]
jl 0x1000c770
cmp byte [edi + 0x3de7], 0
je 0x1000c850
mov esi, dword [0x101dbe34]
mov eax, dword [esi + 0x4780]
test eax, eax
je 0x1000c80b
mov dword [esi + 0x477c], 0
mov dword [esi + 0x4778], 0
test esi, esi
je 0x1000c7f8
dec dword [esi + 0xb0]
push eax
call fcn.1009029d
add esp, 4
mov dword [esi + 0x4780], 0
mov ecx, dword [esi + 0x478c]
test ecx, ecx
je 0x1000c84b
mov eax, dword [0x101dbe34]
mov dword [esi + 0x4788], 0
mov dword [esi + 0x4784], 0
test eax, eax
je 0x1000c838
dec dword [eax + 0xb0]
push ecx
call fcn.1009029d
add esp, 4
mov dword [esi + 0x478c], 0
call fcn.1002e2b0
mov eax, dword [edi + 0x47b8]
mov byte [edi + 0x3de7], 0
test eax, eax
je 0x1000c8b4
cmp byte [eax + 0xa7], 0
jne 0x1000c8b4
mov eax, dword [0x101dbe34]
mov edx, dword [eax + 0x3dfc]
sub edx, 1
js 0x1000c8ad
mov eax, dword [eax + 0x3e04]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x1000c8a5
cmp byte [ecx + 0xa7], 0
je 0x1000c8a5
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1000ca79
sub esi, 4
sub edx, 1
jns 0x1000c883
xor ecx, ecx
call fcn.10012b60
mov ecx, dword [edi + 0x3e18]
test ecx, ecx
jns 0x1000c8da
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.1001bf70
mov dword [edi + 0x3e14], 0
mov ecx, dword [edi + 0x47a0]
test ecx, ecx
jns 0x1000c90a
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.1001bef0
lea esi, [edi + 0x4778]
mov dword [edi + 0x479c], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1000c93c
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.1001ba80
mov ecx, dword [esi + 4]
xor edx, edx
mov dword [esi], 0
test ecx, ecx
jne 0x1000c953
push 8
mov ecx, esi
call fcn.1001ba80
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.1001b850
mov esi, dword [0x101dbe34]
cmp byte [esi + 0x5ac2], 0
mov dword [esi + 0x5ac4], 0
je 0x1000cb4f
mov eax, dword [esi + 0x3e74]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [esp + 0x10], eax
mov dword [esi + 0x4938], 7
call fcn.10013400
add esp, 4
test al, al
je 0x1000c9b8
mov byte [esi + 0x5ac2], 0
mov eax, dword [esi + 0xdd8]
xorps xmm1, xmm1
mov dword [esp + 0x10], eax
cmp eax, 0x3000
je 0x1000ca1e
movzx ecx, byte [esi + 0x5ac3]
cmp byte [ecx + esi + 0xdc4], 0
je 0x1000ca1e
movss xmm0, dword [esi + ecx*4 + 0x3728]
comiss xmm1, xmm0
ja 0x1000ca1e
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000ca1a
add ecx, 0x281
xor edx, edx
call fcn.10014d60
test al, al
je 0x1000ca1a
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1000ca1a
mov dword [esi + 0x5ac4], eax
mov byte [esi + 0x5ac2], 0
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, 0x3728
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
nop dword [eax]
cmp eax, 0x3000
jne 0x1000ca99
cmp byte [esi + ecx + 0xdc4], 0
je 0x1000ca99
movss xmm0, dword [edx + esi]
comiss xmm1, xmm0
ja 0x1000ca99
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000ca95
add ecx, 0x281
xor edx, edx
call fcn.10014d60
mov ecx, dword [esp + 0x14]
test al, al
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
je 0x1000ca99
mov byte [esi + 0x5ac3], cl
jmp 0x1000ca99
mov eax, dword [ecx + 0x310]
test eax, eax
je 0x1000ca8c
cmp byte [eax + 0xa7], 0
jne 0x1000ca8e
mov eax, ecx
mov ecx, eax
jmp 0x1000c8af
mov eax, dword [esp + 0x10]
add edx, 4
inc ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
cmp edx, 0x3734
jl 0x1000ca30
or dword [esi + 0x46e8], 0x40
xor ecx, ecx
mov dword [esi + 0x473c], 0x3f333333
call fcn.10015790
push dword [esp + 0xc]
push str.HoveredId:_0x_08X
call fcn.1002ef90
push str.Press_ESC_to_abort_picking.
call fcn.1002ef90
add esp, 0xc
mov dword [esp + 0x20], str.Left
cmp dword [esp + 0x10], 0x3000
mov dword [esp + 0x24], str.Right
mov dword [esp + 0x28], str.Middle
jne 0x1000cb11
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.1002ef90
add esp, 4
jmp 0x1000cb44
movzx eax, byte [esi + 0x5ac3]
xor ecx, ecx
cmp dword [esp + 0xc], ecx
push dword [esp + eax*4 + 0x20]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x101dbe34]
add eax, 0x3874
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.1002f060
add esp, 0xc
call fcn.10012a00
mov esi, dword [0x101dbe34]
lea eax, [esi + 0x3e6c]
lea edx, [esi + 0x5ad8]
mov dword [eax], 0
mov dword [esp + 0x18], eax
mov eax, dword [edx]
inc eax
mov dword [esp + 0x20], edx
cmp dword [esi + 0x3dd8], eax
jne 0x1000cc73
mov ecx, dword [esi + 0x3e74]
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x1000cb90
mov ecx, dword [esi + 0x3e84]
mov dword [esp + 0x10], ecx
cmp dword [edx + 8], ecx
je 0x1000cbeb
lea eax, [edx + 0xc]
mov dword [edx + 8], ecx
mov dword [edx + 4], 0xffffffff
mov ecx, dword [eax + 4]
test ecx, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
jge 0x1000cbe5
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 + 0x10]
call fcn.1001c060
mov esi, dword [0x101dbe34]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov dword [eax], 0
test ecx, ecx
je 0x1000cc73
mov eax, dword [edx + 4]
test eax, eax
js 0x1000cc35
mov dword [esp + 0x14], eax
cmp eax, dword [edx + 0xc]
jge 0x1000cc50
mov edi, dword [edx + 0x14]
lea ecx, [eax + eax*8]
cmp byte [edi + ecx*8 + 5], 0
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
jne 0x1000cc31
mov edi, dword [edx + 0x14]
lea ecx, [eax + eax*8]
mov dword [esp + 0x14], eax
cmp byte [edi + ecx*8 + 4], 2
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
jle 0x1000cc50
inc eax
mov dword [edx + 4], eax
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x1000cc46
mov eax, dword [esp + 0x18]
mov dword [eax], ecx
jmp 0x1000cc73
mov eax, dword [esp + 0x14]
test eax, eax
js 0x1000cc73
jmp 0x1000cc54
mov eax, dword [esp + 0x14]
cmp eax, dword [edx + 0xc]
jge 0x1000cc73
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x14]
mov edx, dword [esp + 0x18]
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 + 0x5ac1]
test al, al
je 0x1000cc91
sub al, 1
mov byte [edi + 0x5ac1], al
jne 0x1000cc91
mov dword [edi + 0x4694], 0
mov al, byte [edi + 0x5ac0]
test al, al
je 0x1000cd0d
sub al, 1
mov byte [edi + 0x5ac0], al
jne 0x1000cd0d
movaps xmm0, xmmword [0x100d08b0]
xor ecx, ecx
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x70], 0x1226c
movaps xmm0, xmmword [0x100d0dd0]
movups xmmword [esp + 0x40], xmm0
movaps xmm0, xmmword [0x100d08c0]
movups xmmword [esp + 0x50], xmm0
movaps xmm0, xmmword [0x100d0dc0]
movups xmmword [esp + 0x60], xmm0
nop
mov al, byte [esp + 0x30]
xor byte [esp + ecx + 0x31], al
inc ecx
cmp ecx, 0x42
jb 0x1000cce0
lea eax, [esp + 0x31]
mov byte [esp + 0x73], 0
push eax
call fcn.1001b270
mov esi, dword [0x101dbe34]
add esp, 4
and dword [edi + 0x5aa0], 0xffffffef
movaps xmm0, xmmword [str.2vWPGU]
mov byte [edi + 0x3de5], 1
or dword [esi + 0x46e8], 2
xor ecx, ecx
mov dword [esi + 0x4708], 0x43c80000
mov dword [esi + 0x470c], 0x43c80000
mov dword [esi + 0x46f0], 4
movups xmmword [esp + 0x20], xmm0
mov al, byte [esp + 0x20]
xor byte [esp + ecx + 0x21], al
inc ecx
cmp ecx, 0xe
jb 0x1000cd47
push 0
xor edx, edx
mov byte [esp + 0x33], 0
lea ecx, [esp + 0x25]
call fcn.100105d0
xor esi, esi
add esp, 4
cmp dword [edi + 0x5a40], esi
jle 0x1000cdac
xor ecx, ecx
mov dword [esp + 0x20], ecx
nop word [eax + eax]
mov eax, dword [edi + 0x5a48]
add eax, ecx
cmp dword [eax + 4], 1
jne 0x1000cd9c
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
mov ecx, dword [esp + 0x28]
add esp, 8
inc esi
add ecx, 0x14
mov dword [esp + 0x20], ecx
cmp esi, dword [edi + 0x5a40]
jl 0x1000cd80
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.10046dd3
mov esp, ebp
pop ebp
ret