Function at 0x1400628ec
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]
mov rdi, rdx
movzx ebx, byte [rdx + 0x24]
mov r14, rcx
mov rsi, qword [rcx + 0x10]
not ebx
mov r12d, dword [rdx + 8]
and ebx, 1
mov eax, dword [rax]
mov dword [rsp + 0x90], eax
lea ebp, [rax + rbx]
xor eax, eax
add ebp, dword [rsp + 0xb8]
mov dword [rsp + 0x98], eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xc0]
test eax, eax
je 0x140062953
mov r15d, r9d
sub r15d, eax
jmp 0x14006295f
mov eax, dword [rcx + 0x38]
lea r15d, [rax + 1]
add eax, ebp
mov dword [rcx + 0x38], eax
mov r13d, dword [r8 + 0x14]
test r13d, r13d
je 0x14006296d
inc r13d
jmp 0x140062971
mov r13d, dword [r8 + 0x10]
mov eax, dword [rcx + 0x44]
mov r8d, r15d
mov r9d, dword [rsp + 0xb0]
dec eax
mov dword [rcx + 0x44], eax
mov dword [rdx + 0x1c], eax
mov eax, r9d
mov rdx, qword [rdx]
neg eax
sbb cl, cl
and cl, 4
inc cl
mov byte [rsp + 0x20], cl
mov rcx, r14
call fcn.140047104
mov eax, dword [rsp + 0x90]
add eax, r15d
mov dword [rsp + 0xb0], eax
test ebx, ebx
je 0x1400629d7
and dword [rsp + 0x20], 0
mov r9d, eax
mov r8d, dword [rdi + 0xc]
mov edx, Ordinal_122
mov rcx, rsi
call fcn.140031b3c
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0xc0], 0
jne 0x140062a0a
mov ecx, dword [rsp + 0xb8]
test ecx, ecx
jle 0x140062a0a
mov r8d, dword [rsp + 0xa8]
lea r9d, [rax + rbx]
mov dword [rsp + 0x20], ecx
mov edx, reloc.WLDAP32.dll_Ordinal_77
mov rcx, qword [r14 + 0x10]
call fcn.140031b3c
test r12d, r12d
jle 0x140062bef
mov r8, qword [rsp + 0xa0]
mov r9d, r15d
mov rdx, rdi
mov dword [rsp + 0x20], ebp
mov rcx, r14
call fcn.140062870
mov edx, dword [r14 + 0x38]
mov r8d, dword [rsp + 0xb0]
mov dword [rsp + 0x98], eax
lea eax, [rdx + 1]
add edx, dword [rdi + 8]
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0x90]
mov dword [r14 + 0x38], edx
sub eax, dword [rdi + 8]
add eax, ebx
mov dword [rsp + 0x34], eax
test ebx, ebx
jne 0x140062a69
mov r8d, dword [rdi + 0xc]
neg ebx
mov rcx, rsi
sbb edx, edx
and dword [rsp + 0x20], 0
and edx, 0xffffffa1
xor r9d, r9d
add edx, 0x73
call fcn.140031b3c
mov ecx, dword [rdi + 8]
mov r9d, r15d
mov r8d, dword [rsp + 0xc0]
mov edx, Ordinal_88
mov dword [rsp + 0x20], ecx
mov rcx, rsi
mov dword [rsp + 0xb0], eax
call fcn.140031b3c
mov edx, dword [rdi + 0x18]
mov rcx, rsi
call fcn.140032510
mov rcx, qword [r14]
mov qword [rsp + 0x38], rax
cmp byte [rcx + 0x61], 0
jne 0x140062cf0
mov rbx, qword [rax + 0x10]
xor edx, edx
mov ecx, dword [rsp + 0x34]
add ecx, dword [rsp + 0xb8]
mov dword [rax + 8], ecx
movzx r8d, word [rbx + 6]
mov rcx, qword [rbx + 0x18]
call fcn.1400c58a0
mov r9d, 0xfffffff7
mov r8, rbx
or edx, 0xffffffff
mov rcx, rsi
call fcn.140032424
movzx r9d, word [rbx + 8]
mov r8d, r12d
movzx eax, word [rbx + 6]
mov rcx, r14
mov rdx, qword [rdi]
sub r9d, eax
dec r9d
call fcn.14006390c
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
mov qword [rcx + 0x10], rax
lea edx, [r9 + 0x10]
mov ebx, dword [rsi + 0x90]
mov rcx, rsi
lea r8d, [rbx + 1]
mov dword [rsp + 0x20], r8d
call fcn.140031b3c
dec dword [r14 + 0x44]
mov edx, reloc.WLDAP32.dll_Ordinal_12
mov eax, dword [r14 + 0x44]
mov rcx, rsi
and dword [rsp + 0x20], 0
mov dword [rdi + 0x14], eax
inc dword [r14 + 0x38]
mov r8d, dword [r14 + 0x38]
mov r9d, dword [rdi + 0x14]
mov dword [rdi + 0x10], r8d
call fcn.140031b3c
mov r8d, dword [rdi + 0xc]
xor r9d, r9d
and dword [rsp + 0x20], 0
mov edx, Ordinal_142
mov rcx, rsi
call fcn.140031b3c
test r13d, r13d
je 0x140062ba4
and dword [rsp + 0x20], 0
mov r8d, r13d
mov r9d, dword [rdi + 0x1c]
mov edx, SQLAllocHandle
mov rcx, rsi
call fcn.140031b3c
mov edx, dword [rsp + 0xb0]
mov rcx, rsi
call fcn.140032510
mov ecx, dword [rsi + 0x90]
mov r8d, r15d
mov r9d, dword [rsp + 0xc0]
mov edx, reloc.WLDAP32.dll_Ordinal_77
mov dword [rax + 8], ecx
mov eax, dword [rdi + 8]
mov rcx, qword [r14 + 0x10]
mov dword [rsp + 0x20], eax
call fcn.140031b3c
mov edx, ebx
mov rcx, rsi
call fcn.140032510
mov ecx, dword [rsi + 0x90]
mov dword [rax + 8], ecx
test r13d, r13d
je 0x140062c78
mov r9d, dword [rsi + 0x90]
mov r8d, r13d
mov ebx, dword [rdi + 0xc]
add r9d, 4
and dword [rsp + 0x20], 0
mov edx, 0x30
mov rcx, rsi
call fcn.140031b3c
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, ebx
mov rcx, rsi
lea edx, [r9 + 0x20]
call fcn.140031b3c
mov eax, dword [rsp + 0x90]
lea r13d, [r15 + r12]
xor r9d, r9d
sub eax, r12d
mov dword [rsp + 0x28], eax
mov r8d, ebx
mov rcx, rsi
mov dword [rsp + 0x20], r13d
lea edx, [r9 + 0x25]
call fcn.140031e4c
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, ebx
mov dword [rsp + 0x30], eax
mov rcx, rsi
lea edx, [r9 + 0x7b]
call fcn.140031b3c
jmp 0x140062c7c
lea r13d, [r15 + r12]
mov eax, dword [rsp + 0x98]
test eax, eax
jne 0x140062ca1
mov r8, qword [rsp + 0xa0]
mov r9d, r15d
mov rdx, rdi
mov dword [rsp + 0x20], ebp
mov rcx, r14
call fcn.140062870
mov dl, byte [rdi + 0x24]
sub ebp, r12d
mov r8d, dword [rdi + 0xc]
not dl
and edx, 1
mov dword [rsp + 0x28], ebp
add edx, 0x83
mov dword [rsp + 0x20], r13d
mov r9d, eax
mov rcx, rsi
call fcn.140031e4c
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140062cf0
mov r9d, dword [rdi + 0x20]
test r9d, r9d
jne 0x140062ce2
mov r9d, dword [rsi + 0x90]
mov edx, eax
mov rcx, rsi
call fcn.140032510
mov dword [rax + 8], r9d
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret