Function at 0x4125e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6cc
mov eax, dword [0x459e00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x6b8]
push eax
xor ebx, ebx
push ebx
mov dword [ebp - 0x6c0], edi
call fcn.00411d70
add esp, 8
test eax, eax
je 0x412a1e
mov esi, 0xf
lea eax, [ebp - 0x6a4]
mov dword [ebp - 0x4a4], esi
mov dword [ebp - 0x4a8], ebx
mov byte [ebp - 0x4b8], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412640
sub eax, edx
push eax
lea ecx, [ebp - 0x6a4]
push ecx
lea ecx, [ebp - 0x4b8]
call fcn.004027a0
push 1
push 0x44dc70
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.004027a0
push 1
push 0x44dc6c
lea ecx, [ebp - 0x49c]
mov dword [ebp - 0x488], esi
mov dword [ebp - 0x48c], ebx
mov byte [ebp - 0x49c], bl
call fcn.004027a0
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x4b8]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.00412340
add esp, 0x10
push eax
lea ecx, [ebp - 0x4b8]
call fcn.004024f0
mov edi, 0x10
cmp dword [ebp - 0xc], edi
jb 0x4126d8
mov eax, dword [ebp - 0x20]
push eax
call fcn.00433949
add esp, 4
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x20], bl
cmp dword [ebp - 0x488], edi
jb 0x4126f8
mov ecx, dword [ebp - 0x49c]
push ecx
call fcn.00433949
add esp, 4
mov dword [ebp - 0x488], esi
mov dword [ebp - 0x48c], ebx
mov byte [ebp - 0x49c], bl
cmp dword [ebp - 0x34], edi
jb 0x41271b
mov edx, dword [ebp - 0x48]
push edx
call fcn.00433949
add esp, 4
lea eax, [ebp - 0x682]
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x470], ebx
mov byte [ebp - 0x480], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412736
sub eax, edx
push eax
lea eax, [ebp - 0x682]
push eax
lea ecx, [ebp - 0x480]
call fcn.004027a0
push 1
push 0x44dc70
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.004027a0
push 1
push 0x44dc6c
lea ecx, [ebp - 0x49c]
mov dword [ebp - 0x488], esi
mov dword [ebp - 0x48c], ebx
mov byte [ebp - 0x49c], bl
call fcn.004027a0
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x49c]
push edx
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00412340
add esp, 0x10
push eax
lea ecx, [ebp - 0x480]
call fcn.004024f0
cmp dword [ebp - 0xc], edi
jb 0x4127c9
mov edx, dword [ebp - 0x20]
push edx
call fcn.00433949
add esp, 4
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x20], bl
cmp dword [ebp - 0x488], edi
jb 0x4127e9
mov eax, dword [ebp - 0x49c]
push eax
call fcn.00433949
add esp, 4
mov dword [ebp - 0x488], esi
mov dword [ebp - 0x48c], ebx
mov byte [ebp - 0x49c], bl
cmp dword [ebp - 0x34], edi
jb 0x41280c
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00433949
add esp, 4
mov eax, dword [ebp - 0x4b8]
cmp dword [ebp - 0x4a4], edi
jae 0x412820
lea eax, [ebp - 0x4b8]
push eax
lea edx, [ebp - 0x20]
push edx
call fcn.00412460
add esp, 8
push eax
lea ecx, [ebp - 0x4b8]
call fcn.004024f0
cmp dword [ebp - 0xc], edi
jb 0x41284a
mov eax, dword [ebp - 0x20]
push eax
call fcn.00433949
add esp, 4
mov eax, dword [ebp - 0x480]
cmp dword [ebp - 0x46c], edi
jae 0x41285e
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00412460
add esp, 8
push eax
lea ecx, [ebp - 0x480]
call fcn.004024f0
cmp dword [ebp - 0xc], edi
jb 0x412888
mov edx, dword [ebp - 0x20]
push edx
call fcn.00433949
add esp, 4
mov eax, dword [ebp - 0x4b8]
cmp dword [ebp - 0x4a4], edi
jae 0x41289c
lea eax, [ebp - 0x4b8]
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov esi, eax
xor ecx, ecx
lea edi, [esi + 1]
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004336e5
push edi
push ebx
push eax
mov dword [ebp - 0x6bc], eax
call fcn.00434d00
mov eax, dword [ebp - 0x4b8]
mov edi, 0x10
add esp, 0x10
cmp dword [ebp - 0x4a4], edi
jae 0x4128f4
lea eax, [ebp - 0x4b8]
mov ecx, dword [ebp - 0x6bc]
push esi
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push eax
push ebx
push 0xfde9
call esi
mov eax, dword [ebp - 0x480]
cmp dword [ebp - 0x46c], edi
jae 0x412920
lea eax, [ebp - 0x480]
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
push 0xfde9
call esi
mov edi, eax
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004336e5
mov esi, eax
lea eax, [edi + 1]
push eax
push ebx
push esi
call fcn.00434d00
mov eax, dword [ebp - 0x480]
add esp, 0x10
cmp dword [ebp - 0x46c], 0x10
jae 0x41296d
lea eax, [ebp - 0x480]
push edi
push esi
push edi
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x6c0]
lea eax, [edi + edi]
push eax
push ebx
push ecx
call fcn.00434d00
mov edx, dword [ebp - 0x6bc]
mov eax, dword [ebp - 0x6c0]
push edx
push esi
push str._s__s
push edi
push eax
call fcn.004356ec
push esi
call fcn.00434369
mov ecx, dword [ebp - 0x6bc]
push ecx
call fcn.00434369
mov esi, 0x10
add esp, 0x28
cmp dword [ebp - 0x46c], esi
jb 0x4129dc
mov edx, dword [ebp - 0x480]
push edx
call fcn.00433949
add esp, 4
mov dword [ebp - 0x46c], 0xf
mov dword [ebp - 0x470], ebx
mov byte [ebp - 0x480], bl
cmp dword [ebp - 0x4a4], esi
jb 0x412b54
mov eax, dword [ebp - 0x4b8]
push eax
call fcn.00433949
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434758
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0xff
xor ecx, ecx
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
mov dword [ebp - 0x52], eax
mov dword [ebp - 0x4e], eax
mov dword [ebp - 0x4a], eax
mov dword [ebp - 0x46], eax
mov dword [ebp - 0x42], eax
mov dword [ebp - 0x3e], eax
mov dword [ebp - 0x3a], eax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov word [ebp - 0x2e], ax
mov word [ebp - 0x2c], cx
xor edx, edx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x6c8]
push ecx
mov word [ebp - 0x54], dx
lea edx, [ebp - 0x6cc]
push edx
lea eax, [ebp - 0x6c0]
push eax
push 0xff
lea ecx, [ebp - 0x2c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
push 0x40e
lea eax, [ebp - 0x462]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x464], dx
call fcn.00434d00
add esp, 0xc
mov dword [ebp - 0x6bc], ebx
mov dword [ebp - 0x6c4], ebx
mov eax, 1
xor edx, edx
cpuid
mov dword [ebp - 0x6bc], edx
mov dword [ebp - 0x6c4], eax
mov eax, dword [ebp - 0x6bc]
test eax, eax
je 0x412b05
mov ecx, dword [ebp - 0x6c4]
test ecx, ecx
je 0x412b05
push ecx
push eax
push str._u__u
lea ecx, [ebp - 0x464]
push 0x208
push ecx
call fcn.004356ec
jmp 0x412b25
push 0x208
lea edx, [ebp - 0x464]
push edx
push str.MachineGuid
push str.SOFTWAREMicrosoftCryptography
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00411c30
mov esi, dword [ebp + 0xc]
add esp, 0x14
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.00434d00
mov ecx, dword [ebp - 0x6c0]
push ecx
lea edx, [ebp - 0x464]
push edx
push str._s__08X
push esi
push edi
call fcn.004356ec
add esp, 0x20
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434758
mov esp, ebp
pop ebp
ret