Function at 0x10016d70
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041e74
mov eax, dword fs:[0]
push eax
sub esp, 0xc94
mov eax, dword [0x100695e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc9c], 0
mov eax, dword [0x10069550]
mov ecx, 0x10069550
mov dword [ebp - 4], 0
mov dword [ebp - 0xca0], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, 0x10062040
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x10016dfa
movzx edi, ax
push 0
push edi
call fcn.1000dc30
add esp, 8
test eax, eax
je 0x10016e06
push edi
push eax
mov ecx, esi
call fcn.100159c0
jmp 0x10016e06
push 0x10062040
mov ecx, esi
call fcn.1001af90
mov eax, 0x43
mov word [ebp - 0x54], ax
mov eax, 0x52
mov word [ebp - 0x84], ax
mov eax, 0x4d
mov word [ebp - 0x7e], ax
mov eax, 0x65
push 0x7fc
mov edx, 0x72
mov word [ebp - 0x44], ax
lea eax, [ebp - 0xc8c]
push 0
mov ebx, 0x6f
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc9c], 1
mov dword [ebp - 0x52], 0x720075
mov dword [ebp - 0x6a], 0x690057
mov dword [ebp - 0x7c], 0x630069
mov dword [ebp - 0x88], 0x410057
mov dword [ebp - 0x82], 0x5c0045
mov dword [ebp - 0x90], 0x4f0053
mov dword [ebp - 0x76], 0x73006f
mov dword [ebp - 0x72], 0x66006f
mov dword [ebp - 0x42], 0x730072
mov dword [ebp - 0x8c], 0x540046
mov dword [ebp - 0x5c], 0x4e0020
mov dword [ebp - 0x4c], 0x6e0065
mov dword [ebp - 0x3e], 0x6f0069
mov dword [ebp - 0x6e], 0x5c0074
mov dword [ebp - 0x58], 0x5c0054
mov dword [ebp - 0x48], 0x560074
mov dword [ebp - 0x60], 0x730077
mov dword [ebp - 0x66], 0x64006e
mov word [ebp - 0x4e], dx
mov word [ebp - 0x78], dx
mov dword [ebp - 0x3a], 0x6e
mov word [ebp - 0x62], bx
mov dword [ebp - 0x22], 0x64006f
mov dword [ebp - 0x1e], 0x630075
mov dword [ebp - 0x28], 0x50006c
mov dword [ebp - 0x2c], 0x610074
mov dword [ebp - 0x1a], 0x490074
mov dword [ebp - 0x30], 0x690067
mov dword [ebp - 0x16], 0x64
mov dword [ebp - 0x34], 0x690044
mov word [ebp - 0x24], dx
mov dword [ebp - 0xc90], 0
call fcn.100275b0
add esp, 0xc
lea eax, [ebp - 0xc98]
push eax
push 0x101
push 0
lea eax, [ebp - 0x90]
push eax
push 0x80000002
mov dword [ebp - 0xc94], 0x800
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10017023
lea eax, [ebp - 0xc94]
push eax
lea eax, [ebp - 0xc90]
push eax
push 0
push 0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0xc98]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10017017
push 0x3ff
push eax
mov byte [ebp - 0x490], al
lea eax, [ebp - 0x48f]
push eax
call fcn.100275b0
push dword [ebp - 0xc94]
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0xc90]
push eax
call fcn.10016cf0
lea eax, [ebp - 0x490]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10016fd6
sub eax, edx
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x10016fee
xor eax, eax
jmp 0x10017008
lea eax, [edi + edi]
call fcn.10026f00
mov eax, esp
push 3
push edi
lea ecx, [ebp - 0x490]
push ecx
push eax
call fcn.10015c70
push eax
push 0x10057634
push esi
call fcn.1001b5c0
add esp, 0xc
push dword [ebp - 0xc98]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea esp, [ebp - 0xcb0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10026aaf
mov esp, ebp
pop ebp
ret