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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
push ebx
push esi
push edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebp - 8], 0x104
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x160]
push 0x2e
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test eax, eax
jne 0x100056bc
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100056e2
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea edx, [ebp - 8]
lea eax, [ebp - 0x160]
push edx
push eax
push 0
push ecx
call esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebx
mov ecx, 0x7d
xor eax, eax
lea edi, [ebp - 0x354]
rep stosd dword es:[edi], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x160]
lea ecx, [ebp - 0x354]
push eax
push 0x1000146c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 4]
lea eax, [ebp - 0x354]
push edx
push 0xf003f
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000578b
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x160]
mov dword [ebp - 8], 0x104
rep stosd dword es:[edi], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [ebp - 8]
lea edx, [ebp - 0x160]
push ecx
push edx
push eax
mov eax, dword [ebp - 4]
push eax
call esi
mov ecx, dword [ebp - 4]
push ecx
call ebx
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [ebp - 0x160]
push 0x10001468
push edx
call esi
add esp, 8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test eax, eax
jne 0x10005812
lea eax, [ebp - 0x160]
push 0x10001464
push eax
call esi
add esp, 8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test eax, eax
jne 0x10005857
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x160]
push 0x10001460
push ecx
call esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x160]
push edx
push eax
call esi
jmp 0x10005862
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x58]
mov dword [ebp - 0x5c], 0
rep stosd dword es:[edi], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebp - 0x5c], 0x44
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100058b7
mov dword [ebp - 0x54], 0x10001450
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x5c]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x160]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8