Function at 0x443834
Capabilities:
Create process on windows
Delete file
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
mov esi, eax
lea edx, [ebp - 0x400]
push 0x30c
push 0
push edx
call fcn.004a3ab8
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
movzx eax, byte [esi + 0x15a]
mov dword [ebp - 0x60], 0x44
test al, 0x20
je 0x44394f
test al, 8
jne 0x4438c1
push dword [esi + 0x60]
lea eax, [ebp - 0x400]
push eax
call fcn.0048ad06
add esp, 8
jmp 0x4438e1
lea edx, [ebp - 0x400]
mov eax, dword [esi + 0x60]
push eax
push eax
push str._s__DEL__s
push edx
call fcn.0048ad06
add esp, 0x10
and byte [esi + 0x15a], 0xf7
lea ecx, [ebp - 0x400]
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x1c]
push eax
xor ebx, ebx
push edx
push ebx
push ebx
push 0x4000000
push 1
push ebx
push ebx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x44390c
xor ebx, ebx
jmp 0x44391d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xd8], eax
mov ebx, 0x1c
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x44393d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xd8], eax
mov ebx, 0x1c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [esi + 0x15a]
jmp 0x443951
xor ebx, ebx
test al, 0x10
jne 0x443962
mov edx, eax
and edx, 8
shr edx, 3
jmp 0x443a9f
push str.FOR_DEFAULT_PRINT_DEVICE
call fcn.0048a984
pop ecx
mov edi, eax
mov dword [ebp - 0xf4], 0x94
lea edx, [ebp - 0xf4]
mov eax, 0x4ba834
test edi, edi
push edx
jne 0x44398b
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xe4]
cmp eax, 1
jne 0x4439b3
lea eax, [ebp - 0x400]
push edi
push dword [esi + 0x60]
push str.Command.com__C_COPY___s___s
push eax
call fcn.0048ad06
jmp 0x4439c8
lea eax, [ebp - 0x400]
push edi
push dword [esi + 0x60]
push str.Cmd.exe__C_COPY___s___s
push eax
call fcn.0048ad06
add esp, 0x10
lea ecx, [ebp - 0x400]
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x1c]
push eax
xor edi, edi
push edx
push edi
push edi
push 0x4000000
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x443a17
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xd8], eax
movzx eax, byte [esi + 0x15a]
mov ebx, 0x1c
mov edx, eax
and edx, 8
shr edx, 3
jmp 0x443a9f
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x443a35
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xd8], eax
mov ebx, 0x1c
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x443a56
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xd8], eax
mov ebx, 0x1c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x443a74
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xd8], eax
mov ebx, 0x1c
movzx eax, byte [esi + 0x15a]
test al, 8
je 0x443ac5
mov edx, dword [esi + 0xd8]
test edx, edx
je 0x443aa3
and eax, 0xfffffff7
mov byte [esi + 0x15a], al
mov ebx, 5
mov edx, eax
and edx, 8
shr edx, 3
test edx, edx
je 0x443ac5
test al, 4
jne 0x443ac5
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x443ac5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xd8], eax
mov ebx, 0x1c
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov eax, ebx
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret