Function at 0x54b3b0
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, 0x64d4b2
mov dword [esp + 0x10], ebp
mov dword [esp + 8], edx
test edx, edx
je 0x54b5d1
push ebx
push edi
nop dword [eax + eax]
test byte [edx + 6], 0x80
jne 0x54b5b6
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x1c], edi
cmp dword [edx + 0x2c], ebx
jbe 0x54b5b6
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.0x54b41d.37
movzx eax, byte [eax + 0x54b5f4]
jmp dword [eax*4 + 0x54b5dc]
movzx ebx, word [ecx + 1]
jmp case.0x54b41d.37
lea ebp, [ecx + 1]
xor esi, esi
mov dword [esp + 0x18], ebp
jmp case.0x54b41d.37
movzx eax, word [ecx + 6]
lea eax, [eax*2 + 8]
mov dword [esp + 0x24], eax
jmp case.0x54b41d.37
movzx eax, word [ecx + 5]
lea eax, [eax*2 + 7]
mov dword [esp + 0x24], eax
jmp case.0x54b41d.37
mov dword [esp + 0x24], 2
test ebx, ebx
je 0x54b585
test esi, esi
jne 0x54b518
push 0x3a
push ebp
call fcn.0050b020
mov edi, eax
add esp, 8
test edi, edi
je 0x54b484
sub edi, ebp
jmp 0x54b499
mov edi, ebp
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x54b490
sub edi, ecx
mov eax, dword [esp + 0x14]
mov esi, eax
test eax, eax
je 0x54b4c7
push edi
push dword [esi]
push ebp
call fcn.0050ecb0
add esp, 0xc
test eax, eax
jne 0x54b4c0
mov eax, dword [esi]
mov al, byte [edi + eax]
test al, al
je 0x54b518
cmp al, 0x3a
je 0x54b518
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x54b4a3
push 0x18
call fcn.0048bf00
push edi
push ebp
mov esi, eax
call fcn.004f59c0
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.0048bf00
add esp, 4
push eax
call fcn.0050abb0
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 0x54b559
lea edi, [ebp + 0x100]
and edi, 0xffffff00
lea eax, [edi + 1]
push eax
push dword [esi + 0x10]
call fcn.0048c1c0
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.0050abb0
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 0x54b573
mov dword [esi + 4], ebx
cmp dword [esi + 8], ebx
jae 0x54b57b
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 0x54b59f
push edi
push edx
call fcn.00553910
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x54b5b2
mov ebp, dword [esp + 0x18]
add edi, eax
mov dword [esp + 0x1c], edi
cmp edi, dword [edx + 0x2c]
jb 0x54b400
mov ebp, dword [esp + 0x18]
mov edx, dword [edx + 0x5c]
mov dword [esp + 0x10], edx
test edx, edx
jne 0x54b3e0
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