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

Disassembly:
push 0xffffffffffffffff
push 0x10360f8f
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x3b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
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 0x1031aed1
mov eax, dword [edi]
jmp 0x1031aed3
mov eax, edi
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp + 0x14], 8
mov dword [ebp + 0x10], ecx
jb 0x1031aee6
mov eax, dword [ebp]
jmp 0x1031aee8
mov eax, ebp
xor ecx, ecx
mov word [eax], cx
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], ecx
jb 0x1031aefa
mov eax, dword [ebx]
jmp 0x1031aefc
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.100cdd90
mov dword [esp + 0x3dc], 0
mov eax, dword [0x105e87a0]
test al, 1
jne 0x1031af74
or eax, 1
mov dword [0x105e87a0], eax
mov byte [esp + 0x3dc], 1
mov dword [0x105e879c], 0
call fcn.1016c620
push 0x10366040
call fcn.1033d620
add esp, 4
mov byte [esp + 0x3dc], 0
lea eax, [esp + 0x1c]
mov ecx, 0x105e879c
push eax
call fcn.1016c7f0
mov esi, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x3dc], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x1031afa8
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 0x1031b33a
push 0x1055dd00
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 0x1055dd24
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 0x1031b33a
cmp dword [esp + 0x18], 0
je 0x1031b33a
test eax, eax
je 0x1031b33a
push str.SOFTWARE_
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3c], 0
call fcn.100cd5c0
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.100cd700
push 0x10368480
lea ecx, [esp + 0x4c]
call fcn.100cd700
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x4c]
call fcn.100cd700
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 0x80000002
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 0x1031b326
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 0x1031b316
xor eax, eax
mov word [esp + 0x3ca], ax
cmp word [esp + 0x1c4], ax
je 0x1031b2c5
lea edx, [esp + 0x90]
lea ecx, [esp + 0x1c4]
call fcn.1014d530
test al, al
je 0x1031b26c
cmp dword [esp + 0x40], 4
jne 0x1031b2c5
mov edx, dword [esp + 0xbc]
lea ecx, [esp + 0x1c]
mov word [esp + 0x1be], 0
call fcn.1014daa0
mov byte [esp + 0x3dc], 3
mov ecx, ebp
push eax
call fcn.100cd650
mov byte [esp + 0x3dc], 2
lea ecx, [esp + 0x1c]
call fcn.100cd690
jmp 0x1031b2c5
lea edx, [esp + 0x80]
lea ecx, [esp + 0x1c4]
call fcn.1014d530
test al, al
je 0x1031b28e
cmp dword [esp + 0x40], 1
jne 0x1031b2c5
mov ecx, ebx
jmp 0x1031b2ae
lea edx, [esp + 0xa4]
lea ecx, [esp + 0x1c4]
call fcn.1014d530
test al, al
je 0x1031b2c5
cmp dword [esp + 0x40], 1
jne 0x1031b2c5
mov ecx, edi
lea eax, [esp + 0xbc]
mov word [esp + 0x1be], 0
push eax
call fcn.100cd6c0
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 0x1031b1f5
push dword [esp + 0x38]
call dword [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3dc], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.100cd690
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.1033d458
add esp, 0x3cc
ret 0xc