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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, qword [rsp + 0x88]
lea rdi, [rdx + rdx]
xor ebp, ebp
mov rbx, rdi
shl rbx, 6
mov r15d, r8d
add rbx, rsi
mov r14, rdx
mov r11d, ebp
test rdi, rdi
je 0x140197370
mov r14, qword [rsp + 0x60]
mov r10d, ebp
nop word [rax + rax]
mov r9d, r11d
shl r10, 6
shl r9d, 6
add r10, rsi
add r9, r14
movzx eax, byte [r9 + 2]
movzx r8d, byte [r9 + 3]
shl r8d, 8
add r8d, eax
movzx eax, byte [r9 + 1]
shl r8d, 8
add r8d, eax
movzx eax, byte [r9]
shl r8d, 8
add r8d, eax
mov dword [rbx], r8d
movzx eax, byte [r9 + 6]
movzx ecx, byte [r9 + 7]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 4]
shl ecx, 8
add ecx, eax
mov dword [rbx + 4], ecx
movzx eax, byte [r9 + 0xa]
movzx ecx, byte [r9 + 0xb]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 9]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 8]
shl ecx, 8
add ecx, eax
mov dword [rbx + 8], ecx
movzx eax, byte [r9 + 0xe]
movzx ecx, byte [r9 + 0xf]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0xd]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0xc]
shl ecx, 8
add ecx, eax
mov dword [rbx + 0xc], ecx
movzx eax, byte [r9 + 0x12]
movzx ecx, byte [r9 + 0x13]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x11]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x10]
shl ecx, 8
add ecx, eax
mov dword [rbx + 0x10], ecx
movzx eax, byte [r9 + 0x16]
movzx edx, byte [r9 + 0x17]
shl edx, 8
add edx, eax
movzx eax, byte [r9 + 0x15]
shl edx, 8
add edx, eax
movzx eax, byte [r9 + 0x14]
shl edx, 8
add edx, eax
mov dword [rbx + 0x14], edx
movzx eax, byte [r9 + 0x1a]
movzx ecx, byte [r9 + 0x1b]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x19]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x18]
shl ecx, 8
add ecx, eax
mov dword [rbx + 0x18], ecx
movzx eax, byte [r9 + 0x1e]
movzx ecx, byte [r9 + 0x1f]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x1c]
shl ecx, 8
add ecx, eax
mov dword [rbx + 0x1c], ecx
movzx eax, byte [r9 + 0x22]
movzx ecx, byte [r9 + 0x23]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x21]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x20]
shl ecx, 8
add ecx, eax
mov dword [rbx + 0x20], ecx
movzx eax, byte [r9 + 0x26]
movzx ecx, byte [r9 + 0x27]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x25]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x24]
shl ecx, 8
add ecx, eax
mov dword [rbx + 0x24], ecx
movzx eax, byte [r9 + 0x2a]
movzx ecx, byte [r9 + 0x2b]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x29]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x28]
shl ecx, 8
add ecx, eax
mov dword [rbx + 0x28], ecx
movzx eax, byte [r9 + 0x2e]
movzx ecx, byte [r9 + 0x2f]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x2d]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x2c]
shl ecx, 8
add ecx, eax
mov dword [rbx + 0x2c], ecx
movzx eax, byte [r9 + 0x32]
movzx ecx, byte [r9 + 0x33]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x31]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x30]
shl ecx, 8
add ecx, eax
mov dword [rbx + 0x30], ecx
movzx eax, byte [r9 + 0x36]
movzx ecx, byte [r9 + 0x37]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x35]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x34]
shl ecx, 8
add ecx, eax
mov dword [rbx + 0x34], ecx
movzx ecx, byte [r9 + 0x3b]
movzx eax, byte [r9 + 0x3a]
shl ecx, 8
add ecx, eax
inc r11d
movzx eax, byte [r9 + 0x39]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x38]
shl ecx, 8
add ecx, eax
mov dword [rbx + 0x38], ecx
movzx eax, byte [r9 + 0x3e]
movzx ecx, byte [r9 + 0x3f]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x3d]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x3c]
shl ecx, 8
add ecx, eax
mov eax, r8d
mov dword [rbx + 0x3c], ecx
mov ecx, edx
shl rcx, 0x20
or rcx, rax
mov qword [r10], rcx
mov eax, dword [rbx + 0x28]
mov ecx, dword [rbx + 0x3c]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 8], rcx
mov eax, dword [rbx + 0x10]
mov ecx, dword [rbx + 0x24]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x10], rcx
mov eax, dword [rbx + 0x38]
mov ecx, dword [rbx + 0xc]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x18], rcx
mov eax, dword [rbx + 0x20]
mov ecx, dword [rbx + 0x34]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x20], rcx
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x1c]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x28], rcx
mov eax, dword [rbx + 0x30]
mov ecx, dword [rbx + 4]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x30], rcx
mov ecx, dword [rbx + 0x2c]
mov eax, dword [rbx + 0x18]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x38], rcx
mov r10d, r11d
cmp r10, rdi
jb 0x140197060
mov r14, qword [rsp + 0x68]
mov r12, qword [rsp + 0x90]
mov rax, r14
mov r13, qword [rsp + 0x80]
dec r15d
mov ebp, dword [rsp + 0x78]
shl rax, 7
mov eax, dword [rax + rsi - 0x40]
and eax, r15d
nop word [rax + rax]
mov edx, eax
mov r9, r12
imul rdx, rdi
mov r8, r14
mov rcx, rsi
shl rdx, 6
add rdx, r13
call fcn.140195260
mov edx, eax
mov r9, r12
mov eax, r15d
mov r8, r14
and rdx, rax
mov rcx, rsi
imul rdx, rdi
shl rdx, 6
add rdx, r13
call fcn.140195260
and eax, r15d
add ebp, 0xfffffffe
jne 0x1401973a0
mov ebp, 0
test rdi, rdi
je 0x140197670
mov r9, qword [rsp + 0x60]
mov r8d, ebp
nop word [rax + rax]
shl r8, 6
mov edx, ebp
add r8, rsi
shl edx, 6
add rdx, r9
mov ecx, dword [r8]
mov eax, ecx
mov byte [rbx], cl
shr eax, 8
mov byte [rbx + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 2], al
shr ecx, 0x18
mov byte [rbx + 3], cl
mov ecx, dword [r8 + 4]
mov eax, ecx
mov byte [rbx + 4], cl
shr eax, 8
mov byte [rbx + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 6], al
shr ecx, 0x18
mov byte [rbx + 7], cl
mov ecx, dword [r8 + 8]
mov eax, ecx
mov byte [rbx + 8], cl
shr eax, 8
mov byte [rbx + 9], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 0xa], al
shr ecx, 0x18
mov byte [rbx + 0xb], cl
mov ecx, dword [r8 + 0xc]
mov eax, ecx
mov byte [rbx + 0xc], cl
shr eax, 8
mov byte [rbx + 0xd], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 0xe], al
shr ecx, 0x18
mov byte [rbx + 0xf], cl
mov ecx, dword [r8 + 0x10]
mov eax, ecx
mov byte [rbx + 0x10], cl
shr eax, 8
mov byte [rbx + 0x11], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 0x12], al
shr ecx, 0x18
mov byte [rbx + 0x13], cl
mov ecx, dword [r8 + 0x14]
mov eax, ecx
mov byte [rbx + 0x14], cl
shr eax, 8
mov byte [rbx + 0x15], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 0x16], al
shr ecx, 0x18
mov byte [rbx + 0x17], cl
mov ecx, dword [r8 + 0x18]
mov eax, ecx
mov byte [rbx + 0x18], cl
shr eax, 8
mov byte [rbx + 0x19], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 0x1a], al
shr ecx, 0x18
mov byte [rbx + 0x1b], cl
mov ecx, dword [r8 + 0x1c]
mov eax, ecx
shr eax, 8
mov byte [rbx + 0x1c], cl
mov byte [rbx + 0x1d], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 0x1e], al
shr ecx, 0x18
mov byte [rbx + 0x1f], cl
mov ecx, dword [r8 + 0x20]
mov eax, ecx
mov byte [rbx + 0x20], cl
shr eax, 8
mov byte [rbx + 0x21], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 0x22], al
shr ecx, 0x18
mov byte [rbx + 0x23], cl
mov ecx, dword [r8 + 0x24]
mov eax, ecx
mov byte [rbx + 0x24], cl
shr eax, 8
mov byte [rbx + 0x25], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 0x26], al
shr ecx, 0x18
mov byte [rbx + 0x27], cl
mov ecx, dword [r8 + 0x28]
mov eax, ecx
mov byte [rbx + 0x28], cl
shr eax, 8
mov byte [rbx + 0x29], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 0x2a], al
shr ecx, 0x18
mov byte [rbx + 0x2b], cl
mov ecx, dword [r8 + 0x2c]
mov eax, ecx
mov byte [rbx + 0x2c], cl
shr eax, 8
mov byte [rbx + 0x2d], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 0x2e], al
shr ecx, 0x18
mov byte [rbx + 0x2f], cl
mov ecx, dword [r8 + 0x30]
mov eax, ecx
mov byte [rbx + 0x30], cl
shr eax, 8
mov byte [rbx + 0x31], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 0x32], al
shr ecx, 0x18
mov byte [rbx + 0x33], cl
mov ecx, dword [r8 + 0x34]
mov eax, ecx
mov byte [rbx + 0x34], cl
shr eax, 8
mov byte [rbx + 0x35], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 0x36], al
shr ecx, 0x18
mov byte [rbx + 0x37], cl
mov ecx, dword [r8 + 0x38]
mov eax, ecx
shr eax, 8
mov byte [rbx + 0x38], cl
mov byte [rbx + 0x39], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 0x3a], al
shr ecx, 0x18
mov byte [rbx + 0x3b], cl
mov ecx, dword [r8 + 0x3c]
mov eax, ecx
shr eax, 8
mov byte [rbx + 0x3c], cl
mov byte [rbx + 0x3d], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 0x3e], al
inc ebp
shr ecx, 0x18
mov byte [rbx + 0x3f], cl
mov eax, dword [rbx]
mov dword [rdx], eax
mov rax, qword [rbx + 0x30]
shr rax, 0x20
mov dword [rdx + 4], eax
mov eax, dword [rbx + 0x28]
mov dword [rdx + 8], eax
mov rax, qword [rbx + 0x18]
shr rax, 0x20
mov dword [rdx + 0xc], eax
mov eax, dword [rbx + 0x10]
mov dword [rdx + 0x10], eax
mov rax, qword [rbx]
shr rax, 0x20
mov dword [rdx + 0x14], eax
mov eax, dword [rbx + 0x38]
mov dword [rdx + 0x18], eax
mov rax, qword [rbx + 0x28]
shr rax, 0x20
mov dword [rdx + 0x1c], eax
mov eax, dword [rbx + 0x20]
mov dword [rdx + 0x20], eax
mov rax, qword [rbx + 0x10]
shr rax, 0x20
mov dword [rdx + 0x24], eax
mov eax, dword [rbx + 8]
mov dword [rdx + 0x28], eax
mov rax, qword [rbx + 0x38]
shr rax, 0x20
mov dword [rdx + 0x2c], eax
mov eax, dword [rbx + 0x30]
mov dword [rdx + 0x30], eax
mov rax, qword [rbx + 0x20]
shr rax, 0x20
mov dword [rdx + 0x34], eax
mov eax, dword [rbx + 0x18]
mov dword [rdx + 0x38], eax
mov rax, qword [rbx + 8]
shr rax, 0x20
mov r8d, ebp
mov dword [rdx + 0x3c], eax
cmp r8, rdi
jb 0x140197400
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret