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

Disassembly:
mov word [rsp + 0x20], r9w
mov word [rsp + 0x18], r8w
mov word [rsp + 0x10], dx
mov word [rsp + 8], cx
sub rsp, 0xb8
movzx eax, byte [0x140177a3e]
movsx rax, al
mov qword [rsp + 0x80], rax
mov eax, dword [0x140177b24]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x140177ae3]
movsx rax, al
mov qword [rsp + 0x88], rax
movsx ax, byte [0x140177a7f]
mov word [rsp + 0x1c], ax
movzx eax, word [0x140177a54]
mov word [rsp + 0x18], ax
mov dword [rsp + 0x64], 0x7475
mov eax, dword [0x140177aac]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x140177b28]
mov byte [rsp + 0x10], al
mov eax, dword [0x140177b1c]
mov byte [rsp + 0x11], al
mov eax, dword [0x140177b24]
mov dword [rsp + 0xc], eax
mov eax, 0x2c
mov word [rsp + 0x44], ax
movzx eax, word [0x140177b00]
mov word [rsp + 8], ax
movzx eax, byte [0x140177a13]
mov word [rsp + 4], ax
mov eax, 0x5d91
mov word [rsp + 0x48], ax
mov byte [rsp], 0x39
movzx eax, byte [0x140177b40]
mov byte [rsp + 0x12], al
mov eax, 0xffffd37e
mov word [rsp + 0x20], ax
mov rax, qword [0x140177ae8]
mov qword [rsp + 0x90], rax
mov eax, dword [0x140177b34]
mov dword [rsp + 0x2c], eax
movzx eax, word [0x140177b24]
mov word [rsp + 0x28], ax
mov eax, 0xb69c20ba
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x5c], 0x39b8
movzx eax, word [0x140177b04]
mov word [rsp + 0x24], ax
mov qword [rsp + 0x98], 0xac
movsx rax, byte [0x140177a56]
mov qword [rsp + 0xa0], rax
movabs rax, 0xa4b6cac1995e1
mov qword [rsp + 0xa8], rax
mov eax, 0xcf1
mov word [rsp + 0x4c], ax
mov eax, 0x2df7
mov word [rsp + 0x50], ax
mov byte [rsp + 0x13], 0xd1
movzx eax, byte [0x140177ae2]
movzx eax, al
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x70], 0xae4cea2f
mov byte [rsp + 0x14], 0xbb
mov eax, 0x811
mov word [rsp + 0x54], ax
movzx eax, byte [0x140177a57]
mov byte [rsp + 0x15], al
movzx eax, byte [0x140177ae3]
movsx ax, al
mov word [rsp + 0x58], ax
movzx eax, byte [0x140177a17]
movsx ax, al
mov word [rsp + 0x40], ax
mov eax, dword [0x141167a50]
mov dword [0x140177b24], eax
movzx eax, word [rsp + 0x18]
cwde
movzx ecx, word [rsp + 0x1c]
sub eax, ecx
mov dword [0x140177b18], eax
cmp qword [rsp + 0x78], 0
je 0x1400c06c1
movzx eax, byte [0x140177a3f]
movzx eax, al
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 8]
movzx eax, ax
sar eax, 4
mov word [rsp + 4], ax
jmp 0x1400c07c9
movzx eax, word [0x140177b3c]
movzx eax, ax
movabs rcx, 0xc1ac079187d3d
cmp rax, rcx
jne 0x1400c06e4
mov dword [rsp + 0x30], 1
jmp 0x1400c06ec
mov dword [rsp + 0x30], 0
movzx eax, word [rsp + 4]
movzx eax, ax
movsx ecx, byte [0x140177a56]
cmp eax, ecx
jle 0x1400c0709
mov dword [rsp + 0x34], 1
jmp 0x1400c0711
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x30]
not eax
cmp eax, dword [rsp + 0x34]
jl 0x1400c0727
mov dword [rsp + 0x38], 1
jmp 0x1400c072f
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
not eax
test eax, eax
je 0x1400c07c9
movzx eax, word [rsp + 0x24]
movzx eax, ax
mov ecx, dword [rsp + 0x2c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x2c]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [0x140177b24]
imul eax, dword [0x140177b40]
mov ecx, dword [0x140177b24]
and ecx, eax
mov eax, ecx
mov dword [0x140177b24], eax
cmp dword [rsp + 0xc], 0
jne 0x1400c0788
mov dword [rsp + 0x3c], 1
jmp 0x1400c0790
mov dword [rsp + 0x3c], 0
movsx eax, word [0x140177b20]
mov ecx, dword [0x140177b1c]
add ecx, dword [rsp + 0x3c]
imul eax, ecx
not eax
movsx ecx, word [rsp + 0x28]
movsx edx, byte [0x140177a7f]
xor ecx, edx
movzx edx, word [rsp + 8]
movzx edx, dx
add ecx, edx
add eax, ecx
mov eax, eax
mov qword [0x140177b48], rax
movzx eax, byte [0x140177a3f]
movzx eax, al
and eax, 0xc023
mov dword [0x140177b0c], eax
movsxd rax, dword [rsp + 0x5c]
movabs rcx, 0x3441607394fe2
add rax, rcx
mov dword [0x140177b18], eax
movzx eax, byte [0x140177ad7]
sub eax, dword [rsp + 0x60]
mov byte [0x140177ad7], al
mov eax, dword [0x140177b30]
mov ecx, dword [rsp + 0xc]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
movsx rax, word [0x140177af4]
mov ecx, 8
imul rcx, rcx, 0xb3
lea rdx, [0x1411fdae0]
mov qword [rdx + rcx], rax
movzx eax, byte [rsp]
mov word [0x140177ae4], ax
movzx eax, byte [rsp]
add rsp, 0xb8
ret