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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0xf8
mov rax, qword [0x1402c3b70]
mov rcx, qword [rsp + 0x110]
mov rdx, qword [0x1402c3c08]
movzx ecx, word [rdx + rcx*2 + 0xc]
mov rdx, qword [0x1402c3be8]
add ecx, dword [rdx + rax*4]
mov eax, ecx
mov word [rsp + 0x28], ax
mov rax, qword [0x1402c3c00]
mov qword [rsp + 0xd0], rax
movzx eax, word [0x1402c3bc4]
mov dword [rsp + 0x68], eax
mov eax, dword [0x1402c3c18]
cdqe
mov rcx, qword [0x1402c3be8]
movzx eax, byte [rcx + rax*4]
mov byte [rsp + 0x21], al
mov qword [rsp + 0x50], 0x123
mov eax, 0x1179
sub rax, qword [0x1402c3bb8]
mov byte [rsp + 0x38], al
movzx eax, word [0x1402c3be0]
dec ax
mov word [0x1402c3be0], ax
movzx eax, word [0x1402c3be0]
shl eax, 2
cdqe
mov rcx, qword [rsp + 0x118]
mov edx, dword [0x1402c3bcc]
mov eax, dword [rcx + rax*4]
and eax, edx
cdqe
mov qword [rsp + 0x78], rax
movzx eax, byte [0x1402c3bb2]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xd8], 0x1665
imul rax, qword [0x1402c3ba8], 3
mov rcx, qword [rsp + 0x130]
movzx eax, byte [rcx + rax]
mov ecx, dword [0x1402c3bc8]
and ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0xc8], rax
movzx eax, word [0x1402c3bc4]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x40], 0x15
mov eax, dword [0x1402c3c1c]
cdqe
mov rcx, qword [0x1402c3ba0]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x110]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
imul rax, qword [0x1402c3b70], 0x870
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x48], 0x1466
movzx eax, word [0x1402c3be0]
imul eax, eax, 3
add eax, 4
cdqe
mov rcx, qword [rsp + 0x128]
movzx eax, byte [rcx + rax]
and eax, 0x149
mov word [rsp + 0x34], ax
movzx eax, word [0x1402c3be0]
dec ax
mov word [0x1402c3be0], ax
mov eax, dword [rsp + 0x100]
dec eax
mov dword [rsp + 0x100], eax
mov eax, dword [rsp + 0x100]
add eax, 2
cdqe
mov rcx, qword [0x1402c3ba0]
movzx eax, byte [rcx + rax]
or eax, 0x7db
cdqe
mov qword [rsp + 0xe0], rax
mov eax, 1
imul rax, rax, 0x1c88
mov rcx, qword [rsp + 0x108]
movzx eax, byte [rcx + rax]
mov qword [rsp + 0xe8], rax
movzx eax, word [0x1402c3bfc]
cdqe
mov rcx, qword [0x1402c3c10]
movsxd rax, dword [rcx + rax*4]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x110]
mov rcx, qword [0x1402c3c10]
mov eax, dword [rcx + rax*4 + 0x14]
cdq
idiv dword [0x1402c3bcc]
mov word [rsp + 0x24], ax
mov eax, 1
imul rax, rax, 0x15c5
mov rcx, qword [rsp + 0x128]
movzx eax, byte [rcx + rax]
movzx ecx, word [rsp + 0x140]
add ecx, 7
movsxd rcx, ecx
mov rdx, qword [rsp + 0x128]
movzx ecx, byte [rdx + rcx]
sub eax, ecx
mov dword [rsp + 0x3c], eax
imul rax, qword [0x1402c3b90], 0x1ec0
mov qword [rsp + 0x98], rax
movzx eax, word [0x1402c3bb0]
mov dword [rsp + 0x58], eax
mov eax, dword [0x1402c3bc0]
cdq
mov ecx, dword [rsp + 0x58]
idiv ecx
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x108]
movzx eax, byte [rcx + rax + 4]
mov dword [rsp + 0x2c], eax
jmp 0x1400184ca
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x128]
movzx eax, byte [rcx + rax + 1]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x60], eax
jle 0x140018689
mov eax, 8
imul rax, rax, 0x168b
mov ecx, dword [rsp + 0x2c]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x138]
movsxd rcx, dword [rdx + rcx*4]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rdx + rax]
or rax, rcx
mov ecx, dword [rsp + 0x2c]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x138]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x100]
add eax, 8
cdqe
mov rcx, qword [rsp + 0x118]
imul eax, dword [rcx + rax*4], 0x81e
mov ecx, dword [rsp + 0x100]
add ecx, 8
movsxd rcx, ecx
mov rdx, qword [rsp + 0x118]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x100]
cdqe
mov ecx, dword [rsp + 0x2c]
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x88]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x138]
mov eax, dword [rdx + rax*4]
cdq
idiv ecx
imul eax, dword [rsp + 0x2c]
or eax, dword [rsp + 0x2c]
cdqe
movzx ecx, word [rsp + 0x24]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x78]
mov qword [rdx + rcx*8], rax
movzx eax, word [rsp + 0x24]
imul eax, eax, 3
cdqe
xor edx, edx
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rcx + rax*8]
div qword [0x1402c3bb8]
mov byte [rsp + 0x30], al
movsxd rax, dword [rsp + 0x2c]
mov qword [rsp + 0xc0], rax
mov rax, qword [0x1402c3b70]
dec rax
mov qword [0x1402c3b70], rax
mov eax, dword [0x1402c3b7c]
cdqe
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx + rax]
mov qword [rsp + 0xa8], rax
xor edx, edx
mov rax, qword [0x1402c3b70]
mov rcx, qword [rsp + 0xa8]
div rcx
mov qword [rsp + 0xb8], rax
movzx eax, word [rsp + 0x140]
shl eax, 1
cdqe
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x64], eax
mov r9d, dword [rsp + 0x64]
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x30]
call fcn.140017ad0
cdqe
mov rcx, qword [0x1402c3ba8]
mov rdx, qword [rsp + 0x98]
mov qword [rdx + rcx*8], rax
jmp 0x1400184c0
movzx eax, word [rsp + 0x140]
dec ax
mov word [rsp + 0x140], ax
movzx eax, word [rsp + 0x140]
cdqe
mov rcx, qword [rsp + 0x130]
movzx eax, byte [rcx + rax]
movzx ecx, word [rsp + 0x140]
imul ecx, dword [0x1402c3b60]
xor ecx, 0x174b
xor ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0x140]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x130]
mov byte [rdx + rcx], al
mov eax, dword [0x1402c3b60]
dec eax
mov dword [0x1402c3b60], eax
movzx eax, word [rsp + 0x140]
inc ax
mov word [rsp + 0x140], ax
movzx eax, word [0x1402c3be0]
inc eax
cdqe
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
movzx ecx, byte [rsp + 0x21]
sub eax, ecx
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
cmp eax, 0x86f
jne 0x1400187c7
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx + rax + 8]
or eax, 0x1012
movzx ecx, word [0x1402c3bf8]
lea eax, [rax + rcx - 0x12aa]
movzx ecx, word [0x1402c3bfc]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x50]
movzx ecx, byte [rdx + rcx]
imul eax, ecx
movzx ecx, word [0x1402c3bfc]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x50]
mov byte [rdx + rcx], al
movzx eax, word [rsp + 0x24]
cdqe
movsxd rcx, dword [rsp + 0x68]
mov rdx, qword [rsp + 0xc8]
mov rax, qword [rdx + rax*8]
add rax, rcx
movzx ecx, byte [rsp + 0x20]
xor rax, rcx
movzx ecx, word [rsp + 0x34]
add rax, rcx
mov word [rsp + 0x34], ax
mov rax, qword [rsp + 0x40]
dec rax
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x40]
jmp 0x1400189f1
movzx eax, word [rsp + 0x28]
dec ax
mov word [rsp + 0x28], ax
movzx eax, word [rsp + 0x28]
cdqe
mov rcx, qword [rsp + 0x108]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x6c], eax
mov rcx, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x130]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
movzx edx, word [rsp + 0x140]
movsxd rdx, edx
mov r8, qword [0x1402c3c08]
movzx edx, word [r8 + rdx*2]
movzx r8d, word [rsp + 0x140]
or r8d, edx
mov edx, r8d
or edx, 0x1c58
mov eax, edx
cdq
idiv ecx
cdq
mov ecx, dword [rsp + 0x6c]
idiv ecx
mov eax, edx
movzx ecx, word [rsp + 0x28]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x108]
mov byte [rdx + rcx], al
movzx eax, word [rsp + 0x140]
dec ax
mov word [rsp + 0x140], ax
movzx eax, byte [rsp + 0x21]
mov dword [rsp + 0x70], eax
mov eax, dword [0x1402c3b78]
cdq
mov ecx, dword [rsp + 0x70]
idiv ecx
movzx ecx, byte [rsp + 0x20]
imul eax, ecx
movzx ecx, word [rsp + 0x140]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x118]
add eax, dword [rdx + rcx*4]
movzx ecx, word [rsp + 0x140]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x118]
mov dword [rdx + rcx*4], eax
movzx eax, byte [rsp + 0x20]
dec al
mov byte [rsp + 0x20], al
movzx eax, word [0x1402c3bf8]
dec ax
mov word [0x1402c3bf8], ax
mov eax, 2
imul rax, rax, 0x15c5
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax]
mov dword [rsp + 0x74], eax
movzx ecx, byte [rsp + 0x20]
movzx edx, byte [0x1402c3bb2]
mov eax, edx
cdq
idiv ecx
and eax, dword [0x1402c3bc0]
mov ecx, dword [rsp + 0x74]
xor eax, ecx
movzx ecx, word [0x1402c3bf8]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x130]
mov byte [rdx + rcx], al
mov eax, dword [0x1402c3b64]
cdq
idiv dword [0x1402c3bcc]
mov dword [0x1402c3bcc], eax
movzx eax, word [rsp + 0x24]
cdqe
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
movzx ecx, word [0x1402c3bf8]
lea ecx, [rcx + rcx + 3]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x90]
and eax, dword [rdx + rcx*4]
movzx ecx, word [0x1402c3bf8]
lea ecx, [rcx + rcx + 3]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*4], eax
movzx eax, word [rsp + 0x24]
inc ax
mov word [rsp + 0x24], ax
mov eax, dword [rsp + 0x100]
dec eax
mov dword [rsp + 0x100], eax
mov eax, dword [rsp + 0x100]
cdqe
mov rcx, qword [0x1402c3b80]
movsxd rax, dword [rcx + rax*4]
movsxd rcx, dword [rsp + 0x3c]
movzx edx, word [0x1402c3be0]
movsxd rdx, edx
mov r8, qword [rsp + 0x98]
add rcx, qword [r8 + rdx*8]
and rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x100]
movsxd rcx, ecx
mov rdx, qword [0x1402c3b80]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x40]
dec rax
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x40]
add rsp, 0xf8
ret