Function at 0x1400db888
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.1400f3900
lea r12, [0x14012e0b8]
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.14006ac98
mov r11, qword [rsp + 0x208]
mov qword [rsp + 0x80], r11
add r11, 0xc
mov qword [rsp + 0x70], r11
jmp 0x1400db931
cmp r14w, ax
ja 0x1400db927
cmp ax, 0xd
jbe 0x1400db942
cmp r13w, ax
je 0x1400db942
add r11, 2
mov qword [rsp + 0xb0], r11
movzx eax, word [r11]
cmp ax, bp
jne 0x1400db91b
lea rcx, [rsp + 0x168]
mov qword [rsp + 0x168], r11
call fcn.140057738
mov rax, qword [rsp + 0x70]
mov ecx, 0x2a
cmp cx, word [rax]
lea rcx, [rsp + 0x480]
sete r13b
call fcn.14001b49c
mov rdx, qword [rsp + 0x168]
lea rcx, [0x14011bff4]
mov r8d, r15d
call fcn.140058d5c
mov rcx, r12
cmp al, bpl
jne 0x1400dde2f
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
add dword [0x14012e168], edi
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea rcx, [rsp + 0x480]
xor edx, edx
call fcn.14001b4a0
lea rcx, [rsp + 0x480]
call fcn.14001b48c
mov ecx, ebp
mov dword [rsp + 0x148], ebp
cmp eax, ebp
mov dword [rsp + 0x190], ebp
sete cl
cmp dword [0x14012a85c], ebp
mov dword [rsp + 0x138], ecx
jge 0x1400dbabd
mov rax, qword [0x14012d0a0]
mov ecx, ebp
mov rdx, rbp
mov r8, rbp
mov qword [rsp + 0x220], rbp
mov dword [0x14012a85c], ecx
mov qword [rsp + 0x1e8], rdx
cmp rax, rbp
je 0x1400dba94
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x1e8]
call rax
mov r8, qword [rsp + 0x220]
mov rdx, qword [rsp + 0x1e8]
cmp r8, rbp
jbe 0x1400dba8e
cmp rdx, 0x202
jb 0x1400dba5a
mov eax, 0x38
mov ecx, eax
mov dword [0x14012a85c], eax
jmp 0x1400dba94
cmp rdx, 0x184
jb 0x1400dba6a
mov ecx, 8
jmp 0x1400dba78
cmp rdx, 0x160
jb 0x1400dba80
mov ecx, 2
mov dword [0x14012a85c], ecx
jmp 0x1400dba94
mov ecx, dword [0x14012a85c]
cmp rdx, rbp
cmova ecx, edi
jmp 0x1400dba78
mov ecx, dword [0x14012a85c]
mov rax, qword [0x14012d0a0]
mov r9d, r8d
mov r8d, edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
lea rcx, [0x14012d0c0]
lea rdx, [0x14011bfb0]
call fcn.1400180a0
mov rdx, qword [rsp + 0x168]
lea rcx, [0x14011787c]
mov r8d, 3
call fcn.140058d5c
mov ebx, ebp
lea rdx, [rsp + 0x168]
cmp al, bpl
mov eax, 0xfff00000
lea rcx, [0x14011bfa0]
cmovne ebx, eax
mov r8d, 5
mov dword [rsp + 0x90], ebx
call fcn.1400623c0
cmp al, bpl
je 0x1400dbb0f
mov r12b, 5
jmp 0x1400dbb31
lea rdx, [rsp + 0x168]
lea rcx, [0x14011bf98]
mov r8d, r15d
call fcn.1400623c0
movzx r12d, bpl
cmp al, bpl
cmovne r12d, r15d
lea rcx, [rsp + 0x100]
mov edx, 0x3e8
call fcn.14005fa8c
lea rcx, [rsp + 0xa8]
call fcn.14005fa18
lea rcx, [rsp + 0x178]
call fcn.14005fa18
lea rcx, [rsp + 0x78]
call fcn.14005fa18
lea rcx, [rsp + 0xd8]
mov qword [rsp + 0xc8], rbp
call fcn.14005fa18
lea rcx, [rsp + 0xb8]
call fcn.14005fa18
lea rcx, [rsp + 0x88]
call fcn.14005fa18
lea rcx, [rsp + 0xe8]
call fcn.14005fa18
lea rcx, [rsp + 0x120]
call fcn.14005fa18
lea rcx, [rsp + 0x98]
call fcn.14005fa18
lea rcx, [rsp + 0xf8]
call fcn.14005fa18
lea rcx, [rsp + 0xa0]
call fcn.14005fa18
or qword [rsp + 0x1a8], 0xffffffffffffffff
or qword [rsp + 0x1b8], 0xffffffffffffffff
lea rax, [0x14010d568]
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.14005fa8c
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 0x1400dbe19
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 0x1400dbca2
mov ecx, 0x2a
cmp ax, cx
je 0x1400dbca2
add r8, 2
mov qword [rsp + 0x70], r8
mov ax, word [r8]
cmp ax, bp
jne 0x1400dbc8b
sub r8, rdx
lea rcx, [rsp + 0xa8]
sar r8, 1
call fcn.14005fc80
mov r11, qword [rsp + 0xa8]
cmp word [r11], bp
je 0x1400dbcd5
lea rcx, [rsp + 0x100]
mov edx, 0x3e8
call fcn.14005fb18
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
cmp bx, bp
je 0x1400dbcf6
add rax, 2
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0xc0]
call fcn.140057738
mov ebx, 1
lea rdi, [0x14010d568]
mov esi, 0xfff00000
lea rdx, [rsp + 0xc0]
lea rcx, [0x14011bf90]
mov r8d, 4
call fcn.14006245c
cmp al, bpl
jne 0x1400dbd52
lea rdx, [rsp + 0xc0]
lea rcx, [0x140112d00]
mov r8d, 2
call fcn.14006245c
cmp al, bpl
je 0x1400dbd5c
mov qword [rsp + 0x1b0], rdi
jmp 0x1400dbd14
lea rdx, [rsp + 0xc0]
lea rcx, [0x140117e68]
mov r8d, 3
call fcn.14006245c
cmp al, bpl
je 0x1400dbd8c
lea rax, [0x14011bf88]
mov qword [rsp + 0x1b0], rax
jmp 0x1400dbd14
lea rdx, [rsp + 0xc0]
lea rcx, [0x14011bf80]
mov r8d, 4
call fcn.14006245c
cmp al, bpl
je 0x1400dbdb3
mov r14, rbx
jmp 0x1400dbd14
lea rdx, [rsp + 0xc0]
lea rcx, [0x14011bf78]
mov r8d, 4
call fcn.14006245c
cmp al, bpl
je 0x1400dbdde
mov dword [rsp + 0x90], ebx
jmp 0x1400dbd14
lea rdx, [rsp + 0xc0]
lea rcx, [0x14011bf70]
mov r8d, 5
call fcn.14006245c
cmp al, bpl
je 0x1400dbe09
mov dword [rsp + 0x90], esi
jmp 0x1400dbd14
mov rdi, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0x478]
lea r8, [0x14011bf60]
lea rdx, [0x14011b258]
mov rcx, rsi
call fcn.14005ee18
mov r11, qword [rsp + 0xa8]
or rax, 0xffffffffffffffff
lea rcx, [rsp + 0xc8]
mov r9, rax
mov r8, rax
cmp word [r11], bp
je 0x1400dbe86
lea rdx, [0x14011bf5c]
call fcn.14005fbd4
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0xc8]
call fcn.14005fb54
lea rdx, [0x14011bf48]
lea rcx, [rsp + 0xc8]
call fcn.14005fb54
jmp 0x1400dbe92
lea rdx, [0x14011bf38]
call fcn.14005fbd4
lea rcx, [0x14011bf28]
mov r8d, 9
mov rdx, rdi
call fcn.140058d5c
lea rcx, [0x14011bf24]
mov r8d, 2
mov rdx, rdi
mov bl, al
call fcn.140058d5c
lea rcx, [0x14011bf20]
mov r8d, 2
mov rdx, rdi
mov sil, al
call fcn.140058d5c
lea rcx, [0x14011787c]
mov r8d, 3
mov rdx, rdi
mov bpl, al
call fcn.140058d5c
xor edi, edi
cmp bl, dil
jne 0x1400dbf0c
cmp sil, dil
jne 0x1400dbf0c
cmp bpl, dil
jne 0x1400dbf0c
cmp al, dil
jne 0x1400dbf0c
lea ebp, [rdi + 1]
mov cl, bpl
jmp 0x1400dbf14
mov cl, dil
mov ebp, 1
mov esi, dword [rsp + 0x138]
cmp esi, edi
jne 0x1400dbf2e
mov eax, dword [0x14012a85c]
cmp eax, edi
jle 0x1400dbf2e
cmp eax, 2
jge 0x1400dbf38
cmp cl, dil
jne 0x1400dbf42
cmp r12b, dil
jne 0x1400dbf42
cmp r12b, 6
jl 0x1400dc1bb
lea rbx, [0x14011bf18]
cmp esi, edi
jne 0x1400dbfb9
lea rcx, [rsp + 0x200]
call fcn.14005fa18
lea rax, [0x14011bf10]
lea r8, [rsp + 0x200]
lea rdx, [rsp + 0x268]
mov ecx, 2
mov qword [rsp + 0x268], rax
mov qword [rsp + 0x270], rax
call fcn.140034b7c
mov r11, qword [rsp + 0x200]
cmp word [r11], di
je 0x1400dbfac
cmp word [r11 + 2], di
lea rax, [0x14011bf08]
cmove rax, rbx
mov rbx, rax
lea rcx, [rsp + 0x200]
call fcn.140057768
lea rbp, [0x14012e0b8]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
dec dword [0x14012e168]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov r11d, dword [0x14012e168]
xor ebp, ebp
cmp r11d, edi
mov rdi, qword [rsp + 0x478]
jle 0x1400dc03a
lea r15d, [rbp + 1]
lea rcx, [0x14012e0b8]
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, rdi
call fcn.14001ec3c
lea rcx, [0x14012e0b8]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov r11d, dword [0x14012e168]
cmp r11d, ebp
jg 0x1400dbffb
mov r15, qword [rsp + 0x110]
lea rcx, [rsp + 0x480]
or edx, 0xffffffff
call fcn.14001b4a0
lea rcx, [0x14012e0b8]
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.14001b4a0
lea rdx, [0x14011bef0]
lea rcx, [rsp + 0x130]
call fcn.14006ac98
lea rax, [0x14011bf08]
lea rdx, [0x14011bf18]
cmp esi, ebp
lea rcx, [rsp + 0x130]
cmovne rdx, rax
call fcn.14005fb54
lea rcx, [rsp + 0x130]
mov rdx, rbx
call fcn.14005fb54
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x130]
call fcn.14005fb54
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x130]
call fcn.14005fb54
mov r8, qword [rsp + 0x130]
lea rdx, [0x14011bec8]
lea rcx, [0x14012d0c0]
call fcn.1400180a0
mov rdx, qword [rsp + 0x130]
mov rcx, rdi
call fcn.1400300d0
lea r12, [0x14012e0b8]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ebp, 1
mov rcx, r12
add dword [0x14012e168], ebp
mov dword [0x14012a85c], 0xffffffc0
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea rcx, [rsp + 0x480]
xor edx, edx
call fcn.14001b4a0
lea rcx, [rsp + 0x480]
call fcn.14001b48c
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 [0x14012a85c]
lea eax, [rbp + 0x37]
cmp esi, edi
mov rcx, r12
cmove r11d, eax
mov dword [0x14012a85c], r11d
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea rcx, [rsp + 0x130]
call fcn.140057768
jmp 0x1400dc1c2
lea r12, [0x14012e0b8]
cmp r13b, dil
je 0x1400dce87
mov rax, qword [rsp + 0xc0]
xor r13d, r13d
mov qword [rsp + 0x170], rax
cmp word [rax], r13w
je 0x1400dc273
lea ebx, [r13 + 0x20]
lea rdx, [rsp + 0x170]
lea rcx, [0x140112d00]
mov r8d, 2
call fcn.1400623c0
cmp al, r13b
jne 0x1400dc263
mov rcx, qword [rsp + 0x170]
movzx eax, word [rcx]
cmp ax, r13w
je 0x1400dc246
mov edx, 9
cmp dx, ax
ja 0x1400dc22c
cmp ax, 0xd
jbe 0x1400dc246
cmp bx, ax
je 0x1400dc246
add rcx, 2
mov qword [rsp + 0x170], rcx
mov ax, word [rcx]
cmp ax, r13w
jne 0x1400dc221
lea rcx, [rsp + 0x170]
call fcn.140057738
mov r11, qword [rsp + 0x170]
cmp word [r11], r13w
jne 0x1400dc1ec
jmp 0x1400dc273
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x70]
mov edi, 0x2a
cmp di, word [rax]
jne 0x1400dce6b
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 0x1400dc2b4
add rax, 2
mov bl, bpl
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x70]
call fcn.140065d5c
mov r11, qword [rsp + 0x70]
cmp word [r11], r13w
je 0x1400dc2da
add r11, 2
mov qword [rsp + 0x70], r11
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x70]
call fcn.140065d5c
mov r11, qword [rsp + 0x70]
cmp word [r11], r13w
je 0x1400dc300
add r11, 2
mov qword [rsp + 0x70], r11
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x70]
call fcn.140065d5c
mov r11, qword [rsp + 0x70]
cmp word [r11], r13w
je 0x1400dc326
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.1400e7958
mov r8, qword [rsp + 0x70]
sub r8, r11
lea rcx, [rsp + 0xa0]
mov rdx, r11
sar r8, 1
call fcn.14005fc80
mov r11, qword [rsp + 0x70]
cmp word [r11], r13w
je 0x1400dc36c
add r11, 2
mov qword [rsp + 0x70], r11
lea rcx, [rsp + 0x70]
mov edx, edi
call fcn.1400e7958
mov r8, qword [rsp + 0x70]
lea rcx, [rsp + 0x98]
sub r8, r11
mov rdx, r11
sar r8, 1
call fcn.14005fc80
mov r11, qword [rsp + 0x70]
cmp word [r11], r13w
je 0x1400dc3a7
add r11, 2
mov qword [rsp + 0x70], r11
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x70]
call fcn.140065d5c
mov r11, qword [rsp + 0x70]
cmp word [r11], r13w
je 0x1400dc3cd
add r11, 2
mov qword [rsp + 0x70], r11
lea rcx, [rsp + 0x70]
mov edx, edi
call fcn.1400e7958
mov r8, qword [rsp + 0x70]
lea rcx, [rsp + 0xf8]
sub r8, r11
mov rdx, r11
sar r8, 1
call fcn.14005fc80
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0x70]
call fcn.140065d5c
mov r11, qword [rsp + 0x70]
cmp word [r11], r13w
je 0x1400dc41a
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 0x1400dc452
add rcx, rax
mov qword [rsp + 0x228], r13
mov qword [rsp + 0x218], rcx
cmp qword [rsp + 0x1f0], r13
jle 0x1400dc473
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.14005fa8c
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.1400d9364
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.1400d9364
mov word [rbx], r13w
mov rdx, qword [rsp + 0x1f0]
cmp rdx, r13
jle 0x1400dc529
mov rcx, rbx
call fcn.1400d9364
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.140057738
mov rdx, qword [rsp + 0xd0]
lea rcx, [0x14011bebc]
mov r8d, 4
mov dword [rsp + 0x194], r13d
call fcn.140058db8
cmp al, r13b
je 0x1400dc59e
add qword [rsp + 0xd0], 8
lea rdx, [rsp + 0x194]
lea rcx, [rsp + 0xd0]
call fcn.14006ee08
lea rdx, [rsp + 0xd0]
lea rcx, [0x14011beb8]
or r8d, 0xffffffff
call fcn.1400623c0
mov r11d, dword [0x14012a85c]
mov edx, 1
cmp r11d, edx
jl 0x1400dc5e0
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, [0x14010d568]
mov sil, r13b
mov qword [rsp + 0x140], rax
mov dil, r13b
mov ebx, r13d
mov r15, r8
cmp word [rax], r13w
je 0x1400dc700
mov rbp, rdx
lea rdx, [rsp + 0x140]
lea rcx, [0x140117f90]
mov r8d, 2
call fcn.1400623c0
cmp al, r13b
je 0x1400dc636
mov ebx, ebp
jmp 0x1400dc6d3
cmp ebx, r13d
je 0x1400dc683
lea rdx, [rsp + 0x140]
lea rcx, [0x14011beb4]
mov r8d, 2
call fcn.1400623c0
cmp al, r13b
je 0x1400dc65f
mov sil, bpl
jmp 0x1400dc6d3
lea rdx, [rsp + 0x140]
lea rcx, [0x14011beb0]
mov r8d, 3
call fcn.1400623c0
cmp al, r13b
je 0x1400dc683
mov dil, bpl
jmp 0x1400dc6d3
mov rcx, qword [rsp + 0x140]
movzx eax, word [rcx]
cmp ax, r13w
je 0x1400dc6c3
mov edx, 0x20
lea r8d, [rdx - 0x17]
cmp r8w, ax
ja 0x1400dc6a9
cmp ax, 0xd
jbe 0x1400dc6c3
cmp dx, ax
je 0x1400dc6c3
add rcx, 2
mov qword [rsp + 0x140], rcx
mov ax, word [rcx]
cmp ax, r13w
jne 0x1400dc69d
lea rcx, [rsp + 0x140]
call fcn.140057738
mov ebx, r13d
mov rax, qword [rsp + 0x140]
cmp word [rax], r13w
jne 0x1400dc610
mov rbp, qword [rsp + 0x1e0]
mov r11d, dword [0x14012a85c]
mov edx, 1
lea r8, [0x14010d568]
test r11b, 0x10
je 0x1400dc717
lea rax, [0x14011bea0]
cmp dil, r13b
cmovne rax, r15
mov r15, rax
mov ecx, r11d
lea r13, [0x14011be88]
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 0x1400dc759
cmp ecx, ebx
jne 0x1400dc759
cmp r12b, bl
je 0x1400dc75b
bt qword [rsp + 0x150], 8
jae 0x1400dc75b
mov al, dl
jmp 0x1400dc75b
mov al, bl
cmp r11d, 8
jl 0x1400dc93a
cmp r12b, bl
je 0x1400dc772
cmp al, bl
jne 0x1400dc93a
mov rdi, r8
cmp r12b, bl
jne 0x1400dc788
cmp sil, bl
jne 0x1400dc79e
lea rdi, [0x14011be78]
jmp 0x1400dc79e
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.14005fb18
mov r11, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x38], r11
lea rax, [rbp + 0x6a]
lea rdx, [0x14011be20]
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 0x1400dc919
lea rdx, [rsp + 0xe0]
lea rcx, [0x14011be18]
mov r8d, 2
call fcn.140058ce8
cmp al, r13b
jne 0x1400dc8a7
lea rdx, [rsp + 0xe0]
lea rcx, [0x14011be10]
mov r8d, 2
call fcn.140058ce8
cmp al, r13b
jne 0x1400dc8a7
mov rcx, qword [rsp + 0xe0]
movzx eax, word [rcx]
cmp ax, r13w
je 0x1400dc8f2
mov edx, 0x20
lea r8d, [rdx - 0x17]
cmp r8w, ax
ja 0x1400dc88b
cmp ax, 0xd
jbe 0x1400dc8f2
cmp dx, ax
je 0x1400dc8f2
add rcx, 2
mov qword [rsp + 0xe0], rcx
mov ax, word [rcx]
cmp ax, r13w
jne 0x1400dc87f
jmp 0x1400dc8f2
mov rax, qword [rsp + 0xe0]
movzx ecx, word [rax]
cmp cx, r13w
je 0x1400dc8f2
mov edx, 0x20
lea r8d, [rdx - 0x17]
cmp r8w, cx
ja 0x1400dc8cd
cmp cx, 0xd
jbe 0x1400dc8f2
cmp dx, cx
je 0x1400dc8f2
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 0x1400dc8c1
lea rcx, [rsp + 0xe0]
call fcn.140057738
mov rax, qword [rsp + 0xe0]
cmp word [rax], r13w
jne 0x1400dc827
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x78]
call fcn.14005fb54
mov r11, qword [rsp + 0x78]
mov ebp, 1
mov qword [rsp + 0x80], r11
jmp 0x1400dce3f
cmp r12b, bl
je 0x1400dc988
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 0x1400dd89d
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea r8, [0x14010d568]
mov rdx, qword [rsp + 0x1c8]
cmp r12b, bl
lea rbp, [0x14011be08]
cmovne rbp, r8
cmp rdx, rbx
jle 0x1400dc9b0
mov rcx, qword [rsp + 0x258]
call fcn.1400d9364
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 0x1400dc9d6
mov rdi, qword [rsp + 0xa0]
jmp 0x1400dc9da
add rdi, 2
mov rcx, qword [rsp + 0x98]
cmp word [rcx], bx
jne 0x1400dca3c
lea rcx, [rsp + 0x98]
mov edx, 0x800
call fcn.14005fb18
mov rbx, qword [rsp + 0x98]
call fcn.14005a4e4
mov r9, qword [rsp + 0x1e0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x248]
lea rdx, [0x14011bdf0]
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 0x1400dca5e
mov esi, eax
mov rax, qword [rsp + 0x98]
mov word [rax + 0x800], bx
lea rdx, [0x14011bde0]
lea rcx, [rsp + 0xf0]
call fcn.14006adb0
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xf0]
call fcn.14005fb54
lea rdx, [0x14011bdc8]
lea rcx, [rsp + 0xf0]
call fcn.14005fb54
mov word [r14], bx
mov rax, qword [rsp + 0x150]
mov ecx, 0x30
mov word [rsp + 0x2a0], bx
test cl, al
jne 0x1400dcac9
cmp r12b, bl
je 0x1400dcbaf
test al, 0x40
jne 0x1400dcbaf
lea rdx, [0x14011bdb8]
mov r8d, 0x10
mov rcx, r14
call fcn.14001c8fc
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 0x1400dcb49
add r8, 2
jmp 0x1400dcb3f
cmp r9w, cx
je 0x1400dcb74
add rdi, 2
movzx ecx, word [rdi]
cmp cx, dx
jne 0x1400dcb35
jmp 0x1400dcb74
cmp cx, dx
je 0x1400dcb74
mov ebx, 0x20
lea r9d, [rbx - 0x17]
cmp r9w, cx
ja 0x1400dcb63
cmp cx, 0xd
jbe 0x1400dcb74
cmp bx, cx
je 0x1400dcb74
add rdi, 2
mov cx, word [rdi]
cmp cx, dx
jne 0x1400dcb57
movzx ebx, word [rdi]
mov word [rdi], dx
mov ecx, 0x20
test byte [rsp + 0x150], cl
lea rcx, [0x14011bd90]
cdqe
lea rdx, [0x14011bd58]
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 0x1400dcbcf
lea rdx, [0x14011bd48]
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.1400d9364
mov rax, qword [rsp + 0x218]
lea r12, [rdi + 0x6a]
cqo
mov rcx, r12
and rdx, rbx
add rdx, rax
sar rdx, 9
call fcn.1400d9364
mov rcx, qword [rsp + 0x478]
lea r8, [0x140111750]
lea rdx, [0x14011bd28]
call fcn.14005ee18
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.14005fa8c
lea rdx, [0x14011bde0]
lea rcx, [rsp + 0x1d0]
call fcn.14006ac98
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x1d0]
call fcn.14005fb54
mov r8, qword [rsp + 0x1d0]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.DLL_OpenFileMappingW]
test rax, rax
jne 0x1400dd8ed
lea rcx, [rsp + 0x1d0]
call fcn.140057768
mov r8, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x188]
lea rax, [r12 + 0x6a]
lea rdx, [0x14011bc50]
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.14005fb18
xor esi, esi
lea r8, [0x14010d568]
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, [0x14011bbf0]
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.14005fb54
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.140049184
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 0x1400dd8c9
lea ebx, [rsi + 0x31]
lea ebp, [rsi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_Sleep]
sub ebx, ebp
jns 0x1400dce06
movsxd rax, dword [rsp + 0x194]
cmp eax, esi
jle 0x1400dce2f
mov rdx, rax
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call fcn.14001ec3c
lea rcx, [rsp + 0x188]
call fcn.140057768
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.140057768
mov r15, qword [rsp + 0x110]
mov rax, qword [rsp + 0x250]
mov cx, word [rsp + 0x488]
or rsi, 0xffffffffffffffff
mov word [rax], cx
jmp 0x1400dd48d
mov esi, 4
lea rdx, [rsp + 0xb0]
lea rcx, [0x14011bf78]
mov r8d, esi
call fcn.1400623c0
mov ebx, dword [rsp + 0x90]
xor r13d, r13d
cmp al, r13b
lea r8d, [rsi + 1]
lea rdx, [rsp + 0xb0]
lea rcx, [0x14011bf70]
cmovne ebx, ebp
call fcn.1400623c0
mov edi, 0xfff00000
lea rdx, [rsp + 0xb0]
cmp al, r13b
lea rcx, [0x14011bbe0]
cmovne ebx, edi
mov dword [rsp + 0x90], ebx
lea ebx, [rsi + 2]
mov r8d, ebx
call fcn.1400623c0
cmp al, r13b
je 0x1400dcf0a
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.140063854
mov rax, qword [rsp + 0xd8]
mov word [rax], r13w
mov rax, qword [rsp + 0x80]
cmp word [rax], r13w
je 0x1400dd06f
add rax, 2
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x80]
mov r8d, edi
mov qword [rsp + 0x80], rax
call fcn.140063854
mov r11, qword [rsp + 0x80]
cmp word [r11], r13w
je 0x1400dd06f
add r11, 2
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x80]
mov r8d, edi
mov qword [rsp + 0x80], r11
call fcn.140063854
mov r11, qword [rsp + 0x80]
cmp word [r11], r13w
je 0x1400dd06f
add r11, 2
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x80]
mov r8d, edi
mov qword [rsp + 0x80], r11
call fcn.140063854
mov r11, qword [rsp + 0x80]
cmp word [r11], r13w
je 0x1400dd06f
add r11, 2
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x80]
mov r8d, edi
mov qword [rsp + 0x80], r11
call fcn.140063854
mov r11, qword [rsp + 0x80]
cmp word [r11], r13w
je 0x1400dd06f
add r11, 2
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x80]
mov r8d, edi
mov qword [rsp + 0x80], r11
call fcn.140063854
mov r11, qword [rsp + 0x80]
cmp word [r11], r13w
je 0x1400dd06f
add r11, 2
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x80]
mov r8d, edi
mov qword [rsp + 0x80], r11
call fcn.140063b2c
lea rcx, [rsp + 0x88]
mov rdx, rbx
mov dil, r13b
call fcn.14005fb18
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 0x1400dd149
call fcn.1400f2c08
cmp eax, r13d
je 0x1400dd13b
lea rax, [0x14011bbd0]
lea rcx, [rsp + 0x210]
mov qword [rsp + 0x298], r13
mov qword [rsp + 0x278], rax
lea rax, [0x14011bf10]
mov qword [rsp + 0x280], rax
lea rax, [0x14011bbc8]
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x290], rax
call fcn.14005fa18
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x278]
mov ecx, esi
call fcn.140034b7c
lea rcx, [rsp + 0x210]
cmp eax, r13d
sete dil
call fcn.140057768
mov rax, qword [rsp + 0x88]
cmp word [rax], r13w
jne 0x1400dd16f
lea rdx, [0x140112684]
lea rcx, [rsp + 0x88]
call fcn.14006ad18
mov r11, qword [rsp + 0x88]
cmp word [r11], r13w
je 0x1400ddd3c
lea rcx, [rsp + 0x180]
mov edx, 0x3c
call fcn.14005fa8c
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 0x1400ddc5b
lea ebp, [rsi + 0x21]
lea rcx, [rsp + 0x108]
call fcn.140057738
mov r11, qword [rsp + 0x108]
mov ecx, 0x70
movzx eax, word [r11]
or ax, bp
cmp cx, ax
jne 0x1400dd1ed
lea rdx, [rsp + 0x1d8]
jmp 0x1400dd213
mov ecx, 0x6c
cmp cx, ax
jne 0x1400dd201
lea rdx, [rsp + 0x1f8]
jmp 0x1400dd213
mov ecx, 0x68
cmp cx, ax
jne 0x1400dd23a
lea rdx, [rsp + 0x230]
add r11, 2
lea rcx, [rsp + 0x108]
mov qword [rsp + 0x108], r11
call fcn.14006ed1c
mov rax, qword [rsp + 0x108]
cmp word [rax], r13w
jne 0x1400dd1bd
cmp qword [rsp + 0x1d8], r13
mov ebp, 1
jle 0x1400dd27f
mov ecx, ebp
call fcn.14001d93c
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 0x1400dd2ab
cmp rbx, rax
cmovg rbx, rax
cmp rbx, r13
cmovle rbx, rax
cmp rbx, r13
jl 0x1400ddc5b
mov rax, qword [rsp + 0x88]
cmp word [rax], r13w
je 0x1400ddc5b
mov rcx, qword [rsp + 0x180]
cmp rbx, r13
cmovle rbx, rbp
mov rdx, rbx
call fcn.1400d9370
lea rdx, [0x14011bbc0]
lea rcx, [rsp + 0x180]
call fcn.14005fb54
lea rax, [0x14011bba8]
lea rdx, [0x14011bb90]
cmp dil, r13b
lea rcx, [rsp + 0x78]
cmovne rdx, rax
call fcn.14006ad18
test byte [rsp + 0x240], bpl
je 0x1400dd32b
lea rdx, [0x14011bb78]
lea rcx, [rsp + 0x78]
call fcn.14005fb54
mov rax, qword [rsp + 0x180]
cmp word [rax], r13w
je 0x1400dd35c
lea rdx, [0x14011bb68]
lea rcx, [rsp + 0x78]
call fcn.14005fb54
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x78]
call fcn.14005fb54
mov rax, qword [rsp + 0x88]
cmp word [rax], r13w
je 0x1400dd38d
lea rdx, [0x14011bb58]
lea rcx, [rsp + 0x78]
call fcn.14005fb54
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x78]
call fcn.14005fb54
mov rax, qword [rsp + 0xb8]
cmp word [rax], r13w
jne 0x1400dd3ad
mov rax, qword [rsp + 0xe8]
cmp word [rax], r13w
je 0x1400dd473
lea rdx, [0x14011bb48]
lea rcx, [rsp + 0x78]
call fcn.14005fb54
mov r11, qword [rsp + 0xb8]
cmp word [r11], r13w
je 0x1400dd3ef
lea rdx, [0x140117a40]
lea rcx, [rsp + 0x78]
call fcn.14005fb54
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x78]
call fcn.14005fb54
mov rax, qword [rsp + 0xe8]
cmp word [rax], r13w
je 0x1400dd420
lea rdx, [0x140117a30]
lea rcx, [rsp + 0x78]
call fcn.14005fb54
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x78]
call fcn.14005fb54
mov rdx, qword [rsp + 0xb8]
lea rcx, [0x140117a10]
call fcn.140058df4
cmp al, r13b
je 0x1400dd462
mov rax, qword [rsp + 0x120]
cmp word [rax], r13w
je 0x1400dd462
mov ecx, 0x30
cmp cx, word [rax]
je 0x1400dd462
lea rdx, [0x140117a08]
lea rcx, [rsp + 0x78]
call fcn.14005fb54
lea rdx, [0x14011bb28]
lea rcx, [rsp + 0x78]
call fcn.14005fb54
mov rax, qword [rsp + 0x78]
lea rcx, [rsp + 0x180]
mov qword [rsp + 0x80], rax
call fcn.140057768
lea rcx, [rsp + 0xb0]
call fcn.140057738
mov rdx, qword [rsp + 0xb0]
lea rcx, [0x140112d50]
mov r8d, 4
call fcn.140058d5c
cmp al, r13b
jne 0x1400ddb57
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 0x1400dd500
lea eax, [rbx + 0x17]
cmp bx, cx
ja 0x1400dd4ee
cmp cx, 0xd
jbe 0x1400dd500
cmp ax, cx
je 0x1400dd500
add rdx, 2
mov cx, word [rdx]
cmp cx, r13w
jne 0x1400dd4e3
lea rcx, [rsp + 0x118]
call fcn.14006adb0
mov rbp, qword [rsp + 0x118]
mov qword [rsp + 0x160], rbp
cmp word [rbp], r13w
je 0x1400dd5e3
lea rdx, [rsp + 0x160]
lea rcx, [0x14011bb20]
mov r8d, 6
call fcn.14006245c
cmp al, r13b
jne 0x1400dd5d1
lea rdx, [rsp + 0x160]
lea rcx, [0x14010e2c8]
mov r8d, 6
call fcn.14006245c
cmp al, r13b
jne 0x1400dd5d1
lea rdx, [rsp + 0x160]
lea rcx, [0x140112ce4]
mov r8d, 2
call fcn.14006245c
cmp al, r13b
jne 0x1400dd5d1
mov rcx, qword [rsp + 0x160]
movzx eax, word [rcx]
cmp ax, r13w
je 0x1400dd5c4
mov edx, 0x20
cmp bx, ax
ja 0x1400dd5aa
cmp ax, 0xd
jbe 0x1400dd5c4
cmp dx, ax
je 0x1400dd5c4
add rcx, 2
mov qword [rsp + 0x160], rcx
mov ax, word [rcx]
cmp ax, r13w
jne 0x1400dd59f
lea rcx, [rsp + 0x160]
call fcn.140057738
mov rax, qword [rsp + 0x160]
cmp word [rax], r13w
jne 0x1400dd528
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 0x1400dd7a7
cmp rsi, rax
jg 0x1400dd7a7
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x2e0]
xor r8d, r8d
call fcn.14006e390
mov eax, 1
cmp dword [rsp + 0x340], eax
jle 0x1400dd9fd
mov rax, qword [rsp + 0x348]
lea rcx, [0x14011bbd0]
lea r8, [rsp + 0x100]
mov qword [rax], rcx
mov rdx, qword [rsp + 0x348]
mov ecx, dword [rsp + 0x340]
call fcn.140034b7c
mov r15d, eax
xor eax, eax
cmp byte [rsp + 0x128], al
mov qword [rsp + 0x110], r15
mov dword [rsp + 0x148], eax
jle 0x1400dd85e
cmp r15d, 3
jne 0x1400dd85e
cmp rbx, rax
jne 0x1400dd85e
lea rcx, [rsp + 0xf0]
lea edi, [rax + 1]
call fcn.140057768
lea rcx, [rsp + 0x118]
call fcn.140057768
lea rcx, [rsp + 0xa0]
call fcn.140057768
lea rcx, [rsp + 0xf8]
call fcn.140057768
lea rcx, [rsp + 0x98]
call fcn.140057768
lea rcx, [rsp + 0x120]
call fcn.140057768
lea rcx, [rsp + 0xe8]
call fcn.140057768
lea rcx, [rsp + 0x88]
call fcn.140057768
lea rcx, [rsp + 0xb8]
call fcn.140057768
lea rcx, [rsp + 0xd8]
call fcn.140057768
lea rcx, [rsp + 0xc8]
call fcn.140057768
lea rcx, [rsp + 0x78]
call fcn.140057768
lea rcx, [rsp + 0x178]
call fcn.140057768
lea rcx, [rsp + 0xa8]
call fcn.140057768
lea rcx, [rsp + 0x100]
call fcn.140057768
lea r12, [0x14012e0b8]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
dec dword [0x14012e168]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea rcx, [rsp + 0x208]
call fcn.140057768
mov rsi, qword [rsp + 0x478]
mov rbx, qword [rsp + 0x470]
jmp 0x1400db8d8
cmp rbx, rax
jne 0x1400dd85e
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x1c0]
call fcn.14006ac98
lea rcx, [rsp + 0x1c0]
mov rdx, rbp
call fcn.14005fb54
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 0x1400dd824
mov r9, qword [rsp + 0x1c0]
xor edx, edx
mov rcx, r13
call fcn.14000d858
mov r15, rax
mov qword [rsp + 0x110], rax
jmp 0x1400dd84f
mov rdx, qword [rsp + 0x1c0]
mov word [rsp + 0x158], cx
lea r9, [rsp + 0x158]
mov rcx, r13
call fcn.14000d858
mov r15d, eax
mov qword [rsp + 0x110], r15
lea rcx, [rsp + 0x1c0]
call fcn.140057768
xor eax, eax
cmp r14, rax
je 0x1400dda04
cmp r15d, 3
jne 0x1400dda04
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, r12d
cmp eax, 0x1388
jae 0x1400dda04
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc8
mov rcx, r13
call fcn.14001ec3c
jmp 0x1400dd603
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.140057768
mov r13, qword [rsp + 0x478]
jmp 0x1400dda0c
lea rcx, [rsp + 0x188]
mov ebx, 1
call fcn.140057768
lea rcx, [rsp + 0x198]
call fcn.140057768
jmp 0x1400dda0e
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea rcx, [rsp + 0x1d0]
call fcn.140057768
lea rcx, [rsp + 0x188]
call fcn.140057768
lea rcx, [rsp + 0x198]
call fcn.140057768
lea rcx, [rsp + 0xf0]
call fcn.140057768
lea rcx, [rsp + 0x118]
call fcn.140057768
lea rcx, [rsp + 0xa0]
call fcn.140057768
lea rcx, [rsp + 0xf8]
call fcn.140057768
lea rcx, [rsp + 0x98]
call fcn.140057768
lea rcx, [rsp + 0x120]
call fcn.140057768
lea rcx, [rsp + 0xe8]
call fcn.140057768
lea rcx, [rsp + 0x88]
call fcn.140057768
lea rcx, [rsp + 0xb8]
call fcn.140057768
lea rcx, [rsp + 0xd8]
call fcn.140057768
lea rcx, [rsp + 0xc8]
call fcn.140057768
lea rcx, [rsp + 0x78]
call fcn.140057768
lea rcx, [rsp + 0x178]
call fcn.140057768
lea rcx, [rsp + 0xa8]
call fcn.140057768
lea rcx, [rsp + 0x100]
call fcn.140057768
lea r12, [0x14012e0b8]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
dec dword [0x14012e168]
mov ebx, 0xb7
jmp 0x1400dde53
mov ebx, 0x80070057
jmp 0x1400dda0c
mov rbx, qword [rsp + 0x110]
xor esi, esi
mov rax, qword [rsp + 0x350]
cmp rax, rsi
je 0x1400dda38
lea rcx, [rsp + 0x260]
mov qword [rsp + 0x260], rax
mov qword [rsp + 0x350], rsi
call fcn.140057768
mov rdx, qword [rsp + 0xa8]
cmp word [rdx], si
je 0x1400dda7c
cmp dword [rsp + 0x148], esi
jne 0x1400dda7c
mov rax, qword [rsp + 0x100]
mov ecx, 0x2a
mov word [rsp + 0x3e0], si
lea r8, [rsp + 0x3e0]
cmp word [rax], cx
jne 0x1400dda74
lea r8, [rax + 2]
mov rcx, r13
call fcn.14005ee18
lea rcx, [rsp + 0xf0]
call fcn.140057768
lea rcx, [rsp + 0x118]
call fcn.140057768
lea rcx, [rsp + 0xa0]
call fcn.140057768
lea rcx, [rsp + 0xf8]
call fcn.140057768
lea rcx, [rsp + 0x98]
call fcn.140057768
lea rcx, [rsp + 0x120]
call fcn.140057768
lea rcx, [rsp + 0xe8]
call fcn.140057768
lea rcx, [rsp + 0x88]
call fcn.140057768
lea rcx, [rsp + 0xb8]
call fcn.140057768
lea rcx, [rsp + 0xd8]
call fcn.140057768
lea rcx, [rsp + 0xc8]
call fcn.140057768
lea rcx, [rsp + 0x78]
call fcn.140057768
lea rcx, [rsp + 0x178]
call fcn.140057768
lea rcx, [rsp + 0xa8]
call fcn.140057768
lea rcx, [rsp + 0x100]
call fcn.140057768
lea r12, [0x14012e0b8]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
dec dword [0x14012e168]
jmp 0x1400dde53
mov rcx, qword [rsp + 0x478]
lea r9, [0x14010d568]
lea rdx, [0x14011bb08]
xor r8d, r8d
mov dword [rsp + 0x20], 0xffffff9c
call fcn.1400cc090
lea rcx, [rsp + 0xf0]
call fcn.140057768
lea rcx, [rsp + 0x118]
call fcn.140057768
lea rcx, [rsp + 0xa0]
call fcn.140057768
lea rcx, [rsp + 0xf8]
call fcn.140057768
lea rcx, [rsp + 0x98]
call fcn.140057768
lea rcx, [rsp + 0x120]
call fcn.140057768
lea rcx, [rsp + 0xe8]
call fcn.140057768
lea rcx, [rsp + 0x88]
call fcn.140057768
lea rcx, [rsp + 0xb8]
call fcn.140057768
lea rcx, [rsp + 0xd8]
call fcn.140057768
lea rcx, [rsp + 0xc8]
call fcn.140057768
lea rcx, [rsp + 0x78]
call fcn.140057768
lea rcx, [rsp + 0x178]
call fcn.140057768
lea rcx, [rsp + 0xa8]
call fcn.140057768
lea rcx, [rsp + 0x100]
call fcn.140057768
lea r12, [0x14012e0b8]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
add dword [0x14012e168], esi
mov ebx, r13d
jmp 0x1400dde53
lea rcx, [rsp + 0x180]
call fcn.140057768
lea rcx, [rsp + 0xf0]
call fcn.140057768
lea rcx, [rsp + 0x118]
call fcn.140057768
lea rcx, [rsp + 0xa0]
call fcn.140057768
lea rcx, [rsp + 0xf8]
call fcn.140057768
lea rcx, [rsp + 0x98]
call fcn.140057768
lea rcx, [rsp + 0x120]
call fcn.140057768
lea rcx, [rsp + 0xe8]
call fcn.140057768
lea rcx, [rsp + 0x88]
call fcn.140057768
lea rcx, [rsp + 0xb8]
call fcn.140057768
lea rcx, [rsp + 0xd8]
call fcn.140057768
lea rcx, [rsp + 0xc8]
call fcn.140057768
lea rcx, [rsp + 0x78]
call fcn.140057768
lea rcx, [rsp + 0x178]
call fcn.140057768
lea rcx, [rsp + 0xa8]
call fcn.140057768
lea rcx, [rsp + 0x100]
call fcn.140057768
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
add dword [0x14012e168], esi
jmp 0x1400dde0b
lea rcx, [rsp + 0xf0]
call fcn.140057768
lea rcx, [rsp + 0x118]
call fcn.140057768
lea rcx, [rsp + 0xa0]
call fcn.140057768
lea rcx, [rsp + 0xf8]
call fcn.140057768
lea rcx, [rsp + 0x98]
call fcn.140057768
lea rcx, [rsp + 0x120]
call fcn.140057768
lea rcx, [rsp + 0xe8]
call fcn.140057768
lea rcx, [rsp + 0x88]
call fcn.140057768
lea rcx, [rsp + 0xb8]
call fcn.140057768
lea rcx, [rsp + 0xd8]
call fcn.140057768
lea rcx, [rsp + 0xc8]
call fcn.140057768
lea rcx, [rsp + 0x78]
call fcn.140057768
lea rcx, [rsp + 0x178]
call fcn.140057768
lea rcx, [rsp + 0xa8]
call fcn.140057768
lea rcx, [rsp + 0x100]
call fcn.140057768
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
dec dword [0x14012e168]
mov ebx, 0x80070057
jmp 0x1400dde53
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.14001ec3c
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov r11d, dword [0x14012e168]
cmp r11d, ebp
jg 0x1400dde12
lea rcx, [rsp + 0x480]
or edx, 0xffffffff
call fcn.14001b4a0
mov ebx, ebp
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea rcx, [rsp + 0x208]
call fcn.140057768
mov eax, ebx
add rsp, 0x428
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret