Function at 0x4072b0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454a1e
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x46a1c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x360], esi
mov dword [ebp - 0x368], esi
xor edi, edi
mov dword [ebp - 0x3a8], esi
mov dword [ebp - 0x340], edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x364], eax
push 0x460bca
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x254], edi
movups xmmword [ebp - 0x264], xmm0
mov dword [ebp - 0x250], edi
call fcn.00417360
mov dword [ebp - 4], edi
cmp dword [ebp - 0x364], edi
jne 0x407398
xorps xmm0, xmm0
mov ecx, esi
push 3
movups xmmword [esi], xmm0
push 0x460dcc
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.00417360
mov ecx, dword [ebp - 0x250]
cmp ecx, 0xf
jbe 0x407cc3
mov edx, dword [ebp - 0x264]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407389
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ce1
push ecx
push edx
call fcn.00433928
add esp, 8
jmp 0x407cc3
mov al, 0x43
mov byte [ebp - 0x339], al
cmp al, 0x5a
jg 0x407c98
movsx edx, al
mov eax, 1
lea ecx, [edx - 0x41]
shl eax, cl
mov ecx, dword [ebp - 0x364]
test ecx, eax
je 0x407c58
mov cl, dl
mov dword [ebp - 0x344], 0xf
movzx eax, cl
xorps xmm0, xmm0
shl cx, 8
mov esi, 1
movups xmmword [ebp - 0x358], xmm0
or cx, ax
mov byte [ebp - 0x357], 0
mov byte [ebp - 0x358], cl
mov byte [ebp - 4], 2
lea eax, [esi + 2]
mov dword [ebp - 0x348], eax
mov ecx, 0x5c3a
lea eax, [ebp - 0x358]
xorps xmm0, xmm0
mov word [eax + esi], cx
or edi, 2
mov byte [eax + esi + 2], 0
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x340], edi
movups xmmword [ebp - 0x24c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x23c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x344]
cmp ecx, 0xf
jbe 0x4074a3
mov edx, dword [ebp - 0x358]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407499
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ce6
push ecx
push edx
call fcn.00433928
add esp, 8
cmp dword [ebp - 0x238], 0xf
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x348], 0
cmova eax, dword [ebp - 0x24c]
push eax
mov dword [ebp - 0x344], 0xf
mov byte [ebp - 0x358], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp dword [ebp - 0x238], 0xf
lea ecx, [ebp - 0x24c]
mov esi, eax
lea eax, [ebp - 0x278]
cmova ecx, dword [ebp - 0x24c]
push eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x35c], esi
push eax
lea eax, [ebp - 0x288]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x407c14
cmp dword [ebp - 0x238], 0xf
lea ecx, [ebp - 0x234]
push 0x104
push ecx
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x268]
push ecx
push 0x104
lea ecx, [ebp - 0x130]
lea eax, [ebp - 0x24c]
cmova eax, dword [ebp - 0x24c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x407c14
mov edx, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x270]
call fcn.00454170
mulsd xmm0, qword [0x461460]
mov edx, dword [ebp - 0x274]
mov ecx, dword [ebp - 0x278]
movsd qword [ebp - 0x3e8], xmm0
call fcn.00454170
mulsd xmm0, qword [0x461460]
lea eax, [ebp - 0x338]
push 0xb0
push 0
push eax
movsd qword [ebp - 0x3e0], xmm0
call fcn.00435290
add esp, 8
lea ecx, [ebp - 0x338]
call fcn.0040dde0
mov byte [ebp - 4], 5
lea edi, [ebp - 0x17]
mov eax, 0xcccccccd
dec edi
mul esi
shr edx, 3
mov al, dl
mov esi, edx
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x35c]
add cl, cl
sub al, cl
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x35c], eax
test eax, eax
jne 0x4075d3
push ecx
lea eax, [ebp - 0x17]
push eax
push edi
lea ecx, [ebp - 0x3d8]
call fcn.0041a3d0
mov esi, dword [ebp - 0x340]
or esi, 0xc
mov dword [ebp - 0x340], esi
push 0x460dd8
lea edx, [ebp - 0x24c]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x400]
call fcn.004160e0
add esp, 4
lea ecx, [ebp - 0x3d8]
mov byte [ebp - 4], 7
push ecx
push eax
push dword [ebp - 0x268]
lea ecx, [ebp - 0x398]
call fcn.00419d40
or esi, 0x40
mov dword [ebp - 0x340], esi
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x384]
mov eax, edx
mov ecx, dword [ebp - 0x388]
sub eax, ecx
cmp eax, 1
jb 0x4076a5
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x388], eax
lea eax, [ebp - 0x398]
cmova eax, dword [ebp - 0x398]
mov word [eax + ecx], 0x20
lea eax, [ebp - 0x398]
jmp 0x4076c6
push 1
push 0x460dd4
mov byte [ebp - 0x3a0], 0
lea ecx, [ebp - 0x398]
push dword [ebp - 0x3a0]
push 1
call fcn.00418280
mov dword [ebp - 0x3b0], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c0], xmm0
mov dword [ebp - 0x3ac], 0
or esi, 0x20
movups xmm0, xmmword [eax]
mov dword [ebp - 0x340], esi
movups xmmword [ebp - 0x3c0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x3b0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x3c0]
call fcn.00410c80
mov dword [ebp - 0x348], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x358], xmm0
mov dword [ebp - 0x344], 0
or esi, 0x80
movups xmm0, xmmword [eax]
mov dword [ebp - 0x340], esi
movups xmmword [ebp - 0x358], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x348], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x344]
mov eax, edx
mov ecx, dword [ebp - 0x348]
sub eax, ecx
cmp eax, 2
jb 0x4077c5
lea eax, [ecx + 2]
cmp edx, 0xf
mov dword [ebp - 0x348], eax
mov edx, 0x5b20
lea eax, [ebp - 0x358]
cmova eax, dword [ebp - 0x358]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0x358]
jmp 0x4077e6
push 2
push 0x460dd0
mov byte [ebp - 0x3a4], 0
lea ecx, [ebp - 0x358]
push dword [ebp - 0x3a4]
push 2
call fcn.00418280
mov dword [ebp - 0x370], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x380], xmm0
mov dword [ebp - 0x36c], 0
or esi, 0x10
movups xmm0, xmmword [eax]
mov dword [ebp - 0x340], esi
movups xmmword [ebp - 0x380], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x370], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x380]
cmp dword [ebp - 0x36c], 0xf
lea ecx, [ebp - 0x328]
push dword [ebp - 0x370]
cmova edx, dword [ebp - 0x380]
call fcn.0041a730
mov byte [ebp - 4], 0xa
add esp, 4
mov ecx, dword [ebp - 0x36c]
cmp ecx, 0xf
jbe 0x40789f
mov edx, dword [ebp - 0x380]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407895
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ceb
push ecx
push edx
call fcn.00433928
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x344]
mov dword [ebp - 0x370], 0
mov dword [ebp - 0x36c], 0xf
mov byte [ebp - 0x380], 0
cmp ecx, 0xf
jbe 0x4078f8
mov edx, dword [ebp - 0x358]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4078ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ceb
push ecx
push edx
call fcn.00433928
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x3ac]
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 0xf
mov byte [ebp - 0x358], 0
cmp ecx, 0xf
jbe 0x407951
mov edx, dword [ebp - 0x3c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407947
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ceb
push ecx
push edx
call fcn.00433928
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x384]
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 0x3ac], 0xf
mov byte [ebp - 0x3c0], 0
cmp ecx, 0xf
jbe 0x4079aa
mov edx, dword [ebp - 0x398]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4079a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ceb
push ecx
push edx
call fcn.00433928
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x3ec]
mov dword [ebp - 0x388], 0
mov dword [ebp - 0x384], 0xf
mov byte [ebp - 0x398], 0
cmp ecx, 0xf
jbe 0x407a03
mov edx, dword [ebp - 0x400]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4079f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ceb
push ecx
push edx
call fcn.00433928
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x3c4]
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x3ec], 0xf
mov byte [ebp - 0x400], 0
cmp ecx, 0xf
jbe 0x407a5c
mov edx, dword [ebp - 0x3d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407a52
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ceb
push ecx
push edx
call fcn.00433928
add esp, 8
mov eax, dword [ebp - 0x328]
push 0
push 2
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x314]
and eax, 0xffffefff
or eax, 0x2000
mov dword [ebp + ecx - 0x314], eax
lea eax, [ebp - 0x410]
push eax
call fcn.0042003d
mov ecx, dword [ebp - 0x328]
mov edx, eax
add esp, 0xc
lea eax, [ebp - 0x328]
add eax, dword [ecx + 4]
push dword [edx + 0xc]
push dword [edx + 8]
push eax
mov eax, dword [edx]
call eax
movsd xmm1, qword [ebp - 0x3e0]
lea ecx, [ebp - 0x328]
add esp, 0xc
call fcn.0040fc70
mov edx, 0x460ddc
lea ecx, [ebp - 0x328]
call fcn.00415d50
mov eax, dword [ebp - 0x328]
push 0
push 2
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x314]
and eax, 0xffffefff
or eax, 0x2000
mov dword [ebp + ecx - 0x314], eax
lea eax, [ebp - 0x420]
push eax
call fcn.0042003d
mov ecx, dword [ebp - 0x328]
mov edx, eax
add esp, 0xc
lea eax, [ebp - 0x328]
add eax, dword [ecx + 4]
push dword [edx + 0xc]
push dword [edx + 8]
push eax
mov eax, dword [edx]
call eax
movsd xmm1, qword [ebp - 0x3e8]
lea ecx, [ebp - 0x328]
add esp, 0xc
call fcn.0040fc70
mov edx, str.__GB_FREE_r_n
lea ecx, [ebp - 0x328]
call fcn.00415d50
lea eax, [ebp - 0x3d8]
push eax
lea ecx, [ebp - 0x338]
call fcn.0040dcf0
mov byte [ebp - 4], 0xc
mov ecx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x407b68
mov ecx, dword [eax]
mov edi, dword [eax + 0x10]
mov esi, dword [ebp - 0x250]
mov eax, esi
mov edx, dword [ebp - 0x254]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x407bac
lea eax, [edx + edi]
cmp esi, 0xf
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x264]
cmova eax, dword [ebp - 0x264]
lea esi, [eax + edx]
push esi
call fcn.00434d10
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x407bc5
mov byte [ebp - 0x368], 0
lea ecx, [ebp - 0x264]
push dword [ebp - 0x368]
push edi
call fcn.00418280
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x3c4]
cmp ecx, 0xf
jbe 0x407c03
mov edx, dword [ebp - 0x3d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407bf9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407cf0
push ecx
push edx
call fcn.00433928
add esp, 8
lea ecx, [ebp - 0x338]
call fcn.00407d00
mov edi, dword [ebp - 0x340]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x238]
cmp ecx, 0xf
jbe 0x407c52
mov edx, dword [ebp - 0x24c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407c48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407cf5
push ecx
push edx
call fcn.00433928
add esp, 8
mov esi, dword [ebp - 0x360]
mov al, byte [ebp - 0x339]
mov dword [ebp - 4], 0
inc al
jmp 0x40739a
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x264]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x254]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004333df
mov esp, ebp
pop ebp
ret
call fcn.0043bda5
call fcn.0043bda5
call fcn.0043bda5
call fcn.0043bda5
call fcn.0043bda5
int3