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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x278
lea rax, [rsp + 0x240]
mov rdi, rax
mov rsi, qword [rsp + 0x290]
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x240]
call fcn.1402dd100
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 8]
mov ecx, 1
mov dword [rsp + 0xa0], ecx
movzx ecx, al
mov eax, dword [rsp + 0xa0]
shl eax, cl
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x2a0]
mov ecx, dword [rcx + 8]
mov eax, dword [rax + 4]
sub eax, ecx
mov dword [rsp + 0xa4], eax
mov rax, qword [rsp + 0x290]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x3c], 0
je 0x1402f3307
mov rax, qword [rsp + 0x290]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x78], eax
jmp 0x1402f330f
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 8]
mov qword [rsp + 0x90], rax
cmp dword [rsp + 0x3c], 0
je 0x1402f334b
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x100], rax
jmp 0x1402f3357
mov qword [rsp + 0x100], 0
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xc0], rax
cmp dword [rsp + 0x3c], 0
je 0x1402f338d
mov eax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x108], rax
jmp 0x1402f3399
mov qword [rsp + 0x108], 0
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x160], rax
cmp dword [rsp + 0x3c], 0
je 0x1402f33cc
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
jmp 0x1402f33d8
mov qword [rsp + 0x110], 0
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x158], rax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
sub rax, 8
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x290]
add rax, 0x40
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x290]
add rax, 0x240
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x34]
cmp qword [rsp + 0x2b0], rax
jae 0x1402f34a2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
jmp 0x1402f3c7a
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rsp + 0x1a8]
call fcn.1402f2c60
mov eax, dword [rsp + 0x34]
mov r8d, eax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x1a8]
call fcn.1402f2d20
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x118]
cmp qword [rsp + 0x48], rax
jae 0x1402f3c6a
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x118]
sub rcx, rax
mov rax, rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x120]
mov r8, rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x1a8]
call fcn.1402f2910
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0x30], 0
jmp 0x1402f3555
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x30], eax
jae 0x1402f368c
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x34]
sub rax, rcx
mov qword [rsp + 0x128], rax
mov eax, dword [rsp + 0x34]
xor r8d, r8d
mov edx, eax
mov rcx, qword [rsp + 0x128]
call fcn.1402cb740
mov qword [rsp + 0x130], rax
mov eax, dword [rsp + 0xa4]
mov ecx, 1
mov dword [rsp + 0xa8], ecx
movzx ecx, al
mov eax, dword [rsp + 0xa8]
shl eax, cl
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x130]
and rcx, rax
mov rax, rcx
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x128]
mov qword [rcx + rax], rdx
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x60]
mov edx, dword [rsp + 0x7c]
mov dword [rcx + rax + 8], edx
mov rax, qword [rsp + 0x130]
shr rax, 0x20
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x60]
mov dword [rdx + rcx + 0xc], eax
lea rax, [rsp + 0x1c0]
mov rdi, rax
mov rsi, qword [rsp + 0x2a0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x7c]
lea r8, [rsp + 0x1c0]
mov edx, eax
mov rcx, qword [rsp + 0x290]
call fcn.1402f3c90
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x60]
mov qword [rdx + rcx + 0x10], rax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx + rax + 0x10]
prefetcht0 byte [rax]
jmp 0x1402f354b
mov dword [rsp + 0x30], 0
jmp 0x1402f36a0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x30], eax
jae 0x1402f3c4d
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0x180], 0
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax + 0xc]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax + 8]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx + rax + 0x10]
mov qword [rsp + 0x138], rax
mov qword [rsp + 0xd8], 0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x58], rax
jae 0x1402f37b1
lea rax, [rsp + 0x1e0]
mov rdi, rax
mov rsi, qword [rsp + 0x2a0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x6c]
lea r9, [rsp + 0x1e0]
mov r8, qword [rsp + 0x98]
mov edx, eax
mov rcx, qword [rsp + 0x290]
call fcn.1402f3e10
jmp 0x1402f3696
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x40], rax
jmp 0x1402f37ce
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xac]
mov rcx, qword [rsp + 0x138]
lea rax, [rcx + rax*8]
cmp qword [rsp + 0x40], rax
jae 0x1402f3a63
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x80]
cmp dword [rax + 4], ecx
jne 0x1402f380d
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x84]
cmp dword [rax], ecx
ja 0x1402f380f
jmp 0x1402f37c0
cmp dword [rsp + 0x3c], 0
je 0x1402f397b
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x38]
cmp dword [rax], ecx
jae 0x1402f3839
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x140], rax
jmp 0x1402f3849
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x38]
cmp dword [rax], ecx
jae 0x1402f3895
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x148], rax
jmp 0x1402f38a2
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x38]
cmp dword [rax], ecx
jae 0x1402f38d1
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x150], rax
jmp 0x1402f38e1
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x190]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x58]
call fcn.1402e5140
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x34]
cmp qword [rsp + 0x88], rax
jae 0x1402f3938
jmp 0x1402f37c0
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x198]
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.1402f25b0
mov qword [rsp + 0xd0], rax
jmp 0x1402f39f1
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x170], rax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x58]
call fcn.1402d66e0
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x34]
cmp qword [rsp + 0x88], rax
jae 0x1402f39ca
jmp 0x1402f37c0
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0x170]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.1402f2520
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x180]
cmp qword [rsp + 0x178], rax
jbe 0x1402f3a5e
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xd8], rax
jmp 0x1402f37c0
cmp qword [rsp + 0xd8], 0
jne 0x1402f3ab0
lea rax, [rsp + 0x200]
mov rdi, rax
mov rsi, qword [rsp + 0x2a0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x6c]
lea r9, [rsp + 0x200]
mov r8, qword [rsp + 0x98]
mov edx, eax
mov rcx, qword [rsp + 0x290]
call fcn.1402f3e10
jmp 0x1402f3696
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xd8]
sub eax, dword [rcx]
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xf0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x298]
imul rax, qword [rax + 0x18], 0xc
mov rcx, qword [rsp + 0x298]
add rax, qword [rcx]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x298]
mov rcx, qword [rcx + 0x20]
cmp qword [rax + 0x18], rcx
jne 0x1402f3b38
mov rax, 0xffffffffffffffba
jmp 0x1402f3c7a
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xe8]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0xe8]
mov ecx, dword [rsp + 0x1a0]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0xe8]
mov ecx, dword [rsp + 0xb0]
mov dword [rax], ecx
mov rax, qword [rsp + 0x298]
mov rax, qword [rax + 0x18]
inc rax
mov rcx, qword [rsp + 0x298]
mov qword [rcx + 0x18], rax
lea rax, [rsp + 0x220]
mov rdi, rax
mov rsi, qword [rsp + 0x2a0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x6c]
lea r9, [rsp + 0x220]
mov r8, qword [rsp + 0x98]
mov edx, eax
mov rcx, qword [rsp + 0x290]
call fcn.1402f3e10
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x50], rax
jbe 0x1402f3c48
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, rcx
lea rcx, [rsp + 0x1a8]
call fcn.1402f2d20
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
jmp 0x1402f3c4d
jmp 0x1402f3696
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
jmp 0x1402f34e4
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
add rsp, 0x278
pop rdi
pop rsi
ret