Function at 0x401520
Capabilities:
Create process on windows
Extract resource via kernel32 functions

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x108
call fcn.0040b3b0
mov dword [esp + 4], 0
mov dword [esp], 1
call sub.KERNEL32.dll_SetThreadErrorMode
sub esp, 8
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleW
sub esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40186c
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.KERNEL32.dll_FindResourceW
sub esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x40186c
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.KERNEL32.dll_LoadResource
sub esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40186c
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.KERNEL32.dll_LockResource
sub esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x40186c
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.KERNEL32.dll_SizeofResource
sub esp, 8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x91]
mov ecx, eax
call fcn.00458f40
mov eax, dword [ebp - 0x30]
shr eax, 1
mov ecx, eax
lea eax, [ebp - 0xac]
lea edx, [ebp - 0x91]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov edx, dword [ebp - 0x2c]
mov dword [esp], edx
mov ecx, eax
call fcn.00480500
sub esp, 0xc
lea eax, [ebp - 0x91]
mov ecx, eax
call fcn.00458f70
lea eax, [ebp - 0xac]
mov ecx, eax
call fcn.00428db0
cmp eax, 0x1c
seta al
test al, al
je 0x40185f
lea eax, [ebp - 0x90]
mov dword [esp], eax
call fcn.00401460
lea eax, [ebp - 0x90]
mov dword [esp], eax
mov ecx, 0x4d2020
call fcn.00480ba0
sub esp, 4
lea eax, [ebp - 0x90]
mov ecx, eax
call fcn.00480b60
mov ecx, 0x4d2020
call fcn.00428db0
test eax, eax
setne al
test al, al
je 0x4016a7
mov dword [esp], 0x496068
mov ecx, 0x4d2020
call fcn.0047ec30
sub esp, 4
lea ebx, [ebp - 0xf4]
mov esi, 2
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
lea eax, [ebp - 0xac]
mov dword [esp], eax
mov ecx, ebx
call fcn.00428de0
sub esp, 0xc
lea edi, [ebx + 0x18]
sub esi, 1
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0xc
lea eax, [ebp - 0xac]
mov dword [esp], eax
mov ecx, edi
call fcn.00428de0
sub esp, 0xc
add edi, 0x18
sub esi, 1
lea eax, [ebp - 0xac]
mov ecx, eax
call fcn.00428db0
sub eax, 0x1c
mov dword [esp + 8], eax
mov dword [esp + 4], 0x1c
lea eax, [ebp - 0xac]
mov dword [esp], eax
mov ecx, edi
call fcn.00428de0
sub esp, 0xc
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 2
jg 0x401840
lea ecx, [ebp - 0xf4]
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 3
lea ebx, [ecx + eax]
lea eax, [ebp - 0x48]
lea edx, [ebp - 0xf4]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x4d2020
mov dword [esp], eax
call fcn.0048c330
lea eax, [ebp - 0x60]
mov dword [esp + 8], 0x496068
lea edx, [ebp - 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0048c210
lea eax, [ebp - 0x78]
mov dword [esp + 8], ebx
lea edx, [ebp - 0x60]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0048c244
lea ecx, [ebp - 0xf4]
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 3
lea edx, [ecx + eax]
lea eax, [ebp - 0x78]
mov dword [esp], eax
mov ecx, edx
call fcn.00480ba0
sub esp, 4
lea eax, [ebp - 0x78]
mov ecx, eax
call fcn.00480b60
lea eax, [ebp - 0x60]
mov ecx, eax
call fcn.00480b60
lea eax, [ebp - 0x48]
mov ecx, eax
call fcn.00480b60
lea ecx, [ebp - 0xf4]
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 3
add eax, ecx
mov ecx, eax
call fcn.00428c10
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.SHELL32.DLL_ShellExecuteW
sub esp, 0x18
add dword [ebp - 0x1c], 1
jmp 0x40173a
lea ebx, [ebp - 0xf4]
add ebx, 0x48
lea eax, [ebp - 0xf4]
cmp ebx, eax
je 0x40185f
sub ebx, 0x18
mov ecx, ebx
call fcn.00480b60
jmp 0x401849
lea eax, [ebp - 0xac]
mov ecx, eax
call fcn.00480b60
mov eax, 0
jmp 0x40191a
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret