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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov rax, qword [rsp + 0x100]
add rax, 8
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x110]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x128]
mov ecx, 1
mov dword [rsp + 0x98], ecx
movzx ecx, al
mov eax, dword [rsp + 0x98]
shl eax, cl
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 0x6a
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0xac], eax
mov dword [rsp + 0xa8], 1
mov eax, dword [rsp + 0x128]
dec eax
mov ecx, 1
mov dword [rsp + 0x9c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x9c]
shl eax, cl
mov word [rsp + 0x50], ax
mov dword [rsp + 0x24], 0
jmp 0x1402ffd67
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x24], eax
jae 0x1402ffe00
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x108]
movsx eax, word [rcx + rax*2]
cmp eax, 0xffffffff
jne 0x1402ffdb9
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x48]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax*8 + 4], edx
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x24]
mov ecx, 1
mov rdx, qword [rsp + 0x60]
mov word [rdx + rax*2], cx
jmp 0x1402ffdfb
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x108]
movsx eax, word [rcx + rax*2]
movsx ecx, word [rsp + 0x50]
cmp eax, ecx
jl 0x1402ffddd
mov dword [rsp + 0xa8], 0
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x108]
movzx eax, word [r8 + rax*2]
mov word [rdx + rcx*2], ax
jmp 0x1402ffd5d
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xa8]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
dec eax
cmp dword [rsp + 0x34], eax
jne 0x140300075
mov eax, dword [rsp + 0x20]
dec eax
mov eax, eax
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x20]
shr eax, 1
mov ecx, dword [rsp + 0x20]
shr ecx, 3
lea eax, [rax + rcx + 3]
mov eax, eax
mov qword [rsp + 0xc8], rax
movabs rax, 0x101010101010101
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x3c], 0
jmp 0x1402ffeaa
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x3c], eax
jae 0x1402fff61
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x108]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.1402ca090
mov dword [rsp + 0x40], 8
jmp 0x1402fff07
mov eax, dword [rsp + 0x40]
add eax, 8
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x40], eax
jge 0x1402fff41
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x40]
add rax, rcx
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.1402ca090
jmp 0x1402ffefc
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
jmp 0x1402ffe82
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xb8], 2
mov qword [rsp + 0x90], 0
jmp 0x1402fffa5
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x20]
cmp qword [rsp + 0x90], rax
jae 0x140300070
mov qword [rsp + 0x78], 0
jmp 0x1402fffcf
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xb8]
cmp qword [rsp + 0x78], rax
jae 0x14030003c
mov rax, qword [rsp + 0x78]
imul rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
and rax, qword [rsp + 0xd0]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xb0]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0xe0]
mov dword [rcx + rdx*8 + 4], eax
jmp 0x1402fffc2
mov rax, qword [rsp + 0xb8]
imul rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
and rax, qword [rsp + 0xd0]
mov qword [rsp + 0xc0], rax
jmp 0x1402fff87
jmp 0x140300142
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x20]
shr eax, 1
mov ecx, dword [rsp + 0x20]
shr ecx, 3
lea eax, [rax + rcx + 3]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x30], 0
jmp 0x1403000b0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x30], eax
jae 0x140300142
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x108]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0xa0], eax
mov dword [rsp + 0x58], 0
jmp 0x1403000e9
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x58], eax
jge 0x14030013d
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x48]
mov edx, dword [rsp + 0x30]
mov dword [rcx + rax*8 + 4], edx
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x70]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x2c], eax
jbe 0x14030013b
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x70]
mov dword [rsp + 0x2c], eax
jmp 0x14030011b
jmp 0x1403000df
jmp 0x1403000a6
mov dword [rsp + 0x28], 0
jmp 0x140300156
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x28], eax
jae 0x14030022c
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*8 + 4]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax*2]
inc ax
mov ecx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x60]
mov word [rdx + rcx*2], ax
mov ecx, dword [rsp + 0x74]
call fcn.1402c8a00
mov ecx, dword [rsp + 0x128]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
mov byte [rdx + rcx*8 + 3], al
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + rax*8 + 3]
movzx ecx, al
mov eax, dword [rsp + 0x74]
shl eax, cl
sub eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
mov word [rdx + rcx*8], ax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x120]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx*8 + 2], al
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x118]
mov eax, dword [r8 + rax*4]
mov dword [rdx + rcx*8 + 4], eax
jmp 0x14030014c
add rsp, 0xf8
ret