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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push r12
push r15
mov eax, 0x48
call fcn.140384e40
sub rsp, rax
mov r15d, dword [rsp + 0x98]
xor eax, eax
cmp r15d, 3
je 0x1403474cd
mov qword [rsp], rax
cmp r15d, 6
jne 0x1403474d6
mov eax, 1
mov qword [rsp], rax
mov rdx, qword [rsp + 0xa8]
test eax, eax
mov rcx, qword [rsp + 0xb0]
mov r10, qword [rdx]
mov r9, qword [rcx]
mov r12, r10
cmove r12, r9
test r12, r12
je 0x1403478a0
mov ecx, dword [rsp + 0x90]
test eax, eax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r13
mov r13, r9
cmove r13, r10
mov qword [rsp + 0x18], r14
nop dword [rax]
mov rbx, r9
mov r14, r9
mov r8, r10
mov rdi, r10
mov rbp, r13
mov r11, r13
mov rax, r13
mov rsi, r13
test r13, r13
je 0x140347863
cmp qword [rsp], 0
je 0x14034755e
mov r13, qword [r13 + 0x18]
jmp 0x140347562
mov r13, qword [r13 + 0x10]
cmp dword [rsp + 0xa0], 0
mov rdx, qword [rax]
jl 0x140347584
mov ecx, dword [rsp + 0xa0]
cmp ecx, dword [rdx + 0x44]
jne 0x140347853
jmp 0x140347683
cmp dword [rsp + 0x60], 0
je 0x1403475a2
mov r15d, dword [rsp + 0x60]
cmp r15d, dword [rdx + 0x18]
mov r15d, dword [rsp + 0x98]
jne 0x140347853
cmp dword [rsp + 0x68], 0
je 0x1403475c0
mov r15d, dword [rsp + 0x68]
test dword [rdx + 0x1c], r15d
mov r15d, dword [rsp + 0x98]
je 0x140347853
cmp dword [rsp + 0x70], 0
je 0x1403475de
mov r15d, dword [rsp + 0x70]
test dword [rdx + 0x20], r15d
mov r15d, dword [rsp + 0x98]
je 0x140347853
cmp dword [rsp + 0x78], 0
je 0x1403475fc
mov r15d, dword [rsp + 0x78]
test dword [rdx + 0x24], r15d
mov r15d, dword [rsp + 0x98]
je 0x140347853
cmp dword [rsp + 0x80], 0
je 0x140347620
mov r15d, dword [rsp + 0x80]
test dword [rdx + 0x28], r15d
mov r15d, dword [rsp + 0x98]
je 0x140347853
cmp dword [rsp + 0x88], 0
mov r15d, dword [rsp + 0x98]
je 0x14034764c
mov r15d, dword [rsp + 0x88]
cmp r15d, dword [rdx + 0x2c]
mov r15d, dword [rsp + 0x98]
jne 0x140347853
test cl, 0x1f
je 0x14034766b
mov ecx, dword [rdx + 0x3c]
and ecx, dword [rsp + 0x90]
test cl, 0x1f
je 0x140347853
mov ecx, dword [rsp + 0x90]
test cl, 0x20
je 0x140347683
mov ecx, dword [rdx + 0x3c]
and ecx, dword [rsp + 0x90]
test cl, 0x20
je 0x140347853
cmp r15d, 1
jne 0x1403476e3
cmp dword [rax + 8], 0
jne 0x140347853
cmp rax, r9
je 0x1403476d7
mov rdx, qword [r11 + 0x10]
cmp rax, rdi
mov rcx, qword [rax + 0x18]
mov r10, rdx
cmovne r10, r8
test rcx, rcx
je 0x1403476b7
mov qword [rcx + 0x10], rdx
mov rdx, qword [r11 + 0x10]
test rdx, rdx
je 0x1403476c4
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 0x140347853
cmp r15d, 4
jne 0x140347740
cmp dword [rax + 8], 0
je 0x140347853
cmp rax, r9
je 0x140347853
mov rdx, qword [r11 + 0x10]
cmp rax, r8
mov rcx, qword [rax + 0x18]
mov r10, rdx
cmovne r10, r8
test rcx, rcx
je 0x14034771b
mov qword [rcx + 0x10], rdx
mov rdx, qword [r11 + 0x10]
test rdx, rdx
je 0x140347728
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 0x140347853
cmp r15d, 3
jne 0x1403477a4
cmp dword [rax + 8], 0
je 0x140347853
cmp rax, r10
je 0x14034779a
mov rdx, qword [r11 + 0x18]
cmp rax, r14
mov rcx, qword [rax + 0x10]
mov r9, rdx
cmovne r9, rbx
test rcx, rcx
je 0x140347774
mov qword [rcx + 0x18], rdx
mov rdx, qword [r11 + 0x18]
test rdx, rdx
je 0x140347781
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [r10 + 0x18], rax
xor ebx, ebx
mov qword [rax + 0x10], r10
mov r10, rax
mov qword [rax + 0x18], rbx
mov dword [rax + 8], ebx
jmp 0x140347853
xor ebx, ebx
mov dword [rax + 8], ebx
jmp 0x140347853
cmp r15d, 6
jne 0x1403477fe
cmp dword [rax + 8], 0
je 0x140347853
cmp rax, r10
je 0x140347853
mov rdx, qword [r11 + 0x18]
cmp rax, rbx
mov rcx, qword [rax + 0x10]
mov r9, rdx
cmovne r9, rbx
test rcx, rcx
je 0x1403477dc
mov qword [rcx + 0x18], rdx
mov rdx, qword [r11 + 0x18]
test rdx, rdx
je 0x1403477e9
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [r10 + 0x18], rax
mov qword [rax + 0x10], r10
mov r10, rax
mov qword [rax + 0x18], 0
jmp 0x140347853
cmp r15d, 2
jne 0x140347853
mov r8, qword [rsi + 0x10]
cmp r10, rax
jne 0x140347812
mov r10, r8
jmp 0x14034781e
mov rcx, qword [rax + 0x18]
mov qword [rcx + 0x10], r8
mov r8, qword [rbp + 0x10]
mov rdx, qword [r11 + 0x18]
cmp rbx, rax
mov r9, rdx
cmovne r9, rbx
xor ebx, ebx
mov dword [rax + 8], ebx
test r8, r8
je 0x14034783e
mov qword [r8 + 0x18], rdx
mov rdx, qword [r11 + 0x18]
test rdx, rdx
je 0x14034784b
mov rcx, qword [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov ecx, dword [rsp + 0x90]
cmp rax, r12
jne 0x140347530
mov rax, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x18]
mov qword [rax], r10
mov rax, qword [rsp + 0xb0]
mov qword [rax], r9
add rsp, 0x48
pop r15
pop r12
ret
mov qword [rdx], r10
mov qword [rcx], r9
add rsp, 0x48
pop r15
pop r12
ret