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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055b1d
mov eax, dword fs:[0]
push eax
sub esp, 0x6bc
mov eax, dword [0x100735cc]
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.10007950
mov ecx, eax
test ecx, ecx
je 0x10022f40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6b0], eax
push 0x100578bc
lea ecx, [ebp - 0x6b0]
mov dword [ebp - 4], 0
call fcn.1000b1c0
test al, al
jne 0x10022a54
push 0
push 0x100578bc
lea ecx, [ebp - 0x6b0]
call fcn.10008640
push esi
mov dword [ebp - 4], 1
call fcn.10017cc0
add esp, 4
mov dword [ebp - 0x6b4], eax
lea ecx, [ebp - 0x6b8]
push dword [eax + 8]
call fcn.10009e70
mov eax, dword [ebp - 0x6b8]
mov byte [ebp - 4], 2
cmp dword [eax - 0xc], 0
jne 0x10022ae5
lea eax, [ebp - 0x6b0]
mov ecx, edi
push eax
call fcn.10021f30
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 0x10022aba
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 0x10022f22
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x10022f22
push 0x208
lea eax, [ebp - 0x29c]
push 0
push eax
call fcn.10030d40
push 0x208
lea eax, [ebp - 0x6ac]
push 0
push eax
call fcn.10030d40
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 0x10022b4e
nop dword [eax + eax]
lea eax, [ebp - 0x6ac]
push eax
call ebx
sub esi, 1
jne 0x10022b40
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 0x10022c33
call fcn.10007950
mov ecx, eax
test ecx, ecx
je 0x10022f4a
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.1000b1c0
test al, al
jne 0x10022be2
lea ecx, [ebp - 0x29c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10022bc0
sub ecx, edx
lea eax, [ebp - 0x29c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6b4]
call fcn.10008640
lea eax, [ebp - 0x6b0]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x6b4]
push eax
call fcn.10011480
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 0x10022c20
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.10021f30
jmp 0x10022edf
mov eax, dword [ebp - 0x6b4]
cmp dword [eax], 2
jne 0x10022ece
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 SysStringLen
lea ecx, [ebp - 0x6c8]
call fcn.10017c10
test eax, eax
je 0x10022da2
lea eax, [ebp - 0x6b0]
mov ecx, edi
push eax
call fcn.10021f30
mov eax, dword [ebp - 0x6c8]
test eax, eax
je 0x10022edc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10022edc
push 0x208
lea eax, [ebp - 0x4a4]
push 0
push eax
call fcn.10030d40
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 0x10022e1c
mov eax, dword [ebp - 0x6bc]
cmp eax, 1
je 0x10022e01
cmp eax, 2
jne 0x10022e1c
mov eax, dword [ebp - 0x6b4]
test eax, eax
je 0x10022e3e
test al, 1
jne 0x10022e1c
shr eax, 1
cmp word [ebp + eax*2 - 0x4a6], 0
je 0x10022e47
lea eax, [ebp - 0x6b0]
mov ecx, edi
push eax
call fcn.10021f30
test ebx, ebx
je 0x10022edc
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10022edc
xor eax, eax
mov word [ebp - 0x4a4], ax
lea eax, [ebp - 0x4a4]
push eax
call esi
test eax, eax
je 0x10022ebf
lea eax, [ebp - 0x4a4]
push eax
lea ecx, [ebp - 0x6b4]
call fcn.10009e70
lea eax, [ebp - 0x6b0]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x6b4]
push eax
call fcn.10011480
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 0x10022ea4
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.10021f30
test ebx, ebx
je 0x10022edf
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10022edf
mov byte [ebp - 4], 2
test ebx, ebx
je 0x10022ece
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x6b0]
mov ecx, edi
push eax
call fcn.10021f30
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 0x10022f00
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 0x10022f22
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.10028080
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10006370
push 0x80004005
call fcn.10006370
int3