Function at 0x41bb08
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor ecx, ecx
push ebp
push 0x41bd78
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 4], eax
push 1
push 0x2000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41bb6d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41bd92
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
sub edx, dword [eax + 0x34]
mov dword [ebp - 8], edx
push 4
push 0x1000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41bb9e
call fcn.0040a5a0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.0040289c
lea eax, [ebp - 0x24]
push eax
push 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp - 4]
lea esi, [eax + 0x18]
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x14]
add esi, eax
mov eax, dword [ebp - 4]
movzx edi, word [eax + 6]
dec edi
test edi, edi
jl 0x41bc3f
inc edi
xor ebx, ebx
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 8]
lea edx, [ebx + ebx*4]
mov edx, dword [esi + edx*8 + 0x10]
mov dword [ebp - 0x20], edx
cmp eax, dword [ebp - 0x20]
jae 0x41bc00
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0x10]
push 4
push 0x1000
push eax
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0xc]
add eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41bc26
call fcn.0040a5a0
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0x14]
add eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
call fcn.0040289c
inc ebx
dec edi
jne 0x41bbe3
cmp dword [0x43fb90], 0
jne 0x41bc59
mov dl, 1
mov eax, dword [0x40eb28]
call fcn.00403bf0
mov dword [0x43fb90], eax
mov edx, dword [0x41b814]
mov eax, 0x14
call fcn.0040594c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, 0x14
call fcn.00403114
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
mov edx, dword [ebp - 0x10]
mov eax, dword [0x43fb90]
call fcn.0040f46c
mov eax, dword [ebp - 4]
add eax, 0xa0
mov edx, dword [eax]
test edx, edx
je 0x41bcb9
push ebp
add edx, dword [ebp - 0xc]
mov eax, edx
call fcn.0041b9b4
pop ecx
mov eax, dword [ebp - 4]
add eax, 0x80
mov edx, dword [eax]
test edx, edx
je 0x41bcd3
push ebp
add edx, dword [ebp - 0xc]
mov eax, edx
call fcn.0041ba18
pop ecx
mov eax, dword [ebp - 4]
add eax, 0x78
mov edx, dword [eax]
test edx, edx
je 0x41bcf1
add edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], edx
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
movzx edi, word [eax + 6]
dec edi
test edi, edi
jl 0x41bd33
inc edi
xor ebx, ebx
lea eax, [ebx + ebx*4]
lea eax, [esi + eax*8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x24]
call fcn.0041bae4
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
inc ebx
dec edi
jne 0x41bd00
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x41bd68
push 0
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
call dword [eax + 4]
test eax, eax
jne 0x41bd68
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
call fcn.0041b834
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41bd92
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41bd92
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret