Function at 0x18004a510
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], 0x50
call fcn.18004ad60
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], 0x4b
call fcn.18004ad60
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], 1
call fcn.18004ad60
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], 2
call fcn.18004ad60
movzx r11d, byte [rbx]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx r11d, byte [rbx + 1]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx eax, byte [rbx + 2]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], al
call fcn.18004ad60
movzx r11d, byte [rbx + 3]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx eax, byte [rbx + 4]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], al
call fcn.18004ad60
movzx r11d, byte [rbx + 5]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx eax, byte [rbx + 6]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], al
call fcn.18004ad60
movzx r11d, byte [rbx + 7]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx eax, byte [rbx + 8]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], al
call fcn.18004ad60
movzx r11d, byte [rbx + 9]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx r11d, byte [rbx + 0xa]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx r11d, byte [rbx + 0xb]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx eax, byte [rbx + 0xc]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], al
call fcn.18004ad60
movzx r11d, byte [rbx + 0xd]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx r11d, byte [rbx + 0xe]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx r11d, byte [rbx + 0xf]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx eax, byte [rbx + 0x10]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], al
call fcn.18004ad60
movzx r11d, byte [rbx + 0x11]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx r11d, byte [rbx + 0x12]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx r11d, byte [rbx + 0x13]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx eax, byte [rbx + 0x14]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], al
call fcn.18004ad60
movzx r11d, byte [rbx + 0x15]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx r11d, byte [rbx + 0x16]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx r11d, byte [rbx + 0x17]
mov byte [rsp + 0x30], r11b
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
call fcn.18004ad60
movzx eax, byte [rbx + 0x18]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], al
call fcn.18004ad60
mov r11d, dword [rbx + 0x18]
lea rdx, [rsp + 0x30]
shr r11, 8
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx eax, byte [rbx + 0x28]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], al
call fcn.18004ad60
mov r11d, dword [rbx + 0x28]
shr r11, 8
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx eax, byte [rbx + 0x30]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], al
call fcn.18004ad60
mov r11d, dword [rbx + 0x30]
lea rdx, [rsp + 0x30]
shr r11, 8
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx eax, byte [rbx + 0x38]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], al
call fcn.18004ad60
movzx r11d, byte [rbx + 0x39]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx eax, byte [rbx + 0x3a]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], al
call fcn.18004ad60
movzx r11d, byte [rbx + 0x3b]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx eax, byte [rbx + 0x40]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], al
call fcn.18004ad60
movzx r11d, byte [rbx + 0x41]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx r11d, byte [rbx + 0x42]
mov byte [rsp + 0x30], r11b
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
call fcn.18004ad60
movzx r11d, byte [rbx + 0x43]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx eax, byte [rbx + 0x44]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], al
call fcn.18004ad60
movzx r11d, byte [rbx + 0x45]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx r11d, byte [rbx + 0x46]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
movzx r11d, byte [rbx + 0x47]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rsi
mov byte [rsp + 0x30], r11b
call fcn.18004ad60
mov r8d, dword [rbx + 0x18]
xor edi, edi
test r8d, r8d
jne 0x18004aa42
mov eax, edi
jmp 0x18004aa51
lea rdx, [rbx + 0x168]
mov rcx, rsi
call fcn.18004ad60
mov eax, eax
cmp rax, qword [rbx + 0x18]
jne 0x18004aabd
cmp qword [rbx + 0x28], rdi
je 0x18004aa83
mov r8d, dword [rbx + 0x28]
test r8d, r8d
jne 0x18004aa6c
mov eax, edi
jmp 0x18004aa7b
mov rdx, qword [rbx + 0x158]
mov rcx, rsi
call fcn.18004ad60
mov eax, eax
cmp rax, qword [rbx + 0x28]
jne 0x18004aabd
cmp qword [rbx + 0x30], rdi
je 0x18004aaab
mov r8d, dword [rbx + 0x30]
test r8d, r8d
je 0x18004aaa3
mov rdx, qword [rbx + 0x160]
mov rcx, rsi
call fcn.18004ad60
mov edi, eax
mov eax, edi
cmp rax, qword [rbx + 0x30]
jne 0x18004aabd
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, 0xa
add rsp, 0x20
pop rdi
ret