Function at 0x41d120
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7468
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x51fee0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0
lea ecx, [ebp - 0x70]
call fcn.00443cd0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 4], 0
call fcn.0043e040
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
call fcn.00450030
add esp, 0xc
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00443bf0
lea eax, [ebp - 0x5c]
push eax
push 0x4db900
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00444170
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00443ee0
cmp dword [ebp - 0x14], 0x10
jb 0x41d1c2
push dword [ebp - 0x28]
call fcn.004a6c2e
add esp, 4
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
or edi, 0xffffffff
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41d1f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x4c]
push eax
call fcn.0043b2f0
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 4
call fcn.00450030
add esp, 0xc
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.00443bf0
lea eax, [ebp - 0x5c]
push eax
push 0x4db904
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.00444170
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.00443ee0
cmp dword [ebp - 0x14], 0x10
jb 0x41d257
push dword [ebp - 0x28]
call fcn.004a6c2e
add esp, 4
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d289
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x4c]
push eax
call fcn.0043d2e0
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 7
call fcn.00450030
add esp, 0xc
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
call fcn.00443bf0
lea eax, [ebp - 0x5c]
push eax
push 0x4db908
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.00444170
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
call fcn.00443ee0
cmp dword [ebp - 0x14], 0x10
jb 0x41d2e9
push dword [ebp - 0x28]
call fcn.004a6c2e
add esp, 4
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d31b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x4c]
push eax
call fcn.0043c0c0
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xa
call fcn.00450030
add esp, 0xc
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call fcn.00443bf0
lea eax, [ebp - 0x5c]
push eax
push 0x4db90c
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.00444170
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call fcn.00443ee0
cmp dword [ebp - 0x14], 0x10
jb 0x41d37b
push dword [ebp - 0x28]
call fcn.004a6c2e
add esp, 4
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d3ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00432e80
movzx eax, al
push eax
lea ecx, [ebp - 0x5c]
call fcn.00443dd0
lea eax, [ebp - 0x5c]
push eax
push str.admin
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xd
call fcn.00444170
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00443ee0
call fcn.0043eea0
movzx eax, al
push eax
lea ecx, [ebp - 0x5c]
call fcn.00443dd0
lea eax, [ebp - 0x5c]
push eax
push str.64bit
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xe
call fcn.00444170
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00443ee0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push dword [ebp - 0x74]
lea ecx, [ebp - 0x5c]
call fcn.00443c50
lea eax, [ebp - 0x5c]
push eax
push str.high_part
push str.disk_space
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xf
call fcn.00444170
mov ecx, eax
call fcn.00444170
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00443ee0
push dword [ebp - 0x78]
lea ecx, [ebp - 0x5c]
call fcn.00443c50
lea eax, [ebp - 0x5c]
push eax
push str.low_part
push str.disk_space
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x10
call fcn.00444170
mov ecx, eax
call fcn.00444170
mov ecx, eax
call fcn.00443f80
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00443ee0
lea ecx, [ebp - 0x48]
call fcn.00445f40
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
mov byte [ebp - 4], 0x11
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
call fcn.00448e50
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 0x13
jb 0x41d52b
mov edx, dword [edx]
sub esp, 0x18
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x41d54a
xor ecx, ecx
jmp 0x41d55c
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x60], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d552
sub ecx, dword [ebp - 0x60]
push ecx
push edx
mov ecx, esi
call fcn.00401460
lea eax, [ebp - 0x7c]
push eax
call fcn.0044ff60
add esp, 0x1c
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x14
call fcn.00402b30
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d59e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 0x12
jb 0x41d5b3
push dword [ebp - 0x28]
call fcn.004a6c2e
add esp, 4
mov esi, dword [ebp - 0x4c]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x41d5d1
call fcn.0040c350
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [ebp - 4], 0x11
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x41d5ef
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x30], 0x10
mov byte [ebp - 4], 0
mov dword [ebp - 0x48], 0x4da4e4
jb 0x41d60b
push dword [ebp - 0x44]
call fcn.004a6c2e
add esp, 4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00446040
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.00443ee0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7434
mov esp, ebp
pop ebp
ret