Function at 0x41a8e0
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x2b4]
sub esp, 0x2b4
push 0xffffffffffffffff
push 0x444ddb
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4629b4]
xor eax, ebp
mov dword [ebp + 0x2b0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 0x30]
call fcn.004050b0
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], 0
call fcn.004050b0
push 0x208
lea eax, [ebp + 0xa8]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0042f620
add esp, 0xc
lea eax, [ebp + 0xa8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
dec eax
cmp eax, 0x103
ja 0x41acc3
cmp word [ebp + 0xa8], 0
lea edi, [ebp + 0xa8]
je 0x41acc3
mov ebx, dword [ebp + 0x2bc]
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x41ac9f
push edi
lea ecx, [ebp + 0x90]
call fcn.00405090
push 1
push 0x4610a4
lea eax, [ebp + 0x90]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040c410
add esp, 0x10
lea ecx, [ebp + 0x90]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x24]
call fcn.004050d0
lea ecx, [ebp + 0x90]
mov esi, 0x46b05c
call fcn.00409580
mov cx, word [eax]
cmp cx, word [esi]
jne 0x41aa06
test cx, cx
je 0x41aa02
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x41aa06
add eax, 4
add esi, 4
test cx, cx
jne 0x41a9e0
xor eax, eax
jmp 0x41aa0b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41aaa3
cmp ebx, 1
jne 0x41ac90
push str.SYSTEM
lea ecx, [ebp]
call fcn.00405090
push str.SOFTWARE
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.00405090
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 4
call fcn.00409580
lea ecx, [ebp]
mov esi, eax
call fcn.00409580
lea ecx, [ebp + 0x90]
push ecx
push 0
push esi
push eax
call fcn.0041ad00
mov esi, edi
add esp, 0x10
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41aa70
sub esi, ecx
lea ecx, [ebp + 0x18]
sar esi, 1
call fcn.004050d0
lea ecx, [ebp]
call fcn.004050d0
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 1
call fcn.004050d0
jmp 0x41acb3
test ebx, ebx
jne 0x41ac90
push str.WindowsSystem32configSOFTWARE
lea eax, [ebp + 0x90]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00404b30
add esp, 0xc
lea ecx, [ebp + 0x30]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x24]
call fcn.004050d0
push str.WindowsSystem32configSYSTEM
lea eax, [ebp + 0x90]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00404b30
add esp, 0xc
lea ecx, [ebp + 0x48]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x24]
call fcn.004050d0
lea eax, [ebp + 0x30]
push eax
call fcn.00414f40
add esp, 4
test eax, eax
je 0x41ac66
lea eax, [ebp + 0x48]
push eax
call fcn.00414f40
add esp, 4
test eax, eax
je 0x41ac66
lea eax, [ebp + 0x90]
push eax
lea eax, [ebp - 0x24]
push str.bf1a281b_ad7b_4476_ac95_f47682990ce7
push eax
call fcn.0040ca90
push str._Windows_System32_config_SYSTEM
push eax
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 5
push eax
call fcn.00404a70
add esp, 0x18
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004050d0
lea eax, [ebp + 0x90]
push eax
lea eax, [ebp - 0x3c]
push str.bf1a281b_ad7b_4476_ac95_f47682990ce7
push eax
call fcn.0040ca90
push str._Windows_System32_config_SOFTWARE
push eax
lea eax, [ebp + 0x78]
mov byte [ebp - 4], 8
push eax
call fcn.00404a70
add esp, 0x18
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.004050d0
lea ecx, [ebp + 0x30]
call fcn.00409580
lea ecx, [ebp + 0x78]
mov esi, eax
call fcn.00409580
push esi
push eax
call fcn.00414570
add esp, 8
lea ecx, [ebp + 0x48]
mov ebx, eax
call fcn.00409580
lea ecx, [ebp + 0x60]
mov esi, eax
call fcn.00409580
push esi
push eax
call fcn.00414570
add esp, 8
test ebx, ebx
jne 0x41abfc
test eax, eax
jne 0x41ac15
lea ecx, [ebp + 0x78]
call fcn.00409580
lea ecx, [ebp + 0x60]
mov esi, eax
call fcn.00409580
lea ecx, [ebp + 0x90]
push ecx
push 1
push esi
push eax
call fcn.0041ad00
add esp, 0x10
jmp 0x41ac00
test eax, eax
jne 0x41ac11
lea ecx, [ebp + 0x60]
call fcn.00409580
push eax
call fcn.00427610
add esp, 4
test ebx, ebx
jne 0x41ac26
lea ecx, [ebp + 0x78]
call fcn.00409580
push eax
call fcn.00427610
add esp, 4
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41ac30
sub esi, ecx
lea ecx, [ebp + 0x78]
sar esi, 1
call fcn.004050d0
lea ecx, [ebp + 0x60]
call fcn.004050d0
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 1
call fcn.004050d0
mov ebx, dword [ebp + 0x2bc]
jmp 0x41acb3
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41ac70
sub esi, ecx
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x90]
sar esi, 1
call fcn.004050d0
jmp 0x41acb3
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 1
call fcn.004050d0
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41aca4
sub esi, ecx
sar esi, 1
lea edi, [edi + esi*2]
add edi, 2
cmp word [edi], 0
jne 0x41a982
lea ecx, [ebp + 0x48]
call fcn.004050d0
lea ecx, [ebp + 0x30]
call fcn.004050d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2b0]
xor ecx, ebp
call fcn.0042d960
lea esp, [ebp + 0x2b4]
pop ebp
ret