Function at 0x5289fc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
push rax
push qword [rbp + 0x10]
call fcn.0059d6c2
pop rcx
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jge 0x528a21
mov eax, dword [rbp - 4]
leave
ret 8
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x18]
lock inc dword [rax]
cmp dword [rax + 4], 1
jne 0x528cd9
mov qword [rbp - 0x18], rax
mov rax, qword [rax + 8]
mov ebx, dword [rax]
sub ebx, 8
jb 0x528cd9
mov rbx, qword [rax + 4]
mov qword [rbp - 0x10], rbx
mov rax, qword [rbp - 0x18]
lock dec dword [rax]
cmp dword [rbp - 0x10], 0xd
jne 0x528a76
push 4
lea rax, [rbp - 0xc]
push rax
push 4
push str.IHDRPLTEtRNSbKGDIDATIEND
call fcn.00410e58
cmp eax, 0
je 0x528a7f
mov eax, 0xfffffff4
leave
ret 8
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x18]
lock inc dword [rax]
cmp dword [rax + 4], 1
jne 0x528cdb
mov qword [rbp - 0x28], rax
mov rax, qword [rax + 8]
mov ebx, dword [rax]
sub ebx, 0x15
jb 0x528cdb
mov rbx, qword [rax + 4]
mov rsi, qword [rax + 0xc]
mov edi, dword [rax + 0x14]
mov cl, byte [rax + 0x18]
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x10], edi
mov byte [rbp - 0xc], cl
mov rax, qword [rbp - 0x28]
lock dec dword [rax]
push rax
lea rax, [rbp - 0x18]
push rax
call fcn.0052cc58
pop rcx
push rax
lea rax, [rbp - 0x14]
push rax
call fcn.0052cc58
pop rcx
cmp dword [rbp - 0x18], 0
je 0x528b00
cmp dword [rbp - 0x14], 0
je 0x528b00
cmp dword [rbp - 0x18], 0x1fff
ja 0x528b00
cmp dword [rbp - 0x14], 0x1fff
jbe 0x528b09
mov eax, 0xfffffff3
leave
ret 8
movzx eax, byte [rbp - 0x10]
cmp eax, 1
je 0x528b3f
movzx eax, byte [rbp - 0x10]
cmp eax, 2
je 0x528b3f
movzx eax, byte [rbp - 0x10]
cmp eax, 4
je 0x528b3f
movzx eax, byte [rbp - 0x10]
cmp eax, 8
je 0x528b3f
movzx eax, byte [rbp - 0x10]
cmp eax, 0x10
je 0x528b3f
mov eax, 0xfffffff4
leave
ret 8
movzx eax, byte [rbp - 0xf]
cmp eax, 0
je 0x528b75
movzx eax, byte [rbp - 0xf]
cmp eax, 2
je 0x528b75
movzx eax, byte [rbp - 0xf]
cmp eax, 3
je 0x528b75
movzx eax, byte [rbp - 0xf]
cmp eax, 4
je 0x528b75
movzx eax, byte [rbp - 0xf]
cmp eax, 6
je 0x528b75
mov eax, 0xfffffff4
leave
ret 8
movzx eax, byte [rbp - 0xf]
cmp eax, 0
je 0x528b99
movzx eax, byte [rbp - 0xf]
cmp eax, 3
je 0x528b99
movzx eax, byte [rbp - 0x10]
cmp eax, 8
jae 0x528b99
mov eax, 0xfffffff4
leave
ret 8
movzx eax, byte [rbp - 0xf]
cmp eax, 3
jne 0x528bb4
movzx eax, byte [rbp - 0x10]
cmp eax, 8
jbe 0x528bb4
mov eax, 0xfffffff4
leave
ret 8
movzx eax, byte [rbp - 0xe]
cmp eax, 0
jne 0x528bc6
movzx eax, byte [rbp - 0xd]
cmp eax, 0
je 0x528bcf
mov eax, 0xfffffff4
leave
ret 8
movzx eax, byte [rbp - 0xc]
cmp eax, 1
jbe 0x528be1
mov eax, 0xfffffff4
leave
ret 8
mov rax, qword [rbp + 0x10]
mov ebx, dword [rbp - 0x18]
mov dword [rax + 8], ebx
mov rax, qword [rbp + 0x10]
mov ebx, dword [rbp - 0x14]
mov dword [rax + 0xc], ebx
mov rax, qword [rbp + 0x10]
movzx ebx, byte [rbp - 0x10]
mov byte [rax + 0x10], bl
mov rax, qword [rbp + 0x10]
movzx ebx, byte [rbp - 0xf]
mov byte [rax + 0x11], bl
mov rax, qword [rbp + 0x10]
movzx ebx, byte [rbp - 0xc]
mov byte [rax + 0x12], bl
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 0x12]
cmp eax, 0
je 0x528c3e
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x7c], 0
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x80], 6
jmp 0x528c57
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x7c], 7
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x80], 7
mov rax, qword [rbp + 0x10]
mov rbx, qword [rbp + 0x10]
mov ebx, dword [rbx + 8]
shl ebx, 2
mov rsi, qword [rbp + 0x10]
lea rax, [rax + 0x70]
mov qword [rsp], rax
mov eax, ebx
mul dword [rsi + 0xc]
mov rbx, qword [rsp]
mov dword [rbx], eax
mov rax, qword [rbp + 0x10]
mov rbx, qword [rbp + 0x10]
movzx ebx, byte [rbx + 0x11]
cmp ebx, 7
jae 0x528cdd
movzx ebx, byte [rbx + 0x715530]
mov rsi, qword [rbp + 0x10]
movzx esi, byte [rsi + 0x10]
lea rax, [rax + 0x4c]
mov qword [rsp], rax
mov eax, ebx
mul esi
shr eax, 3
mov rbx, qword [rsp]
mov dword [rbx], eax
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x4c], 0
jne 0x528cc6
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x4c], 1
mov rax, qword [rbp + 0x10]
xor ebx, ebx
mov word [rax + 0x48], bx
mov byte [rax + 0x4a], bl
xor eax, eax
leave
ret 8
int 5
int 5
int 5