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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x428
xorpd xmm0, xmm0
mov rbx, rcx
mov rsi, rdx
lea rcx, [rax - 0x180]
xor edx, edx
mov r8d, 0xf0
movsd qword [rax - 0x188], xmm0
mov edi, 1
call fcn.1400dd9e0
lea r12, [0x140118f08]
mov r15d, 6
lea rcx, [rsp + 0x208]
xor ebp, ebp
mov rdx, rbx
lea r13d, [r15 + 0x1a]
lea r14d, [r15 + 3]
mov byte [rsp + 0x128], bpl
call fcn.140064d14
mov r11, qword [rsp + 0x208]
mov qword [rsp + 0x80], r11
add r11, 0xc
mov qword [rsp + 0x70], r11
jmp 0x1400cb859
cmp r14w, ax
ja 0x1400cb84f
cmp ax, 0xd
jbe 0x1400cb86a
cmp r13w, ax
je 0x1400cb86a
add r11, 2
mov qword [rsp + 0xb0], r11
movzx eax, word [r11]
cmp ax, bp
jne 0x1400cb843
lea rcx, [rsp + 0x168]
mov qword [rsp + 0x168], r11
call fcn.140052130
mov rax, qword [rsp + 0x70]
mov ecx, 0x2a
cmp cx, word [rax]
lea rcx, [rsp + 0x480]
sete r13b
call fcn.140059b58
mov rdx, qword [rsp + 0x168]
lea rcx, [0x1401072a4]
mov r8d, r15d
call fcn.140053618
mov rcx, r12
cmp al, bpl
jne 0x1400cdd57
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
add dword [0x140118fb8], edi
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea rcx, [rsp + 0x480]
xor edx, edx
call fcn.14001a380
lea rcx, [rsp + 0x480]
call fcn.14001a370
mov ecx, ebp
mov dword [rsp + 0x148], ebp
cmp eax, ebp
mov dword [rsp + 0x190], ebp
sete cl
cmp dword [0x1401157dc], ebp
mov dword [rsp + 0x138], ecx
jge 0x1400cb9e5
mov rax, qword [0x140117f58]
mov ecx, ebp
mov rdx, rbp
mov r8, rbp
mov qword [rsp + 0x220], rbp
mov dword [0x1401157dc], ecx
mov qword [rsp + 0x1e8], rdx
cmp rax, rbp
je 0x1400cb9bc
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x1e8]
call rax
mov r8, qword [rsp + 0x220]
mov rdx, qword [rsp + 0x1e8]
cmp r8, rbp
jbe 0x1400cb9b6
cmp rdx, 0x202
jb 0x1400cb982
mov eax, 0x38
mov ecx, eax
mov dword [0x1401157dc], eax
jmp 0x1400cb9bc
cmp rdx, 0x184
jb 0x1400cb992
mov ecx, 8
jmp 0x1400cb9a0
cmp rdx, 0x160
jb 0x1400cb9a8
mov ecx, 2
mov dword [0x1401157dc], ecx
jmp 0x1400cb9bc
mov ecx, dword [0x1401157dc]
cmp rdx, rbp
cmova ecx, edi
jmp 0x1400cb9a0
mov ecx, dword [0x1401157dc]
mov rax, qword [0x140117f58]
mov r9d, r8d
mov r8d, edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
lea rcx, [0x140117fa0]
lea rdx, [0x140107260]
call fcn.1400172b0
mov rdx, qword [rsp + 0x168]
lea rcx, [0x140102d8c]
mov r8d, 3
call fcn.140053618
mov ebx, ebp
lea rdx, [rsp + 0x168]
cmp al, bpl
mov eax, 0xfff00000
lea rcx, [0x140107250]
cmovne ebx, eax
mov r8d, 5
mov dword [rsp + 0x90], ebx
call fcn.14005c928
cmp al, bpl
je 0x1400cba37
mov r12b, 5
jmp 0x1400cba59
lea rdx, [rsp + 0x168]
lea rcx, [0x140107248]
mov r8d, r15d
call fcn.14005c928
movzx r12d, bpl
cmp al, bpl
cmovne r12d, r15d
lea rcx, [rsp + 0x100]
mov edx, 0x3e8
call fcn.14005a1c4
lea rcx, [rsp + 0xa8]
call fcn.14005a150
lea rcx, [rsp + 0x178]
call fcn.14005a150
lea rcx, [rsp + 0x78]
call fcn.14005a150
lea rcx, [rsp + 0xd8]
mov qword [rsp + 0xc8], rbp
call fcn.14005a150
lea rcx, [rsp + 0xb8]
call fcn.14005a150
lea rcx, [rsp + 0x88]
call fcn.14005a150
lea rcx, [rsp + 0xe8]
call fcn.14005a150
lea rcx, [rsp + 0x120]
call fcn.14005a150
lea rcx, [rsp + 0x98]
call fcn.14005a150
lea rcx, [rsp + 0xf8]
call fcn.14005a150
lea rcx, [rsp + 0xa0]
call fcn.14005a150
or qword [rsp + 0x1a8], 0xffffffffffffffff
or qword [rsp + 0x1b8], 0xffffffffffffffff
lea rax, [0x1400f9548]
lea rcx, [rsp + 0xf0]
mov r15d, ebp
mov edx, 0xc8
mov qword [rsp + 0x118], rbp
mov qword [rsp + 0x150], rbp
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x238], rax
mov r14, rbp
mov qword [rsp + 0x240], rbp
mov qword [rsp + 0x110], r15
call fcn.14005a1c4
mov rax, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0x168]
movzx ebx, word [rax]
mov qword [rsp + 0x250], rax
mov qword [rsp + 0xc0], rax
mov word [rsp + 0x488], bx
cmp r13b, bpl
je 0x1400cbd41
add qword [rsp + 0x70], 2
mov word [rax], bp
mov r8, qword [rsp + 0x70]
movzx eax, word [r8]
mov rdx, r8
cmp ax, bp
je 0x1400cbbca
mov ecx, 0x2a
cmp ax, cx
je 0x1400cbbca
add r8, 2
mov qword [rsp + 0x70], r8
mov ax, word [r8]
cmp ax, bp
jne 0x1400cbbb3
sub r8, rdx
lea rcx, [rsp + 0xa8]
sar r8, 1
call fcn.14005a3b8
mov r11, qword [rsp + 0xa8]
cmp word [r11], bp
je 0x1400cbbfd
lea rcx, [rsp + 0x100]
mov edx, 0x3e8
call fcn.14005a250
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
cmp bx, bp
je 0x1400cbc1e
add rax, 2
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0xc0]
call fcn.140052130
mov ebx, 1
lea rdi, [0x1400f9548]
mov esi, 0xfff00000
lea rdx, [rsp + 0xc0]
lea rcx, [0x140107240]
mov r8d, 4
call fcn.14005c9c4
cmp al, bpl
jne 0x1400cbc7a
lea rdx, [rsp + 0xc0]
lea rcx, [0x1400fcd7c]
mov r8d, 2
call fcn.14005c9c4
cmp al, bpl
je 0x1400cbc84
mov qword [rsp + 0x1b0], rdi
jmp 0x1400cbc3c
lea rdx, [rsp + 0xc0]
lea rcx, [0x14010327c]
mov r8d, 3
call fcn.14005c9c4
cmp al, bpl
je 0x1400cbcb4
lea rax, [0x140107238]
mov qword [rsp + 0x1b0], rax
jmp 0x1400cbc3c
lea rdx, [rsp + 0xc0]
lea rcx, [0x140107230]
mov r8d, 4
call fcn.14005c9c4
cmp al, bpl
je 0x1400cbcdb
mov r14, rbx
jmp 0x1400cbc3c
lea rdx, [rsp + 0xc0]
lea rcx, [0x140107228]
mov r8d, 4
call fcn.14005c9c4
cmp al, bpl
je 0x1400cbd06
mov dword [rsp + 0x90], ebx
jmp 0x1400cbc3c
lea rdx, [rsp + 0xc0]
lea rcx, [0x140107220]
mov r8d, 5
call fcn.14005c9c4
cmp al, bpl
je 0x1400cbd31
mov dword [rsp + 0x90], esi
jmp 0x1400cbc3c
mov rdi, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0x478]
lea r8, [0x140107210]
lea rdx, [0x140106508]
mov rcx, rsi
call fcn.1400596c4
mov r11, qword [rsp + 0xa8]
or rax, 0xffffffffffffffff
lea rcx, [rsp + 0xc8]
mov r9, rax
mov r8, rax
cmp word [r11], bp
je 0x1400cbdae
lea rdx, [0x14010720c]
call fcn.14005a30c
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0xc8]
call fcn.14005a28c
lea rdx, [0x1401071f8]
lea rcx, [rsp + 0xc8]
call fcn.14005a28c
jmp 0x1400cbdba
lea rdx, [0x1401071e8]
call fcn.14005a30c
lea rcx, [0x1401071d8]
mov r8d, 9
mov rdx, rdi
call fcn.140053618
lea rcx, [0x1401071d4]
mov r8d, 2
mov rdx, rdi
mov bl, al
call fcn.140053618
lea rcx, [0x1401071d0]
mov r8d, 2
mov rdx, rdi
mov sil, al
call fcn.140053618
lea rcx, [0x140102d8c]
mov r8d, 3
mov rdx, rdi
mov bpl, al
call fcn.140053618
xor edi, edi
cmp bl, dil
jne 0x1400cbe34
cmp sil, dil
jne 0x1400cbe34
cmp bpl, dil
jne 0x1400cbe34
cmp al, dil
jne 0x1400cbe34
lea ebp, [rdi + 1]
mov cl, bpl
jmp 0x1400cbe3c
mov cl, dil
mov ebp, 1
mov esi, dword [rsp + 0x138]
cmp esi, edi
jne 0x1400cbe56
mov eax, dword [0x1401157dc]
cmp eax, edi
jle 0x1400cbe56
cmp eax, 2
jge 0x1400cbe60
cmp cl, dil
jne 0x1400cbe6a
cmp r12b, dil
jne 0x1400cbe6a
cmp r12b, 6
jl 0x1400cc0e3
lea rbx, [0x1401071c8]
cmp esi, edi
jne 0x1400cbee1
lea rcx, [rsp + 0x200]
call fcn.14005a150
lea rax, [0x1401071c0]
lea r8, [rsp + 0x200]
lea rdx, [rsp + 0x268]
mov ecx, 2
mov qword [rsp + 0x268], rax
mov qword [rsp + 0x270], rax
call fcn.1400362b0
mov r11, qword [rsp + 0x200]
cmp word [r11], di
je 0x1400cbed4
cmp word [r11 + 2], di
lea rax, [0x1401071b8]
cmove rax, rbx
mov rbx, rax
lea rcx, [rsp + 0x200]
call fcn.140052160
lea rbp, [0x140118f08]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
dec dword [0x140118fb8]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov r11d, dword [0x140118fb8]
xor ebp, ebp
cmp r11d, edi
mov rdi, qword [rsp + 0x478]
jle 0x1400cbf62
lea r15d, [rbp + 1]
lea rcx, [0x140118f08]
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, rdi
call fcn.14001d848
lea rcx, [0x140118f08]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov r11d, dword [0x140118fb8]
cmp r11d, ebp
jg 0x1400cbf23
mov r15, qword [rsp + 0x110]
lea rcx, [rsp + 0x480]
or edx, 0xffffffff
call fcn.14001a380
lea rcx, [0x140118f08]
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
movsx r11d, r12b
mov eax, 0x20
add r11w, 0x30
lea rcx, [rsp + 0x480]
or edx, 0xffffffff
mov word [rsp + 0x1a2], ax
mov word [rsp + 0x1a4], bp
mov word [rsp + 0x1a0], r11w
call fcn.14001a380
lea rdx, [0x1401071a0]
lea rcx, [rsp + 0x130]
call fcn.140064d14
lea rax, [0x1401071b8]
lea rdx, [0x1401071c8]
cmp esi, ebp
lea rcx, [rsp + 0x130]
cmovne rdx, rax
call fcn.14005a28c
lea rcx, [rsp + 0x130]
mov rdx, rbx
call fcn.14005a28c
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x130]
call fcn.14005a28c
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x130]
call fcn.14005a28c
mov r8, qword [rsp + 0x130]
lea rdx, [0x140107178]
lea rcx, [0x140117fa0]
call fcn.1400172b0
mov rdx, qword [rsp + 0x130]
mov rcx, rdi
call fcn.140045210
lea r12, [0x140118f08]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ebp, 1
mov rcx, r12
add dword [0x140118fb8], ebp
mov dword [0x1401157dc], 0xffffffc0
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea rcx, [rsp + 0x480]
xor edx, edx
call fcn.14001a380
lea rcx, [rsp + 0x480]
call fcn.14001a370
xor edi, edi
mov rcx, r12
cmp eax, edi
mov esi, edi
sete sil
mov dword [rsp + 0x138], esi
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov r11d, dword [0x1401157dc]
lea eax, [rbp + 0x37]
cmp esi, edi
mov rcx, r12
cmove r11d, eax
mov dword [0x1401157dc], r11d
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea rcx, [rsp + 0x130]
call fcn.140052160
jmp 0x1400cc0ea
lea r12, [0x140118f08]
cmp r13b, dil
je 0x1400ccdaf
mov rax, qword [rsp + 0xc0]
xor r13d, r13d
mov qword [rsp + 0x170], rax
cmp word [rax], r13w
je 0x1400cc19b
lea ebx, [r13 + 0x20]
lea rdx, [rsp + 0x170]
lea rcx, [0x1400fcd7c]
mov r8d, 2
call fcn.14005c928
cmp al, r13b
jne 0x1400cc18b
mov rcx, qword [rsp + 0x170]
movzx eax, word [rcx]
cmp ax, r13w
je 0x1400cc16e
mov edx, 9
cmp dx, ax
ja 0x1400cc154
cmp ax, 0xd
jbe 0x1400cc16e
cmp bx, ax
je 0x1400cc16e
add rcx, 2
mov qword [rsp + 0x170], rcx
mov ax, word [rcx]
cmp ax, r13w
jne 0x1400cc149
lea rcx, [rsp + 0x170]
call fcn.140052130
mov r11, qword [rsp + 0x170]
cmp word [r11], r13w
jne 0x1400cc114
jmp 0x1400cc19b
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x70]
mov edi, 0x2a
cmp di, word [rax]
jne 0x1400ccd93
add rax, 2
mov qword [rsp + 0x1f0], r13
mov qword [rsp + 0x1c8], r13
mov qword [rsp + 0x70], rax
cmp word [rax], 0x40
mov bl, r13b
jne 0x1400cc1dc
add rax, 2
mov bl, bpl
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x70]
call fcn.140060258
mov r11, qword [rsp + 0x70]
cmp word [r11], r13w
je 0x1400cc202
add r11, 2
mov qword [rsp + 0x70], r11
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x70]
call fcn.140060258
mov r11, qword [rsp + 0x70]
cmp word [r11], r13w
je 0x1400cc228
add r11, 2
mov qword [rsp + 0x70], r11
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x70]
call fcn.140060258
mov r11, qword [rsp + 0x70]
cmp word [r11], r13w
je 0x1400cc24e
add r11, 2
mov qword [rsp + 0x70], r11
mov r12b, byte [rsp + 0x150]
lea rcx, [rsp + 0x70]
mov edx, edi
and r12b, bpl
call fcn.1400cb7a8
mov r8, qword [rsp + 0x70]
sub r8, r11
lea rcx, [rsp + 0xa0]
mov rdx, r11
sar r8, 1
call fcn.14005a3b8
mov r11, qword [rsp + 0x70]
cmp word [r11], r13w
je 0x1400cc294
add r11, 2
mov qword [rsp + 0x70], r11
lea rcx, [rsp + 0x70]
mov edx, edi
call fcn.1400cb7a8
mov r8, qword [rsp + 0x70]
lea rcx, [rsp + 0x98]
sub r8, r11
mov rdx, r11
sar r8, 1
call fcn.14005a3b8
mov r11, qword [rsp + 0x70]
cmp word [r11], r13w
je 0x1400cc2cf
add r11, 2
mov qword [rsp + 0x70], r11
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x70]
call fcn.140060258
mov r11, qword [rsp + 0x70]
cmp word [r11], r13w
je 0x1400cc2f5
add r11, 2
mov qword [rsp + 0x70], r11
lea rcx, [rsp + 0x70]
mov edx, edi
call fcn.1400cb7a8
mov r8, qword [rsp + 0x70]
lea rcx, [rsp + 0xf8]
sub r8, r11
mov rdx, r11
sar r8, 1
call fcn.14005a3b8
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0x70]
call fcn.140060258
mov r11, qword [rsp + 0x70]
cmp word [r11], r13w
je 0x1400cc342
add r11, 2
mov qword [rsp + 0x70], r11
mov rax, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1b8]
mov qword [rsp + 0x228], rax
mov qword [rsp + 0x218], rcx
cmp bl, r13b
je 0x1400cc37a
add rcx, rax
mov qword [rsp + 0x228], r13
mov qword [rsp + 0x218], rcx
cmp qword [rsp + 0x1f0], r13
jle 0x1400cc39b
mov rax, qword [rsp + 0x1c8]
cmp rax, r13
cmovle rax, rbp
mov qword [rsp + 0x1c8], rax
lea rcx, [rsp + 0x198]
mov edx, 0x318
call fcn.14005a1c4
mov rbp, qword [rsp + 0x198]
mov esi, 0x1ff
lea rdi, [rbp + 0x6a]
mov rcx, rbp
mov qword [rsp + 0x1e0], rbp
lea rax, [rdi + 0x6a]
mov qword [rsp + 0x248], rdi
lea rbx, [rax + 0x6a]
mov qword [rsp + 0x258], rax
mov word [rbx], r13w
mov word [rax], r13w
mov rax, qword [rsp + 0x1a8]
cqo
lea r14, [rbx + 0x6a]
and rdx, rsi
add rax, rdx
sar rax, 9
mov rdx, rax
mov qword [rsp + 0x1a8], rax
call fcn.1400c90d4
mov rax, qword [rsp + 0x1b8]
mov rcx, rdi
cqo
and rdx, rsi
add rax, rdx
sar rax, 9
mov rdx, rax
mov qword [rsp + 0x1b8], rax
call fcn.1400c90d4
mov word [rbx], r13w
mov rdx, qword [rsp + 0x1f0]
cmp rdx, r13
jle 0x1400cc451
mov rcx, rbx
call fcn.1400c90d4
mov rax, qword [rsp + 0xb0]
cmp word [rsp + 0x488], r13w
mov rcx, r13
setne cl
lea rcx, [rax + rcx*2]
mov qword [rsp + 0xd0], rcx
lea rcx, [rsp + 0xd0]
call fcn.140052130
mov rdx, qword [rsp + 0xd0]
lea rcx, [0x14010716c]
mov r8d, 4
mov dword [rsp + 0x194], r13d
call fcn.140053674
cmp al, r13b
je 0x1400cc4c6
add qword [rsp + 0xd0], 8
lea rdx, [rsp + 0x194]
lea rcx, [rsp + 0xd0]
call fcn.140068da0
lea rdx, [rsp + 0xd0]
lea rcx, [0x140107168]
or r8d, 0xffffffff
call fcn.14005c928
mov r11d, dword [0x1401157dc]
mov edx, 1
cmp r11d, edx
jl 0x1400cc508
mov eax, dword [rsp + 0x90]
mov ecx, 0xfff00000
cmp eax, r13d
cmove eax, ecx
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0xd0]
lea r8, [0x1400f9548]
mov sil, r13b
mov qword [rsp + 0x140], rax
mov dil, r13b
mov ebx, r13d
mov r15, r8
cmp word [rax], r13w
je 0x1400cc628
mov rbp, rdx
lea rdx, [rsp + 0x140]
lea rcx, [0x140103750]
mov r8d, 2
call fcn.14005c928
cmp al, r13b
je 0x1400cc55e
mov ebx, ebp
jmp 0x1400cc5fb
cmp ebx, r13d
je 0x1400cc5ab
lea rdx, [rsp + 0x140]
lea rcx, [0x140107164]
mov r8d, 2
call fcn.14005c928
cmp al, r13b
je 0x1400cc587
mov sil, bpl
jmp 0x1400cc5fb
lea rdx, [rsp + 0x140]
lea rcx, [0x140107160]
mov r8d, 3
call fcn.14005c928
cmp al, r13b
je 0x1400cc5ab
mov dil, bpl
jmp 0x1400cc5fb
mov rcx, qword [rsp + 0x140]
movzx eax, word [rcx]
cmp ax, r13w
je 0x1400cc5eb
mov edx, 0x20
lea r8d, [rdx - 0x17]
cmp r8w, ax
ja 0x1400cc5d1
cmp ax, 0xd
jbe 0x1400cc5eb
cmp dx, ax
je 0x1400cc5eb
add rcx, 2
mov qword [rsp + 0x140], rcx
mov ax, word [rcx]
cmp ax, r13w
jne 0x1400cc5c5
lea rcx, [rsp + 0x140]
call fcn.140052130
mov ebx, r13d
mov rax, qword [rsp + 0x140]
cmp word [rax], r13w
jne 0x1400cc538
mov rbp, qword [rsp + 0x1e0]
mov r11d, dword [0x1401157dc]
mov edx, 1
lea r8, [0x1400f9548]
test r11b, 0x10
je 0x1400cc63f
lea rax, [0x140107150]
cmp dil, r13b
cmovne rax, r15
mov r15, rax
mov ecx, r11d
lea r13, [0x140107138]
mov al, 1
and ecx, 0x20
movzx eax, al
cmove r13, r8
xor ebx, ebx
cmp ecx, ebx
cmovne eax, ebx
bt qword [rsp + 0x150], 9
jb 0x1400cc681
cmp ecx, ebx
jne 0x1400cc681
cmp r12b, bl
je 0x1400cc683
bt qword [rsp + 0x150], 8
jae 0x1400cc683
mov al, dl
jmp 0x1400cc683
mov al, bl
cmp r11d, 8
jl 0x1400cc862
cmp r12b, bl
je 0x1400cc69a
cmp al, bl
jne 0x1400cc862
mov rdi, r8
cmp r12b, bl
jne 0x1400cc6b0
cmp sil, bl
jne 0x1400cc6c6
lea rdi, [0x140107128]
jmp 0x1400cc6c6
mov eax, dword [rsp + 0x128]
cmp ecx, ebx
movzx eax, al
cmove eax, edx
mov dword [rsp + 0x128], eax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
mov rcx, qword [rsp + 0xb0]
movsxd rbx, eax
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
movsxd rcx, eax
lea rdx, [rcx + rbx + 0x800]
lea rcx, [rsp + 0x78]
call fcn.14005a250
mov r11, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x38], r11
lea rax, [rbp + 0x6a]
lea rdx, [0x1401070d0]
mov qword [rsp + 0x30], rax
mov r9, r15
mov r8, rdi
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r13
call qword [sym.imp.USER32.DLL_wsprintfW]
mov rdx, qword [rsp + 0xd0]
xor r13d, r13d
mov qword [rsp + 0xe0], rdx
cmp word [rdx], r13w
je 0x1400cc841
lea rdx, [rsp + 0xe0]
lea rcx, [0x1401070c8]
mov r8d, 2
call fcn.1400535a4
cmp al, r13b
jne 0x1400cc7cf
lea rdx, [rsp + 0xe0]
lea rcx, [0x1401070c0]
mov r8d, 2
call fcn.1400535a4
cmp al, r13b
jne 0x1400cc7cf
mov rcx, qword [rsp + 0xe0]
movzx eax, word [rcx]
cmp ax, r13w
je 0x1400cc81a
mov edx, 0x20
lea r8d, [rdx - 0x17]
cmp r8w, ax
ja 0x1400cc7b3
cmp ax, 0xd
jbe 0x1400cc81a
cmp dx, ax
je 0x1400cc81a
add rcx, 2
mov qword [rsp + 0xe0], rcx
mov ax, word [rcx]
cmp ax, r13w
jne 0x1400cc7a7
jmp 0x1400cc81a
mov rax, qword [rsp + 0xe0]
movzx ecx, word [rax]
cmp cx, r13w
je 0x1400cc81a
mov edx, 0x20
lea r8d, [rdx - 0x17]
cmp r8w, cx
ja 0x1400cc7f5
cmp cx, 0xd
jbe 0x1400cc81a
cmp dx, cx
je 0x1400cc81a
mov word [rax], dx
mov rax, qword [rsp + 0xe0]
add rax, 2
mov qword [rsp + 0xe0], rax
mov cx, word [rax]
cmp cx, r13w
jne 0x1400cc7e9
lea rcx, [rsp + 0xe0]
call fcn.140052130
mov rax, qword [rsp + 0xe0]
cmp word [rax], r13w
jne 0x1400cc74f
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x78]
call fcn.14005a28c
mov r11, qword [rsp + 0x78]
mov ebp, 1
mov qword [rsp + 0x80], r11
jmp 0x1400ccd67
cmp r12b, bl
je 0x1400cc8b0
mov rcx, qword [rsp + 0xa0]
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea r8d, [r9 + 7]
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0xa0000080
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x1400cd7c5
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea r8, [0x1400f9548]
mov rdx, qword [rsp + 0x1c8]
cmp r12b, bl
lea rbp, [0x1401070b8]
cmovne rbp, r8
cmp rdx, rbx
jle 0x1400cc8d8
mov rcx, qword [rsp + 0x258]
call fcn.1400c90d4
mov rcx, qword [rsp + 0xa0]
xor edx, edx
lea r8d, [rdx + 0x5c]
call qword [sym.imp.SHLWAPI.DLL_StrRChrW]
mov rdi, rax
cmp rax, rbx
jne 0x1400cc8fe
mov rdi, qword [rsp + 0xa0]
jmp 0x1400cc902
add rdi, 2
mov rcx, qword [rsp + 0x98]
cmp word [rcx], bx
jne 0x1400cc964
lea rcx, [rsp + 0x98]
mov edx, 0x800
call fcn.14005a250
mov rbx, qword [rsp + 0x98]
call fcn.140054c4c
mov r9, qword [rsp + 0x1e0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x248]
lea rdx, [0x1401070a0]
mov r8, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.DLL_wsprintfW]
mov rcx, qword [rsp + 0x98]
xor ebx, ebx
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
mov esi, eax
mov eax, 0x400
cmp esi, eax
jle 0x1400cc986
mov esi, eax
mov rax, qword [rsp + 0x98]
mov word [rax + 0x800], bx
lea rdx, [0x140107090]
lea rcx, [rsp + 0xf0]
call fcn.140064e2c
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xf0]
call fcn.14005a28c
lea rdx, [0x140107078]
lea rcx, [rsp + 0xf0]
call fcn.14005a28c
mov word [r14], bx
mov rax, qword [rsp + 0x150]
mov ecx, 0x30
mov word [rsp + 0x2a0], bx
test cl, al
jne 0x1400cc9f1
cmp r12b, bl
je 0x1400ccad7
test al, 0x40
jne 0x1400ccad7
lea rdx, [0x140107068]
mov r8d, 0x10
mov rcx, r14
call fcn.14001b7a8
mov edi, 0x104
lea rdx, [r14 + 0x27e]
mov r8d, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea rdx, [r14 + 0xe]
lea rcx, [r14 + 0x27e]
mov r8d, edi
call qword [sym.imp.KERNEL32.DLL_GetShortPathNameW]
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
mov r8, qword [rsp + 0x238]
mov r9d, 0x22
movzx ecx, word [r8]
xor edx, edx
mov rdi, r8
cmp r9w, cx
jne 0x1400cca71
add r8, 2
jmp 0x1400cca67
cmp r9w, cx
je 0x1400cca9c
add rdi, 2
movzx ecx, word [rdi]
cmp cx, dx
jne 0x1400cca5d
jmp 0x1400cca9c
cmp cx, dx
je 0x1400cca9c
mov ebx, 0x20
lea r9d, [rbx - 0x17]
cmp r9w, cx
ja 0x1400cca8b
cmp cx, 0xd
jbe 0x1400cca9c
cmp bx, cx
je 0x1400cca9c
add rdi, 2
mov cx, word [rdi]
cmp cx, dx
jne 0x1400cca7f
movzx ebx, word [rdi]
mov word [rdi], dx
mov ecx, 0x20
test byte [rsp + 0x150], cl
lea rcx, [0x140107040]
cdqe
lea rdx, [0x140107008]
cmovne rdx, rcx
lea rcx, [r14 + rax*2]
call qword [sym.imp.USER32.DLL_wsprintfW]
mov word [rdi], bx
mov rax, qword [rsp + 0x150]
sar rax, 1
and eax, 3
je 0x1400ccaf7
lea rdx, [0x140106ff8]
lea rcx, [rsp + 0x2a0]
mov r8d, eax
call qword [sym.imp.USER32.DLL_wsprintfW]
mov rax, qword [rsp + 0x228]
mov rdi, qword [rsp + 0x1e0]
mov ebx, 0x1ff
cqo
mov rcx, rdi
and rdx, rbx
add rdx, rax
sar rdx, 9
call fcn.1400c90d4
mov rax, qword [rsp + 0x218]
lea r12, [rdi + 0x6a]
cqo
mov rcx, r12
and rdx, rbx
add rdx, rax
sar rdx, 9
call fcn.1400c90d4
mov rcx, qword [rsp + 0x478]
lea r8, [0x1400fd8a8]
lea rdx, [0x140106fd8]
call fcn.1400596c4
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
mov rcx, qword [rsp + 0xa0]
movsxd rbx, eax
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
movsxd rdx, esi
movsxd rcx, eax
lea rax, [rbx + rcx]
lea rcx, [rsp + 0x188]
lea rdx, [rdx + rax + 0x940]
call fcn.14005a1c4
lea rdx, [0x140107090]
lea rcx, [rsp + 0x1d0]
call fcn.140064d14
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x1d0]
call fcn.14005a28c
mov r8, qword [rsp + 0x1d0]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.DLL_OpenFileMappingW]
test rax, rax
jne 0x1400cd815
lea rcx, [rsp + 0x1d0]
call fcn.140052160
mov r8, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x188]
lea rax, [r12 + 0x6a]
lea rdx, [0x140106f00]
mov r9, r14
lea r11, [rax + 0x6a]
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.DLL_wsprintfW]
lea r11d, [rsi + 0x800]
lea rcx, [rsp + 0x78]
movsxd rdx, r11d
call fcn.14005a250
xor esi, esi
lea r8, [0x1400f9548]
mov word [rdi], si
mov word [r12], si
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rdx, [0x140106ea0]
mov r9, r15
mov qword [rsp + 0x20], r13
call qword [sym.imp.USER32.DLL_wsprintfW]
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x78]
call fcn.14005a28c
mov r11, qword [rsp + 0x78]
mov r9, qword [rsp + 0xf0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x80], r11
call qword [sym.imp.KERNEL32.DLL_CreateEventW]
mov r13, qword [rsp + 0x478]
mov rdx, qword [rsp + 0x188]
mov rcx, r13
xor r9d, r9d
xor r8d, r8d
mov rdi, rax
mov qword [rsp + 0x20], rsi
call fcn.1400422a0
mov edx, 0xea60
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp ebx, esi
jne 0x1400cd7f1
lea ebx, [rsi + 0x31]
lea ebp, [rsi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_Sleep]
sub ebx, ebp
jns 0x1400ccd2e
movsxd rax, dword [rsp + 0x194]
cmp eax, esi
jle 0x1400ccd57
mov rdx, rax
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call fcn.14001d848
lea rcx, [rsp + 0x188]
call fcn.140052160
xor r13d, r13d
mov rax, qword [rsp + 0xd0]
lea rcx, [rsp + 0x198]
mov r14, rbp
mov qword [rsp + 0xb0], rax
mov word [rax], r13w
call fcn.140052160
mov r15, qword [rsp + 0x110]
mov rax, qword [rsp + 0x250]
mov cx, word [rsp + 0x488]
or rsi, 0xffffffffffffffff
mov word [rax], cx
jmp 0x1400cd3b5
mov esi, 4
lea rdx, [rsp + 0xb0]
lea rcx, [0x140107228]
mov r8d, esi
call fcn.14005c928
mov ebx, dword [rsp + 0x90]
xor r13d, r13d
cmp al, r13b
lea r8d, [rsi + 1]
lea rdx, [rsp + 0xb0]
lea rcx, [0x140107220]
cmovne ebx, ebp
call fcn.14005c928
mov edi, 0xfff00000
lea rdx, [rsp + 0xb0]
cmp al, r13b
lea rcx, [0x140106e90]
cmovne ebx, edi
mov dword [rsp + 0x90], ebx
lea ebx, [rsi + 2]
mov r8d, ebx
call fcn.14005c928
cmp al, r13b
je 0x1400cce32
mov dword [rsp + 0x90], edi
mov dword [rsp + 0x190], ebp
mov edi, 0x2c
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x80]
mov r8d, edi
call fcn.14005dc90
mov rax, qword [rsp + 0xd8]
mov word [rax], r13w
mov rax, qword [rsp + 0x80]
cmp word [rax], r13w
je 0x1400ccf97
add rax, 2
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x80]
mov r8d, edi
mov qword [rsp + 0x80], rax
call fcn.14005dc90
mov r11, qword [rsp + 0x80]
cmp word [r11], r13w
je 0x1400ccf97
add r11, 2
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x80]
mov r8d, edi
mov qword [rsp + 0x80], r11
call fcn.14005dc90
mov r11, qword [rsp + 0x80]
cmp word [r11], r13w
je 0x1400ccf97
add r11, 2
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x80]
mov r8d, edi
mov qword [rsp + 0x80], r11
call fcn.14005dc90
mov r11, qword [rsp + 0x80]
cmp word [r11], r13w
je 0x1400ccf97
add r11, 2
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x80]
mov r8d, edi
mov qword [rsp + 0x80], r11
call fcn.14005dc90
mov r11, qword [rsp + 0x80]
cmp word [r11], r13w
je 0x1400ccf97
add r11, 2
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x80]
mov r8d, edi
mov qword [rsp + 0x80], r11
call fcn.14005dc90
mov r11, qword [rsp + 0x80]
cmp word [r11], r13w
je 0x1400ccf97
add r11, 2
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x80]
mov r8d, edi
mov qword [rsp + 0x80], r11
call fcn.14005df68
lea rcx, [rsp + 0x88]
mov rdx, rbx
mov dil, r13b
call fcn.14005a250
mov rax, qword [rsp + 0x88]
mov r11d, 0x3a
mov word [rax + 2], r11w
mov rax, qword [rsp + 0x88]
mov word [rax + 4], r13w
mov rcx, qword [rsp + 0x88]
cmp word [rcx], r13w
je 0x1400cd071
call fcn.1400dce2c
cmp eax, r13d
je 0x1400cd063
lea rax, [0x140106e80]
lea rcx, [rsp + 0x210]
mov qword [rsp + 0x298], r13
mov qword [rsp + 0x278], rax
lea rax, [0x1401071c0]
mov qword [rsp + 0x280], rax
lea rax, [0x140106e78]
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x290], rax
call fcn.14005a150
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x278]
mov ecx, esi
call fcn.1400362b0
lea rcx, [rsp + 0x210]
cmp eax, r13d
sete dil
call fcn.140052160
mov rax, qword [rsp + 0x88]
cmp word [rax], r13w
jne 0x1400cd097
lea rdx, [0x1400fe9dc]
lea rcx, [rsp + 0x88]
call fcn.140064d94
mov r11, qword [rsp + 0x88]
cmp word [r11], r13w
je 0x1400cdc64
lea rcx, [rsp + 0x180]
mov edx, 0x3c
call fcn.14005a1c4
mov rax, qword [rsp + 0xd8]
or rsi, 0xffffffffffffffff
mov qword [rsp + 0x1d8], rsi
mov qword [rsp + 0x1f8], rsi
mov qword [rsp + 0x230], rsi
mov qword [rsp + 0x108], rax
mov rbx, rsi
cmp word [rax], r13w
je 0x1400cdb83
lea ebp, [rsi + 0x21]
lea rcx, [rsp + 0x108]
call fcn.140052130
mov r11, qword [rsp + 0x108]
mov ecx, 0x70
movzx eax, word [r11]
or ax, bp
cmp cx, ax
jne 0x1400cd115
lea rdx, [rsp + 0x1d8]
jmp 0x1400cd13b
mov ecx, 0x6c
cmp cx, ax
jne 0x1400cd129
lea rdx, [rsp + 0x1f8]
jmp 0x1400cd13b
mov ecx, 0x68
cmp cx, ax
jne 0x1400cd162
lea rdx, [rsp + 0x230]
add r11, 2
lea rcx, [rsp + 0x108]
mov qword [rsp + 0x108], r11
call fcn.140068cb4
mov rax, qword [rsp + 0x108]
cmp word [rax], r13w
jne 0x1400cd0e5
cmp qword [rsp + 0x1d8], r13
mov ebp, 1
jle 0x1400cd1a7
mov ecx, ebp
call fcn.14001c76c
mov r11, rax
movabs rax, 0xa3d70a3d70a3d70b
imul r11, qword [rsp + 0x1d8]
imul r11
lea rbx, [r11 + rdx]
sar rbx, 6
mov rax, rbx
shr rax, 0x3f
add rbx, rax
sar rbx, 0x14
cmp rbx, qword [rsp + 0x1f8]
mov rax, qword [rsp + 0x230]
cmovl rbx, qword [rsp + 0x1f8]
cmp rax, r13
jle 0x1400cd1d3
cmp rbx, rax
cmovg rbx, rax
cmp rbx, r13
cmovle rbx, rax
cmp rbx, r13
jl 0x1400cdb83
mov rax, qword [rsp + 0x88]
cmp word [rax], r13w
je 0x1400cdb83
mov rcx, qword [rsp + 0x180]
cmp rbx, r13
cmovle rbx, rbp
mov rdx, rbx
call fcn.1400c90e0
lea rdx, [0x140106e70]
lea rcx, [rsp + 0x180]
call fcn.14005a28c
lea rax, [0x140106e58]
lea rdx, [0x140106e40]
cmp dil, r13b
lea rcx, [rsp + 0x78]
cmovne rdx, rax
call fcn.140064d94
test byte [rsp + 0x240], bpl
je 0x1400cd253
lea rdx, [0x140106e28]
lea rcx, [rsp + 0x78]
call fcn.14005a28c
mov rax, qword [rsp + 0x180]
cmp word [rax], r13w
je 0x1400cd284
lea rdx, [0x140106e18]
lea rcx, [rsp + 0x78]
call fcn.14005a28c
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x78]
call fcn.14005a28c
mov rax, qword [rsp + 0x88]
cmp word [rax], r13w
je 0x1400cd2b5
lea rdx, [0x140106e08]
lea rcx, [rsp + 0x78]
call fcn.14005a28c
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x78]
call fcn.14005a28c
mov rax, qword [rsp + 0xb8]
cmp word [rax], r13w
jne 0x1400cd2d5
mov rax, qword [rsp + 0xe8]
cmp word [rax], r13w
je 0x1400cd39b
lea rdx, [0x140106df8]
lea rcx, [rsp + 0x78]
call fcn.14005a28c
mov r11, qword [rsp + 0xb8]
cmp word [r11], r13w
je 0x1400cd317
lea rdx, [0x140102f10]
lea rcx, [rsp + 0x78]
call fcn.14005a28c
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x78]
call fcn.14005a28c
mov rax, qword [rsp + 0xe8]
cmp word [rax], r13w
je 0x1400cd348
lea rdx, [0x140102f00]
lea rcx, [rsp + 0x78]
call fcn.14005a28c
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x78]
call fcn.14005a28c
mov rdx, qword [rsp + 0xb8]
lea rcx, [0x140102ee0]
call fcn.1400536b0
cmp al, r13b
je 0x1400cd38a
mov rax, qword [rsp + 0x120]
cmp word [rax], r13w
je 0x1400cd38a
mov ecx, 0x30
cmp cx, word [rax]
je 0x1400cd38a
lea rdx, [0x140102ed8]
lea rcx, [rsp + 0x78]
call fcn.14005a28c
lea rdx, [0x140106dd8]
lea rcx, [rsp + 0x78]
call fcn.14005a28c
mov rax, qword [rsp + 0x78]
lea rcx, [rsp + 0x180]
mov qword [rsp + 0x80], rax
call fcn.140052160
lea rcx, [rsp + 0xb0]
call fcn.140052130
mov rdx, qword [rsp + 0xb0]
lea rcx, [0x1400fcde8]
mov r8d, 4
call fcn.140053618
cmp al, r13b
jne 0x1400cda7f
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov rdx, qword [rsp + 0x80]
mov ebx, 9
movzx ecx, word [rdx]
lea r12d, [rax - 0xc8]
cmp cx, r13w
je 0x1400cd428
lea eax, [rbx + 0x17]
cmp bx, cx
ja 0x1400cd416
cmp cx, 0xd
jbe 0x1400cd428
cmp ax, cx
je 0x1400cd428
add rdx, 2
mov cx, word [rdx]
cmp cx, r13w
jne 0x1400cd40b
lea rcx, [rsp + 0x118]
call fcn.140064e2c
mov rbp, qword [rsp + 0x118]
mov qword [rsp + 0x160], rbp
cmp word [rbp], r13w
je 0x1400cd50b
lea rdx, [rsp + 0x160]
lea rcx, [0x140106dd0]
mov r8d, 6
call fcn.14005c9c4
cmp al, r13b
jne 0x1400cd4f9
lea rdx, [rsp + 0x160]
lea rcx, [0x1400fa060]
mov r8d, 6
call fcn.14005c9c4
cmp al, r13b
jne 0x1400cd4f9
lea rdx, [rsp + 0x160]
lea rcx, [0x1400fcd6c]
mov r8d, 2
call fcn.14005c9c4
cmp al, r13b
jne 0x1400cd4f9
mov rcx, qword [rsp + 0x160]
movzx eax, word [rcx]
cmp ax, r13w
je 0x1400cd4ec
mov edx, 0x20
cmp bx, ax
ja 0x1400cd4d2
cmp ax, 0xd
jbe 0x1400cd4ec
cmp dx, ax
je 0x1400cd4ec
add rcx, 2
mov qword [rsp + 0x160], rcx
mov ax, word [rcx]
cmp ax, r13w
jne 0x1400cd4c7
lea rcx, [rsp + 0x160]
call fcn.140052130
mov rax, qword [rsp + 0x160]
cmp word [rax], r13w
jne 0x1400cd450
movsxd rdi, dword [rsp + 0x138]
movsxd rsi, dword [rsp + 0x90]
movsxd rbx, dword [rsp + 0x190]
mov r13, qword [rsp + 0x478]
xor eax, eax
cmp rdi, rax
jne 0x1400cd6cf
cmp rsi, rax
jg 0x1400cd6cf
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x2e0]
xor r8d, r8d
call fcn.1400683c0
mov eax, 1
cmp dword [rsp + 0x340], eax
jle 0x1400cd925
mov rax, qword [rsp + 0x348]
lea rcx, [0x140106e80]
lea r8, [rsp + 0x100]
mov qword [rax], rcx
mov rdx, qword [rsp + 0x348]
mov ecx, dword [rsp + 0x340]
call fcn.1400362b0
mov r15d, eax
xor eax, eax
cmp byte [rsp + 0x128], al
mov qword [rsp + 0x110], r15
mov dword [rsp + 0x148], eax
jle 0x1400cd786
cmp r15d, 3
jne 0x1400cd786
cmp rbx, rax
jne 0x1400cd786
lea rcx, [rsp + 0xf0]
lea edi, [rax + 1]
call fcn.140052160
lea rcx, [rsp + 0x118]
call fcn.140052160
lea rcx, [rsp + 0xa0]
call fcn.140052160
lea rcx, [rsp + 0xf8]
call fcn.140052160
lea rcx, [rsp + 0x98]
call fcn.140052160
lea rcx, [rsp + 0x120]
call fcn.140052160
lea rcx, [rsp + 0xe8]
call fcn.140052160
lea rcx, [rsp + 0x88]
call fcn.140052160
lea rcx, [rsp + 0xb8]
call fcn.140052160
lea rcx, [rsp + 0xd8]
call fcn.140052160
lea rcx, [rsp + 0xc8]
call fcn.140052160
lea rcx, [rsp + 0x78]
call fcn.140052160
lea rcx, [rsp + 0x178]
call fcn.140052160
lea rcx, [rsp + 0xa8]
call fcn.140052160
lea rcx, [rsp + 0x100]
call fcn.140052160
lea r12, [0x140118f08]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
dec dword [0x140118fb8]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea rcx, [rsp + 0x208]
call fcn.140052160
mov rsi, qword [rsp + 0x478]
mov rbx, qword [rsp + 0x470]
jmp 0x1400cb800
cmp rbx, rax
jne 0x1400cd786
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x1c0]
call fcn.140064d14
lea rcx, [rsp + 0x1c0]
mov rdx, rbp
call fcn.14005a28c
mov rax, qword [rsp + 0xa8]
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x148], 1
mov r8, r13
mov dword [rsp + 0x20], ecx
cmp word [rax], cx
je 0x1400cd74c
mov r9, qword [rsp + 0x1c0]
xor edx, edx
mov rcx, r13
call fcn.14000d03c
mov r15, rax
mov qword [rsp + 0x110], rax
jmp 0x1400cd777
mov rdx, qword [rsp + 0x1c0]
mov word [rsp + 0x158], cx
lea r9, [rsp + 0x158]
mov rcx, r13
call fcn.14000d03c
mov r15d, eax
mov qword [rsp + 0x110], r15
lea rcx, [rsp + 0x1c0]
call fcn.140052160
xor eax, eax
cmp r14, rax
je 0x1400cd92c
cmp r15d, 3
jne 0x1400cd92c
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, r12d
cmp eax, 0x1388
jae 0x1400cd92c
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc8
mov rcx, r13
call fcn.14001d848
jmp 0x1400cd52b
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, 1
cmp eax, ebx
cmove eax, ecx
lea rcx, [rsp + 0x198]
mov ebx, eax
call fcn.140052160
mov r13, qword [rsp + 0x478]
jmp 0x1400cd934
lea rcx, [rsp + 0x188]
mov ebx, 1
call fcn.140052160
lea rcx, [rsp + 0x198]
call fcn.140052160
jmp 0x1400cd936
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea rcx, [rsp + 0x1d0]
call fcn.140052160
lea rcx, [rsp + 0x188]
call fcn.140052160
lea rcx, [rsp + 0x198]
call fcn.140052160
lea rcx, [rsp + 0xf0]
call fcn.140052160
lea rcx, [rsp + 0x118]
call fcn.140052160
lea rcx, [rsp + 0xa0]
call fcn.140052160
lea rcx, [rsp + 0xf8]
call fcn.140052160
lea rcx, [rsp + 0x98]
call fcn.140052160
lea rcx, [rsp + 0x120]
call fcn.140052160
lea rcx, [rsp + 0xe8]
call fcn.140052160
lea rcx, [rsp + 0x88]
call fcn.140052160
lea rcx, [rsp + 0xb8]
call fcn.140052160
lea rcx, [rsp + 0xd8]
call fcn.140052160
lea rcx, [rsp + 0xc8]
call fcn.140052160
lea rcx, [rsp + 0x78]
call fcn.140052160
lea rcx, [rsp + 0x178]
call fcn.140052160
lea rcx, [rsp + 0xa8]
call fcn.140052160
lea rcx, [rsp + 0x100]
call fcn.140052160
lea r12, [0x140118f08]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
dec dword [0x140118fb8]
mov ebx, 0xb7
jmp 0x1400cdd7b
mov ebx, 0x80070057
jmp 0x1400cd934
mov rbx, qword [rsp + 0x110]
xor esi, esi
mov rax, qword [rsp + 0x350]
cmp rax, rsi
je 0x1400cd960
lea rcx, [rsp + 0x260]
mov qword [rsp + 0x260], rax
mov qword [rsp + 0x350], rsi
call fcn.140052160
mov rdx, qword [rsp + 0xa8]
cmp word [rdx], si
je 0x1400cd9a4
cmp dword [rsp + 0x148], esi
jne 0x1400cd9a4
mov rax, qword [rsp + 0x100]
mov ecx, 0x2a
mov word [rsp + 0x3e0], si
lea r8, [rsp + 0x3e0]
cmp word [rax], cx
jne 0x1400cd99c
lea r8, [rax + 2]
mov rcx, r13
call fcn.1400596c4
lea rcx, [rsp + 0xf0]
call fcn.140052160
lea rcx, [rsp + 0x118]
call fcn.140052160
lea rcx, [rsp + 0xa0]
call fcn.140052160
lea rcx, [rsp + 0xf8]
call fcn.140052160
lea rcx, [rsp + 0x98]
call fcn.140052160
lea rcx, [rsp + 0x120]
call fcn.140052160
lea rcx, [rsp + 0xe8]
call fcn.140052160
lea rcx, [rsp + 0x88]
call fcn.140052160
lea rcx, [rsp + 0xb8]
call fcn.140052160
lea rcx, [rsp + 0xd8]
call fcn.140052160
lea rcx, [rsp + 0xc8]
call fcn.140052160
lea rcx, [rsp + 0x78]
call fcn.140052160
lea rcx, [rsp + 0x178]
call fcn.140052160
lea rcx, [rsp + 0xa8]
call fcn.140052160
lea rcx, [rsp + 0x100]
call fcn.140052160
lea r12, [0x140118f08]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
dec dword [0x140118fb8]
jmp 0x1400cdd7b
mov rcx, qword [rsp + 0x478]
lea r9, [0x1400f9548]
lea rdx, [0x140106db8]
xor r8d, r8d
mov dword [rsp + 0x20], 0xffffff9c
call fcn.1400bcbc0
lea rcx, [rsp + 0xf0]
call fcn.140052160
lea rcx, [rsp + 0x118]
call fcn.140052160
lea rcx, [rsp + 0xa0]
call fcn.140052160
lea rcx, [rsp + 0xf8]
call fcn.140052160
lea rcx, [rsp + 0x98]
call fcn.140052160
lea rcx, [rsp + 0x120]
call fcn.140052160
lea rcx, [rsp + 0xe8]
call fcn.140052160
lea rcx, [rsp + 0x88]
call fcn.140052160
lea rcx, [rsp + 0xb8]
call fcn.140052160
lea rcx, [rsp + 0xd8]
call fcn.140052160
lea rcx, [rsp + 0xc8]
call fcn.140052160
lea rcx, [rsp + 0x78]
call fcn.140052160
lea rcx, [rsp + 0x178]
call fcn.140052160
lea rcx, [rsp + 0xa8]
call fcn.140052160
lea rcx, [rsp + 0x100]
call fcn.140052160
lea r12, [0x140118f08]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
add dword [0x140118fb8], esi
mov ebx, r13d
jmp 0x1400cdd7b
lea rcx, [rsp + 0x180]
call fcn.140052160
lea rcx, [rsp + 0xf0]
call fcn.140052160
lea rcx, [rsp + 0x118]
call fcn.140052160
lea rcx, [rsp + 0xa0]
call fcn.140052160
lea rcx, [rsp + 0xf8]
call fcn.140052160
lea rcx, [rsp + 0x98]
call fcn.140052160
lea rcx, [rsp + 0x120]
call fcn.140052160
lea rcx, [rsp + 0xe8]
call fcn.140052160
lea rcx, [rsp + 0x88]
call fcn.140052160
lea rcx, [rsp + 0xb8]
call fcn.140052160
lea rcx, [rsp + 0xd8]
call fcn.140052160
lea rcx, [rsp + 0xc8]
call fcn.140052160
lea rcx, [rsp + 0x78]
call fcn.140052160
lea rcx, [rsp + 0x178]
call fcn.140052160
lea rcx, [rsp + 0xa8]
call fcn.140052160
lea rcx, [rsp + 0x100]
call fcn.140052160
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
add dword [0x140118fb8], esi
jmp 0x1400cdd33
lea rcx, [rsp + 0xf0]
call fcn.140052160
lea rcx, [rsp + 0x118]
call fcn.140052160
lea rcx, [rsp + 0xa0]
call fcn.140052160
lea rcx, [rsp + 0xf8]
call fcn.140052160
lea rcx, [rsp + 0x98]
call fcn.140052160
lea rcx, [rsp + 0x120]
call fcn.140052160
lea rcx, [rsp + 0xe8]
call fcn.140052160
lea rcx, [rsp + 0x88]
call fcn.140052160
lea rcx, [rsp + 0xb8]
call fcn.140052160
lea rcx, [rsp + 0xd8]
call fcn.140052160
lea rcx, [rsp + 0xc8]
call fcn.140052160
lea rcx, [rsp + 0x78]
call fcn.140052160
lea rcx, [rsp + 0x178]
call fcn.140052160
lea rcx, [rsp + 0xa8]
call fcn.140052160
lea rcx, [rsp + 0x100]
call fcn.140052160
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
dec dword [0x140118fb8]
mov ebx, 0x80070057
jmp 0x1400cdd7b
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.14001d848
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov r11d, dword [0x140118fb8]
cmp r11d, ebp
jg 0x1400cdd3a
lea rcx, [rsp + 0x480]
or edx, 0xffffffff
call fcn.14001a380
mov ebx, ebp
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea rcx, [rsp + 0x208]
call fcn.140052160
mov eax, ebx
add rsp, 0x428
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret