Function at 0x10005da0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100411dc
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x1005400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x2bc], edi
mov eax, 0x22
mov dword [ebp - 0x2b8], eax
xor ecx, ecx
mov dword [ebp - 0x2b4], 0x40007d
mov dword [ebp - 0x2b0], 0x450056
mov dword [ebp - 0x2ac], 0x520045
mov dword [ebp - 0x2a8], 0x500046
mov dword [ebp - 0x2a4], 0x61006a
mov dword [ebp - 0x2a0], 0x550059
mov dword [ebp - 0x29c], 0x5e004c
mov dword [ebp - 0x298], 0x6e0060
mov dword [ebp - 0x294], 0x5a004a
mov dword [ebp - 0x290], 0x2c0021
mov dword [ebp - 0x28c], 0x2001e
mov dword [ebp - 0x288], 0x310027
mov dword [ebp - 0x284], 0x31002f
mov dword [ebp - 0x280], 0x19002d
mov dword [ebp - 0x27c], 0x240038
mov dword [ebp - 0x278], 0x28002f
mov dword [ebp - 0x274], 0x3c003d
mov dword [ebp - 0x270], 0x50
lea eax, [ecx + 0x2e]
xor word [ebp + ecx*2 - 0x2b4], ax
inc ecx
mov eax, dword [ebp - 0x2b8]
cmp ecx, eax
jb 0x10005ea2
xor ecx, ecx
mov word [ebp + eax*2 - 0x2b4], cx
call fcn.10011a50
mov ecx, eax
test ecx, ecx
je 0x10006341
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x2b4]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x10005f06
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.1000da30
jmp 0x10005f32
lea ecx, [ebp - 0x2b4]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005f10
sub ecx, edx
lea eax, [ebp - 0x2b4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.1000dcb0
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x21c]
push eax
push 0x20019
push 0
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10006249
mov eax, 0xe
mov dword [ebp - 0x23c], 1
mov dword [ebp - 0x238], 0x104
xor ecx, ecx
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], 0x5b007d
mov dword [ebp - 0x264], 0x500055
mov dword [ebp - 0x260], 0x70005f
mov dword [ebp - 0x25c], 0x5c0058
mov dword [ebp - 0x258], 0x590053
mov dword [ebp - 0x254], 0x7d004c
mov dword [ebp - 0x250], 0x570056
mov dword [ebp - 0x24c], 0x3c
lea eax, [ecx + 0x2e]
xor word [ebp + ecx*2 - 0x268], ax
inc ecx
mov eax, dword [ebp - 0x26c]
cmp ecx, eax
jb 0x10005fd2
xor ecx, ecx
mov word [ebp + eax*2 - 0x268], cx
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x23c]
push eax
push ecx
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10006249
xorps xmm0, xmm0
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x220], eax
movups xmmword [ebp - 0x234], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006042
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.10011cf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
mov edi, dword [ebp - 0x224]
mov edx, edi
cmovae ecx, dword [ebp - 0x234]
push 1
push ecx
push edi
call fcn.1000e550
mov ecx, eax
mov dword [ebp - 0x250], 0
add esp, 0xc
mov dword [ebp - 0x24c], 0
cmp edi, ecx
lea eax, [ebp - 0x234]
xorps xmm0, xmm0
cmovb ecx, edi
cmp dword [ebp - 0x220], 8
push ecx
cmovae eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x260]
push eax
movups xmmword [ebp - 0x260], xmm0
call fcn.10011cf0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x234]
call fcn.1000b210
mov ecx, dword [ebp - 0x24c]
cmp ecx, 8
jb 0x10006128
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000611e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006355
push ecx
push edx
call fcn.100159fe
add esp, 8
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
mov dword [ebp - 0x248], eax
call fcn.10011a50
mov ecx, eax
test ecx, ecx
je 0x1000634b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, dword [ebp - 0x244]
add eax, 0x10
mov dword [edi], eax
mov edx, dword [ebp - 0x248]
mov byte [ebp - 4], 3
test edx, edx
je 0x100061b5
test edx, 0xffff0000
jne 0x10006192
movzx eax, dx
mov ecx, edi
push eax
call fcn.1000da30
jmp 0x100061c0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x248], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100061a0
sub ecx, dword [ebp - 0x248]
sar ecx, 1
jmp 0x100061b7
xor ecx, ecx
push ecx
push edx
mov ecx, edi
call fcn.1000dcb0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
jb 0x10006204
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100061fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006355
push ecx
push edx
call fcn.100159fe
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
add esi, 0xfffffff0
mov dword [ebp - 0x220], 7
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10006324
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10006324
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.10011a50
mov ecx, eax
test ecx, ecx
je 0x1000635a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov eax, 0x1004ed3c
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x1000628d
movzx eax, ax
mov ecx, edi
push eax
call fcn.1000da30
jmp 0x10006305
push 0
push 0
push 0xffffffffffffffff
push 0x1004ed3c
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edx, [eax - 1]
mov dword [ebp - 0x244], edx
test edx, edx
jle 0x100062fe
mov eax, dword [edi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x100062d0
push edx
mov ecx, edi
call fcn.1000de60
mov edx, dword [ebp - 0x244]
push edx
push dword [edi]
push 0xffffffffffffffff
push 0x1004ed3c
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [edi]
mov ecx, dword [ebp - 0x244]
cmp ecx, dword [eax - 8]
jg 0x10006364
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
jmp 0x10006305
mov ecx, edi
call fcn.1000c9c0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10006324
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100154d9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10011820
push 0x80004005
call fcn.10011820
call fcn.10027683
push 0x80004005
call fcn.10011820
push 0x80070057
call fcn.10011820
int3