Function at 0x10014840
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e5ed
mov eax, dword fs:[0]
push eax
sub esp, 0x6bc
mov eax, dword [0x100551d0]
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 edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x6bc], edi
call fcn.100020f0
mov ecx, eax
test ecx, ecx
je 0x10014db0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6b0], eax
push 0x1003f2f4
lea ecx, [ebp - 0x6b0]
mov dword [ebp - 4], 0
call fcn.10001e90
test al, al
jne 0x100148c4
push 0
push 0x1003f2f4
lea ecx, [ebp - 0x6b0]
call fcn.10002b80
push esi
mov dword [ebp - 4], 1
call fcn.10008eb0
add esp, 4
mov dword [ebp - 0x6b4], eax
lea ecx, [ebp - 0x6b8]
push dword [eax + 8]
call fcn.100017e0
mov eax, dword [ebp - 0x6b8]
mov byte [ebp - 4], 2
cmp dword [eax - 0xc], 0
jne 0x10014955
lea eax, [ebp - 0x6b0]
mov ecx, edi
push eax
call fcn.10014020
mov edx, dword [ebp - 0x6b8]
or esi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001492a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x6b0]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10014d92
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x10014d92
push 0x208
lea eax, [ebp - 0x29c]
push 0
push eax
call fcn.1001ccd0
push 0x208
lea eax, [ebp - 0x6ac]
push 0
push eax
call fcn.1001ccd0
add esp, 0x18
lea eax, [ebp - 0x6ac]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x6ac]
push eax
call ebx
test esi, esi
jle 0x100149be
nop dword [eax + eax]
lea eax, [ebp - 0x6ac]
push eax
call ebx
sub esi, 1
jne 0x100149b0
push dword [ebp - 0x6b8]
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x29c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x29c]
push eax
call esi
test eax, eax
je 0x10014aa3
call fcn.100020f0
mov ecx, eax
test ecx, ecx
je 0x10014dba
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6b4], eax
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x6b4]
call fcn.10001e90
test al, al
jne 0x10014a52
lea ecx, [ebp - 0x29c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014a30
sub ecx, edx
lea eax, [ebp - 0x29c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6b4]
call fcn.10002b80
lea eax, [ebp - 0x6b0]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x6b4]
push eax
call fcn.10006bf0
mov edx, dword [ebp - 0x6b4]
or esi, 0xffffffff
add esp, 8
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014a90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x6b0]
mov ecx, edi
push eax
call fcn.10014020
jmp 0x10014d4f
mov eax, dword [ebp - 0x6b4]
cmp dword [eax], 2
jne 0x10014d3e
mov dword [ebp - 0x94], 0x4f0053
mov dword [ebp - 0x90], 0x540046
mov dword [ebp - 0x8c], 0x410057
mov dword [ebp - 0x88], 0x450052
mov dword [ebp - 0x84], 0x4d005c
mov dword [ebp - 0x80], 0x630069
mov dword [ebp - 0x7c], 0x6f0072
mov dword [ebp - 0x78], 0x6f0073
mov dword [ebp - 0x74], 0x740066
mov dword [ebp - 0x70], 0x57005c
mov dword [ebp - 0x6c], 0x6e0069
mov dword [ebp - 0x68], 0x6f0064
mov dword [ebp - 0x64], 0x730077
mov dword [ebp - 0x60], 0x43005c
mov dword [ebp - 0x5c], 0x720075
mov dword [ebp - 0x58], 0x650072
mov dword [ebp - 0x54], 0x74006e
mov dword [ebp - 0x50], 0x650056
mov dword [ebp - 0x4c], 0x730072
mov dword [ebp - 0x48], 0x6f0069
mov dword [ebp - 0x44], 0x5c006e
mov dword [ebp - 0x40], 0x700041
mov dword [ebp - 0x3c], 0x200070
mov dword [ebp - 0x38], 0x610050
mov dword [ebp - 0x34], 0x680074
mov dword [ebp - 0x30], 0x5c0073
mov dword [ebp - 0x2c], 0x61004d
mov dword [ebp - 0x28], 0x740073
mov dword [ebp - 0x24], 0x720065
mov dword [ebp - 0x20], 0x440050
mov dword [ebp - 0x1c], 0x2e0046
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
mov dword [ebp - 0x6c8], 0
mov dword [ebp - 0x6c4], 0
mov dword [ebp - 0x6c0], 0
push 0x20219
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 5
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0x6c8]
call fcn.10015230
test eax, eax
je 0x10014c12
lea eax, [ebp - 0x6b0]
mov ecx, edi
push eax
call fcn.10014020
mov eax, dword [ebp - 0x6c8]
test eax, eax
je 0x10014d4c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10014d4c
push 0x208
lea eax, [ebp - 0x4a4]
push 0
push eax
call fcn.1001ccd0
mov ebx, dword [ebp - 0x6c8]
lea eax, [ebp - 0x6b4]
add esp, 0xc
mov dword [ebp - 0x6b4], 0x208
push eax
lea eax, [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x6bc]
push eax
push 0
lea eax, [ebp - 0x94]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10014c8c
mov eax, dword [ebp - 0x6bc]
cmp eax, 1
je 0x10014c71
cmp eax, 2
jne 0x10014c8c
mov eax, dword [ebp - 0x6b4]
test eax, eax
je 0x10014cae
test al, 1
jne 0x10014c8c
shr eax, 1
cmp word [ebp + eax*2 - 0x4a6], 0
je 0x10014cb7
lea eax, [ebp - 0x6b0]
mov ecx, edi
push eax
call fcn.10014020
test ebx, ebx
je 0x10014d4c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10014d4c
xor eax, eax
mov word [ebp - 0x4a4], ax
lea eax, [ebp - 0x4a4]
push eax
call esi
test eax, eax
je 0x10014d2f
lea eax, [ebp - 0x4a4]
push eax
lea ecx, [ebp - 0x6b4]
call fcn.100017e0
lea eax, [ebp - 0x6b0]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x6b4]
push eax
call fcn.10006bf0
mov edx, dword [ebp - 0x6b4]
or esi, 0xffffffff
add esp, 8
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014d14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x6b0]
mov ecx, edi
push eax
call fcn.10014020
test ebx, ebx
je 0x10014d4f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10014d4f
mov byte [ebp - 4], 2
test ebx, ebx
je 0x10014d3e
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x6b0]
mov ecx, edi
push eax
call fcn.10014020
or esi, 0xffffffff
mov edx, dword [ebp - 0x6b8]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014d70
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6b0]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10014d92
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.10013318
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10001e70
push 0x80004005
call fcn.10001e70
int3