Function at 0x100117cc
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.1007f474
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 + 0x12a]
mov dword [ebp - 0x60], 0x44
test al, 0x20
je 0x100118e7
test al, 8
jne 0x10011859
push dword [esi + 0x60]
lea eax, [ebp - 0x400]
push eax
call fcn.100907f2
add esp, 8
jmp 0x10011879
lea edx, [ebp - 0x400]
mov eax, dword [esi + 0x60]
push eax
push eax
push str._s__DEL__s
push edx
call fcn.100907f2
add esp, 0x10
and byte [esi + 0x12a], 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 0x100118a4
xor ebx, ebx
jmp 0x100118b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xb8], eax
mov ebx, 0x1c
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x100118d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xb8], eax
mov ebx, 0x1c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [esi + 0x12a]
jmp 0x100118e9
xor ebx, ebx
test al, 0x10
jne 0x100118fa
mov edx, eax
and edx, 8
shr edx, 3
jmp 0x10011a37
push str.FOR_DEFAULT_PRINT_DEVICE
call fcn.100908fc
pop ecx
mov edi, eax
mov dword [ebp - 0xf4], 0x94
lea edx, [ebp - 0xf4]
mov eax, 0x100b66b4
test edi, edi
push edx
jne 0x10011923
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xe4]
cmp eax, 1
jne 0x1001194b
lea eax, [ebp - 0x400]
push edi
push dword [esi + 0x60]
push str.Command.com__C_COPY___s___s
push eax
call fcn.100907f2
jmp 0x10011960
lea eax, [ebp - 0x400]
push edi
push dword [esi + 0x60]
push str.Cmd.exe__C_COPY___s___s
push eax
call fcn.100907f2
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 0x100119af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xb8], eax
movzx eax, byte [esi + 0x12a]
mov ebx, 0x1c
mov edx, eax
and edx, 8
shr edx, 3
jmp 0x10011a37
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100119cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xb8], eax
mov ebx, 0x1c
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x100119ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xb8], eax
mov ebx, 0x1c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10011a0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xb8], eax
mov ebx, 0x1c
movzx eax, byte [esi + 0x12a]
test al, 8
je 0x10011a5d
mov edx, dword [esi + 0xb8]
test edx, edx
je 0x10011a3b
and eax, 0xfffffff7
mov byte [esi + 0x12a], al
mov ebx, 5
mov edx, eax
and edx, 8
shr edx, 3
test edx, edx
je 0x10011a5d
test al, 4
jne 0x10011a5d
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10011a5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xb8], 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