Function at 0x40ae20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x3c
mov eax, dword [ecx + 0x20]
add eax, 1
cmp eax, 0x32
mov dword [ecx + 0x20], eax
ja 0x40afe5
mov eax, dword [ecx + 0x34]
cmp byte [eax], 0
jne 0x40ae50
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ecx + 0x1c]
call dword [0x548868]
movzx eax, byte [ebx + 0x28]
mov dword [ebx + 0x20], 0
cmp al, 0xe
je 0x40b070
cmp al, 0x20
je 0x40b260
test al, al
jne 0x40ae45
mov eax, dword [ebx + 0x18]
lea esi, [ebp - 0x1c]
mov edi, dword [eax + 0x18]
mov eax, dword [0x54880c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x30]
movzx eax, word [eax]
mov dword [esp + 4], 0x4a424b
mov dword [esp], esi
mov dword [ebp - 0x2c], eax
mov eax, dword [0x5488d0]
fild dword [ebp - 0x2c]
fdiv dword [0x4a4bd0]
mov dword [ebp - 0x30], eax
fstp qword [esp + 8]
call eax
mov ecx, edi
mov dword [esp], esi
mov edi, dword [0x548d54]
call edi
sub esp, 4
mov ecx, esi
call fcn.004931c0
lea ecx, [ebp - 0x20]
call fcn.004931c0
mov eax, dword [ebx + 0x18]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + 2]
mov dword [ebp - 0x2c], edx
mov edx, dword [0x54880c]
mov dword [esp + 4], 0x4a424b
mov dword [esp], esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], edx
fild dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
fdiv dword [0x4a4bd0]
fstp qword [esp + 8]
call eax
mov dword [esp], esi
mov ecx, dword [ebp - 0x2c]
call edi
sub esp, 4
mov ecx, esi
call fcn.004931c0
lea ecx, [ebp - 0x20]
call fcn.004931c0
mov edx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x18]
cmp word [edx + 4], 0
mov ecx, dword [eax + 0x2c]
lea eax, [ebx + 0x50]
je 0x40af3c
lea eax, [ebx + 0x40]
mov dword [esp], eax
mov esi, dword [0x548bcc]
call esi
mov edx, dword [ebx + 0x30]
sub esp, 4
mov eax, dword [ebx + 0x18]
cmp word [edx + 6], 0
mov ecx, dword [eax + 0x30]
lea eax, [ebx + 0x50]
je 0x40af60
lea eax, [ebx + 0x40]
mov dword [esp], eax
call esi
mov edx, dword [ebx + 0x30]
sub esp, 4
mov eax, dword [ebx + 0x18]
cmp word [edx + 8], 0
mov ecx, dword [eax + 0x34]
lea eax, [ebx + 0x50]
je 0x40af7e
lea eax, [ebx + 0x40]
mov dword [esp], eax
call esi
mov edx, dword [ebx + 0x30]
sub esp, 4
mov eax, dword [ebx + 0x18]
cmp word [edx + 0xa], 0
mov ecx, dword [eax + 0x38]
lea eax, [ebx + 0x50]
je 0x40af9c
lea eax, [ebx + 0x40]
mov dword [esp], eax
call esi
mov edx, dword [ebx + 0x30]
sub esp, 4
mov eax, dword [ebx + 0x18]
cmp word [edx + 0xc], 0
mov ecx, dword [eax + 0x3c]
lea eax, [ebx + 0x50]
je 0x40afba
lea eax, [ebx + 0x40]
mov dword [esp], eax
call esi
mov edx, dword [ebx + 0x30]
sub esp, 4
mov eax, dword [ebx + 0x18]
cmp word [edx + 0xe], 0
mov ecx, dword [eax + 0x40]
lea eax, [ebx + 0x50]
je 0x40afd8
lea eax, [ebx + 0x40]
mov dword [esp], eax
call esi
sub esp, 4
jmp 0x40ae45
mov ecx, dword [ecx + 0x1c]
lea esi, [ebp - 0x1c]
call dword [0x548868]
mov dword [ebx + 0x20], 0
mov ebx, dword [ebx + 0x2c]
mov dword [esp + 4], 0xd
mov dword [esp], 0x4a423d
call dword [0x5488c0]
mov dword [esp + 4], 0
mov dword [ebp - 0x1c], eax
mov ecx, ebx
mov dword [esp], esi
call dword [0x548a44]
mov eax, dword [ebp - 0x1c]
sub esp, 8
mov edx, dword [eax]
test edx, edx
je 0x40b048
cmp edx, 0xffffffff
je 0x40ae45
lock sub dword [eax], 1
mov eax, dword [ebp - 0x1c]
jne 0x40ae45
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x548808]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x18]
mov esi, dword [0x548afc]
mov ecx, dword [eax + 0xa8]
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + 0x1c]
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fdiv qword [0x4a4bd8]
fstp qword [esp]
call esi
mov eax, dword [ebx + 0x18]
sub esp, 8
movzx edx, byte [ebx + 0x28]
mov ecx, dword [eax + 0x110]
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + edx*2 + 2]
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fdiv qword [0x4a4bd8]
fstp qword [esp]
call esi
mov eax, dword [ebx + 0x18]
sub esp, 8
movzx edx, byte [ebx + 0x28]
mov ecx, dword [eax + 0x130]
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + edx*2 + 4]
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fdiv qword [0x4a4bd8]
fstp qword [esp]
call esi
mov eax, dword [ebx + 0x18]
sub esp, 8
movzx edx, byte [ebx + 0x28]
mov ecx, dword [eax + 0x150]
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + edx*2 + 6]
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fdiv qword [0x4a4bd8]
fstp qword [esp]
call esi
mov eax, dword [ebx + 0x18]
sub esp, 8
movzx edx, byte [ebx + 0x28]
mov ecx, dword [eax + 0x198]
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + edx*2 + 8]
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fdiv qword [0x4a4bd8]
fstp qword [esp]
call esi
mov eax, dword [ebx + 0x18]
sub esp, 8
movzx edx, byte [ebx + 0x28]
mov ecx, dword [eax + 0x1b0]
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + edx*2 + 0xa]
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fdiv qword [0x4a4bd8]
fstp qword [esp]
call esi
mov eax, dword [ebx + 0x18]
sub esp, 8
movzx edx, byte [ebx + 0x28]
mov edi, dword [0x548b14]
mov ecx, dword [eax + 0xd8]
mov eax, dword [ebx + 0x30]
cmp word [eax + edx*2 + 0xc], 0
setne al
movzx eax, al
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x18]
movzx edx, byte [ebx + 0x28]
sub esp, 4
mov ecx, dword [eax + 0x1c0]
mov eax, dword [ebx + 0x30]
cmp word [eax + edx*2 + 0xe], 0
setne al
movzx eax, al
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x18]
movzx edx, byte [ebx + 0x28]
sub esp, 4
mov esi, dword [0x548cf0]
mov ecx, dword [eax + 0xf4]
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + edx*2 + 0x10]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x18]
movzx edx, byte [ebx + 0x28]
sub esp, 4
mov ecx, dword [eax + 0x1e0]
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + edx*2 + 0x12]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x18]
movzx edx, byte [ebx + 0x28]
sub esp, 4
mov ecx, dword [eax + 0xf8]
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + edx*2 + 0x14]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x18]
movzx edx, byte [ebx + 0x28]
sub esp, 4
mov ecx, dword [eax + 0x1dc]
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + edx*2 + 0x16]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x18]
movzx edx, byte [ebx + 0x28]
sub esp, 4
mov ecx, dword [eax + 0x1e4]
mov eax, dword [ebx + 0x30]
cmp word [eax + edx*2 + 0x18], 0
setne al
movzx eax, al
mov dword [esp], eax
call edi
sub esp, 4
jmp 0x40ae45
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0x7c]
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + 0x40]
mov dword [esp], eax
call dword [0x548cf0]
sub esp, 4
jmp 0x40ae45