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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov qword [rsp + 0xa0], 0x460375e0
mov byte [rsp + 0x22], 0x34
mov rax, qword [0x1800e3230]
mov byte [rsp + 0x20], al
movzx eax, word [0x1800e3248]
cwde
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x64], 0xca
movzx eax, word [0x1800e31dc]
mov dword [rsp + 0x68], eax
mov qword [rsp + 0xa8], 0x6e6432a4
movzx eax, byte [0x1800e3197]
movsx rax, al
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x6c], 0xb772
mov eax, 0xccc8
mov word [rsp + 0x34], ax
mov rax, qword [0x1800e3250]
mov word [rsp + 0x38], ax
mov eax, 0x42
mov word [rsp + 0x2c], ax
mov byte [rsp + 0x23], 0x3a
mov eax, 0x523
mov word [rsp + 0x3c], ax
movzx eax, word [0x1800e31b8]
mov word [rsp + 0x40], ax
movzx eax, word [0x1800e31e8]
mov word [rsp + 0x44], ax
mov rax, qword [0x1800e31f8]
mov byte [rsp + 0x21], al
mov dword [rsp + 0x70], 0xd42a
mov rax, qword [0x1800e31f8]
mov dword [rsp + 0x74], eax
mov rax, qword [0x1800e31f0]
mov word [rsp + 0x48], ax
movabs rax, 0xb10f1caf7eef4
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 0x3ab2fa0a
mov byte [rsp + 0x24], 0xaa
mov rax, qword [0x1800e3230]
mov byte [rsp + 0x25], al
movzx eax, byte [0x1800e3208]
mov byte [rsp + 0x26], al
mov byte [rsp + 0x27], 5
mov dword [rsp + 0x78], 0xdd952f4a
mov eax, dword [0x1800e31b4]
mov byte [rsp + 0x28], al
mov rax, qword [0x1800e31d0]
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x80], 0xa1a16656
movzx eax, word [0x1800e322c]
movsx rax, ax
mov qword [rsp + 0xc8], rax
mov eax, 0x6722
mov word [rsp + 0x4c], ax
mov dword [rsp + 0x84], 0x52
mov dword [rsp + 0x88], 0x22
mov rax, qword [0x1800e31d0]
mov qword [rsp + 0xd0], rax
movzx eax, byte [0x1800e324c]
mov byte [rsp + 0x29], al
mov byte [rsp + 0x2a], 0xf9
mov rax, qword [0x1800e3218]
mov qword [rsp + 0xd8], rax
movsx rax, byte [0x1800e3155]
mov qword [rsp + 0xe0], rax
mov eax, 0x686e
mov word [rsp + 0x50], ax
mov eax, 0xa68b74c2
mov qword [rsp + 0xe8], rax
movzx eax, word [0x1800e322c]
cwde
mov dword [rsp + 0x8c], eax
mov dword [rsp + 0x90], 0x48
movabs rax, 0xd9346ae415e0b
mov qword [rsp + 0xf0], rax
movabs rax, 0xcc31f7fdbf0cd
mov qword [rsp + 0xf8], rax
movzx eax, word [0x1800e3268]
mov word [rsp + 0x54], ax
mov dword [rsp + 0x94], 0x73b95966
movzx eax, word [0x1800e31b8]
mov dword [rsp + 0x98], eax
movzx eax, word [0x1800e3224]
mov word [rsp + 0x58], ax
mov qword [rsp + 0x100], 0x62eabb78
movzx eax, word [0x1800e3214]
cwde
movzx ecx, word [0x1800e3224]
movsx ecx, cx
cmp eax, ecx
je 0x180019bd9
jmp 0x180019c0d
movzx eax, byte [rsp + 0x20]
movsx eax, al
test eax, eax
je 0x180019c0d
mov rax, qword [0x1800e3208]
mov rcx, qword [0x1800e31e8]
xor rcx, rax
mov rax, rcx
mov rcx, qword [0x1800e31e8]
or rcx, rax
mov rax, rcx
mov qword [0x1800e31e8], rax
mov r9, qword [rsp + 0x130]
mov r8d, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x120]
mov rcx, 0xffffffffffffffff
call fcn.180016c70
mov dword [rsp + 0x5c], eax
movzx eax, word [0x1800e31c4]
test eax, eax
jne 0x180019c4a
mov dword [rsp + 0x30], 1
jmp 0x180019c52
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
sub eax, 0xb170
cdqe
movzx ecx, byte [rsp + 0x21]
movsx rcx, cl
mov rdx, qword [0x1800e31f0]
add rcx, rdx
xor rax, rcx
mov word [rsp + 0x2c], ax
mov eax, dword [rsp + 0x5c]
add rsp, 0x118
ret