Function at 0x49a470
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
cmp ebp, 0x3f
jbe 0x49a559
test esi, esi
je 0x49a559
mov edi, ebp
and edi, 0xffffffc0
add edi, ebx
lea esi, [esi]
nop
cmp ebx, esi
je 0x49a4cc
lea eax, [ebx + 0x10]
cmp esi, eax
jae 0x49a4b6
lea eax, [esi + 0x10]
cmp ebx, eax
jb 0x49a570
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
movzx eax, word [ebx + 0x10]
add esi, 0x40
mov word [esi - 0x30], ax
movzx eax, word [ebx + 0x12]
mov word [esi - 0x2e], ax
mov eax, dword [ebx + 0x14]
mov dword [esi - 0x2c], eax
lea eax, [ebx + 0x18]
mov dword [esp], eax
call sym.__elf_load_u64L
mov dword [esi - 0x28], eax
lea eax, [ebx + 0x20]
mov dword [esi - 0x24], edx
mov dword [esp], eax
call sym.__elf_load_u64L
mov dword [esi - 0x20], eax
lea eax, [ebx + 0x28]
add ebx, 0x40
mov dword [esi - 0x1c], edx
mov dword [esp], eax
call sym.__elf_load_u64L
mov dword [esi - 0x18], eax
mov dword [esi - 0x14], edx
mov eax, dword [ebx - 0x10]
mov dword [esi - 0x10], eax
movzx eax, word [ebx - 0xc]
mov word [esi - 0xc], ax
movzx eax, word [ebx - 0xa]
mov word [esi - 0xa], ax
movzx eax, word [ebx - 8]
mov word [esi - 8], ax
movzx eax, word [ebx - 6]
mov word [esi - 6], ax
movzx eax, word [ebx - 4]
mov word [esi - 4], ax
movzx eax, word [ebx - 2]
mov word [esi - 2], ax
cmp ebx, edi
jne 0x49a4a0
add esp, 0x1c
mov eax, ebp
pop ebx
and eax, 0xffffffc0
pop esi
pop edi
pop ebp
ret
cmp esi, ebx
jb 0x49a5e8
movzx eax, byte [ebx + 0xf]
mov byte [esi + 0xf], al
movzx eax, byte [ebx + 0xe]
mov byte [esi + 0xe], al
movzx eax, byte [ebx + 0xd]
mov byte [esi + 0xd], al
movzx eax, byte [ebx + 0xc]
mov byte [esi + 0xc], al
movzx eax, byte [ebx + 0xb]
mov byte [esi + 0xb], al
movzx eax, byte [ebx + 0xa]
mov byte [esi + 0xa], al
movzx eax, byte [ebx + 9]
mov byte [esi + 9], al
movzx eax, byte [ebx + 8]
mov byte [esi + 8], al
movzx eax, byte [ebx + 7]
mov byte [esi + 7], al
movzx eax, byte [ebx + 6]
mov byte [esi + 6], al
movzx eax, byte [ebx + 5]
mov byte [esi + 5], al
movzx eax, byte [ebx + 4]
mov byte [esi + 4], al
movzx eax, byte [ebx + 3]
mov byte [esi + 3], al
movzx eax, byte [ebx + 2]
mov byte [esi + 2], al
movzx eax, byte [ebx + 1]
mov byte [esi + 1], al
jmp 0x49a4cc
movzx eax, byte [ebx]
mov byte [esi], al
movzx eax, byte [ebx + 1]
mov byte [esi + 1], al
movzx eax, byte [ebx + 2]
mov byte [esi + 2], al
movzx eax, byte [ebx + 3]
mov byte [esi + 3], al
movzx eax, byte [ebx + 4]
mov byte [esi + 4], al
movzx eax, byte [ebx + 5]
mov byte [esi + 5], al
movzx eax, byte [ebx + 6]
mov byte [esi + 6], al
movzx eax, byte [ebx + 7]
mov byte [esi + 7], al
movzx eax, byte [ebx + 8]
mov byte [esi + 8], al
movzx eax, byte [ebx + 9]
mov byte [esi + 9], al
movzx eax, byte [ebx + 0xa]
mov byte [esi + 0xa], al
movzx eax, byte [ebx + 0xb]
mov byte [esi + 0xb], al
movzx eax, byte [ebx + 0xc]
mov byte [esi + 0xc], al
movzx eax, byte [ebx + 0xd]
mov byte [esi + 0xd], al
movzx eax, byte [ebx + 0xe]
mov byte [esi + 0xe], al
movzx eax, byte [ebx + 0xf]
mov byte [esi + 0xf], al
jmp 0x49a4cc