Function at 0x1400f5180
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, 0x118
mov eax, dword [0x140177c54]
mov word [rsp + 0x58], ax
mov byte [rsp + 9], 0x64
mov eax, dword [0x140177c04]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x30], 0x57f03aaa
mov eax, 0x26
mov word [rsp + 0x5c], ax
mov dword [rsp + 0x2c], 0xe
movzx eax, word [0x140177c9c]
mov qword [rsp + 0xb8], rax
mov eax, 0xffffe148
mov word [rsp + 0x1c], ax
movzx eax, word [0x140177cc0]
mov word [rsp + 0x18], ax
movzx eax, word [0x140177ca4]
movzx eax, ax
mov qword [rsp + 0x50], rax
mov eax, 0xd0
mov word [rsp + 0x10], ax
mov rax, qword [0x140177c70]
mov dword [rsp + 0x44], eax
mov rax, qword [0x140177c38]
mov qword [rsp + 0xe0], rax
movzx eax, byte [0x140177bde]
mov byte [rsp], al
movzx eax, word [0x140177c60]
mov byte [rsp + 8], al
mov eax, 0xe23f
mov word [rsp + 4], ax
mov qword [rsp + 0x80], 0x4c
mov byte [rsp + 1], 0x95
mov dword [rsp + 0x20], 0xcc
movzx eax, word [0x140177cbc]
movsx rax, ax
mov qword [rsp + 0x78], rax
mov rax, qword [0x140177ca8]
mov qword [rsp + 0x90], rax
movzx eax, word [0x140177c88]
mov byte [rsp + 0x14], al
mov eax, dword [0x140177c04]
mov dword [rsp + 0xc], eax
mov eax, dword [0x140177c54]
mov eax, eax
mov qword [rsp + 0x98], rax
mov eax, 0x66
mov word [rsp + 0x60], ax
mov dword [rsp + 0xd0], 0xa3f5a023
mov dword [rsp + 0xd4], 0x84
movzx eax, word [0x140177c40]
movsx rax, ax
mov qword [rsp + 0xe8], rax
movzx eax, word [0x140177c88]
movsx rax, ax
mov qword [rsp + 0xf0], rax
mov eax, dword [0x140177c8c]
mov eax, eax
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], 0x6e
movsx ax, byte [0x140177b9e]
mov word [rsp + 0x64], ax
mov dword [rsp + 0xd8], 0x4cae
mov byte [rsp + 0x15], 0x21
movzx eax, byte [0x140177b76]
mov byte [rsp + 0x16], al
mov eax, 0xbe
mov word [rsp + 0x68], ax
cmp qword [rsp + 0x78], 0
je 0x1400f54d8
mov rax, qword [0x140177c70]
movzx ecx, word [0x140177cbc]
movsx rcx, cx
cmp rax, rcx
jb 0x1400f5362
mov dword [rsp + 0x38], 1
jmp 0x1400f536a
mov dword [rsp + 0x38], 0
mov rax, qword [0x140177c70]
cmp rax, 0x45
jb 0x1400f5381
mov dword [rsp + 0x34], 1
jmp 0x1400f5389
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x38], eax
jl 0x1400f540d
movzx eax, byte [0x140177bdf]
movzx eax, al
not eax
sub eax, 0xa206c049
test eax, eax
jne 0x1400f53b3
mov qword [rsp + 0x70], 1
jmp 0x1400f53bc
mov qword [rsp + 0x70], 0
mov rax, qword [0x140177cb0]
imul rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
and rcx, rax
mov rax, rcx
movzx ecx, byte [rsp + 1]
movzx ecx, cl
mov rdx, qword [rsp + 0xb8]
imul rcx, rdx
xor rax, rcx
mov byte [0x140177b9e], al
mov rax, qword [rsp + 0x80]
add rax, 0x18bb
mov byte [0x140177b9f], al
jmp 0x1400f54d3
mov rax, qword [0x140177c80]
sub rax, 0xd288
mov dword [rsp + 0x6c], eax
cmp qword [rsp + 0x78], 0
jne 0x1400f5430
mov dword [rsp + 0x3c], 1
jmp 0x1400f5438
mov dword [rsp + 0x3c], 0
movzx eax, byte [0x140177bc7]
movsx eax, al
not eax
movzx ecx, word [0x140177cc8]
movsx ecx, cx
add eax, ecx
movzx ecx, word [0x140177c50]
movsx ecx, cx
not ecx
mov edx, dword [rsp + 0x3c]
xor edx, ecx
mov ecx, edx
xor eax, ecx
cdqe
mov ecx, dword [0x140177c8c]
mov ecx, ecx
mov rdx, qword [rsp + 0x98]
sub rcx, rdx
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x80]
sub rdx, r8
add rcx, rdx
add rax, rcx
test rax, rax
jne 0x1400f54a4
mov qword [rsp + 0x88], 1
jmp 0x1400f54b0
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rax, qword [0x140177cc0]
add rax, 0xb6
mov dword [0x140177c1c], eax
jmp 0x1400f55a3
movzx eax, word [rsp + 0x10]
test eax, eax
je 0x1400f55a3
movsx eax, byte [0x140177bde]
test eax, eax
jne 0x1400f54fa
mov dword [rsp + 0x40], 1
jmp 0x1400f5502
mov dword [rsp + 0x40], 0
movsxd rax, dword [rsp + 0xc]
mov rcx, qword [0x140177cb0]
add rcx, rax
mov rax, rcx
mov ecx, dword [0x140177c8c]
add ecx, dword [rsp + 0x40]
mov ecx, ecx
xor rax, rcx
mov qword [0x140177cb0], rax
mov rax, qword [rsp + 0x98]
not rax
movzx ecx, word [rsp + 4]
movzx ecx, cx
add rax, rcx
test rax, rax
jne 0x1400f554f
mov dword [rsp + 0x48], 1
jmp 0x1400f5557
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x44]
not eax
xor eax, dword [rsp + 0x44]
not eax
imul eax, dword [rsp + 0x48]
cdqe
movzx ecx, byte [0x140177bc6]
movsx ecx, cl
add ecx, dword [rsp + 0xc]
movsxd rcx, ecx
movzx edx, word [0x140177c50]
movsx rdx, dx
mov r8, qword [rsp + 0x50]
sub r8, rdx
mov rdx, r8
not rdx
sub rcx, rdx
sub rax, rcx
not rax
mov byte [0x140177b77], al
movzx eax, word [0x140177c60]
cwde
test eax, eax
je 0x1400f5615
mov eax, dword [0x140177c1c]
test eax, eax
je 0x1400f55c8
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xa0], rax
jmp 0x1400f55d5
movzx eax, byte [rsp + 8]
mov qword [rsp + 0xa0], rax
movzx eax, byte [rsp + 0xa0]
mov byte [rsp], al
cmp dword [rsp + 0x30], 0
je 0x1400f55f8
mov rax, qword [0x140177ca8]
mov qword [rsp + 0xa8], rax
jmp 0x1400f5607
mov rax, qword [0x140177ca8]
mov qword [rsp + 0xa8], rax
movzx eax, byte [rsp + 0xa8]
mov byte [0x140177bc6], al
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x140177c64]
sub ecx, eax
mov eax, ecx
test eax, eax
jne 0x1400f5635
mov qword [rsp + 0xb0], 1
jmp 0x1400f5641
mov qword [rsp + 0xb0], 0
mov rax, qword [rsp + 0x50]
xor ecx, ecx
sub rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
movsx eax, byte [0x140177b9e]
imul eax, eax, 0x623a5443
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
cmp dword [0x140177cb8], 0
je 0x1400f5780
cmp qword [0x140177cc0], 0
je 0x1400f5780
movzx eax, word [0x140177bdc]
movzx eax, ax
test eax, eax
jne 0x1400f56aa
mov dword [rsp + 0x28], 1
jmp 0x1400f56b2
mov dword [rsp + 0x28], 0
cmp dword [0x140177cb8], 0
jne 0x1400f56c5
mov dword [rsp + 0x24], 1
jmp 0x1400f56cd
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jge 0x1400f5780
movzx eax, byte [0x140177bc6]
movsx eax, al
mov ecx, dword [rsp + 0x2c]
xor ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 9]
movsx ecx, cl
mov edx, dword [0x140177c54]
sub ecx, edx
imul eax, ecx
movzx ecx, word [rsp + 4]
movzx ecx, cx
movzx edx, word [rsp + 0x10]
mov r8d, dword [rsp + 0xc]
sub r8d, edx
mov edx, r8d
imul ecx, edx
not ecx
imul eax, ecx
mov dword [rsp + 0x30], eax
movzx eax, word [0x140177c7c]
cwde
test eax, eax
je 0x1400f5741
mov rax, qword [0x140177c30]
mov qword [rsp + 0xc0], rax
jmp 0x1400f5750
mov rax, qword [0x140177c28]
mov qword [rsp + 0xc0], rax
movzx eax, word [rsp + 0xc0]
mov word [rsp + 4], ax
mov eax, 2
imul rax, rax, 0x246f
lea rcx, [0x14149a6c0]
movzx edx, word [0x140177c78]
mov word [rcx + rax], dx
jmp 0x1400f584b
movzx eax, byte [0x140177bc7]
movsx eax, al
sub eax, 0xf01
test eax, eax
je 0x1400f57c5
movzx eax, word [0x140177bdc]
movzx eax, ax
mov ecx, dword [rsp + 0xc]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
movzx eax, byte [rsp]
add eax, 0x1b2a205
mov dword [0x140177cb8], eax
jmp 0x1400f584b
mov rax, qword [rsp + 0xe0]
not rax
mov rcx, qword [0x140177c30]
add rcx, rax
mov rax, rcx
test rax, rax
jne 0x1400f57f0
mov qword [rsp + 0xc8], 1
jmp 0x1400f57fc
mov qword [rsp + 0xc8], 0
movzx eax, word [0x140177c88]
movsx rax, ax
mov rcx, qword [0x140177c80]
imul rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0xc8]
jl 0x1400f582f
movzx eax, word [0x140177c98]
mov qword [0x140177c28], rax
jmp 0x1400f584b
movzx eax, word [rsp + 0x18]
cwde
movzx ecx, word [rsp + 0x1c]
movsx ecx, cx
cmp eax, ecx
jl 0x1400f584b
mov eax, 0xa141
mov word [rsp + 4], ax
movzx eax, byte [rsp + 1]
movzx eax, al
add rsp, 0x118
ret