Function at 0x41badc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x41bd5d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test ecx, ecx
je 0x41bb17
cmp dword [ecx + 0xa8], 0
jne 0x41bcfe
lea eax, [ebp - 0x18]
push eax
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x4c]
mov ecx, 0x7fffffff
mov eax, 0x41bd78
call fcn.00409b90
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x4c]
mov ecx, 0x7fffffff
call fcn.00404ea4
mov edx, 0x41bd84
mov eax, dword [ebp - 0x18]
call fcn.00409ac4
test al, al
jne 0x41bbc2
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x4c]
call fcn.00404c44
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404c44
pop ecx
sub ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x4c]
mov edx, 1
call fcn.00404ea4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov ecx, 0x41bd84
call fcn.00404c90
mov eax, dword [ebp - 0x14]
call fcn.00404e44
push eax
call fcn.004074c4
cmp eax, 0xffffffff
jne 0x41bbd3
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x4c]
call fcn.00404a1c
jmp 0x41bbd3
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x4c]
call fcn.00404a1c
mov eax, dword [ebp - 0x14]
call fcn.00404e44
mov esi, eax
push esi
call fcn.004074c4
cmp eax, 0xffffffff
je 0x41bd34
mov eax, dword [ebp - 0x14]
call fcn.0041b938
test al, al
jne 0x41bd34
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push esi
call fcn.00407344
mov esi, eax
cmp esi, 0xffffffff
je 0x41bd34
push 0
push 0
push 0
push 2
push 0
push esi
call fcn.0040735c
mov edi, eax
test edi, edi
je 0x41bcf6
push 0
push 0
push 0
push 4
push edi
call fcn.0040765c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41bcf0
mov eax, dword [ebp - 0x10]
call fcn.0040c3fc
mov ecx, eax
test ecx, ecx
je 0x41bccd
mov edx, ecx
add edx, 0xf8
push edx
pop edx
mov eax, edx
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x41bc8c
mov dword [ebp - 8], 3
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xc], edx
sub eax, 0x28
mov edx, dword [eax + 0xc]
sub dword [ebp - 0xc], edx
jmp 0x41bc8f
sub eax, 0x28
movzx edx, word [ecx + 6]
dec edx
shl edx, 3
lea edx, [edx + edx*4]
add eax, edx
cmp dword [ebp - 8], 2
jne 0x41bce7
cmp dword [eax + 0x14], 0
je 0x41bce7
mov edx, dword [eax + 0xc]
cmp edx, dword [ecx + 0xa8]
jne 0x41bce7
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov ebx, eax
push ebp
mov eax, dword [ebx + 0x18]
add eax, edx
call fcn.0041b7b0
pop ecx
mov ebx, eax
jmp 0x41bce7
cmp dword [ebp - 8], 2
jne 0x41bce1
push ebp
mov eax, dword [ebp - 0x10]
call fcn.0041b7b0
pop ecx
test al, al
jne 0x41bce5
xor ebx, ebx
jmp 0x41bce7
mov bl, 1
mov eax, dword [ebp - 0x10]
push eax
call fcn.00407754
push edi
call fcn.0040731c
push esi
call fcn.0040731c
jmp 0x41bd34
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
add eax, dword [ecx + 0xa8]
mov ebx, eax
cmp dword [ebp - 8], 2
jne 0x41bd2c
push ebp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
add eax, dword [ebx + 0x14]
call fcn.0041b7b0
pop ecx
test al, al
jne 0x41bd30
xor eax, eax
jmp 0x41bd32
mov al, 1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41bd64
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004049a8
lea eax, [ebp - 4]
mov edx, dword [0x41b014]
call fcn.004061d8
ret