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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10106dcd
mov eax, dword fs:[0]
push eax
sub esp, 0x6bc
mov eax, dword [0x1014b520]
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.10001bd0
mov ecx, eax
test ecx, ecx
je 0x100431b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6b0], eax
push 0x1010e2cc
lea ecx, [ebp - 0x6b0]
mov dword [ebp - 4], 0
call fcn.1001afc0
test al, al
jne 0x10042cc4
push 0
push 0x1010e2cc
lea ecx, [ebp - 0x6b0]
call fcn.100028b0
push esi
mov dword [ebp - 4], 1
call fcn.10029da0
add esp, 4
mov dword [ebp - 0x6b4], eax
lea ecx, [ebp - 0x6b8]
push dword [eax + 8]
call fcn.10002a70
mov eax, dword [ebp - 0x6b8]
mov byte [ebp - 4], 2
cmp dword [eax - 0xc], 0
jne 0x10042d55
lea eax, [ebp - 0x6b0]
mov ecx, edi
push eax
call fcn.1001fa10
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 0x10042d2a
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 0x10043192
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x10043192
push 0x208
lea eax, [ebp - 0x29c]
push 0
push eax
call fcn.100d6e30
push 0x208
lea eax, [ebp - 0x6ac]
push 0
push eax
call fcn.100d6e30
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 0x10042dbe
nop dword [eax + eax]
lea eax, [ebp - 0x6ac]
push eax
call ebx
sub esi, 1
jne 0x10042db0
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 0x10042ea3
call fcn.10001bd0
mov ecx, eax
test ecx, ecx
je 0x100431ba
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.1001afc0
test al, al
jne 0x10042e52
lea ecx, [ebp - 0x29c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10042e30
sub ecx, edx
lea eax, [ebp - 0x29c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6b4]
call fcn.100028b0
lea eax, [ebp - 0x6b0]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x6b4]
push eax
call fcn.10041360
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 0x10042e90
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.1001fa10
jmp 0x1004314f
mov eax, dword [ebp - 0x6b4]
cmp dword [eax], 2
jne 0x1004313e
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 reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x6c8]
call fcn.1003a360
test eax, eax
je 0x10043012
lea eax, [ebp - 0x6b0]
mov ecx, edi
push eax
call fcn.1001fa10
mov eax, dword [ebp - 0x6c8]
test eax, eax
je 0x1004314c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1004314c
push 0x208
lea eax, [ebp - 0x4a4]
push 0
push eax
call fcn.100d6e30
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 0x1004308c
mov eax, dword [ebp - 0x6bc]
cmp eax, 1
je 0x10043071
cmp eax, 2
jne 0x1004308c
mov eax, dword [ebp - 0x6b4]
test eax, eax
je 0x100430ae
test al, 1
jne 0x1004308c
shr eax, 1
cmp word [ebp + eax*2 - 0x4a6], 0
je 0x100430b7
lea eax, [ebp - 0x6b0]
mov ecx, edi
push eax
call fcn.1001fa10
test ebx, ebx
je 0x1004314c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1004314c
xor eax, eax
mov word [ebp - 0x4a4], ax
lea eax, [ebp - 0x4a4]
push eax
call esi
test eax, eax
je 0x1004312f
lea eax, [ebp - 0x4a4]
push eax
lea ecx, [ebp - 0x6b4]
call fcn.10002a70
lea eax, [ebp - 0x6b0]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x6b4]
push eax
call fcn.10041360
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 0x10043114
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.1001fa10
test ebx, ebx
je 0x1004314f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1004314f
mov byte [ebp - 4], 2
test ebx, ebx
je 0x1004313e
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x6b0]
mov ecx, edi
push eax
call fcn.1001fa10
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 0x10043170
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 0x10043192
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.100bb073
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10001900
push 0x80004005
call fcn.10001900
int3