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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0xb0
mov rax, qword [0x1800d1eb0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x20], rsp
mov r12, r8
mov r13, rdx
mov rbx, rcx
mov edi, 1
xor eax, eax
lock cmpxchg dword [0x1800d4040], edi
je 0x1800793a2
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
xor eax, eax
lock cmpxchg dword [0x1800d4040], edi
jne 0x180079390
cmp qword [0x1800d4048], 0
jne 0x1800793d1
mov dword [rsp + 0x38], 2
lea rdx, [0x1800793c7]
mov rcx, qword [rsp + 0x20]
call fcn.1800806e0
nop
nop
mov eax, 2
jmp 0x180079600
mov rcx, rbx
call fcn.180079b00
test eax, eax
je 0x1800795c8
mov rcx, r13
call fcn.180079b00
test eax, eax
je 0x1800795c8
mov rcx, rbx
call fcn.180078b00
cmp eax, 0xffffffff
je 0x180079423
mov dword [rsp + 0x3c], 3
lea rdx, [0x180079419]
mov rcx, qword [rsp + 0x20]
call fcn.1800806e0
nop
nop
mov eax, 3
jmp 0x180079600
mov rcx, rbx
call fcn.180079a90
mov rsi, rax
test rax, rax
jne 0x180079458
mov dword [rsp + 0x30], 9
lea rdx, [0x18007944e]
mov rcx, qword [rsp + 0x20]
call fcn.1800806e0
nop
nop
mov eax, 9
jmp 0x180079600
lea rdi, [rsp + 0x50]
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x68], 0x20
lea rax, [rsi + 0x20]
mov qword [rsp + 0x70], rax
lea rax, [rsi + 0x28]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], 3
lea rcx, [rsp + 0x50]
call fcn.180079b80
test eax, eax
jne 0x1800794d5
mov rcx, rsi
call fcn.180079ac0
mov dword [rsp + 0x40], 8
lea rdx, [0x1800794cb]
mov rcx, qword [rsp + 0x20]
call fcn.1800806e0
nop
nop
mov eax, 8
jmp 0x180079600
call fcn.180078b30
mov rdx, rax
test rax, rax
jne 0x18007950f
mov rcx, rsi
call fcn.180079ac0
mov dword [rsp + 0x28], 9
lea rdx, [0x180079505]
mov rcx, qword [rsp + 0x20]
call fcn.1800806e0
nop
nop
mov eax, 9
jmp 0x180079600
mov qword [rax], rbx
mov rax, qword [rsp + 0x70]
mov qword [rdx + 8], rax
mov rax, qword [rsp + 0x60]
mov qword [rdx + 0x10], rax
mov eax, dword [rsp + 0x84]
xor eax, dword [rdx + 0x20]
and eax, 1
xor dword [rdx + 0x20], eax
mov ecx, dword [rdx + 0x20]
and ecx, 0xfffffffd
mov dword [rdx + 0x20], ecx
and ecx, 0xfffffffb
mov dword [rdx + 0x20], ecx
mov eax, dword [rsp + 0x88]
shl eax, 3
xor eax, ecx
and eax, 0x38
xor eax, ecx
mov dword [rdx + 0x20], eax
mov rax, qword [rsp + 0x8c]
mov qword [rdx + 0x24], rax
mov rax, qword [rsp + 0x94]
mov qword [rdx + 0x2c], rax
cmp dword [rsp + 0x84], 0
je 0x180079590
mov eax, dword [rbx - 5]
mov dword [rdx + 0x18], eax
movzx eax, word [rbx - 1]
mov word [rdx + 0x1c], ax
movzx eax, byte [rbx + 1]
mov byte [rdx + 0x1e], al
jmp 0x18007959c
mov eax, dword [rbx]
mov dword [rdx + 0x18], eax
movzx eax, byte [rbx + 4]
mov byte [rdx + 0x1c], al
test r12, r12
je 0x1800795a9
mov rax, qword [rdx + 0x10]
mov qword [r12], rax
mov dword [rsp + 0x2c], 0
lea rdx, [0x1800795c4]
mov rcx, qword [rsp + 0x20]
call fcn.1800806e0
nop
nop
xor eax, eax
jmp 0x180079600
mov dword [rsp + 0x34], 7
lea rdx, [0x1800795e3]
mov rcx, qword [rsp + 0x20]
call fcn.1800806e0
nop
nop
mov eax, 7
jmp 0x180079600
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18007a7c0
add rsp, 0xb0
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret