Function at 0x1096900
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10db377
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x115e76c]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
cmp dword [ebp + 8], 0
setne al
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1096951
push 0x261
push 0x11399dc
call fcn.0100a6d0
test eax, eax
je 0x1096951
int3
cmp dword [ebp - 0x1c], 0
jne 0x109695c
call fcn.010062d0
xor edx, edx
jne 0x109692b
xor eax, eax
cmp dword [ebp + 0xc], 0
setne al
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1096986
push 0x262
push 0x1139a14
call fcn.0100a6d0
test eax, eax
je 0x1096986
int3
cmp dword [ebp - 0x20], 0
jne 0x1096991
call fcn.010062d0
xor edx, edx
jne 0x1096960
push 1
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.010116f0
test eax, eax
jne 0x10969bd
push 0x263
push 0x1139a4c
call fcn.0100a6d0
test eax, eax
je 0x10969bd
int3
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1096a4e
cmp dword [ebp + 0xc], 0
je 0x1096a21
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
je 0x1096a21
mov ecx, dword [ebp + 0xc]
push ecx
push str.Warning:_could_not_parse_the_path__s._n
push 0
mov ecx, 0x11609f0
call fcn.01001320
push eax
push 0x26c
push 0x1139a84
lea ecx, [ebp - 0x184]
call fcn.010012d0
push eax
call fcn.010012f0
add esp, 0x14
push 0xffffffffffffffff
mov edx, dword [ebp + 0xc]
push edx
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.01006400
add esp, 0x10
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.01095370
xor eax, eax
jmp 0x1096c5b
cmp dword [ebp - 0x10], 0x104
jb 0x1096a8f
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
test ecx, ecx
je 0x1096a88
mov edx, dword [ebp + 0xc]
push edx
push str.Warning:_could_not_parse_the_path__s._Path_is_too_long._n
push 0x276
push 0x1139ae8
lea ecx, [ebp - 0x18c]
call fcn.010012d0
push eax
call fcn.01097180
add esp, 0xc
xor eax, eax
jmp 0x1096c5b
lea ecx, [ebp - 0x14]
call fcn.0100f000
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.01096ca0
lea ecx, [ebp - 0x14]
call fcn.0101b260
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x1096c3c
push 0
push 0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.0101b260
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x1096b51
lea ecx, [ebp - 0x14]
call fcn.0101b260
push eax
push str.Warning:_could_not_get_volume_information__s._n
push 0
mov ecx, 0x11609f0
call fcn.01001320
push eax
push 0x286
push 0x1139b5c
lea ecx, [ebp - 0x194]
call fcn.010012d0
push eax
call fcn.010012f0
add esp, 0x14
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.01095370
mov dword [ebp - 0x198], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01009720
mov eax, dword [ebp - 0x198]
jmp 0x1096c5b
mov eax, dword [ebp - 0x28]
and eax, 2
jne 0x1096b63
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_CharUpperA]
mov edx, dword [ebp - 0x28]
and edx, 4
jne 0x1096c3c
lea eax, [ebp - 0x174]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x1096c3c
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x18], 0
je 0x1096c1b
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
jbe 0x1096c1b
lea ecx, [ebp - 0x148]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp + 8]
mov dword [ebp - 0x17c], edx
mov eax, dword [ebp - 0x178]
add eax, dword [ebp - 0x17c]
cmp eax, 0x104
jge 0x1096bf8
lea ecx, [ebp - 0x148]
push ecx
mov edx, 0x104
sub edx, dword [ebp - 0x17c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.010140c0
add esp, 0xc
jmp 0x1096c19
mov dword [ebp - 0x19c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01009720
mov eax, dword [ebp - 0x19c]
jmp 0x1096c5b
jmp 0x1096c3c
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01009720
mov eax, dword [ebp - 0x1a0]
jmp 0x1096c5b
mov dword [ebp - 0x1a4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01009720
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0109d5d0
mov esp, ebp
pop ebp
ret 0xc