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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov eax, dword [rsp + 0x128]
mov ecx, 1
mov dword [rsp + 0xb0], ecx
movzx ecx, al
mov eax, dword [rsp + 0xb0]
shl eax, cl
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
add rax, 4
mov qword [rsp + 0xd0], rax
cmp dword [rsp + 0x128], 0
je 0x1402d7532
mov eax, dword [rsp + 0x28]
shr eax, 1
mov dword [rsp + 0x70], eax
jmp 0x1402d753a
mov dword [rsp + 0x70], 1
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xd8]
lea rax, [rcx + rax*4 + 4]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x28]
shr eax, 1
mov ecx, dword [rsp + 0x28]
shr ecx, 3
lea eax, [rax + rcx + 3]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x120]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x38]
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x120]
add eax, 2
mov eax, eax
mov ecx, dword [rsp + 0x128]
mov edx, 1
shl rdx, cl
mov rcx, rdx
add rax, rcx
xor edx, edx
mov ecx, 2
div rcx
lea rax, [rax*4 + 8]
cmp rax, qword [rsp + 0x138]
jbe 0x1402d75fe
mov rax, 0xffffffffffffffd4
jmp 0x1402d7c26
mov eax, 2
imul rax, rax, 0xfffffffffffffffe
mov rcx, qword [rsp + 0xd0]
movzx edx, word [rsp + 0x128]
mov word [rcx + rax], dx
mov eax, 2
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0xd0]
movzx edx, word [rsp + 0x120]
mov word [rcx + rax], dx
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov rdx, qword [rsp + 0x48]
mov word [rdx + rax], cx
mov dword [rsp + 0x2c], 1
jmp 0x1402d7660
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x2c], eax
ja 0x1402d7701
mov eax, dword [rsp + 0x2c]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
cmp eax, 0xffffffff
jne 0x1402d76c8
mov eax, dword [rsp + 0x2c]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
inc eax
mov ecx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x48]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0x2c]
dec eax
mov ecx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x80]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x1402d76fc
mov eax, dword [rsp + 0x2c]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x2c]
dec ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x118]
movzx ecx, word [rdx + rcx*2]
add eax, ecx
mov ecx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x48]
mov word [rdx + rcx*2], ax
jmp 0x1402d7656
mov eax, dword [rsp + 0x28]
inc eax
mov ecx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0x28]
dec eax
cmp dword [rsp + 0x40], eax
jne 0x1402d7971
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
movabs rax, 0x101010101010101
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x50], 0
jmp 0x1402d779a
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x50], eax
jae 0x1402d7851
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.1402d59c0
mov dword [rsp + 0x54], 8
jmp 0x1402d77f7
mov eax, dword [rsp + 0x54]
add eax, 8
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x54], eax
jge 0x1402d7831
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x54]
add rax, rcx
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.1402d59c0
jmp 0x1402d77ec
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
jmp 0x1402d7772
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xc0], 2
mov qword [rsp + 0xa0], 0
jmp 0x1402d7895
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x28]
cmp qword [rsp + 0xa0], rax
jae 0x1402d796c
mov qword [rsp + 0x78], 0
jmp 0x1402d78bf
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0x78], rax
jae 0x1402d7937
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
imul rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x5c]
and rax, rcx
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0x80]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0xb8]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
jmp 0x1402d78b2
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xc0]
imul rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x5c]
and rax, rcx
mov qword [rsp + 0xc8], rax
jmp 0x1402d7877
jmp 0x1402d7a22
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 0
jmp 0x1402d798d
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], eax
jae 0x1402d7a22
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0xa8], eax
mov dword [rsp + 0x60], 0
jmp 0x1402d79c6
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0x60], eax
jge 0x1402d7a1d
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
movzx edx, byte [rsp + 0x3c]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x5c]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x30], eax
jbe 0x1402d7a1b
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x5c]
mov dword [rsp + 0x30], eax
jmp 0x1402d79fb
jmp 0x1402d79bc
jmp 0x1402d7983
mov dword [rsp + 0x44], 0
jmp 0x1402d7a36
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x44], eax
jae 0x1402d7a9b
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
movzx ecx, word [rdx + rcx*2]
mov rdx, qword [rsp + 0xd0]
mov word [rdx + rcx*2], ax
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
inc ax
movzx ecx, byte [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov word [rdx + rcx*2], ax
jmp 0x1402d7a2c
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x24], 0
jmp 0x1402d7ab7
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x120]
cmp dword [rsp + 0x24], eax
ja 0x1402d7c24
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0xffffffff
je 0x1402d7b29
cmp dword [rsp + 0x64], 0
je 0x1402d7af6
cmp dword [rsp + 0x64], 1
je 0x1402d7b29
jmp 0x1402d7b79
mov eax, dword [rsp + 0x128]
inc eax
shl eax, 0x10
mov ecx, dword [rsp + 0x128]
mov edx, 1
shl edx, cl
mov ecx, edx
sub eax, ecx
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx*8 + 4], eax
jmp 0x1402d7c1f
mov eax, dword [rsp + 0x128]
shl eax, 0x10
mov ecx, dword [rsp + 0x128]
mov edx, 1
shl edx, cl
mov ecx, edx
sub eax, ecx
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx*8 + 4], eax
mov eax, dword [rsp + 0x34]
dec eax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx*8], eax
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x1402d7c1f
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
dec eax
mov ecx, eax
call fcn.1402d4330
mov ecx, dword [rsp + 0x128]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x6c]
shl eax, cl
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0x6c]
shl eax, 0x10
sub eax, dword [rsp + 0xac]
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx*8 + 4], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx*8], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x1402d7aad
xor eax, eax
add rsp, 0x108
ret