Function at 0x14009dc70
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, 0xe8
mov qword [rsp + 0xa0], 0x57b8
mov byte [rsp + 0x2e], 0xdf
mov eax, dword [0x1401779f4]
mov dword [rsp + 0x4c], eax
mov eax, 0x4c9c
mov word [rsp + 0x58], ax
mov dword [rsp + 0x80], 0x82b8f452
mov eax, 0x4110
mov word [rsp + 0x28], ax
mov byte [rsp + 0x20], 0xe8
movzx eax, byte [0x1401778f7]
movsx ax, al
mov word [rsp + 0x5c], ax
mov eax, dword [0x1401779b4]
mov dword [rsp + 0x44], eax
mov eax, 0xffff9553
mov word [rsp + 0x38], ax
movzx eax, byte [0x140177980]
mov byte [rsp + 0x2d], al
mov qword [rsp + 0x90], 0xbcdc
movzx eax, word [0x1401779a0]
mov word [rsp + 0x40], ax
movzx eax, byte [0x1401779f0]
mov byte [rsp + 0x2f], al
mov eax, 0x860af69b
mov qword [rsp + 0x98], rax
movzx eax, word [0x1401779fc]
mov dword [rsp + 0x68], eax
movabs rax, 0x3d705e1c716ed
mov qword [rsp + 0xa8], rax
movzx eax, word [0x1401779c0]
mov word [rsp + 0x24], ax
movabs rax, 0x30e622c26b2a4
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x30], 0xbf
mov eax, 0x7184
mov word [rsp + 0x3c], ax
mov byte [rsp + 0x2c], 0x9f
mov eax, dword [0x1401779b0]
mov eax, eax
mov qword [rsp + 0xb0], rax
movzx eax, byte [0x1401778cf]
mov byte [rsp + 0x31], al
mov eax, dword [0x14017799c]
mov word [rsp + 0x60], ax
mov qword [rsp + 0xb8], 0x85
mov dword [rsp + 0x84], 0x99
mov byte [rsp + 0x32], 0x3f
mov rax, qword [0x1401779b8]
mov dword [rsp + 0x88], eax
movsx rax, word [0x1401779ac]
mov qword [rsp + 0xc0], rax
movzx eax, word [0x1401779fc]
mov qword [rsp + 0xc8], rax
movzx eax, byte [0x140177936]
mov byte [rsp + 0x33], al
mov rax, qword [0x1401779c8]
mov dword [rsp + 0x8c], eax
movzx eax, byte [0x140177933]
mov byte [rsp + 0x34], al
movzx eax, word [0x140177988]
movsx rax, ax
mov qword [rsp + 0xd0], rax
movzx eax, word [0x140177988]
mov word [rsp + 0x64], ax
movzx eax, word [0x1401779e8]
inc ax
mov word [0x1401779e8], ax
mov eax, dword [0x1401779c4]
add eax, 0x4c
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
movzx r8d, al
movzx edx, byte [rsp + 0x38]
movzx ecx, byte [0x140177980]
call fcn.14009eb60
mov byte [0x140177906], al
mov rax, qword [rsp + 0x90]
test rax, rax
jne 0x14009dedc
mov eax, dword [rsp + 0x4c]
test eax, eax
jne 0x14009dedc
movsx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14009de8e
mov dword [rsp + 0x48], 1
jmp 0x14009de96
mov dword [rsp + 0x48], 0
mov eax, dword [0x1401779a8]
cmp dword [rsp + 0x48], eax
jbe 0x14009dedc
movzx eax, word [rsp + 0x3c]
mov dword [rsp + 0x44], eax
movzx eax, word [rsp + 0x24]
movsx ecx, word [rsp + 0x40]
imul eax, ecx
movzx ecx, word [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov word [rsp + 0x24], ax
mov rax, qword [0x140177990]
add rax, 0xc4
mov qword [0x1401779d8], rax
jmp 0x14009df2c
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x14009df2c
mov dword [0x14017799c], 0x8d45
cmp qword [0x140177970], 0
jne 0x14009df03
mov qword [rsp + 0x70], 1
jmp 0x14009df0c
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
mov rcx, qword [0x140177970]
sub rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x4c]
movsxd rcx, ecx
xor rax, rcx
mov byte [rsp + 0x2c], al
movzx eax, word [rsp + 0x28]
sar eax, 4
mov byte [0x140177906], al
imul rax, qword [rsp + 0x98], 0x52
movzx ecx, byte [0x140177937]
movsx rcx, cl
mov rdx, qword [rsp + 0x78]
sub rcx, rdx
not rcx
add rax, rcx
movsx ecx, byte [rsp + 0x20]
not ecx
movzx edx, word [rsp + 0x24]
imul ecx, edx
movsx edx, word [0x1401779c0]
mov r8d, dword [0x1401779c4]
add r8d, edx
mov edx, r8d
sub ecx, edx
movsxd rcx, ecx
sub rax, rcx
mov byte [rsp + 0x2d], al
mov eax, dword [0x1401779f4]
movzx ecx, word [rsp + 0x28]
cmp eax, ecx
jg 0x14009dfa4
mov dword [rsp + 0x54], 1
jmp 0x14009dfac
mov dword [rsp + 0x54], 0
mov eax, dword [0x1401779f4]
cmp eax, 0x40
jg 0x14009dfc1
mov dword [rsp + 0x50], 1
jmp 0x14009dfc9
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x54], eax
jge 0x14009e022
movzx eax, word [0x140ecf768]
mov word [0x1401779ac], ax
mov rax, qword [rsp + 0x78]
add rax, 0x338e
movzx ecx, word [rsp + 0x28]
and rcx, rax
mov rax, rcx
mov word [rsp + 0x28], ax
movzx eax, byte [0x140177936]
movsx eax, al
mov ecx, dword [0x14017799c]
sub eax, ecx
movzx ecx, byte [0x140177936]
movsx ecx, cl
add ecx, eax
mov eax, ecx
mov byte [0x140177936], al
movzx eax, byte [rsp + 0x2e]
add rsp, 0xe8
ret