Function at 0x1000b370
Capabilities:
Persist via run registry key
Print debug messages
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003110c
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x10046070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], eax
mov word [ebp - 0x250], ax
lea edx, [ebp - 0x238]
mov byte [ebp - 4], 1
call fcn.1000b9e0
lea edx, [ebp - 0x250]
mov ecx, esi
call fcn.1000b9e0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x290]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x220], 1
call esi
test eax, eax
jne 0x1000b5a0
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100159a0
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x21c]
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x220]
push ecx
push 0
push eax
push dword [ebp - 0x290]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmovae eax, dword [ebp - 0x250]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x294], esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 8
jb 0x1000b4cd
mov eax, dword [edx]
jmp 0x1000b4cf
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x218], cx
je 0x1000b4f5
lea ecx, [ebp - 0x218]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000b4e6
sub ecx, esi
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edx
push eax
call fcn.1000d920
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x1000b525
mov eax, dword [ecx]
jmp 0x1000b527
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x250]
push edx
push eax
call fcn.1000da20
mov byte [ebp - 4], 1
call fcn.1000b170
add esp, 0x30
test eax, eax
jne 0x1000b58e
cmp dword [ebp - 0x23c], 8
lea edx, [ebp - 0x250]
mov eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x238]
cmovae edx, dword [ebp - 0x250]
cmp dword [ebp - 0x224], 8
cmovae ecx, dword [ebp - 0x238]
add eax, eax
push eax
push edx
push 1
push 0
push ecx
push dword [ebp - 0x290]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x290]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor eax, eax
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
push str.GetNativeSystemInfo
push str.kernel32.dll
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000b601
lea ecx, [ebp - 0x28c]
push ecx
call eax
mov ax, word [ebp - 0x28c]
cmp ax, 9
je 0x1000b5f8
cmp ax, 6
jne 0x1000b601
push 0x48
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerStartupApprovedRun32
jmp 0x1000b608
push 0x46
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerStartupApprovedRun
lea ecx, [ebp - 0x268]
call fcn.1000d920
cmp dword [ebp - 0x254], 8
lea ecx, [ebp - 0x290]
push ecx
push 0xf013f
lea eax, [ebp - 0x268]
cmovae eax, dword [ebp - 0x268]
push 0
push eax
push 0x80000002
call esi
test eax, eax
jne 0x1000b6f2
push 0x104
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.100159a0
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x21c]
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x220]
push ecx
push 0
push eax
push dword [ebp - 0x290]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000b6e6
cmp byte [ebp - 0x118], 2
je 0x1000b6e6
push dword [ebp - 0x21c]
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x118]
push ecx
push dword [ebp - 0x220]
lea eax, [ebp - 0x238]
mov byte [ebp - 0x118], 2
cmovae eax, dword [ebp - 0x238]
push 0
push eax
push dword [ebp - 0x290]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x290]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x254]
cmp eax, 8
jb 0x1000b710
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.1000e4a0
xor eax, eax
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x258], 0
cmp eax, 8
jb 0x1000b74b
inc eax
lea ecx, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
call fcn.1000e4a0
xor eax, eax
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x240], 0
cmp eax, 8
jb 0x1000b786
inc eax
lea ecx, [ebp - 0x238]
push eax
push dword [ebp - 0x238]
call fcn.1000e4a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001266f
mov esp, ebp
pop ebp
ret