Function at 0x1005b280
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1008e98f
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x3b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x3d4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3ec]
mov ebp, dword [esp + 0x3e4]
mov ebx, dword [esp + 0x3e8]
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x1005b2e1
mov eax, dword [edi]
jmp 0x1005b2e3
mov eax, edi
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp + 0x14], 8
mov dword [ebp + 0x10], ecx
jb 0x1005b2f6
mov eax, dword [ebp]
jmp 0x1005b2f8
mov eax, ebp
xor ecx, ecx
mov word [eax], cx
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], ecx
jb 0x1005b30a
mov eax, dword [ebx]
jmp 0x1005b30c
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
push 0xc
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x20]
push str.Advapi32.dll
mov dword [esp + 0x38], 7
mov word [esp + 0x24], ax
call fcn.10003000
mov dword [esp + 0x3dc], 0
mov eax, dword [0x100b084c]
test al, 1
jne 0x1005b384
or eax, 1
mov dword [0x100b084c], eax
mov byte [esp + 0x3dc], 1
mov dword [0x100b0848], 0
call fcn.1001b590
push 0x10092b30
call fcn.10081c88
add esp, 4
mov byte [esp + 0x3dc], 0
lea eax, [esp + 0x1c]
mov ecx, 0x100b0848
push eax
call fcn.1001b760
mov esi, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x3dc], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x1005b3b8
push dword [esp + 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
test esi, esi
je 0x1005b74a
push str.RegOpenKeyExW
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
push str.RegEnumValueW
push dword [esp + 0x40]
mov dword [esp + 0x4c], eax
call esi
push str.RegCloseKey
push dword [esp + 0x40]
mov dword [esp + 0x20], eax
call esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x34], eax
test esi, esi
je 0x1005b74a
cmp dword [esp + 0x18], 0
je 0x1005b74a
test eax, eax
je 0x1005b74a
push str.SOFTWARE_
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3c], 0
call fcn.10002f90
mov dword [esp + 0x3dc], 2
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], 0x650054
mov dword [esp + 0x78], 0x63006e
mov dword [esp + 0x7c], 0x6e0065
mov dword [esp + 0x80], 0x74
mov dword [esp + 0x64], 0x510051
mov dword [esp + 0x68], 0x430050
mov dword [esp + 0x6c], 0x67004d
mov dword [esp + 0x70], 0x72
call fcn.100066d0
push 0x10093adc
lea ecx, [esp + 0x4c]
call fcn.100066d0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x4c]
call fcn.100066d0
xor eax, eax
mov dword [esp + 0x90], 0x750053
cmp dword [esp + 0x5c], 8
lea ecx, [esp + 0x38]
push ecx
mov word [esp + 0xa4], ax
lea eax, [esp + 0x4c]
cmovae eax, dword [esp + 0x4c]
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0xa8], 0x700070
mov dword [esp + 0xac], 0x79006c
mov dword [esp + 0xb0], 0x440049
mov dword [esp + 0x94], 0x650056
mov dword [esp + 0x98], 0x730072
mov dword [esp + 0x9c], 0x6f0069
mov dword [esp + 0xa0], 0x6e
mov dword [esp + 0xb8], 0x6e0049
mov dword [esp + 0xbc], 0x740073
mov dword [esp + 0xc0], 0x6c0061
mov dword [esp + 0xc4], 0x54006c
mov dword [esp + 0xc8], 0x6d0069
mov dword [esp + 0xcc], 0x65
call esi
test eax, eax
jne 0x1005b736
xor esi, esi
mov word [esp + 0x1c4], ax
push 0x206
lea eax, [esp + 0x1ca]
mov dword [esp + 0x44], esi
push esi
push eax
mov dword [esp + 0x48], 0x103
mov dword [esp + 0x50], 0x103
call sub.MSVCR120.dll_memset
add esp, 0xc
mov byte [esp + 0xbc], 0
lea eax, [esp + 0xbd]
push 0x103
push esi
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x48]
push eax
push esi
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x1d8]
push eax
push esi
push dword [esp + 0x54]
call dword [esp + 0x38]
test eax, eax
jne 0x1005b726
xor eax, eax
mov word [esp + 0x3ca], ax
cmp word [esp + 0x1c4], ax
je 0x1005b6d5
lea edx, [esp + 0x90]
lea ecx, [esp + 0x1c4]
call fcn.1000a200
test al, al
je 0x1005b67c
cmp dword [esp + 0x40], 4
jne 0x1005b6d5
mov edx, dword [esp + 0xbc]
lea ecx, [esp + 0x1c]
mov word [esp + 0x1be], 0
call fcn.1000a770
mov byte [esp + 0x3dc], 3
mov ecx, ebp
push eax
call fcn.10004990
mov byte [esp + 0x3dc], 2
lea ecx, [esp + 0x1c]
call fcn.10002a80
jmp 0x1005b6d5
lea edx, [esp + 0x80]
lea ecx, [esp + 0x1c4]
call fcn.1000a200
test al, al
je 0x1005b69e
cmp dword [esp + 0x40], 1
jne 0x1005b6d5
mov ecx, ebx
jmp 0x1005b6be
lea edx, [esp + 0xa4]
lea ecx, [esp + 0x1c4]
call fcn.1000a200
test al, al
je 0x1005b6d5
cmp dword [esp + 0x40], 1
jne 0x1005b6d5
mov ecx, edi
lea eax, [esp + 0xbc]
mov word [esp + 0x1be], 0
push eax
call fcn.100049d0
xor eax, eax
mov dword [esp + 0x3c], 0x103
mov word [esp + 0x1c4], ax
inc esi
mov dword [esp + 0x40], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x48], 0x103
push eax
lea eax, [esp + 0x48]
push eax
push 0
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x1d8]
push eax
push esi
push dword [esp + 0x54]
call dword [esp + 0x38]
test eax, eax
je 0x1005b605
push dword [esp + 0x38]
call dword [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3dc], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.10002a80
mov ecx, dword [esp + 0x3d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3b8]
xor ecx, esp
call fcn.10081b94
add esp, 0x3cc
ret 0xc