Function at 0x140171980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r12
push r13
mov eax, Ordinal_27
call fcn.1400b17d0
sub rsp, rax
mov r10d, dword [rsp + 0x78]
xor r13d, r13d
mov r12d, ecx
cmp r10d, 3
je 0x1401719b8
cmp r10d, 6
jne 0x1401719be
mov r13d, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov r8, qword [rdi]
mov r9, qword [rsi]
test r13d, r13d
je 0x1401719e1
mov r11, r9
mov rax, r8
jmp 0x1401719e7
mov r11, r8
mov rax, r9
mov qword [rsp + 0x88], rax
test rax, rax
je 0x140171cde
mov qword [rsp + 0x40], rbx
mov rcx, rax
mov ebx, dword [rsp + 0x70]
mov qword [rsp + 0x10], rbp
mov ebp, dword [rsp + 0x80]
mov qword [rsp + 8], r14
mov r14d, dword [rsp + 0x68]
mov qword [rsp], r15
mov r15d, dword [rsp + 0x60]
mov rax, r11
test r11, r11
je 0x140171cba
test r13d, r13d
je 0x140171a3a
mov r11, qword [r11 + 0x18]
jmp 0x140171a3e
mov r11, qword [r11 + 0x10]
mov rdx, qword [rax]
test ebp, ebp
js 0x140171a53
cmp ebp, dword [rdx + 0x3c]
jne 0x140171cb1
jmp 0x140171ad9
test r12d, r12d
je 0x140171a62
cmp r12d, dword [rdx + 0x10]
jne 0x140171cb1
mov ecx, dword [rsp + 0x48]
test ecx, ecx
je 0x140171a73
test dword [rdx + 0x14], ecx
je 0x140171ca9
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x140171a84
test dword [rdx + 0x18], ecx
je 0x140171ca9
mov ecx, dword [rsp + 0x58]
test ecx, ecx
je 0x140171a95
test dword [rdx + 0x1c], ecx
je 0x140171ca9
test r15d, r15d
je 0x140171aa4
test dword [rdx + 0x20], r15d
je 0x140171ca9
test r14d, r14d
je 0x140171ab3
cmp r14d, dword [rdx + 0x24]
jne 0x140171ca9
test bl, 0x1f
je 0x140171ac6
mov ecx, dword [rdx + 0x34]
and ecx, ebx
test cl, 0x1f
je 0x140171ca9
test bl, 0x20
je 0x140171ad9
mov ecx, dword [rdx + 0x34]
and ecx, ebx
test cl, 0x20
je 0x140171ca9
cmp r10d, 1
jne 0x140171b38
cmp dword [rax + 8], 0
jne 0x140171ca9
cmp rax, r9
je 0x140171b2c
cmp rax, r8
jne 0x140171af7
mov r8, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x140171b08
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x140171b19
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov qword [r9 + 0x10], rax
mov qword [rax + 0x18], r9
mov r9, rax
mov qword [rax + 0x10], 0
mov dword [rax + 8], 1
jmp 0x140171ca9
cmp r10d, 4
jne 0x140171b94
cmp dword [rax + 8], 0
je 0x140171ca9
cmp rax, r9
je 0x140171ca9
cmp rax, r8
jne 0x140171b5a
mov r8, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x140171b6b
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x140171b7c
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov qword [r9 + 0x10], rax
mov qword [rax + 0x18], r9
mov r9, rax
mov qword [rax + 0x10], 0
jmp 0x140171ca9
cmp r10d, 3
jne 0x140171bf7
cmp dword [rax + 8], 0
je 0x140171ca9
cmp rax, r8
je 0x140171bed
cmp rax, r9
jne 0x140171bb2
mov r9, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x140171bc3
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x140171bd4
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [r8 + 0x18], rax
xor edx, edx
mov qword [rax + 0x10], r8
mov r8, rax
mov qword [rax + 0x18], rdx
mov dword [rax + 8], edx
jmp 0x140171ca9
xor edx, edx
mov dword [rax + 8], edx
jmp 0x140171ca9
cmp r10d, 6
jne 0x140171c50
cmp dword [rax + 8], 0
je 0x140171ca9
cmp rax, r8
je 0x140171ca9
cmp rax, r9
jne 0x140171c19
mov r9, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x140171c2a
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x140171c3b
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [r8 + 0x18], rax
mov qword [rax + 0x10], r8
mov r8, rax
mov qword [rax + 0x18], 0
jmp 0x140171ca9
cmp r10d, 2
jne 0x140171ca9
cmp r8, rax
jne 0x140171c61
mov r8, qword [rax + 0x10]
jmp 0x140171c6d
mov rdx, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
cmp r9, rax
jne 0x140171c76
mov r9, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
mov dword [rax + 8], 0
test rdx, rdx
je 0x140171c8e
mov rcx, qword [rax + 0x18]
mov qword [rdx + 0x18], rcx
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x140171c9f
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
xor edx, edx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov rcx, qword [rsp + 0x88]
cmp rax, rcx
jne 0x140171a23
mov r14, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp]
mov qword [rdi], r8
mov qword [rsi], r9
add rsp, 0x18
pop r13
pop r12
pop rdi
pop rsi
ret
mov qword [rdi], r8
mov qword [rsi], r9
add rsp, 0x18
pop r13
pop r12
pop rdi
pop rsi
ret