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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0x70], 0xea
mov eax, 0xffff94b5
mov word [rsp + 0x20], ax
movzx eax, word [0x1801464d0]
mov word [rsp + 0x24], ax
movzx eax, byte [0x1801463d7]
mov byte [rsp + 3], al
mov eax, 0xdc010c39
mov qword [rsp + 0x68], rax
mov eax, dword [0x1801464d8]
mov byte [rsp + 4], al
mov byte [rsp + 5], 0x34
movzx eax, word [0x1801464d4]
mov word [rsp + 0x30], ax
movsxd rax, dword [0x18014647c]
mov qword [rsp + 0x78], rax
movabs rax, 0xbd3b3d02ebf7b
mov qword [rsp + 0x40], rax
mov byte [rsp + 1], 5
mov byte [rsp + 6], 0xa7
mov eax, dword [0x180146490]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x180146480]
mov byte [rsp], al
mov dword [rsp + 0x3c], 0x2fcfc59f
movzx eax, byte [0x1801463bf]
movzx eax, al
mov qword [rsp + 0x80], rax
movzx eax, byte [0x1801463d6]
movsx rax, al
mov qword [rsp + 0x88], rax
mov rax, qword [str._buAG]
mov byte [rsp + 7], al
mov rax, qword [0x180146468]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x34], 0xb5464612
movzx eax, byte [0x180146397]
mov word [rsp + 0xc], ax
mov eax, dword [0x1801464c4]
mov byte [rsp + 8], al
movzx eax, byte [0x1801464fc]
mov byte [rsp + 2], al
mov dword [rsp + 0x48], 0x3b
mov rax, qword [str._buAG]
mov byte [rsp + 9], al
mov eax, 0x8750a2e9
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 0x6ac4f327
mov qword [rsp + 0xa0], 0x36803e76
mov byte [rsp + 0xa], 0xa4
movzx eax, byte [0x1801463d3]
mov word [rsp + 0x10], ax
movzx eax, word [0x1801464e4]
cwde
mov dword [rsp + 0x4c], eax
mov eax, dword [0x18014641c]
mov dword [rsp + 0x50], eax
mov eax, 0xfc
mov word [rsp + 0x28], ax
mov dword [rsp + 0x54], 0xf8c1d9bc
mov eax, dword [0x1801464dc]
mov qword [rsp + 0xa8], rax
mov byte [rsp + 0xb], 4
mov qword [rsp + 0xb0], 0x70
movzx eax, byte [0x1801463d3]
mov dword [rsp + 0x58], eax
mov eax, 0x30cb
mov word [rsp + 0x2c], ax
mov dword [0x180146494], 2
mov rax, qword [rsp + 0x60]
sub rax, 0x50
mov word [rsp + 0xc], ax
movzx eax, byte [0x180146396]
movsx eax, al
shl eax, 6
mov dword [0x1801464c0], eax
mov eax, dword [0x180146494]
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 0
je 0x1800418b4
cmp dword [rsp + 0x14], 1
je 0x1800418cc
cmp dword [rsp + 0x14], 2
je 0x1800418ec
jmp 0x18004197c
movzx eax, word [0x1801464e0]
cwde
sub eax, 0x3b4ab831
mov dword [0x18014641c], eax
jmp 0x18004197c
mov rax, qword [0x1801464c8]
mov rcx, qword [0x180146480]
add rcx, rax
mov rax, rcx
mov qword [0x180146480], rax
jmp 0x18004197c
movzx eax, byte [rsp]
movsx eax, al
test eax, eax
je 0x180041905
movzx eax, byte [rsp + 1]
movsx eax, al
mov dword [rsp + 0x18], eax
jmp 0x18004190d
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x1801463d7]
mov rcx, qword [0x1801464b0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
not rcx
sub rcx, qword [0x1801464f0]
xor rax, rcx
test rax, rax
jne 0x18004194a
mov dword [rsp + 0x1c], 1
jmp 0x180041952
mov dword [rsp + 0x1c], 0
movzx eax, byte [rsp + 2]
movsx eax, al
movzx ecx, byte [0x18014636f]
mov edx, dword [rsp + 0x3c]
imul ecx, edx
sub eax, ecx
mov ecx, dword [rsp + 0x1c]
imul ecx, eax
mov eax, ecx
mov eax, eax
mov qword [0x180146470], rax
mov eax, dword [0x1801464c4]
mov ecx, dword [0x1801464f8]
imul ecx, eax
mov eax, ecx
mov ecx, dword [0x1801464f8]
sub ecx, eax
mov eax, ecx
mov dword [0x1801464f8], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
movzx eax, byte [0x18014636f]
sub eax, 0xe8c8ee94
movzx ecx, byte [0x180146369]
movzx ecx, cl
sub ecx, eax
mov eax, ecx
mov byte [0x180146369], al
movzx eax, word [rsp + 0x10]
add rsp, 0xc8
ret