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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], cl
sub rsp, 0x98
movzx eax, word [0x1403084ac]
and eax, 0x40
cdqe
mov qword [rsp + 0x20], rax
movzx eax, byte [0x140308498]
mov byte [rsp + 8], al
movzx eax, byte [0x1403084c8]
mov byte [rsp], al
mov rax, qword [0x140308500]
shl rax, 1
mov rcx, qword [rsp + 0xd0]
mov eax, dword [rcx + rax*4]
cdq
mov ecx, 0x18d1
idiv ecx
mov eax, edx
cdqe
mov qword [rsp + 0x78], rax
movzx eax, word [0x1403084a0]
inc ax
mov word [0x1403084a0], ax
movzx eax, word [0x1403084a0]
mov ecx, dword [0x1403084d0]
or ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x80], rax
movzx eax, word [0x1403084cc]
cdqe
mov rcx, qword [rsp + 0xb0]
imul eax, dword [rcx + rax*4], 0x1d75
cdqe
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax]
cdqe
movzx ecx, byte [0x140308492]
mov rdx, qword [rsp + 0xe8]
mov eax, dword [rdx + rax*4]
or eax, ecx
cdqe
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0xa0]
mov qword [rsp + 0x68], rax
movsxd rax, dword [0x1403084d8]
mov qword [rsp + 0x88], rax
movzx eax, word [0x1403084c8]
mov rcx, qword [0x1403084f8]
shl rcx, 2
mov rdx, qword [0x1403084e0]
or rax, qword [rdx + rcx*8]
mov word [rsp + 0x38], ax
movzx eax, word [0x1403084cc]
add eax, 2
cdqe
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x30], rax
movzx eax, word [0x140308490]
mov qword [rsp + 0x48], rax
movzx eax, word [0x1403084a4]
add eax, 8
cdqe
mov rcx, qword [0x1403084c0]
movsxd rax, dword [rcx + rax*4]
mov qword [rsp + 0x50], rax
movsxd rax, dword [0x1403084d8]
mov qword [rsp + 0x10], rax
movzx eax, word [0x1403084cc]
cdqe
movzx ecx, word [0x1403084a4]
lea ecx, [rcx*4 + 4]
movsxd rcx, ecx
mov rdx, qword [0x1403084c0]
mov r8, qword [0x1403084c0]
mov ecx, dword [r8 + rcx*4]
mov eax, dword [rdx + rax*4]
xor eax, ecx
cdqe
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x18], 0x65
mov rax, qword [0x140308498]
shl rax, 2
movzx ecx, byte [rsp + 0xa0]
mov rdx, qword [rsp + 0xc0]
cmp dword [rdx + rax*4 + 0x50], ecx
jle 0x140002fe2
movzx eax, word [0x1403084d4]
jmp 0x140003521
mov eax, 1
imul rax, rax, 0xd71
mov rcx, qword [rsp + 0xd8]
movzx eax, byte [rcx + rax]
cdq
mov ecx, 0x1d0f
idiv ecx
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx]
lea ecx, [rcx*4 + 8]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x48]
movzx ecx, byte [rdx + rcx]
imul eax, ecx
mov rcx, qword [rsp + 0xd8]
movzx ecx, byte [rcx]
add ecx, 4
movsxd rcx, ecx
mov rdx, qword [rsp + 0xf0]
or eax, dword [rdx + rcx*4]
mov rcx, qword [rsp + 0xd8]
movzx ecx, byte [rcx]
add ecx, 4
movsxd rcx, ecx
mov rdx, qword [rsp + 0xf0]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0xd8]
inc rax
mov qword [rsp + 0xd8], rax
movzx eax, byte [rsp + 0xa0]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0xe0]
movzx ecx, word [rdx + rcx*2]
or eax, ecx
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx]
movsxd rcx, ecx
cdq
mov r8, qword [rsp + 0x40]
idiv dword [r8 + rcx*4]
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx]
add ecx, 0xf
movsxd rcx, ecx
mov rdx, qword [0x1403084e8]
xor eax, dword [rdx + rcx*4]
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx]
add ecx, 0xf
movsxd rcx, ecx
mov rdx, qword [0x1403084e8]
mov dword [rdx + rcx*4], eax
movzx eax, word [0x1403084a4]
shl eax, 1
cdqe
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + rax]
imul eax, eax, 0xa8
cdqe
xor rax, qword [0x1403084f8]
movzx ecx, word [0x1403084cc]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x10]
movsxd rcx, dword [rdx + rcx*4]
xor edx, edx
div rcx
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x50]
movzx ecx, word [rdx + rcx*2]
imul rax, rcx
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x50]
mov word [rdx + rcx*2], ax
mov rax, qword [rsp + 0xb8]
add rax, 8
mov qword [rsp + 0xb8], rax
movzx eax, word [0x1403084dc]
inc ax
mov word [0x1403084dc], ax
movzx eax, word [0x1403084c8]
mov dword [rsp + 0x3c], eax
movzx ecx, word [0x1403084dc]
movzx edx, byte [rsp + 8]
mov eax, edx
cdq
idiv ecx
imul eax, eax, 0x59f
mov ecx, dword [rsp + 0x3c]
xor eax, ecx
mov word [0x1403084c8], ax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax]
cdqe
mov qword [rsp + 0x58], rax
xor edx, edx
mov eax, 0x18d0
mov rcx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x58]
div qword [rcx + r8*8]
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [0x1403084f8]
movzx ecx, byte [rcx + rdx*4]
xor rax, rcx
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [0x1403084f8]
mov byte [rcx + rdx*4], al
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xd0]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 4], eax
jmp 0x1400031f6
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x20]
cmp rax, qword [rdx + rcx*8 + 8]
jbe 0x14000346a
movzx eax, word [0x1403084dc]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0xc0]
xor eax, dword [rdx + rcx*4]
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx]
movsxd rcx, ecx
mov rdx, qword [rsp + 0xb0]
add eax, dword [rdx + rcx*4]
mov rcx, qword [rsp + 0xd8]
movzx ecx, byte [rcx]
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0xd8]
movzx ecx, byte [rdx + rcx]
and eax, ecx
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x30]
movzx ecx, byte [rdx + rcx]
add eax, ecx
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x30]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0xb8]
add rax, 8
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x10]
imul eax, dword [rax], 3
add eax, 0x1b
cdqe
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x60]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x40]
mov eax, dword [rdx + rax*4]
cdq
idiv ecx
mov ecx, 4
imul rcx, rcx, 0x210
mov rdx, qword [rsp + 0x68]
imul eax, dword [rdx + rcx]
cdqe
movzx ecx, word [0x1403084cc]
shl ecx, 2
movsxd rcx, ecx
mov rdx, qword [rsp + 0x28]
add rax, qword [rdx + rcx*8]
movzx ecx, word [0x1403084cc]
shl ecx, 2
movsxd rcx, ecx
mov rdx, qword [rsp + 0x28]
mov qword [rdx + rcx*8], rax
mov rax, qword [rsp + 0x10]
add rax, 4
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x1403084f8]
movzx eax, byte [rax + rcx*2 + 0x21]
imul eax, eax, 0x52b
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx]
movsxd rcx, ecx
cdq
mov r8, qword [0x1403084b8]
idiv dword [r8 + rcx*4]
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx]
movsxd rcx, ecx
mov rdx, qword [0x1403084b8]
mov dword [rdx + rcx*4], eax
mov eax, 0x1be8
cdq
idiv dword [rsp + 4]
or eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x10]
mov ecx, dword [rcx]
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx*4], eax
mov eax, 1
imul rax, rax, 0xb2d
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 4]
movsxd rcx, ecx
xor edx, edx
mov r8, qword [rsp + 0x20]
div qword [r8 + rcx*8]
mov rax, rdx
mov ecx, dword [rsp + 4]
movsxd rcx, ecx
mov rdx, qword [rsp + 0xe0]
movzx ecx, word [rdx + rcx*2]
or rax, rcx
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0xb8]
add rax, qword [rdx + rcx*8]
mov ecx, dword [rsp + 4]
movsxd rcx, ecx
xor edx, edx
mov r8, qword [rsp + 0x28]
div qword [r8 + rcx*8]
mov rax, rdx
mov ecx, dword [rsp + 4]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x28]
mov qword [rdx + rcx*8], rax
movzx eax, word [0x1403084cc]
dec ax
mov word [0x1403084cc], ax
movzx eax, word [0x1403084cc]
mov qword [rsp + 0x70], rax
movzx ecx, word [0x1403084a4]
imul ecx, ecx, 3
add ecx, 3
movsxd rcx, ecx
mov rdx, qword [rsp + 0xd0]
mov eax, dword [rdx + rcx*4]
cdq
mov ecx, 0x1b67
idiv ecx
mov eax, edx
cdqe
movzx ecx, word [0x1403084cc]
shl ecx, 2
movsxd rcx, ecx
mov rdx, qword [rsp + 0x28]
imul rax, qword [rdx + rcx*8]
mov rcx, qword [rsp + 0x70]
add rax, rcx
mov word [0x1403084cc], ax
jmp 0x1400031ec
movzx eax, word [0x1403084cc]
movzx ecx, word [0x140308490]
and eax, ecx
add eax, 0x143
mov ecx, 4
imul rcx, rcx, 0x1af0
cdq
mov r8, qword [0x1403084e8]
idiv dword [r8 + rcx]
mov byte [rsp], al
mov rax, qword [0x1403084f8]
inc rax
mov qword [0x1403084f8], rax
movzx eax, word [0x1403084f4]
mov rcx, qword [0x1403084f8]
mov rdx, qword [rsp + 0x30]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
movzx edx, byte [rsp]
mov r8d, dword [0x1403084f0]
add r8d, edx
mov edx, r8d
imul edx, ecx
mov ecx, edx
sub ecx, eax
mov eax, ecx
cdqe
mov qword [0x140308500], rax
movzx eax, word [0x1403084f4]
inc ax
mov word [0x1403084f4], ax
movzx eax, word [0x1403084cc]
imul eax, eax, 3
add eax, 0x24
cdqe
mov rcx, qword [rsp + 0xa8]
mov qword [rcx + rax*8], 0x1499
movzx eax, word [0x1403084d4]
add rsp, 0x98
ret