Function at 0x4034e0
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x425396
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x4321e0]
xor eax, esp
mov dword [esp + 0x648], eax
push ebx
push esi
push edi
mov eax, dword [0x4321e0]
xor eax, esp
push eax
lea eax, [esp + 0x65c]
mov dword fs:[0], eax
xor ebx, ebx
push 0x103
lea eax, [esp + 0x55]
push ebx
push eax
mov byte [esp + 0x5c], bl
call fcn.0041a210
add esp, 0xc
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
push 0x104
lea ecx, [esp + 0x54]
push ecx
push ebx
mov dword [esp + 0x670], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40370b
lea eax, [esp + 0x50]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403570
sub eax, edx
push eax
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x3c]
call fcn.00401360
lea eax, [esp + 0x10]
push eax
lea edi, [esp + 0x38]
mov byte [esp + 0x14], 0x5c
call fcn.00401210
cmp eax, 0xffffffff
je 0x4036fd
lea ecx, [eax + 1]
lea esi, [esp + 0x18]
mov edx, edi
call fcn.004010d0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x670], 1
call fcn.00401130
mov edi, 0x10
cmp dword [esp + 0x30], edi
jb 0x4035dd
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004178bc
add esp, 4
push 0x103
lea edx, [esp + 0x159]
push ebx
push edx
mov byte [esp + 0x160], bl
call fcn.0041a210
mov ecx, dword [esp + 0x44]
add esp, 0xc
cmp dword [esp + 0x4c], edi
jae 0x403608
lea ecx, [esp + 0x38]
lea edx, [esp + 0x154]
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x403610
lea eax, [esp + 0x154]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x403622
mov ecx, dword [str.delselt.bat]
mov edx, dword [0x42bf7c]
push ebx
push 0x80
mov dword [eax], ecx
mov ecx, dword [0x42bf80]
push 2
mov dword [eax + 4], edx
mov dl, byte [0x42bf84]
push ebx
mov dword [eax + 8], ecx
push ebx
mov byte [eax + 0xc], dl
push 0x40000000
lea eax, [esp + 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x400
lea ecx, [esp + 0x25c]
push ebx
push ecx
mov esi, eax
call fcn.0041a210
lea edx, [esp + 0x160]
push edx
lea eax, [esp + 0x60]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x270]
push str.:Repeat_r_ndel___s__r_nif_exist___s__goto_Repeat_r_ndel___s_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x278]
add esp, 0x20
mov dword [esp + 0x14], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4036b3
push ebx
lea ecx, [esp + 0x18]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x264]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push ebx
lea eax, [esp + 0x160]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [esp + 0x4c], edi
jb 0x40371f
mov ecx, dword [esp + 0x38]
push ecx
jmp 0x403717
cmp dword [esp + 0x4c], 0x10
jb 0x40371f
mov edx, dword [esp + 0x38]
push edx
jmp 0x403717
cmp dword [esp + 0x4c], 0x10
jb 0x40371f
mov eax, dword [esp + 0x38]
push eax
call fcn.004178bc
add esp, 4
mov ecx, dword [esp + 0x65c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x648]
xor ecx, esp
call fcn.004178c7
add esp, 0x658
ret