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

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, dword [edi + 0x3c]
add esi, edi
lea eax, [esi + 0x50]
push 0x40
mov dword [esp + 0x20], eax
mov eax, dword [eax]
push 0x1000
push eax
push 0
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebp, dword [esi + 0x54]
mov ebx, eax
mov eax, dword [0x19d15b8]
test eax, eax
jne 0x41a1e7
push str.memcpy
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x19d15b8], eax
push ebp
push edi
push ebx
call eax
movzx ecx, word [esi + 0x14]
mov ebp, dword [esp + 0x1c]
add esp, 0xc
cmp word [ebp + 6], 0
lea esi, [esi + ecx + 0x18]
mov dword [esp + 0x18], 0
jbe 0x41a2b0
add esi, 0x10
mov edi, dword [esi - 4]
mov eax, dword [0x19d15bc]
mov edx, dword [esi]
mov ebp, dword [esi - 8]
add edi, ebx
test eax, eax
mov dword [esp + 0x14], edx
jne 0x41a244
push str.RtlZeroMemory
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x19d15bc], eax
push ebp
push edi
call eax
mov eax, dword [esp + 0x14]
cmp ebp, eax
mov dword [esp + 0x14], ebp
jl 0x41a258
mov dword [esp + 0x14], eax
mov ebp, dword [esi + 4]
mov eax, dword [0x19d15b8]
add ebp, dword [esp + 0x24]
test eax, eax
jne 0x41a284
push str.memcpy
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x19d15b8], eax
mov ecx, dword [esp + 0x14]
push ecx
push ebp
push edi
call eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
movzx ecx, word [edx + 6]
add eax, 1
add esp, 0xc
add esi, 0x28
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x41a211
mov ebp, edx
mov eax, dword [ebp + 0xa4]
mov edi, dword [ebp + 0xa0]
mov esi, ebx
sub esi, dword [ebp + 0x34]
add edi, ebx
test eax, eax
mov dword [esp + 0x18], eax
mov edx, edi
jle 0x41a30c
lea ecx, [ecx]
mov eax, dword [edx + 4]
sub eax, 8
shr eax, 1
test eax, eax
lea ecx, [edx + 8]
jle 0x41a302
mov dword [esp + 0x24], eax
movzx eax, word [ecx]
test eax, 0xf000
je 0x41a2f8
and eax, 0xfff
add eax, dword [edx]
add eax, ebx
add dword [eax], esi
add ecx, 2
sub dword [esp + 0x24], 1
jne 0x41a2e3
mov edx, ecx
sub ecx, edi
cmp ecx, dword [esp + 0x18]
jl 0x41a2d0
mov edi, dword [ebp + 0x80]
mov eax, dword [edi + ebx + 0xc]
add edi, ebx
test eax, eax
je 0x41a371
lea esp, [esp]
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [edi + 4], 0
mov ebp, eax
jne 0x41a336
mov esi, dword [edi + 0x10]
jmp 0x41a338
mov esi, dword [edi]
add esi, ebx
cmp dword [esi], 0
je 0x41a363
nop
mov eax, dword [esi]
test eax, eax
jns 0x41a34d
and eax, 0xffff
jmp 0x41a351
lea eax, [eax + ebx + 2]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi], eax
add esi, 4
cmp dword [esi], 0
jne 0x41a340
mov eax, dword [edi + 0x20]
add edi, 0x14
test eax, eax
jne 0x41a320
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x41a3a2
lea esi, [eax + ebx]
test esi, esi
je 0x41a3a2
push 0
push 1
push ebx
call esi
push 0
push 2
push ebx
call esi
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret