Function at 0x1005bd10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100af9b1
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x100db00c]
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]
xor eax, eax
mov dword [ebp - 0x84], eax
mov ebx, 0x63
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], 0x4f0053
mov dword [ebp - 0x74], 0x540046
mov dword [ebp - 0x70], 0x410057
mov dword [ebp - 0x6c], 0x450052
mov dword [ebp - 0x68], 0x4d005c
mov dword [ebp - 0x64], 0x630061
mov dword [ebp - 0x60], 0x6f0072
mov dword [ebp - 0x5c], 0x65006d
mov dword [ebp - 0x58], 0x690064
mov dword [ebp - 0x54], 0x5c0061
mov dword [ebp - 0x50], 0x6c0046
mov dword [ebp - 0x4c], 0x730061
mov dword [ebp - 0x48], 0x500068
mov dword [ebp - 0x44], 0x61006c
mov dword [ebp - 0x40], 0x650079
mov dword [ebp - 0x3c], 0x410072
mov dword [ebp - 0x38], 0x740063
mov dword [ebp - 0x34], 0x760069
mov dword [ebp - 0x30], 0x580065
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x7c]
push 4
call fcn.1002c290
lea ecx, [ebp - 0x7c]
call fcn.100879d0
mov byte [ebp - 4], 1
xor eax, eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005be30
sub ecx, edx
lea eax, [ebp - 0x78]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100039d0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x7c]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xb0], 0
mov eax, dword [eax + 4]
test eax, eax
jne 0x1005be6e
mov bl, 1
jmp 0x1005bead
push str.RegOpenKeyExW
push eax
call esi
mov edx, eax
test edx, edx
jne 0x1005be80
mov bl, 1
jmp 0x1005bead
mov eax, dword [ebp - 0x7c]
lea ebx, [ebp - 0xb0]
push ebx
mov ecx, dword [eax]
lea eax, [ebp - 0x28]
or ecx, 0x20019
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x80000002
call edx
test eax, eax
setne bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10003970
test bl, bl
jne 0x1005bff9
xor eax, eax
mov dword [ebp - 0x28], 0x6c0050
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov word [ebp - 0x14], ax
mov dword [ebp - 0xb8], eax
mov word [ebp - 0xc8], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 0x790061
lea edx, [eax + 2]
mov dword [ebp - 0x20], 0x720065
mov dword [ebp - 0x1c], 0x610050
mov dword [ebp - 0x18], 0x680074
mov dword [ebp - 0xb4], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1005bf13
sub eax, edx
lea ecx, [ebp - 0xc8]
sar eax, 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100039d0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xc8]
push eax
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x7c]
call fcn.10087ed0
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.10003970
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x1005bf90
push str.RegCloseKey
push ecx
call esi
test eax, eax
je 0x1005bf90
mov ecx, dword [ebp - 0xb0]
test ecx, ecx
je 0x1005bf90
push ecx
call eax
mov dword [ebp - 0xb0], 0
test bl, bl
je 0x1005bff9
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0xac]
call fcn.10088380
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
jne 0x1005bfc6
xor bl, bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.10003970
jmp 0x1005bffb
lea eax, [ebp - 0xac]
cmp edi, eax
je 0x1005bfe7
cmp dword [ebp - 0x98], 8
push ecx
cmovae eax, dword [ebp - 0xac]
mov ecx, edi
push eax
call fcn.100039d0
mov bl, 1
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xac]
call fcn.10003970
jmp 0x1005bffb
xor bl, bl
mov byte [ebp - 4], 0
push 8
push dword [ebp - 0x7c]
call fcn.100a272d
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10003970
mov al, bl
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.100a26ec
mov esp, ebp
pop ebp
ret 4