Function at 0x140021800
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x200], rbx
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rbx, rdx
mov qword [rsp + 0x68], rdx
mov r14, rcx
mov qword [rsp + 0x38], rcx
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [r14 + 0x64], eax
mov r9d, dword [r14 + 0x48]
mov dword [rsp + 0x40], r9d
mov rax, qword [r14 + 0x58]
movzx edi, byte [r9 + rax]
mov r8d, 2
mov dword [rsp + 0x58], r8d
test dil, dil
jne 0x1400221fd
mov r11d, 3
lea r10d, [r11 - 2]
movzx esi, r8w
mov dword [rsp + 0x50], esi
mov ecx, dword [r14 + 0x10]
add ecx, 7
imul ecx, r9d
add ecx, esi
mov rax, qword [r14 + 0x50]
mov r15d, dword [rax + rcx*4]
cmp r15d, 0xffffffff
jne 0x140021e89
xor ecx, ecx
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
xor r15d, r15d
mov r13d, r15d
mov dword [rsp + 0x44], r15d
mov dword [rbp + 0x20], r15d
mov r12d, r15d
mov qword [rbp + 0x58], r15
mov ebx, r15d
mov qword [rbp + 0x50], rbx
mov edi, r15d
xor ecx, ecx
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
mov eax, r15d
mov dword [rsp + 0x30], eax
mov dword [rbp - 0x20], eax
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x10], r15
xor ecx, ecx
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
mov eax, r15d
mov dword [rsp + 0x34], eax
mov dword [rbp - 0x60], eax
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x30], r15
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x14002199b
cmp r8d, dword [r14 + 0x44]
ja 0x14002199b
mov ebx, dword [r14 + 0x30]
mov ecx, ebx
imul ecx, r8d
mov rax, qword [r14 + 0x38]
lea r14, [rax + rcx*4]
shl ebx, 5
sub ebx, 1
js 0x140021992
mov r8d, r15d
nop word [rax + rax]
movsxd rdx, ebx
movzx eax, dl
and al, 0x1f
movzx ecx, al
shr rdx, 5
mov eax, dword [r14 + rdx*4]
bt eax, ecx
jb 0x140021ad3
sub ebx, 1
jns 0x140021960
mov dword [rsp + 0x44], r13d
mov esi, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
xor r15d, r15d
mov rbx, qword [rbp + 0x50]
mov r14, qword [rsp + 0x38]
test r13d, r13d
je 0x14002224b
cmp r13d, 0xa
ja 0x14003caa1
lea eax, [r13 - 1]
mov ebx, dword [rbp + rax*4 + 0x24]
cmp ebx, dword [r14 + 0x20]
ja 0x14003caad
mov rdi, qword [r14 + 0x28]
mov r9d, 1
lea eax, [rbx - 1]
lea rax, [rax + rax*4]
lea r15, [rdi + rax*8]
mov qword [rsp + 0x60], r15
mov eax, dword [r15 + 0x24]
cmp eax, 2
jg 0x14003cbcc
lea ecx, [rax - 1]
movsxd rsi, ecx
test ecx, ecx
js 0x140021a3a
lea r14, [rsi*8 + 0xc]
add r14, r15
mov r15d, dword [rbp + 0x1c]
mov r13d, dword [rbp + 0x18]
mov eax, dword [r14 - 4]
mov ecx, dword [rsp + 0x50]
cmp eax, ecx
je 0x140021fd5
cmp eax, 1
je 0x140021fcc
sub r14, 8
sub rsi, 1
jns 0x140021a04
mov r15, qword [rsp + 0x60]
mov eax, dword [r15 + 0x24]
mov r13d, dword [rsp + 0x44]
mov r14, qword [rsp + 0x38]
add eax, 0xfffffffd
movsxd rbx, eax
mov esi, dword [rsp + 0x50]
jns 0x14003cc81
mov eax, dword [rsp + 0x30]
add r13d, 0xffffffff
mov dword [rsp + 0x44], r13d
mov rbx, qword [rbp + 0x50]
mov r15d, 0
jne 0x1400219a4
test eax, eax
je 0x140022246
cmp eax, 0xa
ja 0x14003ccba
dec eax
mov r14d, dword [rbp + rax*4 - 0x1c]
xor ecx, ecx
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
xor esi, esi
mov dword [rbp + 0x60], esi
xor r13d, r13d
mov qword [rbp + 0x98], r13
xor r12d, r12d
mov qword [rbp + 0x90], r12
xor r9d, r9d
mov r10d, dword [rsp + 0x34]
test r10d, r10d
jne 0x140022129
mov dword [rbp + r10*4 - 0x5c], r14d
mov r10d, dword [rbp - 0x60]
inc r10d
mov dword [rsp + 0x34], r10d
mov dword [rbp - 0x60], r10d
jmp 0x140021c02
lea r15d, [rbx + 1]
test r13d, r13d
jne 0x1400220a3
mov eax, r13d
mov dword [rbp + rax*4 + 0x24], r15d
mov r12d, dword [rbp + 0x5c]
mov r13d, dword [rbp + 0x20]
mov edi, dword [rbp + 0x58]
mov r8, qword [rbp + 0x50]
inc r13d
mov dword [rbp + 0x20], r13d
jmp 0x14002197c
cmp esi, 0xa
ja 0x14003cd9a
cmp r14d, 0xa
ja 0x14003cdbd
lea eax, [r14 - 1]
mov r15d, dword [rbp + rax*4 - 0x5c]
test esi, esi
jne 0x14002206b
mov eax, esi
mov dword [rbp + rax*4 + 0x64], r15d
mov esi, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x98]
inc esi
mov dword [rbp + 0x60], esi
cmp r14d, 0xa
ja 0x14003ce7f
lea eax, [r14 - 1]
mov ebx, dword [rbp + rax*4 - 0x5c]
mov r13, qword [rsp + 0x38]
cmp ebx, dword [r13 + 0x20]
ja 0x14003ce8f
mov rdi, qword [r13 + 0x28]
mov r11d, 1
lea eax, [rbx - 1]
lea rax, [rax + rax*4]
lea r13, [rdi + rax*8]
mov qword [rsp + 0x70], r13
mov eax, dword [r13 + 0x24]
cmp eax, 2
jg 0x14003cfb7
lea ecx, [rax - 1]
movsxd r15, ecx
test ecx, ecx
js 0x140021bd3
lea r12, [r15*8 + 0xc]
add r12, r13
mov r13d, dword [rbp - 0x24]
mov esi, dword [rbp - 0x28]
mov r14, qword [rbp - 0x30]
cmp dword [r12 - 4], 5
je 0x140022002
sub r12, 8
sub r15, 1
jns 0x140021ba5
mov r13, qword [rsp + 0x70]
mov eax, dword [r13 + 0x24]
mov esi, dword [rbp + 0x60]
mov r14d, dword [rsp + 0x44]
mov r9d, dword [rbp + 0x98]
add eax, 0xfffffffd
movsxd rbx, eax
jns 0x14003d069
mov dl, 1
mov r12, qword [rbp + 0x90]
mov r13d, dword [rbp + 0x9c]
add r14d, 0xffffffff
mov dword [rsp + 0x44], r14d
jne 0x140021f80
test dl, dl
je 0x140021c19
mov r15, qword [rbp - 0x30]
xor dl, dl
mov r14d, r10d
mov dword [rsp + 0x44], r10d
test r10d, r10d
jne 0x140021f84
mov rcx, r12
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
mov eax, dword [rsp + 0x30]
add eax, 0xffffffff
mov dword [rsp + 0x30], eax
jne 0x140021a6f
mov r14, qword [rsp + 0x38]
mov r8d, dword [r14 + 0x30]
shl r8, 2
xor edx, edx
mov rcx, qword [r14 + 0x38]
call sub.msvcrt.dll_memset
mov r10, qword [r14 + 0x38]
mov r13d, dword [rsp + 0x34]
mov r9d, r13d
mov r12d, 1
test r13d, r13d
je 0x140021ca2
mov r14, qword [rbp - 0x30]
cmp r9d, 0xa
ja 0x14003d09b
lea eax, [r9 - 1]
mov eax, dword [rbp + rax*4 - 0x5c]
dec eax
mov ecx, eax
shr rax, 5
lea r8, [r10 + rax*4]
and cl, 0x1f
mov edx, r12d
shl edx, cl
or dword [r8], edx
add r9d, 0xffffffff
jne 0x140021c6e
mov r14, qword [rsp + 0x38]
mov r15d, r12d
mov dword [rsp + 0x30], r12d
mov edi, dword [r14 + 0x44]
cmp edi, 1
jb 0x140021d00
mov r14d, dword [r14 + 0x30]
mov rcx, qword [rsp + 0x38]
mov rbx, qword [rcx + 0x38]
mov esi, r14d
shl rsi, 2
nop word [rax + rax]
mov eax, r14d
imul eax, r15d
lea rcx, [rbx + rax*4]
mov r8, rsi
mov rdx, rbx
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400220de
inc r15d
mov dword [rsp + 0x30], r15d
cmp r15d, edi
jbe 0x140021cd0
mov r14, qword [rsp + 0x38]
mov esi, dword [r14 + 0x40]
lea eax, [rsi - 1]
cmp eax, edi
je 0x140022164
lea r15d, [rdi + 1]
mov dword [rsp + 0x30], r15d
mov dword [r14 + 0x44], r15d
mov ecx, r15d
imul ecx, dword [r14 + 0x30]
mov rax, qword [r14 + 0x38]
lea r10, [rax + rcx*4]
mov r9d, r13d
test r13d, r13d
je 0x140021d75
mov r14, qword [rbp - 0x30]
cmp r9d, 0xa
ja 0x14003d0a8
lea eax, [r9 - 1]
mov eax, dword [rbp + rax*4 - 0x5c]
dec eax
mov ecx, eax
shr rax, 5
lea r8, [r10 + rax*4]
and cl, 0x1f
mov edx, r12d
shl edx, cl
or dword [r8], edx
add r9d, 0xffffffff
jne 0x140021d38
mov r14, qword [rsp + 0x38]
mov r15d, dword [r14 + 0x44]
mov dword [rsp + 0x30], r15d
cmp r15d, dword [r14 + 0x4c]
ja 0x140021d90
mov ecx, dword [r14 + 0x10]
mov rdx, qword [r14 + 0x50]
lea eax, [rcx + 7]
imul eax, r15d
cmp dword [rdx + rax*4], 0xfffffffe
jne 0x140021e0e
xor r12b, r12b
test r13d, r13d
je 0x140021dd8
mov r15, qword [rbp - 0x30]
test r12b, r12b
jne 0x140021dd3
cmp r13d, 0xa
ja 0x14003d0b5
lea eax, [r13 - 1]
mov ebx, dword [rbp + rax*4 - 0x5c]
cmp ebx, dword [r14 + 0x20]
ja 0x14003d0c2
lea eax, [rbx - 1]
lea rdx, [rax + rax*4]
mov rax, qword [r14 + 0x28]
mov r12d, dword [rax + rdx*8 + 4]
add r13d, 0xffffffff
jne 0x140021d9c
mov r15d, dword [rsp + 0x30]
mov r13d, dword [r14 + 0x4c]
cmp r15d, r13d
ja 0x14003d1e1
mov ecx, dword [r14 + 0x10]
add ecx, 7
imul ecx, r15d
mov rax, qword [r14 + 0x50]
mov dword [rax + rcx*4], 0xffffffff
mov ecx, r15d
mov rax, qword [r14 + 0x58]
mov byte [rcx + rax], r12b
mov ecx, dword [r14 + 0x10]
mov rdx, qword [r14 + 0x50]
lea eax, [rcx + 7]
imul eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x50]
mov dword [rdx + rax*4], r15d
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov ecx, dword [r14 + 0x64]
add ecx, dword [r14 + 0x60]
cmp ecx, eax
jb 0x14003d335
mov rcx, qword [rbp - 0x30]
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
mov rcx, qword [rbp + 0x10]
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
mov rcx, qword [rbp + 0x50]
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
mov r10d, 1
lea r11d, [r10 + 2]
cmp r15d, 0xfffffffe
je 0x14002226b
mov edx, r9d
mov r9d, r15d
mov dword [rsp + 0x40], r15d
mov ecx, r15d
mov rax, qword [r14 + 0x58]
movzx edi, byte [rcx + rax]
cmp r8w, 3
je 0x1400221f4
movzx r8d, word [rbx]
add rbx, 2
mov qword [rsp + 0x68], rbx
test r8w, r8w
je 0x14002222c
cmp byte [r14 + 0x1c], 0
jne 0x140021f11
mov word [rsp + 0x48], r8w
mov dword [rsp + 0x28], r10d
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
mov r9d, r10d
lea r8, [rsp + 0x48]
mov edx, 0x200
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_LCMapStringW]
nop dword [rax + rax]
movzx r8d, word [rsp + 0x48]
test eax, eax
cmovne r8w, word [rsp + 0x54]
cmp r8w, 0x2e
je 0x140022235
mov ebx, dword [r14 + 0x10]
mov r9d, ebx
xor r11d, r11d
mov edx, ebx
shr edx, 1
test ebx, ebx
je 0x140021f55
mov r10, qword [r14 + 8]
cmp word [r10 + rdx*2], r8w
je 0x140021f55
lea eax, [rdx + 1]
cmovae eax, r11d
mov r11d, eax
cmovae r9d, edx
mov edx, r9d
sub edx, eax
shr edx, 1
add edx, eax
cmp r9d, eax
ja 0x140021f32
mov rax, qword [r14 + 8]
cmp word [rax + rdx*2], r8w
jb 0x14003d328
add edx, 7
mov rbx, qword [rsp + 0x68]
movzx r8d, dx
mov r9d, r15d
jmp 0x140021875
mov r15, qword [rbp - 0x30]
cmp r14d, 0xa
ja 0x14003cd83
lea eax, [r14 - 1]
mov r8d, dword [rbp + rax*4 - 0x5c]
test esi, esi
je 0x140021b0c
cmp esi, 0xa
jae 0x14003cd90
mov eax, esi
sub eax, 1
movsxd rcx, eax
js 0x140021b03
cmp dword [rbp + rcx*4 + 0x64], r8d
je 0x140021bef
sub rcx, 1
jns 0x140021fb6
jmp 0x140021b03
cmp ecx, 5
je 0x140021a1d
mov r12d, dword [r14]
mov edx, dword [rsp + 0x30]
test edx, edx
jne 0x1400220f1
mov dword [rbp + rdx*4 - 0x1c], r12d
mov edx, dword [rbp - 0x20]
mov r15d, dword [rbp + 0x1c]
mov r13d, dword [rbp + 0x18]
inc edx
mov dword [rsp + 0x30], edx
mov dword [rbp - 0x20], edx
jmp 0x140021a1d
mov edx, dword [r12]
mov dword [rsp + 0x60], edx
test r10d, r10d
je 0x140022044
cmp r10d, 0xa
jae 0x14003cfbf
mov eax, r10d
sub eax, 1
movsxd rcx, eax
js 0x140022034
cmp dword [rbp + rcx*4 - 0x5c], edx
je 0x140021bb1
sub rcx, 1
jns 0x140022024
cmp r10d, 0xa
ja 0x14003cfc9
jae 0x14003cfed
mov eax, r10d
mov dword [rbp + rax*4 - 0x5c], edx
mov r10d, dword [rbp - 0x60]
mov r13d, dword [rbp - 0x24]
mov esi, dword [rbp - 0x28]
mov r14, qword [rbp - 0x30]
inc r10d
mov dword [rsp + 0x34], r10d
mov dword [rbp - 0x60], r10d
jmp 0x140021bb1
cmp esi, 0xa
jae 0x14003cdca
mov eax, esi
sub eax, 1
movsxd rcx, eax
js 0x14002208f
cmp dword [rbp + rcx*4 + 0x64], r15d
je 0x140021b3d
sub rcx, 1
jns 0x14002207e
cmp esi, 0xa
ja 0x14003cdd4
jb 0x140021b27
jmp 0x14003cdf6
cmp r13d, 0xa
jae 0x14003c9fe
mov eax, r13d
sub eax, 1
movsxd rcx, eax
js 0x1400220c9
cmp dword [rbp + rcx*4 + 0x24], r15d
je 0x14002197c
sub rcx, 1
jns 0x1400220b8
cmp r13d, 0xa
ja 0x14003ca08
jb 0x140021ae0
jmp 0x14003ca2c
test r15d, r15d
je 0x140021cfb
mov r14, qword [rsp + 0x38]
jmp 0x140021d75
cmp edx, 0xa
jae 0x14003cbd4
mov eax, edx
sub eax, 1
movsxd rcx, eax
js 0x140022115
cmp dword [rbp + rcx*4 - 0x1c], r12d
je 0x140021a1d
sub rcx, 1
jns 0x140022104
cmp edx, 0xa
ja 0x14003cbde
jb 0x140021fe4
jmp 0x14003cc04
cmp r10d, 0xa
jae 0x14003cccc
mov eax, r10d
sub eax, 1
movsxd rcx, eax
js 0x14002214f
cmp dword [rbp + rcx*4 - 0x5c], r14d
je 0x140021c02
sub rcx, 1
jns 0x14002213e
cmp r10d, 0xa
ja 0x14003ccd6
jb 0x140021ab9
jmp 0x14003ccfe
mov rbx, qword [r14 + 0x38]
lea eax, [rsi + 0xa]
mov dword [r14 + 0x40], eax
imul eax, dword [r14 + 0x30]
mov ecx, eax
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
mov rax, qword [0x14009e358]
call qword [case.0x140024575.0]
mov qword [r14 + 0x38], rax
mov r8d, esi
imul r8d, dword [r14 + 0x30]
shl r8, 2
mov rdx, rbx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [r14 + 0x30]
mov r8d, dword [r14 + 0x40]
sub r8d, esi
imul r8d, edx
shl r8, 2
imul edx, esi
mov rax, qword [r14 + 0x38]
lea rcx, [rax + rdx*4]
xor edx, edx
call sub.msvcrt.dll_memset
nop
mov rcx, rbx
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
mov edi, dword [r14 + 0x44]
jmp 0x140021d0f
cmp edx, r15d
jne 0x14002187a
movzx eax, dil
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14002a3c0
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx r8d, r11w
jmp 0x140021875
mov edx, 6
movzx r8d, dx
mov r9d, r15d
jmp 0x140021875
mov r8d, dword [rsp + 0x40]
mov r15d, 0xfffffffe
mov ecx, dword [r14 + 0x10]
add ecx, 7
imul ecx, r8d
add ecx, esi
mov rax, qword [r14 + 0x50]
mov dword [rax + rcx*4], r15d
jmp 0x140021e1e
xor al, al
jmp 0x140022201
mov eax, 0xa
jmp 0x1400220b0
lea eax, [r13 - 0xb]
movsxd rcx, eax
test eax, eax
js 0x14003ca23
cmp dword [r8 + rcx*4], r15d
je 0x14002197c
sub rcx, 1
jns 0x14003ca13
cmp r13d, 0xa
jmp 0x1400220d3
cmp r12d, edi
jb 0x14003ca8e
mov rsi, r8
lea eax, [rdi + 0xa]
mov dword [rbp + 0x58], eax
mov ecx, eax
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
mov rax, qword [0x14009e358]
call qword [case.0x140024575.0]
mov qword [rbp + 0x50], rax
mov r8d, edi
shl r8, 2
mov rdx, rsi
mov rcx, rax
call sub.msvcrt.dll_memcpy
nop
mov rcx, rsi
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
mov edi, dword [rbp + 0x58]
mov r8, qword [rbp + 0x50]
mov eax, r12d
mov dword [r8 + rax*4], r15d
inc r12d
mov dword [rbp + 0x5c], r12d
jmp 0x140021af7
lea eax, [r13 - 0xb]
mov ebx, dword [rbx + rax*4]
jmp 0x1400219b6
lea esi, [rbx + 0xa]
mov r14d, esi
mov eax, 0x28
mul r14
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
mov rcx, rax
mov rax, qword [0x14009e358]
call qword [case.0x140024575.0]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x14003cb13
mov qword [rax], r14
lea rdi, [rax + 8]
lea rax, [0x1400225b0]
mov qword [rsp + 0x20], rax
lea r9, [0x140022320]
mov r8d, r14d
mov edx, 0x28
mov rcx, rdi
call fcn.14002aa88
jmp 0x14003cb16
mov rdi, r15
mov r8d, r15d
mov r14, qword [rsp + 0x38]
mov r9d, 1
cmp dword [r14 + 0x20], 0
jbe 0x14003cb88
mov eax, r8d
lea rcx, [rax + rax*4]
mov rax, qword [r14 + 0x28]
lea rdx, [rax + rcx*8]
mov eax, dword [rdx]
mov dword [rdi + rcx*8], eax
mov dword [rdi + rcx*8 + 4], r15d
mov eax, r15d
cmp dword [rdx + 4], 0
cmovne eax, r9d
mov dword [rdi + rcx*8 + 4], eax
mov eax, dword [rdx + 0x24]
mov dword [rdi + rcx*8 + 0x24], eax
movups xmm0, xmmword [rdx + 8]
movups xmmword [rdi + rcx*8 + 8], xmm0
mov eax, dword [rdx + 0x20]
mov dword [rdi + rcx*8 + 0x20], eax
mov rax, qword [rdx + 0x18]
mov qword [rdi + rcx*8 + 0x18], rax
mov qword [rdx + 0x20], 0
mov qword [rdx + 0x18], r15
inc r8d
cmp r8d, dword [r14 + 0x20]
jb 0x14003cb2b
cmp r8d, esi
jae 0x14003cbab
mov eax, r8d
lea rcx, [rax + rax*4]
lea rax, [rdi + rcx*8]
inc r8d
mov dword [rax], r8d
mov dword [rax + 4], r15d
lea rax, [rax + 0x28]
cmp r8d, esi
jb 0x14003cb98
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x14003cbbf
call fcn.14004ee20
mov r9d, 1
mov qword [r14 + 0x28], rdi
mov dword [r14 + 0x20], esi
jmp 0x1400219ca
mov ecx, r9d
jmp 0x1400219ea
mov eax, 0xa
jmp 0x1400220fc
lea eax, [rdx - 0xb]
movsxd rcx, eax
test eax, eax
js 0x14003cbfc
mov rax, qword [rbp + 0x10]
cmp dword [rax + rcx*4], r12d
je 0x140021a1d
sub rcx, 1
jns 0x14003cbec
cmp edx, 0xa
jmp 0x14002211e
cmp r15d, r13d
jb 0x14003cc6a
mov rdi, qword [rbp + 0x10]
mov ebx, r13d
lea r13d, [rbx + 0xa]
mov dword [rbp + 0x18], r13d
mov ecx, r13d
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
mov rax, qword [0x14009e358]
call qword [case.0x140024575.0]
mov qword [rbp + 0x10], rax
mov r8d, ebx
shl r8, 2
mov rdx, rdi
mov rcx, rax
call sub.msvcrt.dll_memcpy
nop
mov rcx, rdi
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
mov edx, dword [rsp + 0x30]
mov eax, r15d
mov rcx, qword [rbp + 0x10]
mov dword [rcx + rax*4], r12d
inc r15d
mov dword [rbp + 0x1c], r15d
jmp 0x140021ff4
mov rax, qword [r15 + 0x18]
lea rcx, [rax + rbx*8]
mov eax, dword [rcx]
cmp eax, esi
je 0x14003cc9c
cmp eax, 1
jne 0x14003cca8
lea eax, [rsi - 5]
cmp eax, 1
jbe 0x14003cca8
mov edx, dword [rcx + 4]
lea rcx, [rbp - 0x20]
call fcn.1400994b4
sub rbx, 1
jns 0x14003cc81
mov eax, dword [rbp - 0x20]
mov dword [rsp + 0x30], eax
jmp 0x140021a4e
add eax, 0xfffffff5
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov r14d, dword [rax + rcx*4]
jmp 0x140021a7f
mov eax, 0xa
jmp 0x140022136
lea eax, [r10 - 0xb]
movsxd rcx, eax
test eax, eax
js 0x14003ccf5
mov r15, qword [rbp - 0x30]
cmp dword [r15 + rcx*4], r14d
je 0x140021c06
sub rcx, 1
jns 0x14003cce5
cmp r10d, 0xa
jmp 0x140022159
mov r15d, dword [rbp - 0x24]
mov eax, dword [rbp - 0x28]
cmp r15d, eax
jb 0x14003cd6f
mov rdi, qword [rbp - 0x30]
mov ebx, eax
add eax, 0xa
mov dword [rbp - 0x28], eax
mov ecx, eax
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
mov rax, qword [0x14009e358]
call qword [case.0x140024575.0]
mov qword [rbp - 0x30], rax
mov r8d, ebx
shl r8, 2
mov rdx, rdi
mov rcx, rax
call sub.msvcrt.dll_memcpy
nop
mov rcx, rdi
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
mov r9d, dword [rbp + 0x98]
mov r10d, dword [rsp + 0x34]
mov rcx, qword [rbp - 0x30]
mov dword [rcx + r15*4], r14d
inc r15d
mov dword [rbp - 0x24], r15d
jmp 0x140021ac2
lea eax, [r14 - 0xb]
mov r8d, dword [r15 + rax*4]
jmp 0x140021f97
mov eax, 0xa
jmp 0x140021faa
lea eax, [rsi - 0xb]
movsxd rcx, eax
test eax, eax
js 0x140021b0c
cmp dword [r12 + rcx*4], r8d
je 0x140021bef
sub rcx, 1
jns 0x14003cda8
jmp 0x140021b0c
lea eax, [r14 - 0xb]
mov r15d, dword [r15 + rax*4]
jmp 0x140021b1f
mov eax, 0xa
jmp 0x140022076
lea eax, [rsi - 0xb]
movsxd rcx, eax
test eax, eax
js 0x14003cdee
cmp dword [r12 + rcx*4], r15d
je 0x140021b3d
sub rcx, 1
jns 0x14003cdde
cmp esi, 0xa
jmp 0x140022098
cmp r13d, r9d
jb 0x14003ce69
mov rdi, r12
mov ebx, r9d
lea eax, [rbx + 0xa]
mov dword [rbp + 0x98], eax
mov ecx, eax
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
mov rax, qword [0x14009e358]
call qword [case.0x140024575.0]
mov r12, rax
mov qword [rbp + 0x90], rax
mov r8d, ebx
shl r8, 2
mov rdx, rdi
mov rcx, rax
call sub.msvcrt.dll_memcpy
nop
mov rcx, rdi
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
mov r9d, dword [rbp + 0x98]
mov r10d, dword [rsp + 0x34]
mov eax, r13d
mov dword [r12 + rax*4], r15d
inc r13d
mov dword [rbp + 0x9c], r13d
jmp 0x140021b38
lea ecx, [r14 - 0xb]
mov rax, qword [rbp - 0x30]
mov ebx, dword [rax + rcx*4]
jmp 0x140021b4f
lea r12d, [rbx + 0xa]
mov r15d, r12d
mov eax, 0x28
mul r15
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
mov rcx, rax
mov rax, qword [0x14009e358]
call qword [case.0x140024575.0]
mov qword [rbp - 0x78], rax
test rax, rax
je 0x14003cef6
mov qword [rax], r15
lea rdi, [rax + 8]
lea rax, [0x1400225b0]
mov qword [rsp + 0x20], rax
lea r9, [0x140022320]
mov r8d, r15d
mov edx, 0x28
mov rcx, rdi
call fcn.14002aa88
jmp 0x14003cef8
xor edi, edi
xor r8d, r8d
lea r11d, [r8 + 1]
cmp dword [r13 + 0x20], r8d
jbe 0x14003cf67
lea rcx, [r8 + r8*4]
mov rax, qword [r13 + 0x28]
lea rdx, [rax + rcx*8]
mov eax, dword [rdx]
mov dword [rdi + rcx*8], eax
mov dword [rdi + rcx*8 + 4], 0
mov eax, dword [rdi + rcx*8 + 4]
cmp dword [rdx + 4], 0
cmovne eax, r11d
mov dword [rdi + rcx*8 + 4], eax
mov eax, dword [rdx + 0x24]
mov dword [rdi + rcx*8 + 0x24], eax
movups xmm0, xmmword [rdx + 8]
movups xmmword [rdi + rcx*8 + 8], xmm0
mov eax, dword [rdx + 0x20]
mov dword [rdi + rcx*8 + 0x20], eax
mov rax, qword [rdx + 0x18]
mov qword [rdi + rcx*8 + 0x18], rax
mov qword [rdx + 0x20], 0
mov qword [rdx + 0x18], 0
inc r8d
cmp r8d, dword [r13 + 0x20]
jb 0x14003cf05
cmp r8d, r12d
jae 0x14003cf8a
lea rcx, [r8 + r8*4]
lea rax, [rdi + rcx*8]
inc r8d
mov dword [rax], r8d
mov dword [rax + 4], 0
lea rax, [rax + 0x28]
cmp r8d, r12d
jb 0x14003cf74
mov rcx, qword [r13 + 0x28]
test rcx, rcx
je 0x14003cf9e
call fcn.14004ee20
mov r11d, 1
mov qword [r13 + 0x28], rdi
mov dword [r13 + 0x20], r12d
mov r9d, dword [rbp + 0x98]
mov r10d, dword [rsp + 0x34]
jmp 0x140021b68
mov ecx, r11d
jmp 0x140021b88
mov eax, 0xa
jmp 0x14002201c
lea eax, [r10 - 0xb]
movsxd rcx, eax
test eax, eax
js 0x14003cfe4
cmp dword [r14 + rcx*4], edx
je 0x140021bb1
sub rcx, 1
jns 0x14003cfd4
cmp r10d, 0xa
jmp 0x14002203e
cmp r13d, esi
jb 0x14003d056
mov rdi, r14
mov ebx, esi
lea esi, [rbx + 0xa]
mov dword [rbp - 0x28], esi
mov ecx, esi
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
mov rax, qword [0x14009e358]
call qword [case.0x140024575.0]
mov r14, rax
mov qword [rbp - 0x30], rax
mov r8d, ebx
shl r8, 2
mov rdx, rdi
mov rcx, rax
call sub.msvcrt.dll_memcpy
nop
mov rcx, rdi
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
mov edx, dword [rsp + 0x60]
mov r10d, dword [rsp + 0x34]
mov eax, r13d
mov dword [r14 + rax*4], edx
inc r13d
mov dword [rbp - 0x24], r13d
jmp 0x14002205a
mov rax, qword [r13 + 0x18]
cmp dword [rax + rbx*8], 5
jne 0x14003d080
mov edx, dword [rax + rbx*8 + 4]
lea rcx, [rbp - 0x60]
call fcn.1400994b4
sub rbx, 1
jns 0x14003d069
mov r10d, dword [rbp - 0x60]
mov dword [rsp + 0x34], r10d
mov r9d, dword [rbp + 0x98]
jmp 0x140021bdf
lea eax, [r9 - 0xb]
mov eax, dword [r14 + rax*4]
jmp 0x140021c80
lea eax, [r9 - 0xb]
mov eax, dword [r14 + rax*4]
jmp 0x140021d4a
lea eax, [r13 - 0xb]
mov ebx, dword [r15 + rax*4]
jmp 0x140021db3
lea esi, [rbx + 0xa]
mov r14d, esi
mov eax, 0x28
mul r14
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
mov rcx, rax
mov rax, qword [0x14009e358]
call qword [case.0x140024575.0]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14003d12b
mov qword [rax], r14
lea rdi, [rax + 8]
lea rax, [0x1400225b0]
mov qword [rsp + 0x20], rax
lea r9, [0x140022320]
mov r8d, r14d
mov edx, 0x28
mov rcx, rdi
call fcn.14002aa88
xor r9d, r9d
jmp 0x14003d131
xor r9d, r9d
mov edi, r9d
mov r8d, r9d
mov r14, qword [rsp + 0x38]
cmp dword [r14 + 0x20], 0
jbe 0x14003d1a3
mov r10d, 1
mov eax, r8d
lea rcx, [rax + rax*4]
mov rax, qword [r14 + 0x28]
lea rdx, [rax + rcx*8]
mov eax, dword [rdx]
mov dword [rdi + rcx*8], eax
mov dword [rdi + rcx*8 + 4], r9d
mov eax, r9d
cmp dword [rdx + 4], 0
cmovne eax, r10d
mov dword [rdi + rcx*8 + 4], eax
mov eax, dword [rdx + 0x24]
mov dword [rdi + rcx*8 + 0x24], eax
movups xmm0, xmmword [rdx + 8]
movups xmmword [rdi + rcx*8 + 8], xmm0
mov eax, dword [rdx + 0x20]
mov dword [rdi + rcx*8 + 0x20], eax
mov rax, qword [rdx + 0x18]
mov qword [rdi + rcx*8 + 0x18], rax
mov qword [rdx + 0x20], 0
mov qword [rdx + 0x18], r9
inc r8d
cmp r8d, dword [r14 + 0x20]
jb 0x14003d146
cmp r8d, esi
jae 0x14003d1c6
mov eax, r8d
lea rcx, [rax + rax*4]
lea rax, [rdi + rcx*8]
inc r8d
mov dword [rax], r8d
mov dword [rax + 4], r9d
lea rax, [rax + 0x28]
cmp r8d, esi
jb 0x14003d1b3
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x14003d1d4
call fcn.14004ee20
mov qword [r14 + 0x28], rdi
mov dword [r14 + 0x20], esi
jmp 0x140021dbd
mov rax, qword [r14 + 0x50]
mov qword [rsp + 0x60], rax
mov rax, qword [r14 + 0x58]
mov qword [rsp + 0x70], rax
lea esi, [r13 + 1]
mov ecx, dword [r14 + 0x10]
add ecx, 7
mov r14d, ecx
imul r14d, esi
mov eax, 0xcccccccd
mul r15d
shr edx, 3
inc edx
lea eax, [rdx + rdx*4]
add eax, eax
mov rbx, qword [rsp + 0x38]
mov dword [rbx + 0x4c], eax
lea edi, [rax + 1]
imul edi, ecx
mov ecx, edi
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
mov rax, qword [0x14009e358]
call qword [case.0x140024575.0]
mov qword [rbx + 0x50], rax
mov ecx, dword [rbx + 0x4c]
inc ecx
mov rax, qword [0x14009e358]
call qword [case.0x140024575.0]
mov qword [rbx + 0x58], rax
lea rbx, [r14*4]
mov r8, rbx
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x50]
call sub.msvcrt.dll_memcpy
mov r8d, esi
mov rsi, qword [rsp + 0x70]
mov rdx, rsi
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x58]
call sub.msvcrt.dll_memcpy
sub edi, r14d
mov r8d, edi
shl r8, 2
mov r14, qword [rsp + 0x38]
mov rcx, qword [r14 + 0x50]
add rcx, rbx
mov edx, 0xff
call sub.msvcrt.dll_memset
mov r8d, dword [r14 + 0x4c]
sub r8d, r13d
mov rcx, qword [r14 + 0x58]
inc rcx
add rcx, r13
xor edx, edx
call sub.msvcrt.dll_memset
mov eax, dword [r14 + 0x4c]
lea r8d, [rax - 9]
cmp r8d, eax
ja 0x14003d2ff
mov edx, dword [r14 + 0x10]
add edx, 7
imul edx, r8d
mov rax, qword [r14 + 0x50]
mov dword [rax + rdx*4], 0xfffffffe
inc r8d
cmp r8d, dword [r14 + 0x4c]
jbe 0x14003d2e0
mov rcx, qword [rsp + 0x60]
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
mov rcx, rsi
mov rax, qword [0x14009e368]
call qword [case.0x140024575.0]
nop
jmp 0x140021de5
lea eax, [rdx + 1]
cmp eax, ebx
cmovb edx, eax
jmp 0x140021f64
mov rcx, qword [rbp + 0xe8]
mov r9d, 0x80041607
lea r8, str.onecoreuap_base_appmodel_searchcommon_regex_fa.cxx
mov edx, 0x2c9
call fcn.140058a60
int3