Function at 0x14009e040
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, 0xd8
movsx eax, word [0x1401779e8]
mov dword [rsp + 0x68], eax
movsx rax, byte [str.Jinvalid_window_siz]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x6c], 0x8fa7
mov byte [rsp + 0xc], 0xa5
movzx eax, word [0x14017797c]
mov dword [rsp + 0x70], eax
mov qword [rsp + 0xa8], 0xe3
mov eax, dword [0x1401779b0]
mov word [rsp + 0x28], ax
mov eax, 0x90b86fbf
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x90], 0x9d
mov qword [rsp + 0xb0], 0x58
movzx eax, byte [0x1401778f6]
mov byte [rsp + 1], al
mov dword [rsp + 0x74], 0xa8
movzx eax, byte [0x1401778cf]
movsx rax, al
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x48], 0x4d43
mov qword [rsp + 0x88], 0xb0fc
movzx eax, word [0x140177980]
mov word [rsp + 4], ax
mov eax, 0xd33a
mov word [rsp + 8], ax
movzx eax, byte [0x140177937]
mov byte [rsp + 2], al
mov dword [rsp + 0x50], 0xbe
mov dword [rsp + 0x4c], 0xc739
mov dword [rsp + 0x10], 0x8c
movzx eax, word [0x1401779d4]
movzx eax, ax
mov dword [rsp + 0x24], eax
movzx eax, byte [0x14017791b]
mov byte [rsp], al
mov eax, 0x2ecf
mov word [rsp + 0x2c], ax
mov eax, 0x3e
mov word [rsp + 0x30], ax
movzx eax, word [0x1401779f8]
mov word [rsp + 0x34], ax
movzx eax, word [0x14017798c]
mov word [rsp + 0x38], ax
movsx rax, word [0x1401779e8]
mov qword [rsp + 0xc0], rax
movzx eax, word [0x140177978]
mov word [rsp + 0x3c], ax
mov dword [rsp + 0x78], 0x24
mov eax, 0xfffff264
mov word [rsp + 0x40], ax
mov dword [rsp + 0x7c], 0x556a
mov eax, dword [0x14017799c]
mov byte [rsp + 0xd], al
mov eax, dword [0x140177998]
mov dword [rsp + 0x80], eax
movabs rax, 0xe30316742b9bc
mov qword [rsp + 0xc8], rax
movzx eax, word [0x1401779fc]
mov word [rsp + 0x44], ax
movzx eax, word [rsp + 4]
cwde
mov ecx, dword [0x1401779d0]
sub ecx, eax
mov eax, ecx
mov dword [0x140177980], eax
cmp dword [rsp + 0x48], 0
je 0x14009e217
mov rax, qword [0x140177990]
mov qword [rsp + 0x58], rax
jmp 0x14009e222
mov eax, dword [0x140177978]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x58]
mov dword [0x140177984], eax
movsx eax, byte [0x1401778ce]
sub eax, dword [rsp + 0x24]
mov byte [0x1401778ce], al
movzx eax, byte [rsp]
mov ecx, 2
imul rcx, rcx, 0x2b5d
lea rdx, [0x140fa5250]
mov word [rdx + rcx], ax
mov eax, dword [0x140177978]
mov ecx, dword [rsp + 0x10]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x10]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x10], eax
movsx eax, byte [0x1401778ce]
sub eax, 0xb0823a45
mov byte [rsp + 1], al
movzx eax, word [rsp + 4]
cwde
mov ecx, dword [0x1401779b0]
sub eax, ecx
mov eax, eax
mov qword [0x1401779e0], rax
movzx eax, word [rsp + 8]
movzx eax, ax
cmp rax, qword [0x140177990]
ja 0x14009e2b4
mov dword [rsp + 0x20], 1
jmp 0x14009e2bc
mov dword [rsp + 0x20], 0
movzx eax, word [rsp + 8]
movzx eax, ax
cmp eax, 0x17
jg 0x14009e2d3
mov dword [rsp + 0x1c], 1
jmp 0x14009e2db
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x1c]
cmp dword [rsp + 0x20], eax
jge 0x14009e30b
mov eax, 0x247a
mov word [0x14017797c], ax
mov eax, dword [rsp + 0x4c]
movabs rcx, 0xd7865bc576956
add rax, rcx
mov byte [rsp + 2], al
jmp 0x14009e3c6
movzx eax, word [0x14017798c]
test eax, eax
je 0x14009e3c6
mov eax, 0x54
sub eax, dword [rsp + 0x24]
test eax, eax
jne 0x14009e331
mov dword [rsp + 0x14], 1
jmp 0x14009e339
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x14]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x88]
not rax
movzx ecx, byte [rsp]
add rax, rcx
movzx ecx, word [0x140177988]
movsx rcx, cx
sub rax, rcx
test rax, rax
jne 0x14009e371
mov qword [rsp + 0x60], 1
jmp 0x14009e37a
mov qword [rsp + 0x60], 0
cmp qword [rsp + 0x90], 0
jne 0x14009e38f
mov dword [rsp + 0x18], 1
jmp 0x14009e397
mov dword [rsp + 0x18], 0
mov eax, dword [0x140177998]
sub eax, dword [rsp + 0x18]
cdqe
movzx ecx, byte [rsp + 1]
movzx ecx, cl
add rcx, qword [rsp + 0x98]
xor rax, rcx
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov word [rsp + 4], ax
mov rax, qword [rsp + 0xa0]
add rsp, 0xd8
ret