Function at 0x1402cbb80
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 0x1402cbc02
mov eax, dword [rsp + 0x28]
shr eax, 1
mov dword [rsp + 0x70], eax
jmp 0x1402cbc0a
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 0x1402cbcce
mov rax, 0xffffffffffffffd4
jmp 0x1402cc2f6
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 0x1402cbd30
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x2c], eax
ja 0x1402cbdd1
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 0x1402cbd98
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 0x1402cbdcc
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 0x1402cbd26
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 0x1402cc041
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 0x1402cbe6a
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 0x1402cbf21
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.1402ca090
mov dword [rsp + 0x54], 8
jmp 0x1402cbec7
mov eax, dword [rsp + 0x54]
add eax, 8
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x54], eax
jge 0x1402cbf01
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.1402ca090
jmp 0x1402cbebc
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
jmp 0x1402cbe42
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xc0], 2
mov qword [rsp + 0xa0], 0
jmp 0x1402cbf65
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 0x1402cc03c
mov qword [rsp + 0x78], 0
jmp 0x1402cbf8f
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0x78], rax
jae 0x1402cc007
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 0x1402cbf82
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 0x1402cbf47
jmp 0x1402cc0f2
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 0
jmp 0x1402cc05d
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], eax
jae 0x1402cc0f2
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 0x1402cc096
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0x60], eax
jge 0x1402cc0ed
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 0x1402cc0eb
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 0x1402cc0cb
jmp 0x1402cc08c
jmp 0x1402cc053
mov dword [rsp + 0x44], 0
jmp 0x1402cc106
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x44], eax
jae 0x1402cc16b
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 0x1402cc0fc
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x24], 0
jmp 0x1402cc187
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x120]
cmp dword [rsp + 0x24], eax
ja 0x1402cc2f4
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 0x1402cc1f9
cmp dword [rsp + 0x64], 0
je 0x1402cc1c6
cmp dword [rsp + 0x64], 1
je 0x1402cc1f9
jmp 0x1402cc249
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 0x1402cc2ef
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 0x1402cc2ef
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
dec eax
mov ecx, eax
call fcn.1402c8a00
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 0x1402cc17d
xor eax, eax
add rsp, 0x108
ret