Function at 0x140021830
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 0x14002222d
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 0x140021eb9
xor ecx, ecx
mov rax, qword [0x14009e368]
call qword [case.0x140024555.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.0x140024555.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.0x140024555.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 0x1400219cb
cmp r8d, dword [r14 + 0x44]
ja 0x1400219cb
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 0x1400219c2
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 0x140021b03
sub ebx, 1
jns 0x140021990
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 0x14002227b
cmp r13d, 0xa
ja 0x14003cb11
lea eax, [r13 - 1]
mov ebx, dword [rbp + rax*4 + 0x24]
cmp ebx, dword [r14 + 0x20]
ja 0x14003cb1d
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 0x14003cc3c
lea ecx, [rax - 1]
movsxd rsi, ecx
test ecx, ecx
js 0x140021a6a
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 0x140022005
cmp eax, 1
je 0x140021ffc
sub r14, 8
sub rsi, 1
jns 0x140021a34
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 0x14003ccf1
mov eax, dword [rsp + 0x30]
add r13d, 0xffffffff
mov dword [rsp + 0x44], r13d
mov rbx, qword [rbp + 0x50]
mov r15d, 0
jne 0x1400219d4
test eax, eax
je 0x140022276
cmp eax, 0xa
ja 0x14003cd2a
dec eax
mov r14d, dword [rbp + rax*4 - 0x1c]
xor ecx, ecx
mov rax, qword [0x14009e368]
call qword [case.0x140024555.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 0x140022159
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 0x140021c32
lea r15d, [rbx + 1]
test r13d, r13d
jne 0x1400220d3
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 0x1400219ac
cmp esi, 0xa
ja 0x14003ce0a
cmp r14d, 0xa
ja 0x14003ce2d
lea eax, [r14 - 1]
mov r15d, dword [rbp + rax*4 - 0x5c]
test esi, esi
jne 0x14002209b
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 0x14003ceef
lea eax, [r14 - 1]
mov ebx, dword [rbp + rax*4 - 0x5c]
mov r13, qword [rsp + 0x38]
cmp ebx, dword [r13 + 0x20]
ja 0x14003ceff
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 0x14003d027
lea ecx, [rax - 1]
movsxd r15, ecx
test ecx, ecx
js 0x140021c03
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 0x140022032
sub r12, 8
sub r15, 1
jns 0x140021bd5
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 0x14003d0d9
mov dl, 1
mov r12, qword [rbp + 0x90]
mov r13d, dword [rbp + 0x9c]
add r14d, 0xffffffff
mov dword [rsp + 0x44], r14d
jne 0x140021fb0
test dl, dl
je 0x140021c49
mov r15, qword [rbp - 0x30]
xor dl, dl
mov r14d, r10d
mov dword [rsp + 0x44], r10d
test r10d, r10d
jne 0x140021fb4
mov rcx, r12
mov rax, qword [0x14009e368]
call qword [case.0x140024555.0]
nop
mov eax, dword [rsp + 0x30]
add eax, 0xffffffff
mov dword [rsp + 0x30], eax
jne 0x140021a9f
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 0x140021cd2
mov r14, qword [rbp - 0x30]
cmp r9d, 0xa
ja 0x14003d10b
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 0x140021c9e
mov r14, qword [rsp + 0x38]
mov r15d, r12d
mov dword [rsp + 0x30], r12d
mov edi, dword [r14 + 0x44]
cmp edi, 1
jb 0x140021d30
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 0x14002210e
inc r15d
mov dword [rsp + 0x30], r15d
cmp r15d, edi
jbe 0x140021d00
mov r14, qword [rsp + 0x38]
mov esi, dword [r14 + 0x40]
lea eax, [rsi - 1]
cmp eax, edi
je 0x140022194
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 0x140021da5
mov r14, qword [rbp - 0x30]
cmp r9d, 0xa
ja 0x14003d118
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 0x140021d68
mov r14, qword [rsp + 0x38]
mov r15d, dword [r14 + 0x44]
mov dword [rsp + 0x30], r15d
cmp r15d, dword [r14 + 0x4c]
ja 0x140021dc0
mov ecx, dword [r14 + 0x10]
mov rdx, qword [r14 + 0x50]
lea eax, [rcx + 7]
imul eax, r15d
cmp dword [rdx + rax*4], 0xfffffffe
jne 0x140021e3e
xor r12b, r12b
test r13d, r13d
je 0x140021e08
mov r15, qword [rbp - 0x30]
test r12b, r12b
jne 0x140021e03
cmp r13d, 0xa
ja 0x14003d125
lea eax, [r13 - 1]
mov ebx, dword [rbp + rax*4 - 0x5c]
cmp ebx, dword [r14 + 0x20]
ja 0x14003d132
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 0x140021dcc
mov r15d, dword [rsp + 0x30]
mov r13d, dword [r14 + 0x4c]
cmp r15d, r13d
ja 0x14003d251
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 0x14003d3a5
mov rcx, qword [rbp - 0x30]
mov rax, qword [0x14009e368]
call qword [case.0x140024555.0]
nop
mov rcx, qword [rbp + 0x10]
mov rax, qword [0x14009e368]
call qword [case.0x140024555.0]
nop
mov rcx, qword [rbp + 0x50]
mov rax, qword [0x14009e368]
call qword [case.0x140024555.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 0x14002229b
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 0x140022224
movzx r8d, word [rbx]
add rbx, 2
mov qword [rsp + 0x68], rbx
test r8w, r8w
je 0x14002225c
cmp byte [r14 + 0x1c], 0
jne 0x140021f41
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 0x140022265
mov ebx, dword [r14 + 0x10]
mov r9d, ebx
xor r11d, r11d
mov edx, ebx
shr edx, 1
test ebx, ebx
je 0x140021f85
mov r10, qword [r14 + 8]
cmp word [r10 + rdx*2], r8w
je 0x140021f85
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 0x140021f62
mov rax, qword [r14 + 8]
cmp word [rax + rdx*2], r8w
jb 0x14003d398
add edx, 7
mov rbx, qword [rsp + 0x68]
movzx r8d, dx
mov r9d, r15d
jmp 0x1400218a5
mov r15, qword [rbp - 0x30]
cmp r14d, 0xa
ja 0x14003cdf3
lea eax, [r14 - 1]
mov r8d, dword [rbp + rax*4 - 0x5c]
test esi, esi
je 0x140021b3c
cmp esi, 0xa
jae 0x14003ce00
mov eax, esi
sub eax, 1
movsxd rcx, eax
js 0x140021b33
cmp dword [rbp + rcx*4 + 0x64], r8d
je 0x140021c1f
sub rcx, 1
jns 0x140021fe6
jmp 0x140021b33
cmp ecx, 5
je 0x140021a4d
mov r12d, dword [r14]
mov edx, dword [rsp + 0x30]
test edx, edx
jne 0x140022121
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 0x140021a4d
mov edx, dword [r12]
mov dword [rsp + 0x60], edx
test r10d, r10d
je 0x140022074
cmp r10d, 0xa
jae 0x14003d02f
mov eax, r10d
sub eax, 1
movsxd rcx, eax
js 0x140022064
cmp dword [rbp + rcx*4 - 0x5c], edx
je 0x140021be1
sub rcx, 1
jns 0x140022054
cmp r10d, 0xa
ja 0x14003d039
jae 0x14003d05d
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 0x140021be1
cmp esi, 0xa
jae 0x14003ce3a
mov eax, esi
sub eax, 1
movsxd rcx, eax
js 0x1400220bf
cmp dword [rbp + rcx*4 + 0x64], r15d
je 0x140021b6d
sub rcx, 1
jns 0x1400220ae
cmp esi, 0xa
ja 0x14003ce44
jb 0x140021b57
jmp 0x14003ce66
cmp r13d, 0xa
jae 0x14003ca6e
mov eax, r13d
sub eax, 1
movsxd rcx, eax
js 0x1400220f9
cmp dword [rbp + rcx*4 + 0x24], r15d
je 0x1400219ac
sub rcx, 1
jns 0x1400220e8
cmp r13d, 0xa
ja 0x14003ca78
jb 0x140021b10
jmp 0x14003ca9c
test r15d, r15d
je 0x140021d2b
mov r14, qword [rsp + 0x38]
jmp 0x140021da5
cmp edx, 0xa
jae 0x14003cc44
mov eax, edx
sub eax, 1
movsxd rcx, eax
js 0x140022145
cmp dword [rbp + rcx*4 - 0x1c], r12d
je 0x140021a4d
sub rcx, 1
jns 0x140022134
cmp edx, 0xa
ja 0x14003cc4e
jb 0x140022014
jmp 0x14003cc74
cmp r10d, 0xa
jae 0x14003cd3c
mov eax, r10d
sub eax, 1
movsxd rcx, eax
js 0x14002217f
cmp dword [rbp + rcx*4 - 0x5c], r14d
je 0x140021c32
sub rcx, 1
jns 0x14002216e
cmp r10d, 0xa
ja 0x14003cd46
jb 0x140021ae9
jmp 0x14003cd6e
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.0x140024555.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.0x140024555.0]
nop
mov edi, dword [r14 + 0x44]
jmp 0x140021d3f
cmp edx, r15d
jne 0x1400218aa
movzx eax, dil
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14002a3f0
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 0x1400218a5
mov edx, 6
movzx r8d, dx
mov r9d, r15d
jmp 0x1400218a5
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 0x140021e4e
xor al, al
jmp 0x140022231
mov eax, 0xa
jmp 0x1400220e0
lea eax, [r13 - 0xb]
movsxd rcx, eax
test eax, eax
js 0x14003ca93
cmp dword [r8 + rcx*4], r15d
je 0x1400219ac
sub rcx, 1
jns 0x14003ca83
cmp r13d, 0xa
jmp 0x140022103
cmp r12d, edi
jb 0x14003cafe
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.0x140024555.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.0x140024555.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 0x140021b27
lea eax, [r13 - 0xb]
mov ebx, dword [rbx + rax*4]
jmp 0x1400219e6
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.0x140024555.0]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x14003cb83
mov qword [rax], r14
lea rdi, [rax + 8]
lea rax, [0x1400225e0]
mov qword [rsp + 0x20], rax
lea r9, [0x140022350]
mov r8d, r14d
mov edx, 0x28
mov rcx, rdi
call fcn.14002aab8
jmp 0x14003cb86
mov rdi, r15
mov r8d, r15d
mov r14, qword [rsp + 0x38]
mov r9d, 1
cmp dword [r14 + 0x20], 0
jbe 0x14003cbf8
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 0x14003cb9b
cmp r8d, esi
jae 0x14003cc1b
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 0x14003cc08
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x14003cc2f
call fcn.14004ed50
mov r9d, 1
mov qword [r14 + 0x28], rdi
mov dword [r14 + 0x20], esi
jmp 0x1400219fa
mov ecx, r9d
jmp 0x140021a1a
mov eax, 0xa
jmp 0x14002212c
lea eax, [rdx - 0xb]
movsxd rcx, eax
test eax, eax
js 0x14003cc6c
mov rax, qword [rbp + 0x10]
cmp dword [rax + rcx*4], r12d
je 0x140021a4d
sub rcx, 1
jns 0x14003cc5c
cmp edx, 0xa
jmp 0x14002214e
cmp r15d, r13d
jb 0x14003ccda
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.0x140024555.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.0x140024555.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 0x140022024
mov rax, qword [r15 + 0x18]
lea rcx, [rax + rbx*8]
mov eax, dword [rcx]
cmp eax, esi
je 0x14003cd0c
cmp eax, 1
jne 0x14003cd18
lea eax, [rsi - 5]
cmp eax, 1
jbe 0x14003cd18
mov edx, dword [rcx + 4]
lea rcx, [rbp - 0x20]
call fcn.140099394
sub rbx, 1
jns 0x14003ccf1
mov eax, dword [rbp - 0x20]
mov dword [rsp + 0x30], eax
jmp 0x140021a7e
add eax, 0xfffffff5
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov r14d, dword [rax + rcx*4]
jmp 0x140021aaf
mov eax, 0xa
jmp 0x140022166
lea eax, [r10 - 0xb]
movsxd rcx, eax
test eax, eax
js 0x14003cd65
mov r15, qword [rbp - 0x30]
cmp dword [r15 + rcx*4], r14d
je 0x140021c36
sub rcx, 1
jns 0x14003cd55
cmp r10d, 0xa
jmp 0x140022189
mov r15d, dword [rbp - 0x24]
mov eax, dword [rbp - 0x28]
cmp r15d, eax
jb 0x14003cddf
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.0x140024555.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.0x140024555.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 0x140021af2
lea eax, [r14 - 0xb]
mov r8d, dword [r15 + rax*4]
jmp 0x140021fc7
mov eax, 0xa
jmp 0x140021fda
lea eax, [rsi - 0xb]
movsxd rcx, eax
test eax, eax
js 0x140021b3c
cmp dword [r12 + rcx*4], r8d
je 0x140021c1f
sub rcx, 1
jns 0x14003ce18
jmp 0x140021b3c
lea eax, [r14 - 0xb]
mov r15d, dword [r15 + rax*4]
jmp 0x140021b4f
mov eax, 0xa
jmp 0x1400220a6
lea eax, [rsi - 0xb]
movsxd rcx, eax
test eax, eax
js 0x14003ce5e
cmp dword [r12 + rcx*4], r15d
je 0x140021b6d
sub rcx, 1
jns 0x14003ce4e
cmp esi, 0xa
jmp 0x1400220c8
cmp r13d, r9d
jb 0x14003ced9
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.0x140024555.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.0x140024555.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 0x140021b68
lea ecx, [r14 - 0xb]
mov rax, qword [rbp - 0x30]
mov ebx, dword [rax + rcx*4]
jmp 0x140021b7f
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.0x140024555.0]
mov qword [rbp - 0x78], rax
test rax, rax
je 0x14003cf66
mov qword [rax], r15
lea rdi, [rax + 8]
lea rax, [0x1400225e0]
mov qword [rsp + 0x20], rax
lea r9, [0x140022350]
mov r8d, r15d
mov edx, 0x28
mov rcx, rdi
call fcn.14002aab8
jmp 0x14003cf68
xor edi, edi
xor r8d, r8d
lea r11d, [r8 + 1]
cmp dword [r13 + 0x20], r8d
jbe 0x14003cfd7
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 0x14003cf75
cmp r8d, r12d
jae 0x14003cffa
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 0x14003cfe4
mov rcx, qword [r13 + 0x28]
test rcx, rcx
je 0x14003d00e
call fcn.14004ed50
mov r11d, 1
mov qword [r13 + 0x28], rdi
mov dword [r13 + 0x20], r12d
mov r9d, dword [rbp + 0x98]
mov r10d, dword [rsp + 0x34]
jmp 0x140021b98
mov ecx, r11d
jmp 0x140021bb8
mov eax, 0xa
jmp 0x14002204c
lea eax, [r10 - 0xb]
movsxd rcx, eax
test eax, eax
js 0x14003d054
cmp dword [r14 + rcx*4], edx
je 0x140021be1
sub rcx, 1
jns 0x14003d044
cmp r10d, 0xa
jmp 0x14002206e
cmp r13d, esi
jb 0x14003d0c6
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.0x140024555.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.0x140024555.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 0x14002208a
mov rax, qword [r13 + 0x18]
cmp dword [rax + rbx*8], 5
jne 0x14003d0f0
mov edx, dword [rax + rbx*8 + 4]
lea rcx, [rbp - 0x60]
call fcn.140099394
sub rbx, 1
jns 0x14003d0d9
mov r10d, dword [rbp - 0x60]
mov dword [rsp + 0x34], r10d
mov r9d, dword [rbp + 0x98]
jmp 0x140021c0f
lea eax, [r9 - 0xb]
mov eax, dword [r14 + rax*4]
jmp 0x140021cb0
lea eax, [r9 - 0xb]
mov eax, dword [r14 + rax*4]
jmp 0x140021d7a
lea eax, [r13 - 0xb]
mov ebx, dword [r15 + rax*4]
jmp 0x140021de3
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.0x140024555.0]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14003d19b
mov qword [rax], r14
lea rdi, [rax + 8]
lea rax, [0x1400225e0]
mov qword [rsp + 0x20], rax
lea r9, [0x140022350]
mov r8d, r14d
mov edx, 0x28
mov rcx, rdi
call fcn.14002aab8
xor r9d, r9d
jmp 0x14003d1a1
xor r9d, r9d
mov edi, r9d
mov r8d, r9d
mov r14, qword [rsp + 0x38]
cmp dword [r14 + 0x20], 0
jbe 0x14003d213
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 0x14003d1b6
cmp r8d, esi
jae 0x14003d236
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 0x14003d223
mov rcx, qword [r14 + 0x28]
test rcx, rcx
je 0x14003d244
call fcn.14004ed50
mov qword [r14 + 0x28], rdi
mov dword [r14 + 0x20], esi
jmp 0x140021ded
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.0x140024555.0]
mov qword [rbx + 0x50], rax
mov ecx, dword [rbx + 0x4c]
inc ecx
mov rax, qword [0x14009e358]
call qword [case.0x140024555.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 0x14003d36f
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 0x14003d350
mov rcx, qword [rsp + 0x60]
mov rax, qword [0x14009e368]
call qword [case.0x140024555.0]
nop
mov rcx, rsi
mov rax, qword [0x14009e368]
call qword [case.0x140024555.0]
nop
jmp 0x140021e15
lea eax, [rdx + 1]
cmp eax, ebx
cmovb edx, eax
jmp 0x140021f94
mov rcx, qword [rbp + 0xe8]
mov r9d, 0x80041607
lea r8, str.onecoreuap_base_appmodel_searchcommon_regex_fa.cxx
mov edx, 0x2c9
call fcn.140058954
int3