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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c4
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call fcn.5e008987
push eax
lea eax, [ebp - 0x5b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x18]
push eax
push 0xf003f
lea eax, [ebp - 0x5b4]
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5e007473
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringA]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
mov edi, 0x5e01bfd8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0x12c
push eax
push ebx
push ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
lea eax, [ebp - 0x1a4]
push eax
push dword [ebp - 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x5e0073d6
cmp eax, ebx
jne 0x5e007453
push 4
push 0x5e0018e0
lea eax, [ebp - 0x1a4]
push 4
push eax
push ebx
push 0x800
call esi
cmp eax, 2
jne 0x5e0073bd
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x5b4]
push eax
lea eax, [ebp - 0x7bc]
push 0x5e001658
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
push 0xf003f
lea eax, [ebp - 0x7bc]
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x5e007453
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x208
push eax
lea eax, [ebp - 0x9c4]
push eax
push ebx
push ebx
push 0x5e0018d0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5e0073b4
lea eax, [ebp - 0x9c4]
push 0xffffffffffffffff
push eax
push 0xffffffffffffffff
push edi
push 1
push 0x800
call esi
cmp eax, 2
jne 0x5e0073b4
cmp dword [ebp - 0x14], ebx
jne 0x5e0073c5
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
lea eax, [ebp - 0x3ac]
push eax
push ebx
push ebx
push 0x5e0018c0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0x208
mov byte [ebp - 0x3ac], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x5e007453
cmp byte [ebp - 0x3ac], bl
je 0x5e007453
lea eax, [ebp - 0x3ac]
mov dword [ebp - 4], eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 8]
jmp 0x5e007283
push edi
push 0x5e001338
push dword [0x5e02042c]
jmp 0x5e00745f
cmp dword [ebp - 4], ebx
je 0x5e007453
push 0x5e0018bc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x11
xor eax, eax
pop ecx
lea edi, [ebp - 0x78]
push 1
rep stosd dword es:[edi], eax
pop esi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x78], 0x44
push dword [ebp - 4]
mov word [ebp - 0x48], si
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x5e007431
push dword [0x5e01f90c]
push esi
push 0x30
push esi
call fcn.5e0047be
add esp, 0x10
jmp 0x5e007473
push dword [0x5e01edcc]
push 0x5e001460
push esi
push ebx
push 2
call fcn.5e0047be
add esp, 0x14
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5e007473
push edi
push 0x5e001338
push dword [0x5e01fb58]
call fcn.5e0031db
push eax
push 1
push 0x30
push 1
call fcn.5e0047be
add esp, 0x1c
pop edi
pop esi
pop ebx
leave
ret