Function at 0x401100
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x406004]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov esi, ecx
xorps xmm0, xmm0
push edi
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x40], xmm0
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], edi
movzx eax, word [edi + 0x14]
push eax
lea eax, [esp + 0x34]
push 0x40426c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [edi + 0x34]
xor edx, edx
add esp, 8
mov dword [esp + 0x24], eax
lea ecx, [edx + 0xa]
call fcn.00401010
mov ecx, dword [edi + 0x50]
add esp, 4
push 0x40
push 0x3000
push ecx
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
jne 0x40119e
mov eax, dword [esp + 0xc]
push 0x40
push 0x3000
push dword [eax + 0x50]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov eax, dword [esp + 0xc]
push dword [eax + 0x54]
mov dword [eax + 0x34], edi
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x18]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x10], 0
movzx esi, word [eax + 0x14]
add esi, 0x2c
cmp cx, word [eax + 6]
jae 0x401204
add esi, eax
nop
push dword [esi - 4]
mov eax, dword [esi]
add eax, dword [esp + 0x1c]
push eax
mov eax, dword [esi - 8]
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x18]
lea esi, [esi + 0x28]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
inc ecx
mov dword [esp + 0x10], ecx
movzx eax, word [eax + 6]
cmp ecx, eax
jl 0x4011d0
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0x80]
add esi, edi
mov dword [esp + 0x10], esi
cmp dword [esi + 0xc], 0
je 0x4012ef
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
nop dword [eax]
mov eax, dword [esi + 0xc]
add eax, edi
push eax
call ecx
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4013dc
cmp dword [esi + 4], 0xffffffff
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
jne 0x40128e
mov edx, dword [esi]
add eax, edi
mov dword [esp + 0x14], eax
mov eax, dword [edx + edi]
test eax, 0xf0000000
je 0x401271
xor eax, eax
mov word [edx + edi + 2], ax
push dword [edx + edi]
jmp 0x401277
add eax, 2
add eax, edi
push eax
push ecx
call dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
cmp dword [ecx], eax
je 0x4012d6
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
lea esi, [eax + edi]
mov eax, dword [esi]
test eax, eax
je 0x4012d2
test eax, 0xf0000000
je 0x4012a8
xor eax, eax
mov word [esi + 2], ax
push dword [esi]
jmp 0x4012ae
add eax, 2
add eax, edi
push eax
push ecx
call dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esi], ecx
mov eax, dword [eax + 0x10]
sub eax, dword [esp + 0x14]
mov dword [eax + esi], ecx
add esi, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
test eax, eax
jne 0x401297
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
add esi, 0x14
mov dword [esp + 0x10], esi
cmp dword [esi + 0xc], 0
jne 0x401230
mov eax, dword [esp + 0xc]
cmp edi, dword [esp + 0x20]
je 0x4013ad
mov eax, dword [eax + 0x50]
xor edx, edx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + edi + 0xa0]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4013ad
mov eax, dword [eax + edi + 0xa4]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4013ad
nop
add edx, ecx
add edx, edi
mov dword [esp + 0x28], edx
mov eax, dword [edx]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4013ad
mov eax, dword [edx + 4]
test eax, eax
je 0x4013ad
add eax, 0xfffffff8
lea esi, [edx + 8]
shr eax, 1
mov edx, 0
mov dword [esp + 0x1c], eax
je 0x401398
nop dword [eax]
movzx ecx, word [esi]
mov eax, ecx
and ecx, 0xfff
add ecx, dword [esp + 0x24]
shr eax, 0xc
test eax, eax
je 0x401394
cmp eax, 3
jne 0x4013ad
cmp ecx, dword [esp + 0x10]
jae 0x4013ad
mov eax, edi
inc edx
sub eax, dword [esp + 0x20]
add esi, 2
add dword [ecx + edi], eax
cmp edx, dword [esp + 0x1c]
jb 0x401360
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
add edx, dword [eax + 4]
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x2c]
jb 0x401330
push 0xc
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [esp + 0xc]
mov dword [eax], edi
mov ecx, dword [edx + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 0x28]
add ecx, edi
mov dword [eax + 8], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00401e48
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
push 0x4000
push dword [eax + 0x50]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00401e48
mov esp, ebp
pop ebp
ret