Function at 0x44328c
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended
Delete registry value
Query or enumerate registry value
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
call edi
test esi, esi
jne 0x4432d3
push 0x41dfa0
push 2
pop ebx
push ebx
call fcn.004400fc
push ebx
call edi
xor eax, eax
jmp 0x4436f2
push 0x41dfcc
push esi
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x44331a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x44331a
push 0x41dfec
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x44331a
push 0x41e004
push 4
call fcn.004400fc
xor eax, eax
push eax
call edi
xor eax, eax
inc eax
jmp 0x4436f2
test ebx, ebx
je 0x44333c
push ebx
call fcn.00440bc3
test eax, eax
jne 0x44333c
push ebx
push 0x41e040
push 2
pop ebx
mov esi, ebx
call fcn.00440126
pop ecx
pop ecx
jmp 0x4432c9
mov ecx, esi
push 2
lea edx, [ecx + 2]
pop ebx
mov ax, word [ecx]
add ecx, ebx
cmp ax, word [esp + 0x2c]
jne 0x443344
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 5]
xor ecx, ecx
mov dword [esp + 0x28], eax
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
pop ecx
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x44337d
push 8
jmp 0x4432ca
push dword [esp + 0x28]
mov edi, esi
call fcn.004403e6
xor ecx, ecx
xor eax, eax
mov edx, 0xffff
cmp word [ebp + 0x14], dx
push ecx
setne al
mov dword [esp + 0x44], 0x44
mov dword [esp + 0x48], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x70], eax
xor eax, eax
mov word [esp + 0x76], ax
mov ax, word [ebp + 0x14]
sub ax, dx
movzx eax, ax
neg eax
sbb eax, eax
and eax, dword [ebp + 0x14]
mov dword [esp + 0x58], ecx
mov word [esp + 0x74], ax
lea eax, [esp + 0x14]
push eax
push ecx
push 3
push ecx
push ecx
push ecx
push 0x4016a0
push 0x80000001
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x443455
push 0x41e088
push dword [esp + 0x14]
call edi
push 0x41e0c4
push dword [esp + 0x14]
call edi
push 0x41e0f8
push dword [esp + 0x14]
call edi
push esi
push 0x41e12c
push 4
pop esi
call fcn.00440126
mov esi, dword [esp + 0x34]
pop ecx
pop ecx
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4434d9
push esi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4434a0
push 0x57
pop eax
test eax, eax
jle 0x4434ac
and eax, 0xffff
or eax, 0x80070000
push eax
push dword [ebp + 0xc]
mov esi, ebx
push 0x41e148
call fcn.00440126
add esp, 0xc
cmp dword [esp + 0x10], 0
je 0x4432cc
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4432cc
cmp dword [esp + 0x34], 0
je 0x4434f2
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [esp + 0x34], eax
jmp 0x4434f4
xor eax, eax
cmp dword [ebp + 0x10], 0
je 0x443698
mov ebx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push 0xfa
jmp 0x44361c
test ebx, ebx
jne 0x44359c
cmp dword [esp + 0x10], ebx
jne 0x443536
inc ebx
mov dword [esp + 0x14], ebx
jmp 0x443601
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
xor eax, eax
push eax
push 0x41e088
push dword [esp + 0x24]
mov dword [esp + 0x34], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44359c
mov eax, dword [0x468600]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], 1
test eax, eax
je 0x443598
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x443598
push ebx
xor eax, eax
push eax
push 0x5d9
push dword [0x468600]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x10], 0
je 0x443601
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
xor eax, eax
push eax
push 0x41e0c4
push dword [esp + 0x24]
mov dword [esp + 0x34], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x443601
mov eax, dword [0x468600]
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x4435fd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4435fd
push ebx
xor eax, eax
push eax
push 0x5d8
push dword [0x468600]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, 0x2932e0
cmp eax, ecx
ja 0x443637
mov ecx, 0xfa
add eax, ecx
mov dword [esp + 0x28], eax
push ecx
xor eax, eax
push eax
lea eax, [esp + 0x38]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
je 0x443522
jmp 0x443674
push ecx
push dword [ebp + 0xc]
xor esi, esi
push 0x41e178
inc esi
mov dword [esp + 0x24], 1
call fcn.00440126
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x443664
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x18], 0
jne 0x443698
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x443698
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
cmp dword [esp + 0x34], 0
pop ecx
je 0x4436b7
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [esp + 0x30], eax
cmp dword [esp + 0x10], 0
je 0x4436e9
push 0x41e088
push dword [esp + 0x14]
call edi
push 0x41e0c4
push dword [esp + 0x14]
call edi
push 0x41e0f8
push dword [esp + 0x14]
call edi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 0x18], eax
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10