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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1a8
mov r12d, 8
mov qword [rsp + 0x208], r9
xor r9d, r9d
cmp byte [rcx + 0x42], 0
mov rbx, rcx
mov qword [rsp + 0x1f8], rdx
mov dword [rsp + 0x200], r8d
mov dword [rsp + 0xa8], r9d
jne 0x140262db6
mov r8d, 1
mov edx, 1
call fcn.14027b190
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x140262d3a
cmp dword [rsp + 0x200], 0
mov byte [rbx + 0x41], 1
je 0x1402624b2
mov dword [rsp + 0x20], 1
mov r8, qword [rsp + 0x210]
xor r9d, r9d
mov rcx, rbx
mov rdx, qword [rsp + 0x208]
call fcn.14027a1d0
mov r12d, eax
test eax, eax
jne 0x14026249e
mov eax, dword [rsp + 0x200]
mov byte [rbx + 0x40], 1
mov dword [rsp + 0x34], eax
jmp 0x1402624b2
cmp eax, 5
jne 0x140262d3f
xor r8d, r8d
mov qword [rsp + 0x208], r8
lea rdx, [rsp + 0xa8]
mov rcx, rbx
call fcn.14027a900
cmp dword [rsp + 0xa8], 0
mov r12d, eax
je 0x1402624e5
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
cmp dword [rax], 2
jle 0x1402624e5
xor r8d, r8d
xor edx, edx
call fcn.140244a90
test r12d, r12d
jne 0x140262d4a
mov r14d, dword [rbx + 0x58]
mov ax, word [rbx + 0x56]
test r14d, r14d
je 0x14026252c
mov edx, eax
and eax, 0xfe00
shl edx, 0x10
and edx, 0x10000
or edx, eax
mov dword [rsp + 0x38], edx
cmp dword [rsp + 0x220], edx
je 0x14026253c
mov ecx, 0x10b60
call fcn.14022ad00
mov r12d, eax
jmp 0x140262cf6
mov rax, qword [rbx + 0x30]
mov r15, qword [rax]
mov eax, dword [r15 + 0x60]
jmp 0x140262c2c
mov rax, qword [rbx + 0x30]
mov r15, qword [rax]
mov eax, dword [r15 + 0x60]
cmp eax, r14d
jae 0x140262c2c
mov eax, dword [rbx + 0x5c]
lea rbp, [r15 + 0x68]
xor esi, esi
mov edi, 1
mov dword [rsp + 0x60], eax
mov r13d, dword [rbp]
cmp r13d, r14d
jae 0x1402625d3
mov dword [rsp + 0x20], 1
mov r8, qword [rsp + 0x210]
lea r9d, [rdi + 3]
mov rcx, rbx
mov rdx, qword [rsp + 0x208]
mov dword [rsp + 0x3c], r9d
call fcn.14027a1d0
mov esi, eax
test eax, eax
jne 0x1402625bd
cmp edi, 1
mov eax, 0xffffffff
mov r8d, 1
mov rcx, rbx
cmove eax, r14d
mov dword [rbp], eax
mov edx, dword [rsp + 0x3c]
call fcn.14027b780
jmp 0x1402625d3
cmp eax, 5
jne 0x140262ce9
xor ecx, ecx
mov r14d, r13d
mov qword [rsp + 0x208], rcx
inc edi
add rbp, 4
cmp edi, 5
jne 0x140262562
mov eax, dword [r15 + 0x60]
xor ebp, ebp
cmp eax, r14d
jae 0x140262c23
mov eax, dword [rbx + 0x58]
mov ecx, 0x1000
mov r13d, dword [r15 + 0x60]
mov dword [rsp + 0x3c], eax
add eax, 0x1000
mov edx, dword [rsp + 0x3c]
sub rax, 0xfdf
shr rax, 0xc
lea esi, [rax + 1]
mov dword [rsp + 0x78], eax
cdqe
shl rax, 4
mov dword [rsp + 0x64], esi
lea rsi, [rax + rdx + 0x14]
add rsi, rsi
cmp dword [rsp + 0x3c], ecx
cmovbe ecx, dword [rsp + 0x3c]
mov ecx, ecx
add rcx, rcx
add rcx, rsi
call fcn.14026cb10
xor ecx, ecx
mov rbp, rax
test rax, rax
je 0x140262a80
xor eax, eax
mov rcx, rsi
mov rdi, rbp
xor esi, esi
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x64]
mov dword [rbp + 4], eax
lea eax, [r13 + 0x1001]
sub rax, 0xfdf
sar rax, 0xc
mov r13, rax
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x68], rdi
shl r13, 5
mov qword [rsp + 0x70], rax
add r13, rbp
mov edi, dword [rsp + 0x40]
test esi, esi
jne 0x14026292f
cmp dword [rsp + 0x64], edi
jle 0x1402628f9
lea r8, [rsp + 0xb8]
mov edx, edi
mov rcx, rbx
call fcn.14027a640
mov esi, eax
test eax, eax
jne 0x1402628eb
mov rax, qword [rsp + 0xc0]
mov edx, dword [rsp + 0xc8]
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x78], edi
jne 0x1402626e6
mov eax, dword [rsp + 0x3c]
sub eax, edx
jmp 0x1402626fa
mov rax, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0x50]
sub rax, rdi
sar rax, 2
movsxd rcx, dword [rbp + 4]
mov dword [rsp + 0x48], eax
mov eax, edx
add rax, rax
shl rcx, 5
lea rax, [rcx + rax + 8]
add rax, rbp
mov qword [rsp + 0x58], rax
lea eax, [rdx + 1]
mov dword [rsp + 0x7c], eax
xor eax, eax
cmp dword [rsp + 0x48], eax
jle 0x140262735
mov rdi, qword [rsp + 0x58]
mov word [rdi + rax*2], ax
inc rax
jmp 0x140262721
xor edx, edx
xor eax, eax
mov ecx, 0x34
mov qword [rsp + 0xb0], rdx
lea rdx, [rsp + 0xd0]
lea r10, [rsp + 0xd8]
mov rdi, rdx
mov dword [rsp + 0xac], eax
xor eax, eax
xor edx, edx
rep stosd dword [rdi], eax
xor eax, eax
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x48], eax
jle 0x14026284b
mov rdi, qword [rsp + 0x58]
lea rdx, [rax + rax]
mov dword [rsp + 0xac], 1
lea r11, [rsp + 0xac]
add rdx, rdi
xor edi, edi
mov qword [rsp + 0xb0], rdx
mov r9d, dword [rsp + 0x80]
mov ecx, edi
mov edx, edi
sar r9d, cl
mov ecx, r9d
and cl, 1
je 0x14026281f
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x68]
mov rdx, rdi
inc rdi
mov qword [rsp + 0x20], r11
shl rdx, 4
mov r9, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x50]
mov r8d, dword [rsp + rdx + 0xd0]
mov rdx, qword [r10 + rdx]
mov qword [rsp + 0x90], r11
mov qword [rsp + 0x88], r10
call fcn.14027b1d0
mov rax, qword [rsp + 0x98]
mov r11, qword [rsp + 0x90]
mov r10, qword [rsp + 0x88]
jmp 0x1402627a2
mov rcx, qword [rsp + 0xb0]
mov edi, edi
inc rax
shl rdi, 4
mov qword [rsp + rdi + 0xd8], rcx
mov ecx, dword [rsp + 0xac]
mov dword [rsp + rdi + 0xd0], ecx
jmp 0x140262768
lea edi, [rdx + 1]
lea r10, [rsp + 0xd8]
lea rax, [rsp + 0xac]
cmp edi, 0xc
ja 0x1402628c6
mov edx, dword [rsp + 0x48]
mov ecx, edi
sar edx, cl
and dl, 1
je 0x1402628c1
mov rcx, qword [rsp + 0x68]
mov rdx, rdi
mov qword [rsp + 0x20], rax
shl rdx, 4
mov r9, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x50]
mov r8d, dword [rsp + rdx + 0xd0]
mov rdx, qword [r10 + rdx]
mov qword [rsp + 0x80], r10
call fcn.14027b1d0
mov rax, qword [rsp + 0x88]
mov r10, qword [rsp + 0x80]
inc rdi
jmp 0x14026285e
mov eax, dword [rsp + 0x7c]
mov dword [r13 + 0x24], eax
mov eax, dword [rsp + 0xac]
mov dword [r13 + 0x20], eax
mov rax, qword [rsp + 0x58]
mov qword [r13 + 0x10], rax
mov rax, qword [rsp + 0x50]
mov qword [r13 + 0x18], rax
inc qword [rsp + 0x40]
add r13, 0x20
jmp 0x140262692
test esi, esi
jne 0x14026292f
mov dword [rsp + 0x20], 1
mov r9d, 3
mov rcx, rbx
mov r8, qword [rsp + 0x210]
mov rdx, qword [rsp + 0x208]
call fcn.14027a1d0
mov esi, eax
test eax, eax
jne 0x140262c23
jmp 0x14026293e
mov rcx, rbp
xor ebp, ebp
call fcn.14026bb70
jmp 0x140262c23
mov eax, dword [r15 + 0x60]
mov rcx, qword [rbx + 0x10]
mov dword [r15 + 0x80], r14d
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x218]
sar eax, 2
and eax, 3
mov edx, eax
mov dword [rsp + 0x3c], eax
call fcn.140244a60
mov rcx, qword [rbx + 8]
test eax, eax
mov edi, eax
jne 0x140262da4
movsxd rsi, dword [rsp + 0x38]
mov eax, dword [rsp + 0x60]
xor r8d, r8d
mov edx, 0x27
imul rax, rsi
mov qword [rsp + 0xb8], rax
call fcn.1402449e0
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0xd0]
call fcn.140244a10
mov edi, eax
test eax, eax
jne 0x140262a03
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xb8]
cmp rcx, rdx
jge 0x140262a0c
mov eax, dword [rbx + 0x58]
imul rax, rsi
lea rax, [rcx + rax + 0x10000]
cmp rdx, rax
jle 0x1402629eb
mov ecx, 0x10398
call fcn.14022ad00
mov edi, eax
test eax, eax
je 0x140262a0c
jmp 0x140262a03
mov rcx, qword [rbx + 8]
lea r8, [rsp + 0xb8]
mov edx, 5
call fcn.140244a00
jmp 0x140262a0c
mov rcx, qword [rbx + 8]
jmp 0x140262da4
mov eax, dword [rsp + 0x38]
xor r13d, r13d
add eax, 0x18
cdqe
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
jmp 0x140262aa6
mov dword [rbp], edi
cmp edi, 0xffffffff
je 0x140262b9d
mov rax, qword [rsp + 0x1f8]
mov eax, dword [rax + 0x198]
test eax, eax
je 0x140262a90
mov rax, qword [rsp + 0x1f8]
xor r8d, r8d
mov rcx, qword [rbx + 8]
mov edx, 0x25
cmp byte [rax + 0x67], 0
je 0x140262b0c
call fcn.1402449e0
mov rcx, rbx
mov r8d, 1
mov edx, 3
call fcn.14027b780
mov rcx, rbp
call fcn.14026bb70
mov r12d, 7
jmp 0x140262d4a
cmp dword [rsp + 0x40], r13d
setae al
cmp r14d, r13d
setb dl
or al, dl
je 0x140262b37
movsxd rax, dword [rbp + 4]
mov r10d, dword [rbp]
or edi, 0xffffffff
lea r8d, [rax - 1]
shl rax, 5
add rax, rbp
test r8d, r8d
js 0x140262a29
mov r9d, dword [rax]
mov edx, dword [rax - 0x18]
cmp edx, r9d
jge 0x140262b03
mov r11, qword [rax - 0x10]
movsxd rcx, edx
movzx esi, word [r11 + rcx*2]
mov r11, qword [rax - 8]
mov r11d, dword [r11 + rsi*4]
mov rcx, rsi
cmp r10d, r11d
jae 0x140262afc
cmp r11d, edi
jae 0x140262b03
add ecx, dword [rax + 4]
mov edi, r11d
mov r13d, ecx
jmp 0x140262b03
inc edx
mov dword [rax - 0x18], edx
jmp 0x140262ac8
dec r8d
sub rax, 0x20
jmp 0x140262abc
call fcn.1402449e0
mov r8d, 1
mov edx, 3
mov rcx, rbx
call fcn.14027b780
mov rcx, rbp
mov r12d, 9
call fcn.14026bb70
jmp 0x140262d4a
cmp dword [rsp + 0x60], edi
jb 0x140262aa6
mov rsi, qword [rsp + 0x48]
lea eax, [r13 - 1]
mov rcx, qword [rbx + 0x10]
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x228]
imul rax, rsi
lea r9, [rax + 0x38]
call fcn.140244a30
mov esi, eax
test eax, eax
jne 0x140262b9f
mov rax, qword [rsp + 0x50]
lea r9d, [rdi - 1]
mov rcx, qword [rbx + 8]
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x228]
imul r9, rax
call fcn.140244aa0
mov esi, eax
test eax, eax
je 0x140262aa6
jmp 0x140262b9f
xor esi, esi
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, 0x25
call fcn.1402449e0
test esi, esi
jne 0x140262c0c
mov rax, qword [rbx + 0x30]
mov rax, qword [rax]
mov eax, dword [rax + 0x10]
cmp eax, r14d
je 0x140262bdc
mov dword [r15 + 0x60], r14d
mov r8d, 1
mov edx, 3
mov rcx, rbx
call fcn.14027b780
jmp 0x140262c30
mov edx, dword [rbx + 0x5c]
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rbx + 8]
imul rdx, rax
call fcn.140244a80
mov edi, eax
test eax, eax
jne 0x140262c0e
mov rcx, qword [rbx + 8]
mov edx, dword [rsp + 0x3c]
call fcn.140244a60
mov edi, eax
test eax, eax
jne 0x140262c0e
jmp 0x140262bc3
mov edi, esi
mov r8d, 1
mov edx, 3
mov rcx, rbx
mov esi, edi
call fcn.14027b780
cmp esi, 5
jne 0x140262c30
xor esi, esi
jmp 0x140262c30
xor esi, esi
xor ebp, ebp
test esi, esi
jne 0x140262ceb
cmp dword [rsp + 0x34], 0
je 0x140262ceb
mov eax, dword [r15 + 0x60]
cmp eax, dword [rbx + 0x58]
jae 0x140262c5f
mov rcx, rbp
mov r12d, 5
call fcn.14026bb70
jmp 0x140262d01
cmp dword [rsp + 0x34], 1
jg 0x140262c73
mov rcx, rbp
call fcn.14026bb70
jmp 0x140262d01
lea rdx, [rsp + 0xd0]
mov ecx, 4
call fcn.14026d100
mov dword [rsp + 0x20], 4
mov rcx, rbx
mov r8, qword [rsp + 0x210]
mov rdx, qword [rsp + 0x208]
mov r9d, 4
call fcn.14027a1d0
mov esi, eax
test eax, eax
jne 0x140262ceb
cmp dword [rsp + 0x34], 3
jne 0x140262cd4
mov edx, dword [rsp + 0xd0]
mov rcx, rbx
call fcn.14027b280
mov rcx, qword [rbx + 0x10]
xor edx, edx
call fcn.140244a80
mov esi, eax
mov r8d, 4
mov edx, 4
mov rcx, rbx
call fcn.14027b780
jmp 0x140262ceb
xor ebp, ebp
mov rcx, rbp
mov r12d, esi
call fcn.14026bb70
test r12d, r12d
je 0x140262d01
cmp r12d, 5
jne 0x140262d4a
cmp qword [rsp + 0x230], 0
je 0x140262d19
mov eax, dword [rbx + 0x58]
mov rsi, qword [rsp + 0x230]
mov dword [rsi], eax
cmp qword [rsp + 0x238], 0
je 0x140262d4a
mov rax, qword [rbx + 0x30]
mov rsi, qword [rsp + 0x238]
mov rax, qword [rax]
mov eax, dword [rax + 0x60]
mov dword [rsi], eax
jmp 0x140262d4a
mov r12d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x200]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0xa8], 0
je 0x140262d64
lea rdx, [rbx + 0x48]
mov ecx, 0xc
xor eax, eax
mov rdi, rdx
rep stosd dword [rdi], eax
mov rcx, rbx
call fcn.140262f70
cmp byte [rbx + 0x41], 0
je 0x140262d89
mov r8d, 1
mov edx, 1
mov rcx, rbx
call fcn.14027b780
mov byte [rbx + 0x41], 0
test r12d, r12d
jne 0x140262db6
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x200], eax
mov eax, 5
cmovne r12d, eax
jmp 0x140262db6
xor r8d, r8d
mov edx, 0x25
call fcn.1402449e0
jmp 0x140262c0e
mov eax, r12d
add rsp, 0x1a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret