Function at 0x1400fabf0
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
sub rsp, 0xb8
movzx eax, word [0x140177dc0]
movzx eax, ax
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x54], 0xd1a0cd74
movzx eax, byte [0x140177d16]
mov byte [rsp + 1], al
mov dword [rsp + 0x78], 0x56461681
movsx eax, word [0x140177e34]
mov dword [rsp + 0x28], eax
movzx eax, word [0x140177d14]
movsx rax, ax
mov qword [rsp + 0xa8], rax
mov eax, 0xc380
mov word [rsp + 0xc], ax
mov dword [rsp + 0x30], 0xaf3c
mov dword [rsp + 0x88], 0x4bbdc600
movzx eax, word [0x140177dec]
mov byte [rsp + 8], al
movzx eax, byte [0x140177d86]
mov byte [rsp + 9], al
mov eax, 0xb8
mov word [rsp + 0x38], ax
mov eax, dword [0x140177df0]
mov qword [rsp + 0x98], rax
movsx eax, byte [0x140177ce3]
mov dword [rsp + 0x20], eax
movzx eax, word [0x140177dd0]
mov byte [rsp + 0x10], al
movzx eax, word [0x140177d14]
mov word [rsp + 0x4c], ax
mov eax, 0x16e5
mov word [rsp + 0x3c], ax
mov eax, 0xdf12
mov word [rsp + 4], ax
mov byte [rsp + 0x11], 0x46
mov eax, 0x317f
mov word [rsp + 0x18], ax
mov byte [rsp], 0xe5
mov eax, dword [0x140177dc8]
mov dword [rsp + 0x1c], eax
mov qword [rsp + 0x90], 0x469de04f
movsx eax, byte [0x140177ce3]
mov dword [rsp + 0x50], eax
movzx eax, word [0x140177e0c]
mov word [rsp + 0x40], ax
movzx eax, word [0x140177e3c]
mov byte [rsp + 0x12], al
mov dword [rsp + 0x7c], 0x36
movzx eax, byte [0x140177e34]
mov byte [rsp + 0x13], al
movzx eax, word [0x140177de0]
cwde
mov dword [rsp + 0x58], eax
mov byte [rsp + 0x14], 0x1e
mov eax, dword [0x140177db0]
mov byte [rsp + 0x15], al
mov eax, 0x7e
mov word [rsp + 0x44], ax
mov eax, dword [0x140177e44]
mov dword [rsp + 0x80], eax
mov eax, 0xffff96d1
mov word [rsp + 0x48], ax
mov dword [rsp + 0x84], 0x93
mov byte [rsp + 0x16], 0x87
movzx eax, byte [0x140177d5f]
movzx eax, al
test eax, eax
je 0x1400fae61
cmp dword [rsp + 0x20], 0
je 0x1400fae5f
movzx eax, word [0x140177db4]
test eax, eax
jne 0x1400fadb2
mov qword [rsp + 0x68], 1
jmp 0x1400fadbb
mov qword [rsp + 0x68], 0
movzx eax, word [rsp + 4]
movzx eax, ax
movzx ecx, byte [rsp + 8]
movsx rcx, cl
imul rcx, qword [0x140177e10]
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rcx, rdx
xor rax, rcx
mov dword [rsp + 0x1c], eax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x1c]
mov rdx, qword [0x140177df8]
or rdx, rcx
mov rcx, rdx
not rcx
movzx edx, byte [0x140177cff]
add edx, 0xba
movsxd rdx, edx
imul rcx, rdx
xor rax, rcx
test rax, rax
jne 0x1400fae39
mov eax, 1
mov word [rsp + 0xa], ax
jmp 0x1400fae40
xor eax, eax
mov word [rsp + 0xa], ax
movzx eax, word [rsp + 0xa]
mov word [rsp + 4], ax
movzx eax, word [rsp + 4]
movzx eax, ax
imul rax, qword [0x140177dc8]
mov word [rsp + 4], ax
jmp 0x1400faed3
mov eax, dword [0x140177dd4]
cmp eax, dword [rsp + 0x20]
jl 0x1400fae77
mov dword [rsp + 0x24], 1
jmp 0x1400fae7f
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
not eax
test eax, eax
jne 0x1400fae91
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400faed3
mov rax, qword [0x140177e00]
imul rax, rax, 0x22be07ae
mov word [0x140177db4], ax
movsx rax, word [0x140177e34]
movabs rcx, 0x368fb26db2799
imul rax, rcx
mov word [0x140177e40], ax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
movzx eax, word [0x140177e38]
cwde
cmp dword [0x140177de8], eax
ja 0x1400faeed
mov dword [rsp + 0x34], 1
jmp 0x1400faef5
mov dword [rsp + 0x34], 0
cmp dword [0x140177de8], 0x5c
ja 0x1400faf08
mov dword [rsp + 0x2c], 1
jmp 0x1400faf10
mov dword [rsp + 0x2c], 0
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x34], eax
jle 0x1400faf41
movzx eax, word [rsp + 0xc]
inc ax
mov word [rsp + 0xc], ax
mov eax, 4
imul rax, rax, 7
lea rcx, [0x1416f8fc0]
movzx eax, byte [rcx + rax]
mov byte [rsp + 1], al
jmp 0x1400faf9a
movzx eax, byte [rsp + 9]
movzx eax, al
mov word [rsp + 4], ax
movzx eax, word [rsp + 0x18]
movzx eax, ax
test eax, eax
je 0x1400faf68
mov rax, qword [0x140177e10]
mov qword [rsp + 0x60], rax
jmp 0x1400faf72
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x60]
mov dword [0x140177db0], eax
movzx eax, byte [0x140177d3e]
movsx rax, al
movabs rcx, 0xf979f81c6077d
add rax, rcx
mov dword [0x140177dd4], eax
movzx eax, word [0x140177e40]
cwde
movzx ecx, word [0x140177d14]
movsx ecx, cx
sub eax, ecx
cdqe
mov qword [0x140177e48], rax
movsx eax, byte [rsp]
mov ecx, dword [0x140177db0]
sub eax, ecx
movsx ecx, byte [rsp]
sub ecx, eax
mov eax, ecx
mov byte [rsp], al
cmp dword [rsp + 0x1c], 0
je 0x1400fafe3
mov rax, qword [0x140177e10]
mov qword [rsp + 0x70], rax
jmp 0x1400fafef
movzx eax, byte [0x140177cff]
mov qword [rsp + 0x70], rax
movzx eax, byte [rsp + 0x70]
mov byte [rsp + 1], al
movsx eax, byte [rsp]
add eax, dword [rsp + 0x30]
mov byte [rsp], al
movzx eax, byte [0x140177d5f]
movzx eax, al
mov ecx, 4
imul rcx, rcx, 0x75fd
lea rdx, [0x141642cf0]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x58]
add rsp, 0xb8
ret