Function at 0x54ddf7
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x34
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0xe]
push edi
mov dword [esp + 0x14], ebx
mov al, byte [eax + 0x1bf]
test al, al
je 0x54df66
and eax, 0xff
mov dword [esp + 0x10], eax
je 0x54df66
mov ecx, dword [esp + 0x48]
xor ebp, ebp
cmp ecx, ebp
je 0x54df68
lea ecx, [esp + 0x1c]
dec eax
push ecx
mov ecx, dword [ebx + 0xe]
push eax
call fcn.00508662
test eax, eax
je 0x54df4f
mov edx, dword [esp + 0x1c]
and edx, 0xffff
mov edi, dword [edx*4 + 0x6ccb20]
cmp dword [edi + 0x12], ebp
jne 0x54df4f
mov eax, dword [edi + 0x370]
xor ecx, ecx
xor esi, esi
mov cl, byte [eax + 0x78b]
mov eax, ecx
cmp eax, ebp
mov dword [esp + 0x24], eax
jbe 0x54df4f
mov ecx, dword [edi + 0x370]
push esi
call fcn.004e15c6
mov dl, byte [eax + 5]
mov byte [esp + 0x20], dl
mov eax, dword [esp + 0x20]
and eax, 0xff
cmp eax, 0xa
jae 0x54deb0
mov ecx, eax
shl ecx, 4
mov al, byte [ecx + eax + 0x6cba70]
jmp 0x54deb2
xor al, al
test al, al
mov byte [esp + 0x18], al
je 0x54ded0
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0xe]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.00511c57
test eax, eax
jne 0x54dedb
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jb 0x54de81
jmp 0x54df4f
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov eax, dword [ecx + 0x27]
lea edx, [esp + 0x10]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x2e]
and eax, 0xffff
and ecx, 0xffff
shl eax, 0xc
add eax, 0x800
push edx
shl ecx, 0xc
add ecx, 0x800
add eax, 0x100
mov dword [esp + 0x38], eax
add ecx, 0x100
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebx + 0xe]
push eax
mov dword [esp + 0x44], ebp
mov word [esp + 0x18], bp
call fcn.005082d9
mov ecx, dword [ebx + 0xe]
xor edx, edx
mov dl, byte [ecx + 0x1bf]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
dec edx
cmp eax, ebp
mov dword [esp + 0x48], edx
jne 0x54de24
jmp 0x54df68
xor ebp, ebp
mov eax, dword [ebx + 0xa]
push 0x1d77
add eax, 0x15a0
push 0x7af348
push eax
push 0x64
call fcn.0059cec2
add esp, 0x10
cmp eax, 0xa
jae 0x54e12d
cmp dword [esp + 0x48], ebp
je 0x54e12d
mov eax, dword [ebx + 0xe]
mov cl, byte [eax + 0x1bf]
mov dl, byte [eax + 0x1c0]
cmp cl, dl
jae 0x54e12d
xor edx, edx
mov dx, word [eax + 6]
mov edi, dword [edx*4 + 0x6ccb20]
cmp edi, ebp
je 0x54e12d
lea ecx, [edi + 0x24e]
call fcn.004c632c
cmp eax, 5
jne 0x54e118
mov eax, dword [edi + 0x25e]
cmp eax, 0x4b
je 0x54e118
cmp eax, 0x4c
je 0x54e118
cmp word [edi + 0x46d], 0x12c
ja 0x54e00e
mov ecx, dword [ebx + 0xa]
call fcn.00560db7
cmp eax, 0x12c
ja 0x54e118
cmp dword [edi + 0x2bc], ebp
jne 0x54e118
mov eax, dword [edi + 0x25e]
lea ecx, [eax + eax*4]
cmp byte [ecx + ecx*4 + 0x6b8ea6], 7
je 0x54e118
cmp eax, 0xd1
je 0x54e118
mov ebx, dword [edi + 0x370]
xor eax, eax
mov al, byte [ebx + 0x78b]
test eax, eax
mov dword [esp + 0x24], eax
jbe 0x54e0f3
push ebp
mov ecx, ebx
call fcn.004e15c6
mov al, byte [eax + 5]
mov byte [esp + 0x28], al
mov esi, dword [esp + 0x28]
and esi, 0xff
cmp esi, 0xa
jae 0x54e082
mov ecx, esi
shl ecx, 4
mov al, byte [ecx + esi + 0x6cba70]
jmp 0x54e084
xor al, al
test al, al
mov byte [esp + 0x18], al
je 0x54e0e6
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
mov ecx, dword [ecx + 0xe]
push edx
push eax
call fcn.00511c57
test eax, eax
je 0x54e0e6
mov edx, esi
shl edx, 4
lea eax, [edx + esi + 0x6cba71]
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov esi, dword [edx + 8]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x14]
mov edx, dword [edx + 0xc]
add ecx, esi
mov dword [esp + 0x40], edx
call eax
test eax, eax
je 0x54e0e6
mov eax, dword [esi + 0xe]
mov cx, word [eax + 4]
push ecx
mov ecx, edi
call fcn.004db961
test eax, eax
jne 0x54e13b
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jb 0x54e056
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x54e12d
mov eax, dword [esi + 0xe]
mov cl, byte [eax + 0x1bf]
mov dl, byte [eax + 0x1c0]
cmp cl, dl
jae 0x54e12d
mov ebx, dword [esp + 0x14]
xor ebp, ebp
xor edx, edx
mov dx, word [edi + 0x10]
mov edi, dword [edx*4 + 0x6ccb20]
cmp edi, ebp
jne 0x54dfc4
mov eax, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4
mov ecx, dword [esi + 0xe]
push edi
call fcn.0050b6e6
mov dx, word [edi + 4]
mov ecx, dword [esi + 0xe]
push edx
call fcn.005080c9
dec dword [esp + 0x48]
jmp 0x54e0f7