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

Disassembly:
push 0x3fc
push 0x403830
call fcn.0041b328
mov eax, dword [0x42c300]
mov dword [ebp - 0x1c], eax
mov esi, ecx
mov dword [ebp - 0x354], esi
xor ebx, ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0xc], ebx
je 0x4187bf
mov eax, dword [esi]
cmp eax, ebx
je 0x4187bf
cmp eax, 0xffffffff
je 0x4187bf
mov byte [ebp - 0x120], bl
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x11f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov word [ebp - 0x328], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x326]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.00418403
test eax, eax
lea eax, [ebp - 0x32c]
push eax
push 0x20019
push ebx
je 0x418557
push 0x403808
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x418546
mov dword [ebp - 0x340], 0x104
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x358]
push eax
push ebx
push 0x4037f8
push dword [ebp - 0x32c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x418546
cmp dword [ebp - 0x358], 1
jne 0x418546
lea edi, [ebp - 0x120]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x418509
mov esi, 0x4037e4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov byte [ebp - 0x1d], bl
push 0x104
lea eax, [ebp - 0x328]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x120]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x384], eax
cmp eax, ebx
jne 0x4185be
push dword [ebp - 0x32c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4187bf
push 0x4037a0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418546
mov dword [ebp - 0x344], 0x104
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x350]
push eax
push ebx
push 0x40377c
push dword [ebp - 0x32c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418546
cmp dword [ebp - 0x350], 1
jne 0x418546
push 0x403758
lea eax, [ebp - 0x328]
push eax
call fcn.0041ba83
pop ecx
pop ecx
jmp 0x4185c4
mov esi, dword [ebp - 0x354]
push dword [ebp - 0x32c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x43c
call fcn.0041b480
mov dword [ebp - 0x18], esp
mov eax, esp
mov dword [ebp - 0x330], eax
push 0x18
pop eax
call fcn.0041b480
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x374], edi
call fcn.00418403
test eax, eax
je 0x41863a
push 0xc
pop eax
call fcn.0041b480
mov dword [ebp - 0x18], esp
mov eax, esp
mov dword [ebp - 0x34c], eax
push dword [esi]
push 0x403750
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 4
push edi
push 0xffffffffffffffff
push dword [ebp - 0x34c]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x41864b
push dword [esi]
push 0x40214c
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
push dword [ebp - 0x330]
call fcn.0041baad
push 0x403740
push dword [ebp - 0x330]
call fcn.0041ba83
push edi
push dword [ebp - 0x330]
call fcn.0041ba83
push 0x403730
push dword [ebp - 0x330]
call fcn.0041ba83
push dword [esi + 0xc]
push dword [ebp - 0x330]
call fcn.0041ba83
add esp, 0x28
call fcn.00418403
push 0x10
pop ecx
test eax, eax
je 0x418773
mov dword [ebp - 0x3c8], ebx
xor eax, eax
lea edi, [ebp - 0x3c4]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x3c8], 0x44
lea eax, [ebp - 0x328]
push eax
call fcn.0041c11d
pop ecx
lea edi, [eax + eax + 2]
mov dword [ebp - 0x370], edi
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.0041b480
mov dword [ebp - 0x18], esp
mov eax, esp
mov dword [ebp - 0x33c], eax
push ebx
push ebx
dec edi
push edi
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x328]
push eax
push ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call edi
push dword [ebp - 0x330]
call fcn.0041c11d
pop ecx
lea esi, [eax + eax + 2]
mov dword [ebp - 0x378], esi
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.0041b480
mov dword [ebp - 0x18], esp
mov eax, esp
mov dword [ebp - 0x35c], eax
push ebx
push ebx
dec esi
push esi
push eax
push 0xffffffffffffffff
push dword [ebp - 0x330]
push ebx
push ebx
call edi
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x3c8]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [ebp - 0x35c]
push dword [ebp - 0x33c]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x4187b5
mov dword [ebp - 0x40c], ebx
xor eax, eax
lea edi, [ebp - 0x408]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x40c], 0x44
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x40c]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [ebp - 0x330]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x338], eax
cmp eax, ebx
jne 0x4187cd
or dword [ebp - 4], 0xffffffff
mov eax, 0x80004005
jmp 0x41887f
push 0x7530
push dword [ebp - 0x36c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x37c], eax
cmp eax, ebx
jne 0x418819
lea eax, [ebp - 0x348]
push eax
push dword [ebp - 0x36c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 0x380], eax
cmp eax, ebx
je 0x41880d
cmp dword [ebp - 0x348], ebx
je 0x418838
mov dword [ebp - 0x334], 0x80004005
jmp 0x418838
cmp eax, 0x102
jne 0x418838
mov dword [ebp - 0x334], 0x80004005
push 1
push dword [ebp - 0x36c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x36c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x368]
call esi
or dword [ebp - 4], 0xffffffff
jmp 0x41886b
cmp dword [ebp - 0x334], ebx
jl 0x418879
mov dword [ebp - 0x334], ebx
mov eax, dword [ebp - 0x334]
lea esp, [ebp - 0x418]
mov ecx, dword [ebp - 0x1c]
call fcn.0041b4ee
call fcn.0041b363
ret