Function at 0x5b43c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ecx], 0x6f2308
mov ecx, esi
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
call dword [eax + 0x6c]
test al, al
movzx eax, byte [esi + 4]
jne 0x5b4540
lea edx, [eax - 0xd]
cmp dl, 1
jbe 0x5b4722
mov byte [ebx + 4], al
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x48], eax
movzx eax, byte [esi + 5]
mov byte [ebp - 0x1a], al
shl byte [ebp - 0x1a], 4
sar byte [ebp - 0x1a], 4
movzx edx, byte [ebx + 5]
movzx eax, byte [ebp - 0x1a]
and edx, 0xfffffff0
and eax, 0xf
or edx, eax
mov byte [ebx + 5], dl
movzx ecx, byte [esi + 5]
and edx, 0xf
mov byte [ebp - 0x1b], dl
sar cl, 4
mov eax, ecx
shl eax, 4
or byte [ebp - 0x1b], al
movzx eax, byte [ebp - 0x1b]
mov byte [ebx + 5], al
movzx edx, byte [esi + 6]
movzx eax, byte [ebx + 6]
shl edx, 4
sar dl, 4
mov edi, edx
mov byte [ebp - 0x19], al
and edi, 0xf
and byte [ebp - 0x19], 0xf0
mov eax, edi
or byte [ebp - 0x19], al
movzx eax, byte [ebp - 0x19]
mov byte [ebx + 6], al
movzx eax, byte [esi + 8]
mov byte [ebp - 0x1c], al
and byte [ebp - 0x1c], 1
movzx edi, byte [ebx + 8]
movzx eax, byte [ebp - 0x1c]
and edi, 0xfffffffe
or edi, eax
test cl, cl
mov eax, edi
mov byte [ebx + 8], al
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x54]
mov esi, dword [esi + 0x58]
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], esi
jle 0x5b4648
cmp byte [ebp - 0x20], 0
cmovne edx, ecx
and edx, 0xf
mov byte [ebx + 5], dl
movzx eax, byte [ebp - 0x19]
and eax, 0xfffffff0
cmp dl, 1
mov byte [ebx + 6], al
je 0x5b4820
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov byte [ebx + 4], al
mov eax, dword [esi + 0x5c]
mov ecx, esi
mov dword [ebx + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x48], eax
movzx eax, byte [ebx + 5]
movzx edx, byte [esi + 5]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ebx + 5], al
movzx edx, byte [esi + 5]
and eax, 0xf
and edx, 0xfffffff0
or eax, edx
mov byte [ebx + 5], al
movzx eax, byte [ebx + 6]
movzx edx, byte [esi + 6]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ebx + 6], al
movzx eax, byte [ebx + 8]
movzx edx, byte [esi + 8]
and eax, 0xfffffffe
and edx, 1
or eax, edx
mov byte [ebx + 8], al
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x58], eax
mov eax, dword [esi]
call dword [eax + 0x54]
mov edx, dword [eax + 4]
test edx, edx
je 0x5b4671
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
sar eax, 3
cmp eax, 1
jne 0x5b4671
mov dword [ebx + 0x4c], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
cmp byte [ebp - 0x1a], 1
jle 0x5b4832
movzx eax, byte [ebp - 0x1b]
and eax, 0xfffffff0
or eax, 1
mov byte [ebx + 5], al
mov eax, edi
and eax, 0xfffffffe
mov byte [ebx + 8], al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
call fcn.004cb890
mov dword [esp], 0xc
mov ecx, eax
call fcn.004cba30
mov dword [eax], 0x6f1f98
mov edi, eax
sub esp, 4
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [ebx + 0x4c], eax
mov esi, dword [esi + 0x4c]
mov eax, dword [esi + 4]
test eax, eax
je 0x5b4535
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
cmp edx, 0xf
jle 0x5b4535
call fcn.004cb890
mov dword [esp], 0x10
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov ebx, eax
call fcn.004cb890
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], eax
mov dword [edi + 4], ebx
mov eax, dword [esi + 4]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ebx + 4]
mov byte [esp + 0xc], 0
add edx, 8
mov dword [esp + 8], ecx
mov ecx, ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0062cbe0
sub esp, 0x10
jmp 0x5b4535
mov edx, dword [esi + 0x50]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
movzx edx, byte [eax + 4]
mov byte [ebx + 4], dl
mov edx, dword [eax + 0x5c]
mov dword [ebx + 0x5c], edx
mov edx, dword [eax + 0x60]
mov dword [ebx + 0x60], edx
mov edx, dword [eax + 0x64]
mov dword [ebx + 0x64], edx
mov edx, dword [eax + 0x68]
mov dword [ebx + 0x68], edx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ebx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ebx + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [ebx + 0x18], edx
mov edx, dword [eax + 0x1c]
mov dword [ebx + 0x1c], edx
mov edx, dword [eax + 0x20]
mov dword [ebx + 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [ebx + 0x24], edx
mov edx, dword [eax + 0x28]
mov dword [ebx + 0x28], edx
mov edx, dword [eax + 0x2c]
mov dword [ebx + 0x2c], edx
mov edx, dword [eax + 0x30]
mov dword [ebx + 0x30], edx
mov edx, dword [eax + 0x34]
mov dword [ebx + 0x34], edx
mov edx, dword [eax + 0x38]
mov dword [ebx + 0x38], edx
mov edx, dword [eax + 0x3c]
mov dword [ebx + 0x3c], edx
mov edx, dword [eax + 0x40]
mov dword [ebx + 0x40], edx
mov edx, dword [eax + 0x44]
mov dword [ebx + 0x44], edx
mov edx, dword [eax + 0x48]
mov dword [ebx + 0x48], edx
movzx edx, byte [ebx + 5]
movzx ecx, byte [eax + 5]
and edx, 0xfffffff0
and ecx, 0xf
or edx, ecx
mov byte [ebx + 5], dl
movzx ecx, byte [eax + 5]
and edx, 0xf
and ecx, 0xfffffff0
or edx, ecx
mov byte [ebx + 5], dl
movzx edx, byte [ebx + 6]
movzx ecx, byte [eax + 6]
and edx, 0xfffffff0
and ecx, 0xf
or edx, ecx
mov byte [ebx + 6], dl
movzx edx, byte [ebx + 8]
movzx ecx, byte [eax + 8]
and edx, 0xfffffffe
and ecx, 1
or edx, ecx
mov byte [ebx + 8], dl
mov edx, dword [eax + 0x4c]
mov dword [ebx + 0x4c], edx
mov edx, dword [eax + 0x50]
mov dword [ebx + 0x50], edx
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x58]
mov dword [ebx + 0x54], edx
mov dword [ebx + 0x58], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, edi
or eax, 1
mov byte [ebx + 8], al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
cmp byte [ebp - 0x1c], 0
je 0x5b4535
jmp 0x5b4652