Function at 0x54e060
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
xor ecx, ecx
push ebp
push esi
xor esi, esi
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 0x18]
mov ebp, 0x767e11
mov dword [esp + 0x10], ebp
mov dword [esp + 8], edx
test edx, edx
je 0x54e281
push ebx
push edi
nop dword [eax + eax]
test byte [edx + 6], 0x80
jne 0x54e266
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x1c], edi
cmp dword [edx + 0x2c], ebx
jbe 0x54e266
nop dword [eax + eax]
mov ecx, dword [edx + 0x24]
xor eax, eax
add ecx, edi
mov dword [esp + 0x24], eax
movzx eax, byte [ecx]
add eax, 0xffffffdc
cmp eax, 0x7d
ja case.0x54e0cd.37
movzx eax, byte [eax + 0x54e2a4]
jmp dword [eax*4 + 0x54e28c]
movzx ebx, word [ecx + 1]
jmp case.0x54e0cd.37
lea ebp, [ecx + 1]
xor esi, esi
mov dword [esp + 0x18], ebp
jmp case.0x54e0cd.37
movzx eax, word [ecx + 6]
lea eax, [eax*2 + 8]
mov dword [esp + 0x24], eax
jmp case.0x54e0cd.37
movzx eax, word [ecx + 5]
lea eax, [eax*2 + 7]
mov dword [esp + 0x24], eax
jmp case.0x54e0cd.37
mov dword [esp + 0x24], 2
test ebx, ebx
je 0x54e235
test esi, esi
jne 0x54e1c8
push 0x3a
push ebp
call fcn.0059edd0
mov edi, eax
add esp, 8
test edi, edi
je 0x54e134
sub edi, ebp
jmp 0x54e149
mov edi, ebp
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x54e140
sub edi, ecx
mov eax, dword [esp + 0x14]
mov esi, eax
test eax, eax
je 0x54e177
push edi
push dword [esi]
push ebp
call fcn.005a47e0
add esp, 0xc
test eax, eax
jne 0x54e170
mov eax, dword [esi]
mov al, byte [edi + eax]
test al, al
je 0x54e1c8
cmp al, 0x3a
je 0x54e1c8
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x54e153
push 0x18
call fcn.004a67c0
push edi
push ebp
mov esi, eax
call fcn.00579840
mov dword [esi], eax
add esp, 0xc
mov eax, ebx
mov dword [esi + 8], ebx
shr eax, 3
add eax, 0x100
mov dword [esi + 4], ebx
and eax, 0xffffff00
mov dword [esi + 0xc], eax
inc eax
push eax
push 0
push eax
call fcn.004a67c0
add esp, 4
push eax
call fcn.0059d510
mov dword [esi + 0x10], eax
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esi + 0x14], eax
mov dword [esp + 0x14], esi
mov ebp, ebx
shr ebp, 3
cmp dword [esi + 0xc], ebp
ja 0x54e209
lea edi, [ebp + 0x100]
and edi, 0xffffff00
lea eax, [edi + 1]
push eax
push dword [esi + 0x10]
call fcn.004a6a70
mov ecx, dword [esi + 0xc]
mov edx, eax
mov eax, edi
mov dword [esi + 0x10], edx
sub eax, ecx
inc eax
push eax
lea eax, [ecx + edx]
push 0
push eax
call fcn.0059d510
add esp, 0x14
mov dword [esi + 0xc], edi
mov edx, dword [esi + 0x10]
mov eax, ebx
and eax, 7
movzx ecx, byte [edx + ebp]
bts ecx, eax
mov byte [edx + ebp], cl
cmp dword [esi + 4], ebx
jbe 0x54e223
mov dword [esi + 4], ebx
cmp dword [esi + 8], ebx
jae 0x54e22b
mov dword [esi + 8], ebx
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x54e24f
push edi
push edx
call fcn.005566f0
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x54e262
mov ebp, dword [esp + 0x18]
add edi, eax
mov dword [esp + 0x1c], edi
cmp edi, dword [edx + 0x2c]
jb 0x54e0b0
mov ebp, dword [esp + 0x18]
mov edx, dword [edx + 0x5c]
mov dword [esp + 0x10], edx
test edx, edx
jne 0x54e090
mov eax, dword [esp + 0x14]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x10
ret
pop esi
mov eax, ecx
pop ebp
add esp, 0x10
ret