Function at 0x10003450
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10009e62
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x100112a8]
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 eax, dword [0x10011254]
mov ecx, 0x10011254
mov dword [ebp - 4], 1
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x280], ebx
mov eax, dword [0x10011254]
mov ecx, 0x10011254
mov byte [ebp - 4], 2
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x284], edi
mov eax, dword [0x10011254]
mov ecx, 0x10011254
mov byte [ebp - 4], 3
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x288], esi
push 0
push 0xd3
mov byte [ebp - 4], 4
call fcn.100044e0
add esp, 8
test eax, eax
je 0x100034fd
push 0xd3
push eax
lea ecx, [ebp - 0x280]
call fcn.10004fd0
mov ebx, dword [ebp - 0x280]
push 0
push 0xd4
call fcn.100044e0
add esp, 8
test eax, eax
je 0x10003527
push 0xd4
push eax
lea ecx, [ebp - 0x284]
call fcn.10004fd0
mov edi, dword [ebp - 0x284]
push 0
push 0xd5
call fcn.100044e0
add esp, 8
test eax, eax
je 0x10003551
push 0xd5
push eax
lea ecx, [ebp - 0x288]
call fcn.10004fd0
mov esi, dword [ebp - 0x288]
push 0
call dword [sym.imp.MSVCR110.dll__time64]
add esp, 4
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0
push str.SOFTWARE_
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 5
call fcn.10002980
mov eax, dword [eax]
mov byte [ebp - 4], 6
test eax, eax
je 0x100035a2
mov eax, dword [eax]
jmp 0x100035a4
xor eax, eax
lea ecx, [ebp - 0x284]
push ecx
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.10003370
push 0x1000b3c8
push eax
lea eax, [ebp - 0x28c]
push eax
mov byte [ebp - 4], 7
call fcn.10003290
lea ecx, [ebp - 0x280]
push ecx
push eax
lea eax, [ebp - 0x294]
push eax
mov byte [ebp - 4], 8
call fcn.100031d0
add esp, 0x24
lea ecx, [ebp - 0x2a0]
push 0x20019
push dword [eax]
push SysReAllocString
call fcn.100050d0
mov edx, dword [ebp - 0x294]
test eax, eax
sete byte [ebp - 0x271]
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10003629
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28c]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000364d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x290]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10003671
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x270]
mov byte [ebp - 4], 5
mov dword [ebp - 0x27c], eax
test eax, eax
je 0x100036dc
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100036dc
mov eax, dword [ebp - 0x27c]
test eax, eax
je 0x100036dc
mov ecx, dword [eax]
test ecx, ecx
je 0x100036b6
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x27c]
mov dword [eax], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100036d3
push ecx
call sub.MSVCR110.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp - 0x27c]
add esp, 4
mov dword [eax + 4], 0
push eax
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [ebp - 0x271], 0
je 0x10003718
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x2a4]
push eax
mov eax, dword [ebp - 0x2a0]
push 0
push str.LastUpdate
push eax
mov dword [ebp - 0x270], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x2a0]
test eax, eax
je 0x10003731
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x278]
sub eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x29c], 0
cmp eax, 0x15180
jbe 0x10003a3d
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], 0x22c
mov byte [ebp - 0x278], 0
cmp eax, 0xffffffff
je 0x100037e6
lea ecx, [ebp - 0x26c]
push ecx
push eax
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x100037e6
mov ebx, dword [ebp - 0x278]
mov edi, dword [ebp - 0x270]
mov esi, eax
jmp 0x100037a0
push str.cmd.exe
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
lea eax, [ebp - 0x26c]
movzx ebx, bl
push eax
push edi
cmove ebx, esi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x100037a0
mov esi, dword [ebp - 0x288]
mov edi, dword [ebp - 0x284]
test bl, bl
mov ebx, dword [ebp - 0x280]
jne 0x10003a3d
push 0x40
lea eax, [ebp - 0x2e8]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x1000b63c
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x2ec], 0x44
mov dword [ebp - 0x2c0], 1
mov word [ebp - 0x2bc], ax
call fcn.10002980
mov eax, dword [eax]
mov byte [ebp - 4], 9
test eax, eax
je 0x10003834
mov eax, dword [eax]
jmp 0x10003836
xor eax, eax
lea ecx, [ebp - 0x280]
push ecx
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10003370
push 0x1000b634
push eax
lea eax, [ebp - 0x294]
push eax
mov byte [ebp - 4], 0xa
call fcn.10003290
lea ecx, [ebp - 0x284]
push ecx
push eax
lea eax, [ebp - 0x28c]
push eax
mov byte [ebp - 4], 0xb
call fcn.100031d0
push 0x1000b634
push eax
lea eax, [ebp - 0x290]
push eax
mov byte [ebp - 4], 0xc
call fcn.10003290
lea ecx, [ebp - 0x288]
push ecx
push eax
lea eax, [ebp - 0x270]
push eax
mov byte [ebp - 4], 0xd
call fcn.100031d0
push 0x1000b630
push eax
lea eax, [ebp - 0x278]
push eax
mov byte [ebp - 4], 0xe
call fcn.10003290
add esp, 0x48
push dword [eax]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
call fcn.10002280
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x10
call fcn.10001670
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x100038ea
mov eax, dword [eax]
lea ecx, [ebp - 0x2fc]
push ecx
lea ecx, [ebp - 0x2ec]
push ecx
push 0
push 0
push 0x8000020
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x14], 8
jb 0x10003921
push dword [ebp - 0x28]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x10003946
push dword [ebp - 0x40]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebp - 0x278]
xor eax, eax
add edx, 0xfffffff0
mov word [ebp - 0x40], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0xe
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000397e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xd
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100039a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x290]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xc
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100039c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100039ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x294]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xa
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10003a0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10003a32
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2a4]
call fcn.10002fe0
mov eax, dword [ebp - 0x2a0]
test eax, eax
je 0x10003a4e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10003a6e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10003a8b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [ebx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x10003aa6
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0x1c], 8
jb 0x10003ab7
push dword [ebp + 8]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x10003adc
push dword [ebp + 0x20]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
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.10008e20
mov esp, ebp
pop ebp
ret 0x30