Function at 0x140176420
Capabilities:
Get disk information
Get session user name

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x2b8
mov byte [rsp + 0x30], 1
mov dword [rsp + 0x5c], 0x6c81fe12
mov eax, dword [rsp + 0x2d0]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
add eax, 0x6f835f35
cmp eax, dword [rsp + 0x2d0]
jb 0x14017697d
movzx eax, byte [rsp + 0x30]
sub eax, 0xc5
mov byte [rsp + 0x30], al
mov eax, dword [rsp + 0x44]
and eax, 0x3301224d
cmp eax, dword [rsp + 0x2d0]
ja 0x140176934
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1401764ac
cmp dword [rsp + 0x60], 0x1a12e2c5
je 0x140176503
jmp 0x140176538
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x8c], al
cmp byte [rsp + 0x8c], 0x3c
je 0x1401764cd
jmp 0x1401764f2
mov byte [rsp + 0x31], 0x3a
mov eax, dword [rsp + 0x2c8]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x38], al
lea rax, [rsp + 0x31]
mov qword [rsp + 0x50], rax
jmp 0x140176501
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax]
xor eax, 0x5e
mov byte [rsp + 0x31], al
jmp 0x140176538
mov rcx, qword [rsp + 0xa0]
call sub.WINSPOOL.DRV_FindClosePrinterChangeNotification
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x31]
sar eax, cl
mov rcx, qword [rsp + 0x50]
mov byte [rcx], al
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x2d0], eax
mov eax, dword [rsp + 0x44]
movzx ecx, al
mov eax, dword [rsp + 0x40]
shl eax, cl
cmp eax, dword [rsp + 0x2d0]
ja 0x1401768f8
mov eax, 0x5bf
mov word [rsp + 0x34], ax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x70], rax
movzx eax, word [rsp + 0x34]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0x5bf
je 0x14017658c
cmp dword [rsp + 0x64], 0xa61
je 0x140176609
jmp 0x140176624
movzx eax, word [rsp + 0x34]
cmp eax, 0x18e
jne 0x1401765ab
mov eax, dword [rsp + 0x2d0]
mov ecx, dword [rsp + 0x44]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x48], eax
movzx eax, byte [rsp + 0x38]
movzx ecx, byte [rsp + 0x32]
imul eax, ecx
movzx ecx, byte [rsp + 0x30]
cmp eax, ecx
jne 0x1401765d8
movsx eax, byte [rsp + 0x31]
and eax, 0x40
mov rcx, qword [rsp + 0x50]
mov byte [rcx], al
lea rax, [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x2c8]
mov eax, dword [rax]
sub eax, ecx
mov dword [rsp + 0x5c], eax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x39], al
jmp 0x140176624
movzx r9d, word [rsp + 0x34]
movzx r8d, word [rsp + 0x34]
movzx edx, word [rsp + 0x34]
mov ecx, dword [rsp + 0x48]
call fcn.1401769a0
nop
movzx eax, word [rsp + 0x34]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0x5bf
je 0x140176642
jmp 0x140176829
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax]
xor eax, ecx
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
movzx ecx, al
mov eax, dword [rsp + 0x2c8]
shl eax, cl
mov rcx, qword [rsp + 0x70]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rcx]
and ecx, edx
cmp eax, ecx
jl 0x1401767aa
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0xd0ff9f22
je 0x1401766c3
jmp 0x1401766fc
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x2c0]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x98]
mov dword [rcx], eax
movzx r9d, word [rsp + 0x34]
movzx r8d, word [rsp + 0x34]
movzx edx, word [rsp + 0x34]
mov ecx, dword [rsp + 0x3c]
call fcn.1401769a0
nop
jmp 0x140176785
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x2c8]
and ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx]
mov edx, dword [rsp + 0x3c]
sub edx, ecx
mov ecx, edx
cmp eax, ecx
je 0x140176785
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
mov dword [rsp + 0x2c0], eax
movsx eax, byte [rsp + 0x39]
movsx ecx, byte [rsp + 0x31]
add eax, ecx
mov rcx, qword [rsp + 0x50]
mov byte [rcx], al
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [rsp + 0xbc], eax
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
movzx ecx, byte [rcx]
sub eax, ecx
mov byte [rsp + 0x38], al
movsx eax, byte [rsp + 0x39]
movsx ecx, byte [rsp + 0x31]
add eax, ecx
mov rcx, qword [rsp + 0x50]
mov byte [rcx], al
lea r9, [rsp + 0x48]
mov r8d, 0xfa
mov edx, 0x65
mov rcx, qword [rsp + 0xa0]
call sub.WINSPOOL.DRV_FindFirstPrinterChangeNotification
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov dword [rsp + 0x2c8], eax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
mov byte [rsp + 0x80], al
cmp byte [rsp + 0x80], 0x6f
je 0x1401767d3
jmp 0x1401767e7
mov rcx, qword [rsp + 0xa0]
call sub.WINSPOOL.DRV_AbortPrinter
mov dword [rsp + 0xc0], eax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov word [rsp + 0x58], ax
movzx eax, word [rsp + 0x58]
sub eax, 0xaee
mov word [rsp + 0x34], ax
movzx eax, byte [rsp + 0x32]
movzx ecx, byte [rsp + 0x30]
add eax, ecx
mov rcx, qword [rsp + 0x78]
mov byte [rcx], al
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x2c8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
jmp 0x140176861
lea rdx, [rsp + 0x170]
lea rcx, str.C:wheat_fifespropriety_sultansFondling
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0xd8], rax
movzx r9d, word [rsp + 0x34]
movzx r8d, word [rsp + 0x34]
movzx edx, word [rsp + 0x34]
mov ecx, dword [rsp + 0x3c]
call fcn.1401769a0
nop
movzx eax, byte [rsp + 0x32]
movzx ecx, byte [rsp + 0x38]
add eax, ecx
movzx ecx, byte [rsp + 0x30]
mov rdx, qword [rsp + 0x78]
movzx edx, byte [rdx]
add ecx, edx
cmp eax, ecx
je 0x1401768f8
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
movzx ecx, byte [rcx]
sub eax, ecx
mov byte [rsp + 0x32], al
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0x8b4cea41
je 0x1401768ad
jmp 0x1401768e4
mov r8d, 0x21
lea rdx, [rsp + 0xf0]
lea rcx, str.C:_forwardnessAtomicallyCheroot
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
mov dword [rsp + 0x88], eax
movsx eax, byte [rsp + 0x39]
movsx ecx, byte [rsp + 0x31]
or eax, ecx
mov rcx, qword [rsp + 0x50]
mov byte [rcx], al
jmp 0x1401768f8
mov eax, dword [rsp + 0x2d0]
movzx ecx, al
mov eax, dword [rsp + 0x44]
shr eax, cl
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax]
movsx ecx, byte [rsp + 0x31]
add eax, ecx
mov rcx, qword [rsp + 0x50]
mov byte [rcx], al
lea r9, [rsp + 0x31]
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x32]
mov rcx, qword [rsp + 0xe0]
call sub.WINSPOOL.DRV_FindNextPrinterChangeNotification
mov dword [rsp + 0x88], eax
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
movzx r9d, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x30]
mov dl, 0x45
mov cl, 0xa7
call fcn.1401757d0
movzx eax, byte [rsp + 0x30]
or eax, 0xb4
mov byte [rsp + 0x30], al
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0x2c8]
mov dword [rsp + 0x2c0], eax
mov eax, 0x36
add rsp, 0x2b8
ret