Function at 0x100016a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_GetDC]
push str.LkjihygQWsrtfgPoijhbvWrdfgMinubyt
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x48
push 0x5a
push esi
mov edi, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xc
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, dword [ebp + 8]
xor ecx, ecx
lea esi, [ebx + eax]
cmp edi, ecx
jle 0x10001724
mov edx, str.LkjihygQWsrtfgPoijhbvWrdfgMinubyt
mov eax, ebx
sub edx, ebx
mov dword [ebp + 8], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], edi
mov cl, byte [edx + eax]
xor cl, 0x80
cmp eax, esi
jae 0x10001719
mov edi, edi
mov dl, al
sub dl, bl
and dl, 0x80
xor dl, byte [eax]
xor dl, cl
mov byte [eax], dl
add eax, edi
cmp eax, esi
jb 0x10001700
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
inc eax
dec dword [ebp - 4]
mov dword [ebp + 8], eax
jne 0x100016f4
xor ecx, ecx
mov eax, 0xf
push 0x10020240
push 0x100249e8
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], ecx
mov byte [ebp - 0x78], 0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x40], 0
call fcn.10006f60
mov eax, dword [0x10024aa0]
mov eax, dword [eax + 4]
add eax, 0x10024aa0
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
add esp, 8
push 0
lea ecx, [ebp + 8]
mov dword [ebp - 8], esi
call fcn.1000949f
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x10001784
inc eax
mov dword [esi + 4], eax
lea ecx, [ebp + 8]
call fcn.100094c7
lea ecx, [ebp - 8]
push ecx
call fcn.10006e60
add esp, 4
push 0
lea ecx, [ebp - 8]
mov ebx, eax
call fcn.1000949f
mov eax, dword [esi + 4]
test eax, eax
je 0x100017b4
cmp eax, 0xffffffff
jae 0x100017b4
dec eax
mov dword [esi + 4], eax
mov edi, dword [esi + 4]
neg edi
sbb edi, edi
lea ecx, [ebp - 8]
not edi
call fcn.100094c7
and edi, esi
je 0x100017d3
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
push 0xa
mov ecx, ebx
call eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 4]
push ecx
push 0x10024aa0
lea ecx, [ebp - 0x78]
call fcn.10007d10
push 0x10020241
push 0x100249e8
call fcn.10006f60
mov edx, dword [0x10024aa0]
mov eax, dword [edx + 4]
add eax, 0x10024aa0
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
add esp, 0x10
push 0
lea ecx, [ebp + 8]
mov dword [ebp - 8], esi
call fcn.1000949f
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x10001830
inc eax
mov dword [esi + 4], eax
lea ecx, [ebp + 8]
call fcn.100094c7
lea eax, [ebp - 8]
push eax
call fcn.10006e60
add esp, 4
push 0
lea ecx, [ebp - 8]
mov ebx, eax
call fcn.1000949f
mov eax, dword [esi + 4]
test eax, eax
je 0x10001860
cmp eax, 0xffffffff
jae 0x10001860
dec eax
mov dword [esi + 4], eax
mov edi, dword [esi + 4]
neg edi
sbb edi, edi
lea ecx, [ebp - 8]
not edi
call fcn.100094c7
and edi, esi
je 0x1000187f
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
push 0xa
mov ecx, ebx
call eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 4]
push ecx
push 0x10024aa0
lea ecx, [ebp - 0x5c]
call fcn.10007d10
mov esi, dword [ebp - 0x68]
add esi, dword [ebp - 0x4c]
mov ebx, 0xf
add esp, 8
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
lea edi, [ebx + 1]
cmp esi, ebx
je 0x10001917
cmp esi, 0xfffffffe
jbe 0x100018d0
push str.string_too_long
call fcn.1000938a
cmp esi, ebx
jbe 0x100018e1
push 0
push esi
lea ecx, [ebp - 0x24]
call fcn.10006cd0
jmp 0x100018f9
cmp esi, edi
jae 0x100018ea
mov dword [ebp - 0x10], ebx
jmp 0x100018ee
test esi, esi
jne 0x100018fb
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
test esi, esi
setne al
test al, al
je 0x10001917
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], edi
jae 0x10001914
lea eax, [ebp - 0x24]
mov byte [eax], 0
push 0
lea ecx, [ebp - 0x78]
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x24]
call fcn.10006b50
push 0
lea edx, [ebp - 0x5c]
push edx
or eax, 0xffffffff
call fcn.10006b50
cmp dword [ebp - 0x2c], edi
jb 0x10001947
mov eax, dword [ebp - 0x40]
push eax
call fcn.1000a716
add esp, 4
xor esi, esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x40], 0
cmp dword [ebp - 0x10], edi
jae 0x1000196f
mov ecx, dword [ebp - 0x14]
inc ecx
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.1000a080
add esp, 0xc
jmp 0x10001975
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x40]
push ecx
push ecx
push str.device_caps_button
push 0x100249e8
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
call fcn.10006f60
add esp, 0xc
push eax
call fcn.10007190
add esp, 8
cmp dword [ebp - 0x2c], edi
jb 0x100019b2
mov edx, dword [ebp - 0x40]
push edx
call fcn.1000a716
add esp, 4
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x40], 0
cmp dword [ebp - 0x48], edi
jb 0x100019cd
mov eax, dword [ebp - 0x5c]
push eax
call fcn.1000a716
add esp, 4
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], esi
mov byte [ebp - 0x5c], 0
cmp dword [ebp - 0x64], edi
jb 0x100019e8
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.1000a716
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret