Function at 0x403ba0
Capabilities:
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47116a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x48d030]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x64], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x6c], 0
push 0xd
movups xmmword [esi], xmm0
push str.62A345B5496B2
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00417640
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
xor dl, dl
mov dword [ebp - 0x6c], 1
call fcn.00403910
mov dl, 1
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00403910
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
call fcn.00403840
lea ecx, [ebp - 0x2c]
call fcn.00403a20
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00412a00
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x403c9f
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403c95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403c95
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x403cc5
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x403cbd
mov eax, dword [esi]
mov word [eax + ecx], 0x2d
jmp 0x403cdc
push 1
push 0x480520
mov byte [ebp - 0x68], 0
mov ecx, esi
push dword [ebp - 0x68]
push 1
call fcn.004174e0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0x48050c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor ecx, ecx
lea edi, [ebp - 0x17]
test eax, eax
cmovne ecx, dword [ebp - 0x30]
sub esp, 0x18
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], esp
nop dword [eax + eax]
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x68]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x68], eax
test eax, eax
jne 0x403d10
push ecx
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x17]
push eax
push edi
call fcn.0041bfd0
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x6c], 0x19
call fcn.00403a20
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00412a00
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x70]
cmp ecx, 0x10
jb 0x403da5
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403d9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403d9b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x403dcb
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x403dc3
mov eax, dword [esi]
mov word [eax + ecx], 0x2d
jmp 0x403de2
push 1
push 0x480520
mov byte [ebp - 0x64], 0
mov ecx, esi
push dword [ebp - 0x64]
push 1
call fcn.004174e0
sub esp, 0x18
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00412b90
lea ecx, [ebp - 0x84]
call fcn.00403a20
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00412a00
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x70]
cmp ecx, 0x10
jb 0x403e47
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403e3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403e3d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x403e6d
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x403e65
mov eax, dword [esi]
mov word [eax + ecx], 0x2d
jmp 0x403e84
push 1
push 0x480520
mov byte [ebp - 0x64], 0
mov ecx, esi
push dword [ebp - 0x64]
push 1
call fcn.004174e0
sub esp, 0x18
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.00412b90
lea ecx, [ebp - 0x84]
call fcn.00403a20
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00412a00
mov ecx, dword [ebp - 0x70]
cmp ecx, 0x10
jb 0x403ee5
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403edb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403edb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x403f15
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403f0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403f4d
push ecx
push edx
call fcn.0047012d
add esp, 8
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp ecx, 0x10
jb 0x403f5d
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403f53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403f53
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046fb30
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret