Function at 0x1800b4690
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov rax, qword [rdx]
movzx ebx, byte [rdx + 0x24]
and dword [rsp + 0x90], 0
mov r12d, dword [rax]
mov eax, dword [rsp + 0xc0]
and dword [rsp + 0x34], 0
mov rsi, qword [rcx + 0x10]
mov r13d, dword [rdx + 8]
not ebx
and ebx, 1
mov rdi, rdx
mov r15, rcx
lea ebp, [r12 + rbx]
add ebp, dword [rsp + 0xb8]
test eax, eax
je 0x1800b46f2
mov r14d, r9d
sub r14d, eax
jmp 0x1800b46fe
mov eax, dword [rcx + 0x38]
lea r14d, [rax + 1]
add eax, ebp
mov dword [rcx + 0x38], eax
mov eax, dword [r8 + 0x14]
test eax, eax
je 0x1800b470a
inc eax
jmp 0x1800b470e
mov eax, dword [r8 + 0x10]
mov dword [rsp + 0x98], eax
call fcn.180062ebc
mov r9d, dword [rsp + 0xb0]
mov dword [rdx + 0x1c], eax
mov rdx, qword [rdx]
mov eax, r9d
neg eax
mov r8d, r14d
sbb cl, cl
and cl, 4
or cl, 1
mov byte [rsp + 0x20], cl
mov rcx, r15
call fcn.180077ca8
test ebx, ebx
je 0x1800b475d
mov r8d, dword [rdi + 0xc]
lea r9d, [r14 + r12]
mov edx, Ordinal_122
mov rcx, rsi
call fcn.180062708
cmp dword [rsp + 0xc0], 0
jne 0x1800b478b
mov eax, dword [rsp + 0xb8]
test eax, eax
jle 0x1800b478b
mov edx, dword [rsp + 0xa8]
lea r8d, [r14 + r12]
mov r9d, eax
add r8d, ebx
mov rcx, r15
call fcn.180076aa4
test r13d, r13d
jle 0x1800b493f
mov r8, qword [rsp + 0xa0]
mov r9d, r14d
mov rdx, rdi
mov rcx, r15
mov dword [rsp + 0x20], ebp
call fcn.1800b461c
mov edx, dword [r15 + 0x38]
mov rcx, rsi
mov dword [rsp + 0x90], eax
lea eax, [rdx + 1]
add edx, dword [rdi + 8]
mov dword [rsp + 0xb0], eax
mov eax, r12d
mov dword [r15 + 0x38], edx
sub eax, dword [rdi + 8]
add eax, ebx
mov dword [rsp + 0x30], eax
test ebx, ebx
je 0x1800b47e8
lea r8d, [r14 + r12]
mov edx, SQLAllocHandle
jmp 0x1800b47f1
mov r8d, dword [rdi + 0xc]
mov edx, 0x73
call fcn.1800626ec
mov r8d, dword [rsp + 0xb0]
mov r9d, r14d
mov dword [rsp + 0xc0], eax
mov eax, dword [rdi + 8]
mov edx, Ordinal_88
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.18006283c
mov edx, dword [rdi + 0x18]
mov rcx, rsi
call fcn.180062e80
mov rcx, qword [r15]
cmp byte [rcx + 0x61], 0
mov qword [rsp + 0x38], rax
jne 0x1800b4a29
mov rbx, qword [rax + 0x10]
mov ecx, dword [rsp + 0x30]
xor edx, edx
add ecx, dword [rsp + 0xb8]
mov dword [rax + 8], ecx
movzx r8d, word [rbx + 6]
mov rcx, qword [rbx + 0x18]
call fcn.1800cadf0
mov r9d, 0xfffffff7
mov r8, rbx
or edx, 0xffffffff
mov rcx, rsi
call fcn.180062d28
movzx r9d, word [rbx + 8]
movzx eax, word [rbx + 6]
mov rdx, qword [rdi]
sub r9d, eax
mov r8d, r13d
dec r9d
mov rcx, r15
call fcn.180082a00
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x10], rax
mov rcx, rsi
call fcn.180063330
xor r9d, r9d
lea r8d, [rax + 1]
lea edx, [r9 + 0x10]
mov ebx, eax
mov dword [rsp + 0x20], r8d
call fcn.18006283c
mov rcx, r15
call fcn.180062ebc
mov edx, reloc.WLDAP32.dll_Ordinal_12
mov rcx, rsi
mov dword [rdi + 0x14], eax
mov r8d, dword [r15 + 0x38]
inc r8d
mov dword [r15 + 0x38], r8d
mov r9d, dword [rdi + 0x14]
mov dword [rdi + 0x10], r8d
call fcn.180062708
mov r8d, dword [rdi + 0xc]
mov edx, Ordinal_142
mov rcx, rsi
call fcn.1800626ec
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x1800b490f
mov r9d, dword [rdi + 0x1c]
mov r8d, eax
mov edx, SQLAllocHandle
mov rcx, rsi
call fcn.180062708
mov edx, dword [rsp + 0xc0]
mov rcx, rsi
call fcn.180062c88
mov r9d, dword [rdi + 8]
mov r8d, dword [rsp + 0xb0]
mov edx, r14d
mov rcx, r15
call fcn.180076aa4
mov edx, ebx
mov rcx, rsi
call fcn.180062c88
mov r8d, dword [rsp + 0x98]
test r8d, r8d
je 0x1800b49ae
mov ebx, dword [rdi + 0xc]
mov rcx, rsi
call fcn.180063330
mov edx, 0x30
lea r9d, [rax + 4]
call fcn.180062708
xor r9d, r9d
mov r8d, ebx
lea edx, [r9 + 0x20]
mov rcx, rsi
call fcn.180062708
xor r9d, r9d
lea eax, [r14 + r13]
sub r12d, r13d
lea edx, [r9 + 0x25]
mov r8d, ebx
mov rcx, rsi
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], eax
call fcn.180062970
mov r8d, ebx
mov edx, Ordinal_127
mov rcx, rsi
mov r12d, eax
call fcn.1800626ec
jmp 0x1800b49b3
mov r12d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x90]
test r9d, r9d
jne 0x1800b49dd
mov r8, qword [rsp + 0xa0]
mov r9d, r14d
mov rdx, rdi
mov rcx, r15
mov dword [rsp + 0x20], ebp
call fcn.1800b461c
mov r9d, eax
mov al, byte [rdi + 0x24]
mov r8d, dword [rdi + 0xc]
mov rcx, rsi
and al, 1
neg al
lea eax, [r14 + r13]
sbb edx, edx
sub ebp, r13d
add edx, 0x84
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], eax
call fcn.180062970
test r12d, r12d
je 0x1800b4a29
mov eax, dword [rdi + 0x20]
test eax, eax
jne 0x1800b4a1b
mov rcx, rsi
call fcn.180063330
mov r8d, eax
mov edx, r12d
mov rcx, rsi
call fcn.180062c2c
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret