Function at 0x1074a66
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ebx, 0x1014bbc
push ebx
mov dword [ebp - 0x18], edi
call fcn.010746c8
test al, al
jne 0x1074aa9
push 0x1014c20
mov ecx, edi
call fcn.010746c8
test al, al
mov dword [ebp - 0x14], 0x800
je 0x1074ab0
mov dword [ebp - 0x14], 0x104
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1074ab5
sub eax, edx
sar eax, 1
cmp eax, dword [ebp - 0x14]
jae 0x1074da4
push dword [edi + 0x1c]
call fcn.0107aefd
mov ecx, dword [ebp - 0x18]
and word [ebp - 8], 0
movzx edi, ax
push ebx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x10], di
mov word [ebp - 0xe], 0x2e
mov word [ebp - 0xc], 0x2e
mov word [ebp - 0xa], di
call fcn.010746c8
test al, al
mov ebx, dword [sym.imp.msvcrt.dll_wcsncmp]
je 0x1074bb5
mov ecx, 0x100a4e8
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1074b37
test dx, dx
je 0x1074b33
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1074b37
add eax, 4
add ecx, 4
test dx, dx
jne 0x1074b11
xor eax, eax
jmp 0x1074b3c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1074bab
push 3
lea eax, [ebp - 0xe]
push eax
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x1074bab
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.msvcrt.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
jne 0x1074bab
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1074b66
sub eax, edx
sar eax, 1
cmp eax, 3
jb 0x1074ba4
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1074b7e
sub eax, edx
sar eax, 1
push 3
lea ecx, [ebp - 0x10]
push ecx
lea eax, [esi + eax*2 - 6]
push eax
call ebx
add esp, 0xc
neg eax
sbb eax, eax
neg eax
jmp 0x1074ba7
xor eax, eax
inc eax
test eax, eax
jne 0x1074bb5
mov ebx, 0xc00d132b
jmp 0x1074da9
mov ecx, dword [ebp - 0x18]
push 0x1014bbc
call fcn.010746c8
test al, al
je 0x1074beb
push esi
call fcn.0107b3f6
test al, al
je 0x1074c20
push 4
push 0x1014cc0
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x1074c20
add esi, 4
xor ebx, ebx
jmp 0x1074d90
mov ebx, dword [ebp - 0x18]
push 0x1014be8
mov ecx, ebx
call fcn.010746c8
test al, al
je 0x1074c4f
mov ebx, dword [sym.imp.msvcrt.dll_iswdigit]
jmp 0x1074c08
inc esi
inc esi
movzx eax, word [esi]
push eax
call ebx
test eax, eax
pop ecx
jne 0x1074c06
movzx eax, word [esi]
cmp ax, di
je 0x1074c2a
test ax, ax
je 0x1074c3c
mov ebx, 0xc00d1327
jmp 0x1074da9
test ax, ax
je 0x1074c3c
inc esi
inc esi
movzx eax, word [esi]
push eax
call ebx
test eax, eax
pop ecx
jne 0x1074c2f
mov bx, word [esi]
neg bx
sbb ebx, ebx
and ebx, 0xc00d1327
jmp 0x1074d8c
push 0x1014be0
mov ecx, ebx
call fcn.010746c8
test al, al
jne 0x1074be4
push 0x1014c10
mov ecx, ebx
call fcn.010746c8
test al, al
je 0x1074ce2
movzx eax, word [esi]
cmp ax, 0x41
mov ebx, 0xc00d1327
jb 0x1074c83
cmp ax, 0x5a
jbe 0x1074c97
cmp ax, 0x61
jb 0x1074da9
cmp ax, 0x7a
ja 0x1074da9
movzx eax, word [esi + 2]
cmp ax, di
jne 0x1074cdd
mov edi, dword [sym.imp.msvcrt.dll_iswdigit]
add esi, 4
jmp 0x1074cad
inc esi
inc esi
movzx eax, word [esi]
push eax
call edi
test eax, eax
pop ecx
jne 0x1074cab
movzx eax, word [esi]
cmp ax, word [ebp - 0x14]
jne 0x1074cdd
inc esi
inc esi
movzx eax, word [esi]
push eax
call edi
test eax, eax
pop ecx
jne 0x1074cc1
cmp word [esi], 0
jne 0x1074da9
jmp 0x1074be4
test ax, ax
jmp 0x1074cd2
push 0x1014c20
mov ecx, ebx
call fcn.010746c8
test al, al
je 0x1074d7e
lea ecx, [ebp - 0x30]
mov ebx, 0xc00d1327
call fcn.0107a032
push 3
push esi
lea ecx, [ebp - 0x30]
call fcn.0107a7d6
test eax, eax
jl 0x1074d74
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x1074d74
mov edi, 0x10131b8
push edi
lea ecx, [ebp - 0x3c]
call fcn.0107ad01
push esi
lea ecx, [ebp - 0x24]
call fcn.0107ad01
lea ecx, [ebp - 0x3c]
call fcn.0107a0fa
add eax, 2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
call fcn.0107a0fa
cmp eax, dword [ebp - 0x14]
jne 0x1074d64
push 2
push edi
lea ecx, [ebp - 0x24]
call fcn.0107a24b
cmp eax, 2
jne 0x1074d64
xor ebx, ebx
lea ecx, [ebp - 0x24]
call fcn.0107a784
lea ecx, [ebp - 0x3c]
call fcn.0107a784
lea ecx, [ebp - 0x30]
call fcn.0107a784
jmp 0x1074d8c
cmp word [esi], di
je 0x1074be4
mov ebx, 0xc00d1327
test ebx, ebx
jl 0x1074da9
mov ecx, dword [ebp - 0x18]
push esi
call fcn.010749de
test eax, eax
je 0x1074da9
mov ebx, 0xc00d1325
jmp 0x1074da9
mov ebx, 0xc00d1331
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01047417
leave
ret 4