Function at 0x10019670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x100ef0f8]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
call fcn.10018c70
mov ecx, dword [0xa7ab8c]
mov esi, 0x8e1223
push 0xffffffffffffffff
push 0
push 0x26c
push 0x33e
push 0x64
push 0xbe
push dword [0x100f32cc]
xor edx, edx
call esi
mov ecx, dword [0xa7ab8c]
xor edx, edx
push 0xffffffffffffffff
push 0
push 0x26c
push 0x33e
push 0x212
push 0x2a3
push dword [0x100f33c4]
call esi
mov edx, dword [0x100f416c]
xor esi, esi
mov eax, edx
mov edi, 0xc3
cmp eax, dword [edx]
je 0x1001972c
add eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [eax]
mov ecx, dword [eax + 8]
cmp dword [ecx], 1
jne 0x10019728
cmp esi, 0xa
jge 0x10019728
push 0x19a
push edi
push 0
inc esi
call fcn.10018e70
mov edx, dword [0x100f416c]
add eax, 5
add esp, 0xc
add edi, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, dword [edx]
jne 0x100196f0
mov eax, dword [0x100f33ec]
test eax, eax
je 0x10019744
cmp dword [eax + 0x24], 5
jne 0x10019744
imul edx, dword [eax + 0x64], 0x64
shr edx, 0x10
jmp 0x10019746
xor edx, edx
test eax, eax
je 0x10019758
cmp dword [eax + 0x24], 5
jne 0x10019758
mov ecx, dword [eax + 0xa8]
jmp 0x1001975a
xor ecx, ecx
call fcn.100176d0
mov ecx, dword [0xa7ab8c]
xor edx, edx
push 0xffffffffffffffff
push 0
push 0xc3
push 0x334
push 0x9b
push 0x26c
push dword [0x100f33a0]
mov eax, 0x8e1223
call eax
mov edx, dword [0x100f416c]
mov edi, 0xd7
mov eax, edx
cmp eax, dword [edx]
je 0x100197d6
nop dword [eax]
add eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [eax]
mov ecx, dword [eax + 8]
cmp dword [ecx], 1
je 0x100197d2
push 0xc8
push edi
push 0
call fcn.10018e70
mov edx, dword [0x100f416c]
add eax, 5
add esp, 0xc
add edi, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, dword [edx]
jne 0x100197a0
mov eax, dword [0x100f3404]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test esi, esi
jle 0x10019954
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100f29c4]
mov dword [esp + 0x40], 0x5d424247
mov byte [esp + 0x18], 0x2e
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10100d34]
cmp eax, dword [ecx + 4]
jle 0x10019864
push 0x10100d34
call fcn.10084984
add esp, 4
cmp dword [0x10100d34], 0xffffffff
jne 0x10019864
mov eax, dword [esp + 0x40]
movaps xmm0, xmmword [0x100e66f0]
mov dword [0x10100ad8], eax
mov al, byte [esp + 0x18]
push 0x100c2ff0
movups xmmword [0x10100ac8], xmm0
mov byte [0x10100adc], al
call fcn.10084d5f
add esp, 4
push 0x10100d34
call fcn.1008493a
add esp, 4
cmp byte [0x10100adc], 0
je 0x1001989d
movups xmm0, xmmword [0x10100ac8]
mov eax, 0x10
movaps xmm1, xmmword [0x100e64a0]
pxor xmm1, xmm0
movups xmmword [0x10100ac8], xmm1
nop dword [eax + eax]
xor byte [eax + 0x10100ac8], 0x2e
inc eax
cmp eax, 0x15
jb 0x10019890
cmp byte [0x100f32b5], 0
mov eax, dword [0x100f3404]
mov ecx, dword [0x100f3400]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
je 0x1001992b
mov esi, dword [0x100f33f4]
mov eax, 0x2aaaaaab
imul ecx, esi, 0x64
imul ecx
lea ecx, [esi + esi*4]
sar edx, 7
mov eax, edx
shl ecx, 5
shr eax, 0x1f
add eax, edx
push eax
imul eax, dword [0x100f33f0], 0x258
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
push eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
imul eax, dword [0x100f33f0], 0x19a
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x10]
jmp 0x10019937
movaps xmm0, xmmword [0x100e62c0]
movups xmmword [esp + 0x20], xmm0
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push 0xffffffffffffffff
push 0x105
push edx
push 0xffffffffffffffff
push 0x10100ac8
push dword [esp + 0x28]
push ecx
call dword [eax + 0x38]
mov edx, dword [0x100f416c]
xor esi, esi
mov eax, edx
mov edi, 0xc3
cmp eax, dword [edx]
je 0x100199a3
add eax, 4
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax + 8]
cmp dword [ecx], 1
jne 0x1001999f
cmp esi, 0xa
jge 0x1001999f
push 0x19a
push edi
push 1
call fcn.10018e70
mov edx, dword [0x100f416c]
add eax, 5
add edi, eax
add esp, 0xc
mov eax, dword [esp + 0x14]
inc esi
mov eax, dword [eax]
cmp eax, dword [edx]
jne 0x10019967
cmp byte [0x100f32b5], 0
mov eax, dword [0x100f3404]
mov ecx, dword [0x100f33fc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
je 0x10019a36
imul ecx, dword [0x100f33f4], 0x9b
mov eax, 0x2aaaaaab
imul ecx
imul ecx, dword [0x100f33f4], 0xaf
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
imul eax, dword [0x100f33f0], 0x334
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
push eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
imul eax, dword [0x100f33f0], 0x271
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x14]
jmp 0x10019a42
movaps xmm0, xmmword [0x100e62d0]
movups xmmword [esp + 0x20], xmm0
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push 0xffffffffffffffff
push 0x104
push edx
push 0xffffffffffffffff
push 0x100f32d8
push dword [esp + 0x24]
push ecx
call dword [eax + 0x38]
cmp byte [0x100f32b5], 0
mov eax, dword [0x100f3404]
mov ecx, dword [0x100f33fc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
je 0x10019af2
imul ecx, dword [0x100f33f4], 0xaf
mov eax, 0x2aaaaaab
imul ecx
imul ecx, dword [0x100f33f4], 0xc3
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
imul eax, dword [0x100f33f0], 0x339
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
push eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
imul eax, dword [0x100f33f0], 0x271
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x14]
jmp 0x10019afe
movaps xmm0, xmmword [0x100e62e0]
movups xmmword [esp + 0x20], xmm0
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push 0xffffffffffffffff
push 0x104
push edx
push 0xffffffffffffffff
push 0x100f333c
push dword [esp + 0x24]
push ecx
call dword [eax + 0x38]
mov edx, dword [0x100f416c]
mov esi, 0xd7
mov eax, edx
cmp eax, dword [edx]
je 0x10019b5e
nop dword [eax]
lea edi, [eax + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 8]
cmp dword [ecx], 1
je 0x10019b5a
push 0xc8
push esi
push 1
call fcn.10018e70
mov edx, dword [0x100f416c]
add eax, 5
add esp, 0xc
add esi, eax
mov eax, dword [edi]
cmp eax, dword [edx]
jne 0x10019b30
cmp byte [0x100f32b5], 0
mov eax, dword [0x100f4168]
mov ecx, dword [0x100f33fc]
mov dword [esp + 0x10], eax
mov eax, dword [0x100f3404]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
je 0x10019bfa
imul ecx, dword [0x100f33f4], 0x25d
mov eax, 0x2aaaaaab
imul ecx
imul ecx, dword [0x100f33f4], 0x267
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
imul eax, dword [0x100f33f0], 0x33e
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
push eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
imul eax, dword [0x100f33f0], 0x2a3
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x14]
jmp 0x10019c06
movaps xmm0, xmmword [0x100e62f0]
movups xmmword [esp + 0x30], xmm0
mov eax, dword [ecx]
lea edx, [esp + 0x30]
push 0xffffffffffffffff
push 0x105
push edx
push 0xffffffffffffffff
push dword [esp + 0x20]
push dword [esp + 0x30]
push ecx
call dword [eax + 0x38]
mov eax, dword [0x100f3404]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.10084864
mov esp, ebp
pop ebp
ret