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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rsi, qword [rcx + 0x18]
xor r14d, r14d
mov ebx, r14d
mov qword [rbp + 0x10], rsi
mov r13, rcx
mov dword [rbp - 0x28], ebx
cmp qword [rcx + 0x90], rbx
jne 0x14026d468
call fcn.14026f130
mov qword [r13 + 0x88], rax
cmp dword [r13 + 0x3c], ebx
jne 0x14026d46e
mov rcx, r13
call fcn.1402815f0
mov qword [r13 + 0x90], rax
cmp dword [r13 + 0x3c], ebx
je 0x14026d477
mov r15, r14
mov qword [rbp - 0x10], r14
jmp 0x14026d48b
mov rax, qword [r13 + 0x90]
inc dword [rax]
mov r15, qword [r13 + 0x90]
mov qword [rbp - 0x10], r15
mov rcx, qword [r13 + 0x90]
mov qword [rbp - 8], r15
test rcx, rcx
je 0x14026d4a7
call fcn.1402817f0
mov qword [r13 + 0x90], r14
mov qword [rsp + 0x150], rdi
cmp dword [rsi + 0x10], ebx
je 0x14026d881
mov rdx, r15
mov rcx, r13
call fcn.140264600
mov dword [rbp], eax
mov edi, eax
test eax, eax
je 0x14026d881
mov rcx, qword [r13]
lea rdx, [rsp + 0x50]
mov r8d, edi
mov eax, dword [rcx + 0x88]
mov dword [rbp + 0xa0], eax
mov eax, dword [rcx + 0x5c]
mov dword [rbp - 0x2c], eax
mov eax, dword [rcx + 0xb0]
mov rcx, r13
mov dword [rbp + 0xa8], eax
call fcn.140284f10
cmp dword [r13 + 0x3c], ebx
jne 0x14026d7db
lea r9, [rsi + 0x18]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14026e980
mov dword [r13 + 0x3c], eax
test eax, eax
jne 0x14026d7db
mov edi, dword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
mov qword [rsp + 0x148], r12
lea r12, [r13 + 0x3c]
mov qword [rsp + 0x38], r12
mov rsi, qword [rsi + 0x18]
test rsi, rsi
je 0x14026d7c9
lea r14, [rsi + 0x30]
mov rbx, 0xffffffffffffffff
mov qword [rbp + 8], r14
nop
inc rbx
cmp byte [r14 + rbx], 0
jne 0x14026d560
mov rcx, qword [rbp + 0x10]
xor r8d, r8d
mov rdx, rsi
call fcn.14026e770
mov r9d, dword [rsi + 0x18]
mov rax, 0xffffffffffffffff
movsxd rdx, ebx
sub r9d, ebx
inc rdx
add rdx, r14
sub r9d, 0x31
mov qword [rsp + 0x30], rdx
mov dword [rbp + 0x98], r9d
inc rax
cmp byte [r14 + rax], 0
jne 0x14026d5a0
mov ebx, dword [rbp + 0xa8]
mov qword [rbp + 0x20], rax
test ebx, ebx
jne 0x14026d61a
mov r9, r14
lea rdx, [rsp + 0x50]
mov r8d, eax
mov rcx, r13
call fcn.140284600
cmp dword [r12], ebx
jne 0x14026d7c9
movsxd r9, dword [rbp + 0x98]
movsxd rdi, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x78]
mov r15, qword [rsp + 0x60]
add ecx, edi
mov rdx, qword [rsp + 0x30]
lea eax, [r9 + 1]
add eax, ecx
cmp dword [rbp + 0xa0], eax
jl 0x14026d61a
mov r8, r9
lea rcx, [r15 + rdi]
call sub.VCRUNTIME140.dll_memcpy
add edi, dword [rbp + 0x98]
mov dword [rsp + 0x68], edi
jmp 0x14026d7a7
xor esi, esi
test ebx, ebx
mov qword [rbp - 0x18], rsi
mov eax, esi
mov qword [rbp + 0x18], rsi
sete al
mov r14d, esi
mov dword [rbp - 0x30], eax
cmp dword [r12], esi
jne 0x14026d7a7
mov ebx, esi
nop dword [rax]
cmp r14d, r9d
jge 0x14026d7a7
movsxd rcx, r14d
add rcx, rdx
mov qword [rbp - 0x20], rsi
lea rdx, [rbp - 0x20]
call fcn.1402d4020
mov rcx, qword [rbp - 0x18]
add rcx, qword [rbp - 0x20]
movzx eax, al
add r14d, eax
mov qword [rbp - 0x18], rcx
cmp dword [rbp + 0xa8], 0
mov dword [rsp + 0x40], r14d
je 0x14026d6e7
cmp dword [rbp - 0x2c], 1
jne 0x14026d757
cmp r14d, dword [rbp + 0x98]
jge 0x14026d6e7
mov rdx, qword [rsp + 0x30]
movsxd rax, r14d
cmp byte [rax + rdx], 0
jne 0x14026d6e7
mov r8, qword [rbp + 8]
mov r9, rcx
mov rdx, qword [rbp - 0x10]
mov rcx, r13
call fcn.14026df60
mov r9d, dword [rbp + 0x98]
inc r14d
mov rdx, qword [rsp + 0x30]
cmp r14d, r9d
jge 0x14026d79b
movsxd rax, r14d
cmp byte [rax + rdx], 0
jne 0x14026d79b
mov ebx, dword [r13 + 0x3c]
inc r14d
mov dword [rsp + 0x40], r14d
mov dword [rbp + 0x98], esi
test ebx, ebx
jne 0x14026d71a
mov rbx, qword [rbp + 8]
cmp dword [rbp - 0x30], 0
jne 0x14026d71a
mov r8d, dword [rbp + 0x20]
lea rdx, [rsp + 0x50]
mov r9, rbx
mov rcx, r13
call fcn.140284600
mov edi, dword [rsp + 0x68]
mov eax, 1
mov r15, qword [rsp + 0x60]
mov dword [rbp - 0x30], eax
mov rbx, qword [rbp - 0x18]
movsxd rcx, edi
add rcx, r15
cmp byte [rbp - 0x67], 0
je 0x14026d9cb
movzx eax, di
mov byte [r15 + 1], dil
shr ax, 8
mov byte [r15], al
cmp rbx, 0x7f
ja 0x14026d97b
movzx eax, bl
and al, 0x7f
mov byte [rcx], al
mov eax, 1
jmp 0x14026d9a6
movsxd rsi, r14d
add rsi, qword [rsp + 0x30]
test byte [rsi], 1
je 0x14026d6e7
mov rbx, qword [rbp + 8]
mov r9, rcx
mov rdx, qword [rbp - 0x10]
mov r8, rbx
mov rcx, r13
call fcn.14026df60
cmp dword [r12], 0
jne 0x14026d78a
cmp byte [rsi], 1
jne 0x14026d6ef
mov rdx, qword [rsp + 0x30]
inc r14d
mov r9d, dword [rbp + 0x98]
xor esi, esi
mov ebx, dword [r12]
test ebx, ebx
je 0x14026d640
cmp dword [r12], 0
mov rsi, qword [rbp + 0x10]
jne 0x14026d7c9
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax + 8]
mov qword [rsi + 0x18], rcx
cmp dword [r12], 0
je 0x14026d543
mov r15, qword [rbp - 0x10]
xor r14d, r14d
mov edi, dword [rbp]
mov r12, qword [rsp + 0x148]
lea r8, [rbp - 0x28]
mov rcx, r13
lea rdx, [rsp + 0x50]
call fcn.140284b50
mov ebx, dword [rbp - 0x28]
test ebx, ebx
jle 0x14026d881
cmp dword [r15 + 0x1c], 0
jne 0x14026d80f
lea rcx, [r13 + 0x3c]
lea rdx, [rbp - 8]
call fcn.140280870
mov r15, qword [rbp - 8]
lea rcx, [r13 + 0x3c]
mov dword [rsp + 0x20], r14d
mov r9d, 1
xor r8d, r8d
mov rdx, r15
call fcn.140280f10
cmp dword [r13 + 0x3c], 0
jne 0x14026d874
movsxd rcx, dword [r15 + 0x24]
imul rdx, rcx, 0x38
lea eax, [rcx + 1]
add rdx, qword [r15 + 0x28]
mov dword [r15 + 0x24], eax
mov dword [rdx], edi
mov dword [rdx + 4], 1
mov dword [rdx + 8], ebx
mov rax, qword [r15 + 0x10]
test rax, rax
je 0x14026d870
mov qword [rdx + 0x10], rax
mov rax, qword [r15 + 0x10]
mov qword [rdx + 0x18], rax
movsxd rax, dword [r13 + 0x38]
mov qword [rdx + 0x30], rax
inc qword [r15 + 0x10]
inc dword [r15 + 0x18]
mov r8, r15
xor edx, edx
mov rcx, r13
call fcn.140281220
cmp dword [r13 + 0x3c], 0
jne 0x14026d8e9
mov rax, qword [r13]
cmp dword [rax + 0x8c], 0
jle 0x14026d8e9
test r15, r15
je 0x14026d8e9
movsxd rcx, dword [r13 + 0x10]
xor edx, edx
mov eax, dword [r13 + 0x34]
mov r10, qword [r15 + 8]
add eax, ebx
cdqe
add rax, r10
mov qword [r15 + 8], rax
mov r9, qword [r13]
div rcx
mov r9d, dword [r9 + 0x8c]
xor edx, edx
mov r8, rax
mov rax, r10
div rcx
lea rdx, [rbp - 8]
mov rcx, r13
sub r8d, eax
imul r8d, dword [r15 + 0x1c]
imul r8d, dword [r13 + 0x10]
call fcn.140271120
mov r15, qword [rbp - 8]
mov rax, qword [r13]
mov qword [rbp + 0x90], r15
mov esi, dword [rax + 0x90]
test r15, r15
je 0x14026d950
cmp dword [r15 + 0x1c], 0
jle 0x14026d950
cmp dword [r13 + 0x3c], 0
jne 0x14026d950
mov rdi, r14
cmp dword [r15 + rdi + 0x24], esi
jl 0x14026d950
xor r9d, r9d
lea rdx, [rbp + 0x90]
mov r8d, r14d
mov rcx, r13
call fcn.140271260
mov r15, qword [rbp + 0x90]
lea edx, [r14 + 1]
mov r8, r15
mov rcx, r13
call fcn.140281220
inc r14d
add rdi, 0x10
cmp dword [r13 + 0x3c], 0
je 0x14026d910
mov rdx, r15
mov rcx, r13
call fcn.140281920
mov rcx, r15
mov rdi, qword [rsp + 0x150]
add rsp, 0x158
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
jmp fcn.1402817f0
cmp rbx, 0x3fff
ja 0x14026d99e
mov rax, rbx
shr rax, 7
or al, 0x80
mov byte [rcx], al
movzx eax, bl
and al, 0x7f
mov byte [rcx + 1], al
mov eax, 2
jmp 0x14026d9a6
mov rdx, rbx
call fcn.14027a2a0
add edi, eax
mov byte [rbp - 0x67], 0
mov r8, rbx
mov dword [rsp + 0x68], edi
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.1402848a0
mov edi, dword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
jmp 0x14026da10
mov rdx, rbx
sub rdx, qword [rbp + 0x18]
cmp rdx, 0x7f
ja 0x14026d9e4
and dl, 0x7f
mov eax, 1
mov byte [rcx], dl
jmp 0x14026da0a
cmp rdx, 0x3fff
ja 0x14026da05
mov rax, rdx
shr rax, 7
or al, 0x80
and dl, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dl
mov eax, 2
jmp 0x14026da0a
call fcn.14027a2a0
add edi, eax
mov dword [rsp + 0x68], edi
mov edx, dword [r12]
test edx, edx
jne 0x14026d7a7
cmp dword [rbp - 0x2c], 1
mov qword [rbp + 0x18], rbx
jne 0x14026dba7
mov r9d, dword [rbp + 0x98]
mov rdx, qword [rsp + 0x30]
cmp r14d, r9d
jge 0x14026da74
movsxd rax, r14d
cmp byte [rax + rdx], 0
jne 0x14026da74
movsxd rax, edi
inc r14d
inc edi
mov dword [rsp + 0x68], edi
mov byte [rax + r15], 0
cmp r14d, r9d
jge 0x14026da74
movsxd rax, r14d
cmp byte [rax + rdx], 0
jne 0x14026da74
movsxd rax, edi
inc edi
mov dword [rsp + 0x68], edi
inc r14d
mov byte [rax + r15], 0
mov r8d, dword [rsp + 0x78]
add r8d, edi
cmp r8d, dword [rbp + 0xa0]
jl 0x14026d799
movzx eax, di
mov byte [r15 + 3], dil
shr ax, 8
cmp byte [rbp - 0x66], 0
mov byte [r15 + 2], al
je 0x14026dae0
cmp byte [rbp - 0x67], 0
je 0x14026dadb
mov rbx, qword [rbp - 0x58]
cmp dword [rbx + 0x18], 0
jle 0x14026dadb
mov r8d, dword [rbx + 0x18]
add r8d, 9
cmp r8d, dword [rbx + 0x1c]
jbe 0x14026dacc
lea rdx, [rbx + 0x10]
mov rcx, r12
call fcn.1402d1230
test eax, eax
jne 0x14026dadb
movsxd rcx, dword [rbx + 0x18]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], 0
inc dword [rbx + 0x18]
inc dword [rbp - 0x60]
jmp 0x14026db21
mov ebx, dword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
test ebx, ebx
je 0x14026db21
cmp r8d, dword [rsp + 0x6c]
jbe 0x14026db0e
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1402d1230
mov edi, dword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
test eax, eax
jne 0x14026db21
movsxd rcx, edi
mov r8, rbx
add rcx, r15
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
add edi, ebx
movsxd rax, dword [rsp + 0x58]
mov r9d, edi
movsxd rdx, dword [rsp + 0x50]
mov r8, r15
shl rdx, 0x25
mov rcx, r13
add rdx, rax
call fcn.1402671c0
xor esi, esi
cmp dword [rsp + 0x6c], 4
mov edi, esi
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x78], esi
jae 0x14026db71
lea r8d, [rsi + 4]
mov rcx, r12
lea rdx, [rsp + 0x60]
call fcn.1402d1230
mov edi, dword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
test eax, eax
jne 0x14026db85
mov eax, dword [0x1403516a4]
movsxd rcx, edi
add edi, 4
mov dword [rsp + 0x68], edi
mov dword [rcx + r15], eax
inc dword [rsp + 0x58]
inc dword [rbp - 0x64]
mov rdx, qword [rsp + 0x30]
mov r9d, dword [rbp + 0x98]
mov dword [rsp + 0x5c], esi
mov word [rbp - 0x67], 0x101
jmp 0x14026d79b
movsxd r8, r14d
mov esi, 1
add r8, qword [rsp + 0x30]
movzx ecx, byte [r8]
test cl, cl
jns 0x14026dc12
movzx edx, byte [r8 + 1]
test dl, dl
js 0x14026dbd4
and ecx, 0x7f
mov esi, 2
shl ecx, 7
or ecx, edx
jmp 0x14026dc0e
movzx eax, byte [r8 + 2]
shl ecx, 0xe
or eax, ecx
test al, al
js 0x14026dbf8
mov ecx, edx
and eax, 0x1fc07f
and ecx, 0x7f
mov esi, 3
shl ecx, 7
or ecx, eax
jmp 0x14026dc0e
lea rdx, [rbp + 0x28]
mov rcx, r8
call fcn.1402d4020
mov ecx, dword [rbp + 0x28]
btr ecx, 0x1f
movzx esi, al
mov edx, dword [r13 + 0x3c]
mov r13d, ecx
shr r13d, 1
test cl, 1
je 0x14026dcb4
cmp dword [rbp + 0xa8], 0
je 0x14026dcb4
mov ebx, r13d
lea r8d, [rdi + 9]
add rbx, rbx
cmp r8d, dword [rsp + 0x6c]
jbe 0x14026dc59
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1402d1230
mov edi, dword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
test eax, eax
jne 0x14026dca0
movsxd rcx, edi
add rcx, r15
cmp rbx, 0x7f
ja 0x14026dc71
and bl, 0x7f
mov eax, 1
mov byte [rcx], bl
jmp 0x14026dc9a
cmp rbx, 0x3fff
ja 0x14026dc92
mov rax, rbx
shr rax, 7
or al, 0x80
and bl, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], bl
mov eax, 2
jmp 0x14026dc9a
mov rdx, rbx
call fcn.14027a2a0
add edi, eax
mov dword [rsp + 0x68], edi
mov rdx, qword [rbp + 0x90]
add r14d, esi
mov dword [rsp + 0x40], r14d
mov edx, dword [rdx + 0x3c]
jmp 0x14026dcb7
add r13d, esi
mov ecx, dword [rsp + 0x78]
mov eax, dword [rbp + 0xa0]
add ecx, edi
movsxd r9, r14d
add ecx, r13d
add r9, qword [rsp + 0x30]
mov qword [rbp - 0x20], r9
cmp ecx, eax
jg 0x14026dd0b
movsxd rcx, edi
mov rdx, r9
add rcx, r15
movsxd r8, r13d
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x30]
add edi, r13d
mov r9d, dword [rbp + 0x98]
xor esi, esi
add r14d, r13d
mov dword [rsp + 0x68], edi
mov r13, qword [rbp + 0x90]
jmp 0x14026d79b
xor esi, esi
mov r12d, esi
test edx, edx
jne 0x14026df3e
jmp 0x14026dd26
mov eax, dword [rbp + 0xa0]
mov esi, eax
mov ebx, r13d
sub esi, edi
sub ebx, r12d
sub esi, dword [rsp + 0x78]
cmp ebx, esi
jle 0x14026ddc7
movsxd r14, r12d
add r14, r9
cmp byte [r14], 0
jl 0x14026dd4f
mov ebx, 1
jmp 0x14026dd7a
cmp byte [r14 + 1], 0
jl 0x14026dd5d
mov ebx, 2
jmp 0x14026dd7a
cmp byte [r14 + 2], 0
jl 0x14026dd6b
mov ebx, 3
jmp 0x14026dd7a
lea rdx, [rbp + 0x30]
mov rcx, r14
call fcn.1402d4020
movzx ebx, al
cmp ebx, esi
jge 0x14026ddc3
nop
movsxd rcx, ebx
add rcx, r14
cmp byte [rcx], 0
jl 0x14026dd92
mov eax, 1
jmp 0x14026ddb8
cmp byte [rcx + 1], 0
jl 0x14026dd9f
mov eax, 2
jmp 0x14026ddb8
cmp byte [rcx + 2], 0
jl 0x14026ddac
mov eax, 3
jmp 0x14026ddb8
lea rdx, [rbp + 0x30]
call fcn.1402d4020
movzx eax, al
lea ecx, [rax + rbx]
cmp ecx, esi
jg 0x14026ddc3
mov ebx, ecx
jmp 0x14026dd80
mov r9, qword [rbp - 0x20]
movsxd rdx, r12d
movsxd rcx, edi
add rdx, r9
add rcx, r15
movsxd r8, ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rsp + 0x78]
add edi, ebx
add ecx, edi
mov dword [rsp + 0x68], edi
add r12d, ebx
cmp ecx, dword [rbp + 0xa0]
jl 0x14026df20
movzx eax, di
mov byte [r15 + 3], dil
shr ax, 8
cmp byte [rbp - 0x66], 0
mov byte [r15 + 2], al
je 0x14026de5c
cmp byte [rbp - 0x67], 0
je 0x14026de52
mov rbx, qword [rbp - 0x58]
cmp dword [rbx + 0x18], 0
jle 0x14026de52
mov r8d, dword [rbx + 0x18]
mov r14, qword [rsp + 0x38]
add r8d, 9
cmp r8d, dword [rbx + 0x1c]
jbe 0x14026de3e
lea rdx, [rbx + 0x10]
mov rcx, r14
call fcn.1402d1230
test eax, eax
jne 0x14026de57
movsxd rcx, dword [rbx + 0x18]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], 0
inc dword [rbx + 0x18]
inc dword [rbp - 0x60]
jmp 0x14026dea5
mov r14, qword [rsp + 0x38]
inc dword [rbp - 0x60]
jmp 0x14026dea5
mov ebx, dword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x38]
test ebx, ebx
je 0x14026dea5
lea r8d, [rdi + rbx]
cmp ecx, dword [rsp + 0x6c]
jbe 0x14026de92
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.1402d1230
mov edi, dword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
test eax, eax
jne 0x14026dea5
movsxd rcx, edi
mov r8, rbx
add rcx, r15
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
add edi, ebx
movsxd rax, dword [rsp + 0x58]
mov r9d, edi
movsxd rdx, dword [rsp + 0x50]
mov r8, r15
mov rcx, qword [rbp + 0x90]
shl rdx, 0x25
add rdx, rax
call fcn.1402671c0
xor esi, esi
cmp dword [rsp + 0x6c], 4
mov edi, esi
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x78], esi
jae 0x14026def9
lea r8d, [rsi + 4]
mov rcx, r14
lea rdx, [rsp + 0x60]
call fcn.1402d1230
mov edi, dword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
test eax, eax
jne 0x14026df0d
mov eax, dword [0x1403516a4]
movsxd rcx, edi
add edi, 4
mov dword [rsp + 0x68], edi
mov dword [rcx + r15], eax
inc dword [rsp + 0x58]
inc dword [rbp - 0x64]
mov dword [rsp + 0x5c], esi
mov word [rbp - 0x67], 0x101
jmp 0x14026df22
xor esi, esi
cmp r12d, r13d
jge 0x14026df39
mov rax, qword [rsp + 0x38]
mov r9, qword [rbp - 0x20]
cmp dword [rax], 0
je 0x14026dd20
mov r14d, dword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
add r14d, r13d
mov r13, qword [rbp + 0x90]
mov rdx, qword [rsp + 0x30]
mov r9d, dword [rbp + 0x98]
jmp 0x14026d79b