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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push r12
push r14
sub rsp, 0x38
mov r14, qword [rsp + 0x88]
lea rbp, [rdx + rdx]
mov qword [rsp + 0x70], rdi
xor r12d, r12d
mov qword [rsp + 0x78], r13
mov rbx, rbp
shl rbx, 6
mov edi, r9d
add rbx, r14
mov qword [rsp + 0x30], r15
mov r13d, r8d
mov r15, rdx
mov r11d, r12d
test rbp, rbp
je 0x14019888e
mov r10d, r12d
mov r12, qword [rsp + 0x60]
nop dword [rax]
nop dword [rax + rax]
mov r9d, r11d
shl r10, 6
shl r9d, 6
add r10, r14
add r9, r12
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, rbp
jb 0x140198580
xor r12d, r12d
dec r13d
mov qword [rsp + 0x68], rsi
mov rsi, qword [rsp + 0x90]
mov rax, r15
shl rax, 7
mov eax, dword [rax + r14 - 0x40]
and eax, r13d
cmp edi, 2
jbe 0x140198910
nop dword [rax]
nop word [rax + rax]
mov edx, eax
mov r9, rsi
imul rdx, rbp
mov r8, r15
mov rcx, r14
shl rdx, 6
add rdx, qword [rsp + 0x80]
call fcn.140195ac0
mov edx, eax
mov r9, rsi
mov eax, r13d
mov r8, r15
and rdx, rax
mov rcx, r14
imul rdx, rbp
shl rdx, 6
add rdx, qword [rsp + 0x80]
call fcn.140195ac0
and eax, r13d
add edi, 0xfffffffe
jne 0x1401988c0
jmp 0x140198960
mov edx, eax
mov r9, r15
imul rdx, rbp
mov r8, rbx
mov qword [rsp + 0x20], rsi
shl rdx, 6
mov rcx, r14
add rdx, qword [rsp + 0x80]
call fcn.140193760
mov edx, eax
mov r9, r15
mov eax, r13d
mov r8, r14
and rdx, rax
mov qword [rsp + 0x20], rsi
imul rdx, rbp
mov rcx, rbx
shl rdx, 6
add rdx, qword [rsp + 0x80]
call fcn.140193760
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
test rbp, rbp
je 0x140198c02
mov r9, qword [rsp + 0x60]
mov r8, r12
nop word [rax + rax]
shl r8, 6
mov edx, r12d
add r8, r14
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 r12d
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, r12d
mov dword [rdx + 0x3c], eax
cmp r8, rbp
jb 0x140198990
add rsp, 0x38
pop r14
pop r12
pop rbp
pop rbx
ret