Function at 0x401000
Capabilities:
Accept command line arguments
Create process on windows
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2068
call fcn.0040b9c0
mov eax, dword [0x412004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1004]
push edi
push 0x400
push eax
push 0
mov dword [ebp - 0x2064], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub eax, 1
js 0x401054
nop dword [eax]
cmp word [ebp + eax*2 - 0x1004], 0x5c
je 0x40130a
sub eax, 1
jns 0x401040
push 0x800
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.004022f0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x1004]
add esp, 0xc
push eax
lea eax, [ebp - 0x1804]
push eax
call ebx
push 0xa
push 0x66
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x2068], eax
test eax, eax
je 0x4010f1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4010f1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp - 0x2068]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
xor ecx, ecx
shr esi, 1
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00401539
add esi, esi
push esi
push edi
mov edi, eax
push edi
call fcn.00402bb0
add esp, 0x10
xor eax, eax
mov word [esi + edi], ax
mov esi, dword [ebp - 0x2064]
push edi
lea eax, [ebp - 0x1804]
push eax
call ebx
push 0x800
lea eax, [ebp - 0x2004]
push 0
push eax
call fcn.004022f0
push edi
call fcn.00401339
add esp, 0x10
xor edi, edi
push 0xa
push 0x67
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x2064], eax
test eax, eax
je 0x401188
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401188
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp - 0x2064]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
xor ecx, ecx
shr esi, 1
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00401539
add esi, esi
mov dword [ebp - 0x2064], eax
push esi
push edi
mov edi, eax
push edi
call fcn.00402bb0
add esp, 0x10
xor eax, eax
mov word [esi + edi], ax
push 0
push edi
push 0x410b68
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x2004]
push eax
call ebx
push edi
lea eax, [ebp - 0x2004]
push eax
call ebx
xor eax, eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x804]
push 0x410b6c
push eax
call ebx
lea eax, [ebp - 0x1804]
push eax
lea eax, [ebp - 0x804]
push eax
call ebx
push 0x410b6c
lea eax, [ebp - 0x804]
push eax
call ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x200c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x200c], 1
mov esi, eax
jle 0x40122e
push 0x410b70
lea eax, [ebp - 0x804]
push eax
call ebx
push dword [esi + 4]
lea eax, [ebp - 0x804]
push eax
call ebx
push 0x410b6c
lea eax, [ebp - 0x804]
push eax
call ebx
lea eax, [ebp - 0x2060]
mov dword [ebp - 0x2050], 0x44
push eax
lea eax, [ebp - 0x2050]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x2004]
movlpd qword [ebp - 0x204c], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x804]
movlpd qword [ebp - 0x2044], xmm0
push eax
push 0
movlpd qword [ebp - 0x203c], xmm0
movlpd qword [ebp - 0x2034], xmm0
movlpd qword [ebp - 0x202c], xmm0
movlpd qword [ebp - 0x2024], xmm0
movlpd qword [ebp - 0x201c], xmm0
movlpd qword [ebp - 0x2014], xmm0
movups xmmword [ebp - 0x2060], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
push dword [ebp - 0x2060]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x2008]
mov dword [ebp - 0x2008], 0x232d
push eax
push dword [ebp - 0x2060]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x2060]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x205c]
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2008]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00401328
mov esp, ebp
pop ebp
ret 0x10
add eax, eax
cmp eax, 0x800
jae 0x401322
xor ecx, ecx
mov word [ebp + eax - 0x1004], cx
jmp 0x401054
call fcn.0040145f
int3