Function at 0x140096420
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

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, 0x38
mov rax, qword [rdx]
mov rsi, rdx
movzx ebx, byte [rdx + 0x1c]
mov r15, rcx
mov r13d, dword [rcx + 0x54]
not ebx
mov rdi, qword [rcx + 0x10]
and ebx, 1
mov r12d, dword [rax]
inc r13d
mov dword [rcx + 0x54], r13d
mov eax, dword [rdx + 8]
mov dword [rsp + 0x80], eax
lea ebp, [r12 + rbx]
add ebp, dword [rsp + 0xa0]
cmp dword [rsp + 0xa8], 0
je 0x140096488
mov r14d, r9d
sub r14d, r12d
sub r14d, ebx
jmp 0x140096494
mov eax, r13d
lea r14d, [r13 + 1]
add eax, ebp
mov dword [rcx + 0x54], eax
mov rdx, qword [rdx]
mov r9b, 1
mov r8d, r14d
call fcn.14006b7f0
test ebx, ebx
je 0x1400964c3
mov r8d, dword [rsi + 0xc]
lea r9d, [r14 + r12]
mov edx, 0x49
mov dword [rsp + 0x20], 0
mov rcx, rdi
call fcn.14004fb30
cmp dword [rsp + 0xa8], 0
jne 0x14009650c
mov eax, dword [rsp + 0xa0]
lea r9d, [r14 + r12]
mov r8d, dword [rsp + 0x98]
add r9d, ebx
mov rcx, qword [r15 + 0x10]
mov edx, 0x20
mov dword [rsp + 0x20], eax
call fcn.14004fb30
mov r8d, dword [rsp + 0xa0]
mov rcx, r15
mov edx, dword [rsp + 0x98]
call fcn.140069af0
mov eax, dword [rsp + 0x80]
mov edx, 0x31
sub ebp, eax
mov dword [rsp + 0x20], r13d
mov r9d, ebp
mov rcx, rdi
lea r8d, [r14 + rax]
call fcn.14004fb30
cmp dword [rsp + 0x80], 0
jle 0x140096726
mov ecx, dword [r15 + 0x54]
lea r8d, [r14 + r12]
mov ebp, r12d
lea eax, [rcx + 1]
add ecx, dword [rsi + 8]
mov dword [r15 + 0x54], ecx
sub ebp, dword [rsi + 8]
add ebp, ebx
mov dword [rsp + 0xa8], eax
test ebx, ebx
jne 0x140096565
mov r8d, dword [rsi + 0xc]
mov edx, 0x2e
mov dword [rsp + 0x20], 0
mov eax, 0x3b
test ebx, ebx
mov rcx, rdi
cmove edx, eax
xor r9d, r9d
call fcn.14004fb30
mov ecx, dword [rsi + 8]
mov r9d, r14d
mov r8d, dword [rsp + 0xa8]
mov edx, 0x2a
mov dword [rsp + 0x20], ecx
mov rcx, rdi
mov dword [rsp + 0x88], eax
call fcn.14004fb30
mov ecx, dword [rsi + 0x18]
test ecx, ecx
jns 0x1400965b9
mov ecx, dword [rdi + 0x3c]
dec ecx
mov rax, qword [rdi]
cmp byte [rax + 0x50], 0
je 0x1400965cb
lea r12, [0x1400e83d0]
jmp 0x1400965da
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
lea r12, [rax + rcx*8]
mov rax, qword [r15]
cmp byte [rax + 0x50], 0
jne 0x140096829
mov rbx, qword [r12 + 0x10]
xor edx, edx
mov eax, dword [rsp + 0xa0]
add eax, ebp
mov dword [r12 + 8], eax
movzx r8d, word [rbx + 6]
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0xfffffffa
mov r8, rbx
mov rcx, rdi
lea edx, [r9 + 5]
call fcn.140050160
mov r8d, dword [rsp + 0x80]
mov r9d, 1
mov rdx, qword [rsi]
mov rcx, r15
call fcn.1400975c0
mov qword [r12 + 0x10], rax
xor r9d, r9d
mov ebp, dword [rdi + 0x3c]
mov rcx, rdi
lea edx, [r9 + 0x2b]
lea r8d, [rbp + 1]
mov dword [rsp + 0x20], r8d
call fcn.14004fb30
mov rcx, rdi
call fcn.14004fc70
mov dword [rsi + 0x14], eax
xor r12d, r12d
mov r8d, dword [r15 + 0x54]
mov rcx, rdi
inc r8d
mov dword [rsp + 0x20], r12d
mov dword [r15 + 0x54], r8d
mov r9d, dword [rsi + 0x14]
lea edx, [r12 + 0x11]
mov dword [rsi + 0x10], r8d
call fcn.14004fb30
mov r8d, dword [rsi + 0xc]
lea edx, [r12 + 0x77]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov rcx, rdi
call fcn.14004fb30
mov eax, dword [rsp + 0x88]
mov r8d, dword [rdi + 0x3c]
cmp r8d, eax
jbe 0x1400966c1
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], r8d
mov ecx, dword [rdi + 0x3c]
mov r8d, r14d
mov rax, qword [rdi + 0x30]
dec ecx
mov r9d, dword [rsp + 0xa8]
mov edx, 0x20
mov dword [rax + 0x64], ecx
mov ebx, dword [rsi + 8]
mov rcx, qword [r15 + 0x10]
mov dword [rsp + 0x20], ebx
call fcn.14004fb30
mov r8d, ebx
mov edx, r14d
mov rcx, r15
call fcn.140069af0
mov r11d, dword [rdi + 0x3c]
cmp r11d, ebp
jbe 0x140096718
mov rax, qword [rdi + 8]
lea rcx, [rbp*2]
add rcx, rbp
mov dword [rax + rcx*8 + 8], r11d
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
jmp 0x140096729
xor r12d, r12d
movzx edx, byte [rsi + 0x1c]
mov r9d, r13d
mov r8d, dword [rsi + 0xc]
not dl
and edx, 1
mov dword [rsp + 0x20], r12d
add edx, 0x6d
mov rcx, rdi
call fcn.14004fb30
mov rax, qword [rsp + 0x90]
mov ecx, dword [rax + 0xc]
test ecx, ecx
je 0x140096829
mov eax, dword [rax + 0x10]
mov edx, 0x8b
test eax, eax
mov dword [rsp + 0x20], r12d
lea ebx, [rax + 1]
cmove ebx, ecx
xor r9d, r9d
mov r8d, ebx
mov rcx, rdi
call fcn.14004fb30
mov r9d, 0xffffffff
mov ebp, eax
mov r8d, ebx
mov dword [rsp + 0x20], r12d
mov rcx, rdi
lea edx, [r9 + 0x26]
call fcn.14004fb30
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x10]
call fcn.14004fb30
mov ebx, eax
mov eax, dword [rdi + 0x3c]
cmp eax, ebp
jbe 0x1400967ce
mov rcx, qword [rdi + 8]
lea rdx, [rbp*2]
add rdx, rbp
mov dword [rcx + rdx*8 + 8], eax
mov ecx, dword [rdi + 0x3c]
xor r9d, r9d
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rsp + 0x20], r12d
lea edx, [r9 + 0x69]
mov dword [rax + 0x64], ecx
mov rcx, rdi
mov r8d, dword [rsi + 0xc]
call fcn.14004fb30
mov r8d, dword [rsi + 0xc]
xor r9d, r9d
mov rcx, rdi
mov dword [rsp + 0x20], r12d
lea edx, [r9 + 0x5f]
call fcn.14004fb30
mov edx, dword [rdi + 0x3c]
cmp edx, ebx
jbe 0x14009681d
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret