Function at 0x1400285d0
Capabilities:
Get disk information
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe8
mov r14, rcx
lea rcx, [0x140118f08]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
test byte [r14 + 0x11], 2
je 0x14002861d
lea rcx, [0x140118f08]
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
xor eax, eax
jmp 0x1400297ac
mov rax, qword [rsp + 0x138]
lea rcx, [rsp + 0x138]
add rax, 0xfffffffffffffff8
mov qword [rsp + 0xa8], rax
call fcn.1400157dc
mov ecx, dword [0x1401178b4]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov rbx, qword [rsp + 0x138]
xor edi, edi
lea ecx, [rdi + 0x2a]
mov r12, rax
lea eax, [rdi + 0x2d]
mov r15w, cx
lea r13, [0x140117a58]
mov byte [rsp + 0x4f], dil
mov byte [rsp + 0x40], dil
mov byte [rsp + 0x47], dil
mov byte [rsp + 0x44], dil
mov dword [rsp + 0x80], r15d
mov byte [rsp + 0x148], dil
mov byte [rsp + 0x4e], dil
mov byte [rsp + 0x4c], dil
mov r8d, edi
mov dword [rsp + 0x60], edi
mov byte [rsp + 0x54], dil
mov bpl, dil
mov sil, dil
cmp ax, word [rbx]
jne 0x1400286b7
mov r15d, eax
mov dword [rsp + 0x80], eax
mov qword [rsp + 0xa0], rbx
mov eax, 1
cmp word [rbx], r15w
jne 0x140028794
mov r14, rax
cmp word [rbx + 2], r15w
jne 0x140028784
add rbx, 4
lea rcx, [0x1400fd7a0]
mov r8d, 6
mov rdx, rbx
mov qword [rsp + 0xa0], rbx
call fcn.140053674
cmp al, dil
je 0x140028729
mov rax, qword [rsp + 0x138]
mov r8d, dword [rsp + 0x60]
cmp word [rax + 0xc], 0x2b
jne 0x14002871b
mov sil, 3
jmp 0x140028731
cmp word [rax + 0xc], 0x40
sete sil
add sil, r14b
jmp 0x140028731
mov r8d, r14d
mov dword [rsp + 0x60], r14d
movzx eax, word [rbx]
cmp ax, di
je 0x140028765
mov ecx, 0x20
lea edx, [rcx - 0x17]
cmp dx, ax
ja 0x14002874c
cmp ax, 0xd
jbe 0x140028765
cmp cx, ax
je 0x140028765
add rbx, 2
mov qword [rsp + 0xa0], rbx
mov ax, word [rbx]
cmp ax, di
jne 0x140028741
lea rcx, [rsp + 0xa0]
call fcn.1400157dc
mov rbx, qword [rsp + 0xa0]
cmp word [rbx], r15w
je 0x1400286d1
mov r14, qword [rsp + 0x130]
mov eax, 1
lea ecx, [rax + 0x29]
cmp r8d, edi
je 0x1400287a2
mov byte [rsp + 0x48], al
cmp word [rbx], di
je 0x1400287a7
mov byte [rsp + 0x48], dil
cmp cx, word [rbx]
jne 0x1400287e6
add rbx, 2
mov byte [rsp + 0x54], al
cmp word [rbx], 0x3f
mov qword [rsp + 0x90], rbx
jne 0x1400287d1
add rbx, 2
mov bpl, al
mov qword [rsp + 0x90], rbx
lea rcx, [rsp + 0x90]
call fcn.1400157dc
mov rbx, qword [rsp + 0x90]
mov rcx, rbx
call fcn.140019d38
mov rbx, rax
mov qword [rsp + 0x90], rax
cmp byte [rsp + 0x54], dil
je 0x140028819
cmp bpl, dil
jne 0x140028819
cmp word [rax], di
jne 0x140028819
mov ebp, 1
mov byte [rsp + 0x130], bpl
jmp 0x140028826
mov byte [rsp + 0x130], dil
mov ebp, 1
cmp dword [rsp + 0x60], edi
jne 0x140028843
cmp word [rax], di
jne 0x140028843
movzx eax, sil
cmp sil, dil
mov ecx, 3
cmove eax, ecx
mov sil, al
mov rax, r12
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x4a], bpl
neg rax
sbb al, al
and al, sil
mov byte [rsp + 0x50], al
and al, bpl
cmovne rcx, r12
cmp al, dil
cmovne r13, r12
mov qword [rsp + 0x68], rcx
lea r15, [r13 + 8]
test byte [r14 + 0x10], bpl
je 0x140028886
mov byte [rsp + 0x46], bpl
cmp qword [r13], rdi
jne 0x14002888b
mov byte [rsp + 0x46], dil
mov rcx, qword [rsp + 0x140]
test bpl, cl
je 0x1400288ae
and rcx, 0xfffffffffffffffe
mov byte [rsp + 0x46], dil
mov byte [rsp + 0x4a], dil
mov qword [rsp + 0x140], rcx
lea rax, [0x1400f9548]
mov qword [rsp + 0x98], 0xfffffffffff80000
mov qword [rsp + 0xd8], rax
cmp rcx, 0xffffffffffffffff
jne 0x1400288e8
mov rcx, qword [r13 + 0x20]
mov byte [rsp + 0x40], 2
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x98], rcx
mov rax, qword [rsp + 0x138]
lea rcx, [rsp + 0x88]
mov dword [rsp + 0x5c], edi
cmp word [rax], di
setne byte [rsp + 0x70]
call fcn.14005a150
mov cl, byte [r14 + 0x10]
mov r12b, byte [r14 + 0x10]
mov al, cl
mov qword [rsp + 0xb0], rdi
and al, bpl
shr r12b, 6
mov byte [rsp + 0x42], 0xff
mov byte [rsp + 0x58], al
mov al, cl
shr cl, 2
shr al, 1
and cl, bpl
and r12b, bpl
and al, bpl
mov byte [rsp + 0x4d], cl
lea rcx, [0x140118f08]
mov byte [rsp + 0x41], al
mov al, byte [r14 + 0x10]
mov byte [rsp + 0x49], 0xff
shr al, 3
mov dword [rsp + 0x78], edi
and al, bpl
mov byte [rsp + 0x4b], al
mov al, byte [r14 + 0x10]
shr al, 4
and al, bpl
mov byte [rsp + 0x45], al
mov al, byte [r14 + 0x10]
shr al, 5
and al, bpl
mov ebp, edi
mov byte [rsp + 0x43], al
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rax, qword [rsp + 0x138]
mov esi, dword [rsp + 0x80]
cmp word [rax], si
jne 0x140028f27
mov bl, byte [rsp + 0x40]
mov r15d, edi
cmp word [rax + 2], si
jne 0x140028f12
add rax, 4
lea rcx, [0x1400fd7a0]
mov r8d, 6
mov rdx, rax
mov qword [rsp + 0x138], rax
inc r15d
call fcn.140053674
cmp al, dil
jne 0x140028eb6
mov rdx, qword [rsp + 0x138]
lea rcx, [0x1400fd79c]
mov r8d, 1
call fcn.140053674
cmp al, dil
je 0x140028a41
mov rcx, qword [rsp + 0x138]
mov eax, 0x2d
cmp word [rcx + 2], ax
jne 0x140028a19
mov al, dil
mov byte [rsp + 0x45], al
jmp 0x140028ebe
movzx eax, byte [r14 + 0x11]
mov edx, 1
shr rax, 1
and rax, rdx
or rax, qword [0x140117ef0]
jne 0x140028ebe
mov al, dl
mov byte [rsp + 0x45], dl
jmp 0x140028ebe
mov rdx, qword [rsp + 0x138]
lea rcx, [0x1400fd794]
mov r8d, 5
call fcn.140053674
cmp al, dil
je 0x140028b3f
add qword [rsp + 0x138], 0xa
mov eax, 1
lea rdx, [rsp + 0x80]
add byte [rsp + 0x47], al
lea rcx, [rsp + 0x138]
mov qword [rsp + 0x80], rdi
call fcn.14005e3b0
mov r11, qword [r13 + 0x20]
mov ecx, 1
cmp r11, rdi
jle 0x140028b18
cmp bl, cl
je 0x140028b18
mov al, byte [rsp + 0x47]
cmp al, cl
jne 0x140028ac9
cmp r11, qword [rsp + 0x80]
jne 0x140028ac9
mov rdx, qword [rsp + 0x80]
mov bl, cl
mov qword [rsp + 0x98], rdx
mov rcx, qword [rsp + 0x138]
movzx eax, word [rcx]
cmp ax, di
je 0x140028ef4
mov edx, 0x20
lea r8d, [rdx - 0x17]
cmp r8w, ax
ja 0x140028af6
cmp ax, 0xd
jbe 0x140028ef4
cmp dx, ax
je 0x140028ef4
add rcx, 2
mov qword [rsp + 0x138], rcx
mov ax, word [rcx]
cmp ax, di
jne 0x140028ae6
jmp 0x140028ef4
mov rdx, qword [rsp + 0x80]
cmp rdx, rdi
mov qword [rsp + 0x98], rdx
jg 0x140028ac9
mov byte [rsp + 0x4f], cl
mov qword [rsp + 0x98], 0xfffffffffff80000
jmp 0x140028ac9
mov rdx, qword [rsp + 0x138]
lea rcx, [0x1400fd790]
mov r8d, 3
call fcn.140053674
cmp al, dil
je 0x140028ba1
mov rcx, qword [rsp + 0x138]
cmp word [rcx + 6], 0x31
jb 0x140028b99
cmp word [rcx + 6], 0x39
ja 0x140028b99
movzx eax, byte [r14 + 0x11]
mov edx, 1
shr rax, 1
and rax, rdx
or rax, qword [0x140117ef0]
jne 0x140028ebe
mov r12b, dl
jmp 0x140028ebe
mov r12b, dil
jmp 0x140028ebe
mov rdx, qword [rsp + 0x138]
lea rcx, [0x1400fd78c]
mov r8d, 1
call fcn.140053674
cmp al, dil
je 0x140028bdb
mov rcx, qword [rsp + 0x138]
mov eax, 0x2d
cmp word [rcx + 2], ax
setne byte [rsp + 0x4d]
jmp 0x140028ebe
mov rdx, qword [rsp + 0x138]
lea rcx, [0x1400fd788]
mov r8d, 2
call fcn.140053674
cmp al, dil
je 0x140028c15
mov rcx, qword [rsp + 0x138]
mov eax, 0x2d
cmp word [rcx + 4], ax
setne byte [rsp + 0x4b]
jmp 0x140028ebe
mov rdx, qword [rsp + 0x138]
lea rcx, [0x1400fd784]
mov r8d, 2
call fcn.140053674
cmp al, dil
je 0x140028c6a
mov rcx, qword [rsp + 0x138]
cmp word [rcx + 4], 0x31
jb 0x140028c5e
cmp word [rcx + 4], 0x39
ja 0x140028c5e
cmp qword [0x140117ef0], rdi
jne 0x140028ebe
mov eax, 1
jmp 0x140028c61
mov al, dil
mov byte [rsp + 0x43], al
jmp 0x140028ebe
mov rdx, qword [rsp + 0x138]
lea rcx, [0x1400fd77c]
mov r8d, 4
call fcn.140053674
cmp al, dil
je 0x140028cbf
mov rcx, qword [rsp + 0x138]
cmp word [rcx + 8], 0x31
jb 0x140028cb3
cmp word [rcx + 8], 0x39
ja 0x140028cb3
cmp qword [0x140117ef0], rdi
jne 0x140028ebe
mov eax, 1
jmp 0x140028cb6
mov al, dil
mov byte [rsp + 0x41], al
jmp 0x140028ebe
mov rdx, qword [rsp + 0x138]
lea rcx, [0x1400fd778]
mov r8d, 3
call fcn.140053674
cmp al, dil
je 0x140028d08
mov rcx, qword [rsp + 0x138]
cmp word [rcx + 6], 0x31
jb 0x140028cf9
cmp word [rcx + 6], 0x39
mov eax, 3
jbe 0x140028cfb
mov eax, edi
mov dword [rsp + 0x54], eax
mov byte [rsp + 0x49], al
jmp 0x140028ebe
lea rdx, [rsp + 0x138]
lea rcx, [0x1400fd774]
mov r8d, 2
call fcn.14005c928
cmp al, dil
jne 0x140028d46
lea rdx, [rsp + 0x138]
lea rcx, [0x1400fd770]
mov r8d, 3
call fcn.14005c928
cmp al, dil
je 0x140028d54
mov eax, 1
mov byte [rsp + 0x54], al
jmp 0x140028f01
mov rdx, qword [rsp + 0x138]
lea rcx, [0x1400fd76c]
mov r8d, 3
call fcn.140053674
cmp al, dil
je 0x140028db9
mov rcx, qword [rsp + 0x138]
mov edx, 1
add ebp, edx
cmp word [rcx + 6], 0x31
jb 0x140028da8
cmp word [rcx + 6], 0x39
ja 0x140028da8
cmp qword [0x140117ef0], rdi
jne 0x140028ebe
mov al, dl
mov byte [rsp + 0x42], dl
jmp 0x140028ebe
and byte [r14 + 0x10], 0xfe
mov al, dil
mov byte [rsp + 0x42], al
jmp 0x140028ebe
lea rdx, [rsp + 0x138]
lea rcx, [0x1400fd768]
mov r8d, 1
call fcn.14005c928
cmp al, dil
je 0x140028de2
mov byte [rsp + 0x44], 1
jmp 0x140028f01
lea rdx, [rsp + 0x138]
lea rcx, [0x1400fd764]
mov r8d, 3
call fcn.14005c928
cmp al, dil
je 0x140028e0e
mov byte [rsp + 0x148], 1
jmp 0x140028f01
lea rdx, [rsp + 0x138]
lea rcx, [0x1400fd75c]
mov r8d, 4
call fcn.14005c928
cmp al, dil
je 0x140028e3a
mov byte [rsp + 0x148], 3
jmp 0x140028f01
lea rdx, [rsp + 0x138]
lea rcx, [0x1400fd754]
mov r8d, 4
call fcn.14005c928
cmp al, dil
je 0x140028e66
mov byte [rsp + 0x148], 2
jmp 0x140028f01
lea rdx, [rsp + 0x138]
lea rcx, [0x1400fd750]
mov r8d, 3
call fcn.14005c928
cmp al, dil
je 0x140028e8c
mov byte [rsp + 0x4e], 1
jmp 0x140028f01
lea rdx, [rsp + 0x138]
lea rcx, [0x1400fd748]
mov r8d, 4
call fcn.14005c928
cmp al, dil
je 0x140028ac9
mov byte [rsp + 0x4c], 1
jmp 0x140028f01
mov rcx, qword [rsp + 0x138]
movzx eax, word [rcx]
cmp ax, di
je 0x140028ef4
mov edx, 0x20
lea r8d, [rdx - 0x17]
cmp r8w, ax
ja 0x140028edb
cmp ax, 0xd
jbe 0x140028ef4
cmp dx, ax
je 0x140028ef4
add rcx, 2
mov qword [rsp + 0x138], rcx
mov ax, word [rcx]
cmp ax, di
jne 0x140028ecf
lea rcx, [rsp + 0x138]
call fcn.1400157dc
mov rax, qword [rsp + 0x138]
cmp word [rax], si
je 0x1400289a4
mov byte [rsp + 0x40], bl
mov rbx, qword [rsp + 0x90]
mov dword [rsp + 0x78], r15d
lea r15, [r13 + 8]
lea rcx, [0x140118f08]
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov sil, byte [rsp + 0x130]
mov qword [rsp + 0x138], rbx
cmp word [rbx], di
jne 0x140028f54
cmp dword [rsp + 0x60], edi
jne 0x140028f54
cmp sil, dil
jne 0x140028fce
cmp qword [r13 + 0x20], rdi
jle 0x140028fce
cmp byte [rsp + 0x40], dil
jg 0x140028fce
cmp word [rbx], di
jne 0x140028f7c
mov al, byte [r14 + 0x10]
and al, 1
cmp byte [rsp + 0x58], al
jne 0x140028f7c
cmp dword [rsp + 0x78], ebp
je 0x140029782
mov rbx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xa8]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
lea edi, [r9 + 5]
mov r8, rdi
mov rcx, r14
call fcn.1400281e8
lea rcx, [0x140118f08]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rdx, rbx
mov cl, 1
call fcn.140016bd4
lea rcx, [0x140118f08]
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x140029782
cmp byte [rsp + 0x48], dil
jne 0x1400296ea
cmp byte [r14 + 0xd8], dil
je 0x140028ff0
cmp word [rbx], di
je 0x140028ff0
mov eax, 1
mov bl, al
jmp 0x140028ff8
mov bl, dil
mov eax, 1
mov rbp, qword [rsp + 0x68]
cmp byte [rsp + 0x70], dil
je 0x140029031
test byte [r14 + 0x10], al
je 0x140029031
cmp byte [rsp + 0x4a], dil
je 0x140029031
mov rdx, qword [rsp + 0xa8]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
call fcn.1400281e8
cmp bl, dil
je 0x140029156
lea rcx, [rsp + 0xc0]
mov byte [r14 + 0xd8], dil
call fcn.14005a150
lea rdx, [0x1400fd730]
lea rcx, [rsp + 0xc8]
call fcn.140064d14
mov rdx, qword [rsp + 0xc8]
mov eax, 1
lea r8, [rsp + 0xc0]
xor r9d, r9d
mov rcx, r14
mov byte [rsp + 0x20], al
call fcn.14006d030
lea rcx, [rsp + 0xc8]
call fcn.140052160
lea rdx, [0x1400fd720]
lea rcx, [rsp + 0xb8]
call fcn.140064d14
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xb8]
call fcn.14005a28c
movsxd rbx, dword [r15 + 8]
mov eax, 1
test byte [r14 + 0x10], al
je 0x1400290f8
mov rax, qword [rsp + 0x140]
mov rdx, qword [rsp + 0xb8]
mov r9d, 0x11
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.1400281e8
jmp 0x14002910a
cmp qword [r15], rdi
jne 0x14002910a
mov edx, 0x10000
mov rcx, r15
call fcn.14005a250
mov rax, qword [r15]
lea rcx, [rsp + 0x88]
lea rdx, [rax + rbx*2]
call fcn.140064d94
mov rax, qword [r15]
cmp byte [rsp + 0x46], dil
mov qword [r15 + 8], rbx
mov word [rax + rbx*2], di
mov eax, dword [rsp + 0x70]
movzx eax, al
lea rcx, [rsp + 0xb8]
cmovne eax, edi
mov dword [rsp + 0x70], eax
call fcn.140052160
lea rcx, [rsp + 0xc0]
call fcn.140052160
mov ebx, 1
mov rdx, rbp
mov cl, bl
call fcn.140016bd4
cmp sil, dil
je 0x14002917b
mov eax, edi
cmp dword [rsp + 0x60], edi
jne 0x1400296f1
jmp 0x14002977f
mov al, byte [r13 + 0x28]
or al, byte [rsp + 0x4e]
je 0x140029234
lea r8, [0x1400f9548]
lea rdx, [0x1400fa8c8]
mov r9d, ebx
mov rcx, r14
mov qword [rsp + 0x20], rdi
call fcn.14001c4f8
cmp rax, rdi
je 0x140029234
cmp qword [rax], rdi
je 0x140029234
lea rcx, [rax + 0x10]
mov edx, 0x38
call fcn.140016d84
mov r11, rax
cmp rax, rdi
je 0x140029234
mov rcx, rax
call fcn.140016df4
mov qword [rcx + 0x28], r13
lea rbx, [rcx + 0x18]
mov qword [rbx], rdi
mov cl, byte [r13 + 0x29]
mov qword [rbx], rdi
mov byte [r11 + 0x21], cl
mov cl, byte [r13 + 0x28]
lea r8, [0x140117fa0]
mov byte [r11 + 0x20], cl
mov rdx, qword [r13 + 0x20]
or r9d, 0xffffffff
mov qword [r11 + 8], rdx
mov rax, qword [r13]
lea rdx, [0x1400fbf00]
mov qword [r11 + 0x10], rax
mov rcx, r14
mov qword [r13], rdi
call fcn.14001c5dc
cmp rax, rdi
je 0x14002922f
mov rdx, qword [rax]
mov rcx, rbx
call fcn.140064e2c
mov ebx, 1
cmp qword [r13], rdi
je 0x14002924b
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
dec qword [0x140117bf8]
mov eax, 3
mov qword [r13], rdi
mov qword [r15 + 8], rdi
mov qword [r13 + 0x20], 0xfffffffffff80000
mov byte [r13 + 0x28], dil
cmp byte [rsp + 0x50], al
jne 0x1400292a6
mov rax, qword [rsp + 0x138]
cmp word [rax], di
jne 0x1400292b7
cmp qword [0x140117a58], rdi
je 0x1400292a6
or rdx, 0xffffffffffffffff
mov cl, bl
call fcn.140016bd4
mov rcx, qword [0x140117a58]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [0x140117a58], rdi
dec qword [0x140117bf8]
mov rax, qword [rsp + 0x138]
cmp word [rax], di
je 0x1400296bf
and byte [r13 + 0x29], 0xfe
cmp byte [rsp + 0x54], dil
setne al
or byte [r13 + 0x29], al
cmp byte [rsp + 0x148], dil
je 0x140029467
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
lea rcx, [rsp + 0xb0]
lea ebp, [rax + 0x108]
lea eax, [rbp + rbp]
movsxd rdx, eax
call fcn.14005a250
mov rbx, qword [rsp + 0xb0]
movsxd r11, ebp
lea rsi, [rbx + r11*2]
xor r9d, r9d
mov edx, 0x105
mov word [rsi], di
mov word [rbx], di
mov rcx, qword [rsp + 0x138]
mov r8, rsi
call fcn.14005af80
movzx r11d, word [rsi]
cmp r11w, di
je 0x140029462
mov eax, 0x3a
cmp ax, word [rsi + 2]
jne 0x140029462
mov word [rsp + 0x7a], ax
mov eax, 0x5c
mov word [rsp + 0x78], r11w
mov word [rsp + 0x7c], ax
mov eax, 1
mov word [rsp + 0x7e], di
mov qword [rsp + 0x138], rsi
test byte [rsp + 0x148], al
je 0x140029396
lea rcx, [rsp + 0x78]
mov r8d, ebp
mov rdx, rbx
call qword [sym.imp.KERNEL32.DLL_GetVolumeNameForVolumeMountPointW]
cmp eax, edi
je 0x140029396
cmp word [rbx], di
jne 0x140029432
test byte [rsp + 0x148], 2
je 0x140029462
lea rcx, [rsp + 0x130]
mov edx, 0x1e0
call fcn.14005a1c4
mov rax, qword [rsp + 0x130]
movzx r11d, word [rsi]
mov word [rax], r11w
mov rax, qword [rsp + 0x130]
or rdx, 0xffffffffffffffff
mov byte [rsp + 0x30], dil
lea rcx, [rsp + 0x130]
mov r9d, 0xac
mov r8, rdx
mov qword [rsp + 0x28], rdi
mov word [rax + 2], di
mov qword [rsp + 0x20], rdi
call fcn.14007d950
mov r11, qword [rsp + 0x130]
cmp qword [r11], rdi
jl 0x140029455
cmp qword [r11 + 8], rdi
jle 0x140029455
mov r9d, dword [r11 + 8]
mov r8d, dword [r11]
lea rdx, [0x1400fd6e8]
mov rcx, rbx
call qword [sym.imp.USER32.DLL_wsprintfW]
lea rcx, [rsp + 0x130]
call fcn.140052160
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
lea rdx, [rsi + 6]
cdqe
lea rcx, [rbx + rax*2]
call qword [sym.imp.KERNEL32.DLL_lstrcpyW]
mov qword [rsp + 0x138], rbx
jmp 0x140029462
lea rcx, [rsp + 0x130]
call fcn.140052160
mov rbp, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
movsxd rbx, eax
lea ecx, [rbx + 0x9e]
movsxd rdx, ecx
cmp qword [r15 + 0x10], rdx
jge 0x14002949c
lea ecx, [rbx + 0x10008]
movsxd rdx, ecx
mov rcx, r15
mov qword [r15 + 0x10], rdx
call fcn.14005a250
mov rax, qword [r15]
lea rcx, [0x1400fd6e0]
mov word [rax], di
mov rdx, qword [rsp + 0x138]
call fcn.1400536b0
mov sil, al
cmp al, dil
je 0x1400294c8
mov ecx, 0x102
call fcn.1400577dc
mov cl, byte [rsp + 0x44]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
neg cl
mov r9d, 7
mov r8d, 0x40000000
sbb edx, edx
mov rcx, r13
mov qword [rsp + 0xd0], rdi
and edx, 2
add edx, 2
mov dword [rsp + 0x28], edx
mov rdx, qword [rsp + 0x138]
mov qword [rsp + 0x20], rdi
call fcn.1400037e4
mov ecx, edi
cmp rax, rdi
mov al, byte [rsp + 0x4c]
mov byte [r13 + 0x28], al
mov eax, 1
setne cl
cmp ecx, eax
jne 0x14002952b
mov dword [rsp + 0x5c], edi
jmp 0x140029542
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, 1
cmp eax, edi
cmove eax, ecx
mov dword [rsp + 0x5c], eax
mov rax, rcx
cmp qword [r13], rdi
je 0x140029581
add qword [0x140117bf8], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xd8], rax
cmp byte [rsp + 0x44], dil
je 0x140029581
mov rcx, qword [r13]
lea r8, [rsp + 0xd0]
mov r9d, 2
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
cmp sil, dil
mov esi, 1
jne 0x1400295ab
cmp qword [rsp + 0xd0], rdi
jg 0x1400295ab
mov rax, qword [r15]
mov ecx, 0xfeff
mov word [rax], cx
mov rax, qword [r15]
mov word [rax + 2], di
mov qword [r15 + 8], rsi
mov rcx, qword [r15 + 8]
mov rdx, qword [rsp + 0x88]
lea eax, [rbx + 1]
movsxd r8, eax
mov rax, qword [r15]
lea rcx, [rax + rcx*2]
add r8, r8
call fcn.14001b7a8
add qword [r15 + 8], rbx
cmp byte [rsp + 0x70], dil
je 0x140029605
test byte [r14 + 0x10], sil
je 0x140029605
mov rax, qword [rsp + 0x140]
mov rdx, qword [rsp + 0xa8]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.1400281e8
cmp qword [r13], rdi
je 0x140029674
test byte [0x1401183fc], 2
je 0x140029674
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.DLL_GetLargestConsoleWindowSize]
mov dword [rsp + 0x130], eax
movzx ecx, word [rsp + 0x130]
cmp cx, 0x55
jl 0x140029637
add cx, 0xfffb
movzx eax, word [rsp + 0x132]
cmp ax, 0x1e
jl 0x140029649
add ax, 0xfffb
sub cx, si
sub ax, si
lea r8, [rsp + 0x60]
mov word [rsp + 0x64], cx
mov rcx, qword [r13]
mov edx, esi
mov word [rsp + 0x60], di
mov word [rsp + 0x62], di
mov word [rsp + 0x66], ax
call qword [sym.imp.KERNEL32.DLL_SetConsoleWindowInfo]
mov rbx, qword [rsp + 0xd8]
cmp word [rbx], di
je 0x1400296c6
cmp byte [rsp + 0x148], dil
jne 0x1400296c6
lea rcx, [rsp + 0x88]
mov edx, 0x10e
call fcn.14005a250
mov r8, qword [rsp + 0x88]
xor r9d, r9d
mov edx, 0x105
mov rcx, rbx
call fcn.14005af80
mov rbx, qword [rsp + 0x88]
jmp 0x1400296c6
lea rbx, [0x1400f9548]
lea rdx, [0x1400fbf00]
lea rcx, [0x140117fa0]
mov r8, rbx
call fcn.1400596c4
mov eax, dword [rsp + 0x5c]
cmp eax, edi
jne 0x14002977f
jmp 0x1400296ec
mov eax, edi
mov ebx, 1
mov cl, byte [rsp + 0x42]
cmp cl, dil
jl 0x140029705
and byte [r14 + 0x10], 0xfe
and cl, bl
or byte [r14 + 0x10], cl
mov cl, byte [rsp + 0x49]
cmp cl, dil
jl 0x140029712
mov byte [r13 + 0x29], cl
mov cl, byte [rsp + 0x43]
and byte [r14 + 0x10], 0x81
and r12b, bl
and cl, bl
add r12b, r12b
or r12b, cl
mov cl, byte [rsp + 0x45]
and cl, bl
add r12b, r12b
or r12b, cl
mov cl, byte [rsp + 0x4b]
and cl, bl
add r12b, r12b
or r12b, cl
mov cl, byte [rsp + 0x4d]
and cl, bl
add r12b, r12b
or r12b, cl
mov cl, byte [rsp + 0x41]
and cl, bl
add r12b, r12b
or r12b, cl
mov rcx, qword [rsp + 0x98]
add r12b, r12b
or byte [r14 + 0x10], r12b
cmp rcx, rdi
jle 0x140029770
mov qword [r13 + 0x20], rcx
jmp 0x14002977f
cmp byte [rsp + 0x4f], dil
je 0x14002977f
mov qword [r13 + 0x20], 0xfffffffffff80000
movsxd rdi, eax
lea rcx, [rsp + 0xb0]
call fcn.140052160
lea rcx, [rsp + 0x88]
call fcn.140052160
lea rcx, [0x140118f08]
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov rax, rdi
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret