Function at 0x409f40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c3d1
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x4ad3b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0xec]
mov dword [ebp - 0xf8], 0
push eax
mov dword [ebp - 0xfc], 0
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileA]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xfc]
push eax
push 0
push 0
push str.C:__
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [ebp - 0x19c], 0x48d86c
push 0
lea eax, [ebp - 0x198]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0xf8], 2
mov dword [ebp - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x150], 0x48
call fcn.00407bd0
mov eax, dword [ebp - 0x19c]
push 8
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x19c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1a0], eax
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004646d6
mov esi, eax
add esp, 4
test esi, esi
je 0x40a059
push 1
mov byte [ebp - 4], 3
call fcn.00463670
add esp, 4
mov dword [esi + 4], eax
jmp 0x40a05b
xor esi, esi
lea eax, [ebp - 0x194]
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x190]
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0x184]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x180]
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x174]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x170]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 4
mov eax, dword [ebp - 0x19c]
lea ecx, [ebp - 0x188]
push dword [ebp - 0xfc]
mov dword [ebp - 4], 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea ecx, [ebp - 0x19c]
call fcn.00409500
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x198]
call fcn.0040c660
push 0
push 0x48d468
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403900
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a190
sub ecx, edx
lea eax, [ebp - 0xe8]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00403900
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 7
call fcn.004034a0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x40a1fc
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a1f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5a0
push edx
push ecx
call fcn.00464706
add esp, 8
lea ecx, [ebp - 0xc1]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x70], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a217
sub ecx, edx
lea eax, [ebp - 0xc1]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00403900
push 1
push 0x48d87c
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.00403d00
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x40], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
push dword [ebp - 0x30]
movd eax, xmm1
mov byte [ebp - 4], 9
cmovae ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004034a0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x40a2bd
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a2b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a596
push edx
push ecx
call fcn.00464706
add esp, 8
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x40a2f5
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a2eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a596
push edx
push ecx
call fcn.00464706
add esp, 8
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
inc eax
mov byte [ebp - 4], 0xa
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 0xf8], 0x3a
call fcn.00404400
push 1
push 0x48d87c
lea ecx, [ebp - 0x40]
call fcn.004034a0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
call fcn.004034a0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.004034a0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x40a397
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a38d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5a0
push edx
push ecx
call fcn.00464706
add esp, 8
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
cmp ecx, 0x10
lea esi, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
add eax, edx
cmp ecx, 0x10
mov dword [ebp - 0xf4], eax
cmovae edi, dword [ebp - 0x28]
add edi, edx
cmp ecx, 0x10
mov dword [ebp - 0xf0], edi
cmovae esi, dword [ebp - 0x28]
cmp esi, edi
je 0x40a424
nop
movsx eax, byte [esi]
push eax
call fcn.0046d1dd
add esp, 4
test eax, eax
jne 0x40a3e5
inc esi
cmp esi, edi
jne 0x40a3d0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp esi, edi
je 0x40a424
lea edi, [esi + 1]
cmp edi, dword [ebp - 0xf0]
je 0x40a424
nop word [eax + eax]
movsx eax, byte [edi]
push eax
call fcn.0046d1dd
add esp, 4
test eax, eax
jne 0x40a415
mov al, byte [edi]
mov byte [esi], al
inc esi
inc edi
cmp edi, dword [ebp - 0xf0]
jne 0x40a400
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp ecx, 0x10
mov dword [ebp - 0xf0], esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
cmovae eax, dword [ebp - 0x28]
sub dword [ebp - 0xf0], eax
cmp edx, dword [ebp - 0xf0]
jb 0x40a59b
sub dword [ebp - 0xf4], esi
mov eax, edx
mov esi, dword [ebp - 0xf0]
sub eax, esi
mov edi, dword [ebp - 0xf4]
cmp eax, edi
cmovb edi, eax
cmp ecx, 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0xf4], edi
cmovae eax, dword [ebp - 0x28]
lea ecx, [eax + esi]
mov eax, edi
sub edx, eax
add eax, ecx
mov dword [ebp - 0x18], edx
sub edx, esi
inc edx
push edx
push eax
push ecx
call fcn.004668f0
add esp, 0xc
mov esi, dword [ebp - 0x100]
mov ecx, esi
mov eax, dword [ebp - 0x18]
add eax, 5
mov byte [ebp - 4], 0xc
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 0xf8], 0x5a
call fcn.00404400
push 5
push str.hwid
mov ecx, esi
call fcn.004034a0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004034a0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40a51a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a510
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5a0
push edx
push ecx
call fcn.00464706
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40a55c
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a552
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5a0
push edx
push ecx
call fcn.00464706
add esp, 8
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00409870
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464714
mov esp, ebp
pop ebp
ret
call fcn.00469dba
call fcn.004033e0
call fcn.00469dba
int3