Function at 0x5494f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.004cb890
mov dword [esp], 0x6c
mov ecx, eax
call fcn.004cba30
movzx edx, byte [eax + 0x64]
sub esp, 4
and byte [eax + 0x10], 0xc0
and byte [eax + 6], 0xf0
and byte [eax + 8], 0xfe
and edx, 0xfffffff8
or edx, 4
mov byte [eax + 0x64], dl
movzx edx, word [eax + 0x2a]
and byte [eax + 0x60], 0x80
or byte [eax + 0x68], 0xf
and word [eax + 0x12], 0xfe3f
and dx, 0xf80f
or dx, 0x3f0
and word [eax + 0x10], 0xc03f
and byte [eax + 0x15], 0x80
and byte [eax + 0x18], 0x80
mov dword [eax], 0x6f2308
mov byte [eax + 4], 0
mov byte [eax + 5], 1
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov byte [eax + 0x5c], 0
mov byte [eax + 0x5d], 0
mov dword [eax + 0xc], 0
mov byte [eax + 0x14], 0
mov dword [eax + 0x1c], 0xffffffff
mov dword [eax + 0x20], 0xffffffff
mov word [eax + 0x2a], dx
movzx edx, byte [eax + 0x28]
movzx ecx, word [eax + 0x3e]
or byte [eax + 0x34], 0x7f
or dword [eax + 0x2c], 0x7fff8000
and edx, 0xfffffff8
or edx, 4
or cx, 0x1fe0
mov byte [eax + 0x28], dl
mov edx, dword [eax + 0x30]
mov word [eax + 0x3e], cx
shr cx, 8
or word [eax + 0x34], 0x780
or ecx, 0xffffffe0
or dword [eax + 0x38], 0x1ff80
or edx, 0x7f8000
mov dword [eax + 0x30], edx
shr edx, 0x18
or edx, 0xffffff80
or word [eax + 0x3c], 0x1ff8
and byte [eax + 0x43], 0x1f
and byte [eax + 0x44], 0xe0
or word [eax + 0x24], 0xfff
and dword [eax + 0x10], 0xffc03fff
mov byte [eax + 0x33], dl
mov byte [eax + 0x3f], cl
mov ecx, ebx
mov byte [eax + 0x40], 0xff
mov byte [eax + 0x45], 0
mov byte [eax + 0x46], 0
mov byte [eax + 0x47], 0
mov dword [eax + 0x48], 0xfffff800
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
call dword [eax + 0x70]
mov edx, dword [ebp - 0x20]
movzx ecx, byte [eax + 4]
mov byte [edx + 4], cl
mov ecx, dword [eax + 0x5c]
mov dword [edx + 0x5c], ecx
mov ecx, dword [eax + 0x60]
mov dword [edx + 0x60], ecx
mov ecx, dword [eax + 0x64]
mov dword [edx + 0x64], ecx
mov ecx, dword [eax + 0x68]
mov dword [edx + 0x68], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x30], ecx
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x34], ecx
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov ecx, dword [eax + 0x44]
mov dword [edx + 0x44], ecx
mov ecx, dword [eax + 0x48]
mov dword [edx + 0x48], ecx
movzx ecx, byte [edx + 5]
movzx edi, byte [eax + 5]
and ecx, 0xfffffff0
and edi, 0xf
or ecx, edi
mov byte [edx + 5], cl
movzx edi, byte [eax + 5]
and ecx, 0xf
and edi, 0xfffffff0
or ecx, edi
mov byte [edx + 5], cl
movzx ecx, byte [edx + 6]
movzx edi, byte [eax + 6]
and ecx, 0xfffffff0
and edi, 0xf
or ecx, edi
mov byte [edx + 6], cl
movzx ecx, byte [edx + 8]
movzx edi, byte [eax + 8]
and ecx, 0xfffffffe
and edi, 1
or ecx, edi
mov byte [edx + 8], cl
mov ecx, dword [eax + 0x4c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [eax + 0x50]
mov dword [edx + 0x50], ecx
mov ecx, dword [eax + 0x54]
mov eax, dword [eax + 0x58]
mov dword [edx + 0x54], ecx
mov ecx, esi
mov dword [edx + 0x58], eax
mov eax, dword [esi]
lea edx, [ebp - 0x24]
mov eax, dword [eax + 0x58]
mov dword [esp], edx
call eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
sub esp, 4
test eax, eax
je 0x549770
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi + 0x28]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0051a6f0
mov ebx, dword [ebp + 0xc]
sub esp, 8
mov dword [ebx], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc