Function at 0x14020e840
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, 0xb8
xor eax, eax
lea rdi, [rcx + 8]
mov r9, rcx
mov r10, rdx
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
and rdi, 0xfffffffffffffff8
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov dword [rsp + 0xa0], 0
mov qword [rcx], 0
mov qword [rcx + 0x3f8], 0
sub rcx, rdi
add ecx, 0x400
shr ecx, 3
rep stosq qword [rdi], rax
test r8d, r8d
jle 0x14020e909
mov rax, rdx
lea edx, [r8 - 1]
lea rcx, [r10 + rdx + 1]
nop dword [rax]
movzx edx, byte [rax]
add rax, 1
add dword [rsp + rdx*4 + 0x60], 1
cmp rax, rcx
jne 0x14020e8f8
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x60], 0
cmp ecx, 2
jg 0x14020ee68
mov edx, dword [rsp + 0x68]
cmp edx, 4
jg 0x14020ee68
mov r11d, dword [rsp + 0x6c]
cmp r11d, 8
jg 0x14020ee68
mov ebx, dword [rsp + 0x70]
cmp ebx, 0x10
jg 0x14020ee68
mov esi, dword [rsp + 0x74]
cmp esi, 0x20
jg 0x14020ee68
mov edi, dword [rsp + 0x78]
cmp edi, 0x40
jg 0x14020ee68
mov ebp, dword [rsp + 0x7c]
cmp ebp, 0x80
jg 0x14020ee68
mov r12d, dword [rsp + 0x80]
cmp r12d, 0x100
jg 0x14020ee68
mov r13d, dword [rsp + 0x84]
cmp r13d, 0x200
jg 0x14020ee68
mov r14d, dword [rsp + 0x88]
cmp r14d, 0x400
jg 0x14020ee68
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0xc], eax
cmp eax, 0x800
jg 0x14020ee68
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x10], eax
cmp eax, 0x1000
jg 0x14020ee68
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x14], eax
cmp eax, 0x2000
jg 0x14020ee68
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x18], eax
cmp eax, 0x4000
jg 0x14020ee68
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x1c], eax
cmp eax, 0x8000
jg 0x14020ee68
xor eax, eax
xor r15d, r15d
mov dword [rsp + 0x24], 0
mov word [r9 + 0x402], ax
mov eax, ecx
shl eax, 0xf
mov word [r9 + 0x466], r15w
mov dword [r9 + 0x424], eax
lea eax, [rcx + rcx]
mov dword [rsp + 0x28], eax
mov word [r9 + 0x404], ax
add eax, edx
mov word [r9 + 0x468], cx
test edx, edx
je 0x14020ea6d
cmp eax, 4
jg 0x14020ee68
mov r15d, eax
add edx, ecx
add eax, eax
shl r15d, 0xe
mov dword [rsp + 0x2c], eax
mov word [r9 + 0x406], ax
add eax, r11d
mov dword [r9 + 0x428], r15d
mov word [r9 + 0x46a], dx
test r11d, r11d
je 0x14020eaa4
cmp eax, 8
jg 0x14020ee68
mov ecx, eax
add edx, r11d
add eax, eax
shl ecx, 0xd
mov dword [rsp + 0x30], eax
mov word [r9 + 0x408], ax
add eax, ebx
mov dword [r9 + 0x42c], ecx
mov word [r9 + 0x46c], dx
test ebx, ebx
je 0x14020ead8
cmp eax, 0x10
jg 0x14020ee68
mov ecx, eax
add edx, ebx
add eax, eax
shl ecx, 0xc
mov dword [rsp + 0x34], eax
mov word [r9 + 0x40a], ax
add eax, esi
mov dword [r9 + 0x430], ecx
mov word [r9 + 0x46e], dx
test esi, esi
je 0x14020eb0b
cmp eax, 0x20
jg 0x14020ee68
mov ecx, eax
add edx, esi
add eax, eax
shl ecx, 0xb
mov dword [rsp + 0x38], eax
mov word [r9 + 0x40c], ax
add eax, edi
mov dword [r9 + 0x434], ecx
mov word [r9 + 0x470], dx
test edi, edi
je 0x14020eb3e
cmp eax, 0x40
jg 0x14020ee68
mov ecx, eax
add edx, edi
add eax, eax
shl ecx, 0xa
mov dword [rsp + 0x3c], eax
mov word [r9 + 0x40e], ax
add eax, ebp
mov dword [r9 + 0x438], ecx
mov word [r9 + 0x472], dx
test ebp, ebp
je 0x14020eb73
cmp eax, 0x80
jg 0x14020ee68
mov ecx, eax
add edx, ebp
add eax, eax
shl ecx, 9
mov dword [rsp + 0x40], eax
mov word [r9 + 0x410], ax
add eax, r12d
mov dword [r9 + 0x43c], ecx
mov word [r9 + 0x474], dx
test r12d, r12d
je 0x14020ebaa
cmp eax, 0x100
jg 0x14020ee68
mov ecx, eax
add edx, r12d
add eax, eax
shl ecx, 8
mov dword [rsp + 0x44], eax
mov word [r9 + 0x412], ax
add eax, r13d
mov dword [r9 + 0x440], ecx
mov word [r9 + 0x476], dx
test r13d, r13d
je 0x14020ebe2
cmp eax, 0x200
jg 0x14020ee68
mov ecx, eax
add edx, r13d
add eax, eax
shl ecx, 7
mov dword [rsp + 0x48], eax
mov word [r9 + 0x414], ax
add eax, r14d
mov dword [r9 + 0x444], ecx
mov word [r9 + 0x478], dx
test r14d, r14d
je 0x14020ec1a
cmp eax, 0x400
jg 0x14020ee68
mov ecx, eax
mov esi, dword [rsp + 0xc]
add eax, eax
add edx, r14d
shl ecx, 6
mov dword [rsp + 0x4c], eax
mov word [r9 + 0x416], ax
add eax, esi
mov dword [r9 + 0x448], ecx
mov word [r9 + 0x47a], dx
test esi, esi
je 0x14020ec54
cmp eax, 0x800
jg 0x14020ee68
mov ecx, eax
mov esi, dword [rsp + 0x10]
add eax, eax
add edx, dword [rsp + 0xc]
shl ecx, 5
mov dword [rsp + 0x50], eax
mov word [r9 + 0x418], ax
add eax, esi
mov dword [r9 + 0x44c], ecx
mov word [r9 + 0x47c], dx
test esi, esi
je 0x14020ec8f
cmp eax, 0x1000
jg 0x14020ee68
mov ecx, eax
mov esi, dword [rsp + 0x14]
add eax, eax
add edx, dword [rsp + 0x10]
shl ecx, 4
mov dword [rsp + 0x54], eax
mov word [r9 + 0x41a], ax
add eax, esi
mov dword [r9 + 0x450], ecx
mov word [r9 + 0x47e], dx
test esi, esi
je 0x14020ecca
cmp eax, 0x2000
jg 0x14020ee68
mov ebx, dword [rsp + 0x18]
lea ecx, [rax*8]
add edx, dword [rsp + 0x14]
add eax, eax
mov dword [rsp + 0x58], eax
mov word [r9 + 0x41c], ax
add eax, ebx
mov dword [r9 + 0x454], ecx
mov word [r9 + 0x480], dx
test ebx, ebx
je 0x14020ed07
cmp eax, 0x4000
jg 0x14020ee68
mov edi, dword [rsp + 0x1c]
lea ecx, [rax*4]
add edx, dword [rsp + 0x18]
add eax, eax
mov dword [rsp + 0x5c], eax
mov word [r9 + 0x41e], ax
add eax, edi
mov dword [r9 + 0x458], ecx
mov word [r9 + 0x482], dx
test edi, edi
jne 0x14020ee58
add eax, eax
movsxd rbx, r8d
xor edx, edx
mov edi, 1
mov dword [r9 + 0x45c], eax
mov esi, 0x10
mov dword [r9 + 0x460], 0x10000
test r8d, r8d
jg 0x14020ed86
jmp 0x14020ee80
add r8d, 1
mov dword [rsp + r11*4 + 0x20], r8d
add rdx, 1
cmp rdx, rbx
je 0x14020ee80
movzx r13d, byte [r10 + rdx]
mov ecx, r13d
test r13d, r13d
je 0x14020ed79
movsxd r11, r13d
movzx ebp, word [r9 + r11*2 + 0x400]
mov r8d, dword [rsp + r11*4 + 0x20]
mov eax, r8d
sub eax, ebp
movzx ebp, word [r9 + r11*2 + 0x464]
add eax, ebp
cdqe
mov byte [r9 + rax + 0x484], r13b
mov word [r9 + rax*2 + 0x5a4], dx
cmp r13d, 9
jg 0x14020ed70
mov eax, r8d
lea ebp, [r8 + r8]
mov r12d, r13d
sar eax, 1
and ebp, 0xaaaa
shl r12d, 9
and eax, 0x5555
or r12d, edx
or eax, ebp
mov ebp, eax
shl eax, 2
sar ebp, 2
and eax, 0xcccc
and ebp, 0x3333
or ebp, eax
mov eax, ebp
shl ebp, 4
sar eax, 4
and ebp, 0xf0f0
and eax, 0xf0f
or ebp, eax
mov eax, ebp
shl ebp, 8
movzx r14d, bp
mov ebp, edi
sar eax, 8
shl ebp, cl
mov ecx, esi
or eax, r14d
sub ecx, r13d
movsxd rbp, ebp
sar eax, cl
cdqe
nop word cs:[rax + rax]
mov word [r9 + rax*2], r12w
add rax, rbp
cmp eax, 0x1ff
jle 0x14020ee40
jmp 0x14020ed70
cmp eax, 0x8000
jle 0x14020ed3d
nop dword [rax + rax]
xor eax, eax
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, 1
jmp 0x14020ee6a