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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c4
mov eax, dword [0x480630]
push ebx
push esi
push edi
xor eax, ebp
push 0
mov dword [esp + 0x2d0], eax
lea eax, [ecx + 0x6c]
push 0
mov dword [esp + 0x20], eax
mov eax, dword [eax]
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
xor eax, eax
mov byte [esp + 0xb8], 0
mov ecx, 0x41
lea edi, [esp + 0xb9]
rep stosd dword es:[edi], eax
mov byte [esp + 0x1c0], al
mov ecx, 0x41
lea edi, [esp + 0x1c1]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c0]
push ecx
push 0x104
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor edi, edi
test eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], edi
jbe 0x43d6da
jmp 0x43d530
mov esi, dword [esp + 0x24]
jmp 0x43d530
mov al, byte [esp + edi + 0x1c0]
test al, al
jne 0x43d6c9
push 3
lea edx, [esp + edi + 0x1c1]
push edx
lea eax, [esp + 0xc0]
push eax
mov byte [esp + edi + 0x1cc], 0x7c
call fcn.00457d8f
add esp, 0xc
lea ecx, [esp + 0xb8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x43d6c9
test esi, esi
je 0x43d5bd
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0xc4]
push edx
call esi
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
shrd edx, ecx, 0x14
shrd esi, ebx, 0x14
shr ebx, 0x14
shr ecx, 0x14
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
jmp 0x43d604
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov ecx, dword [esp + 0x20]
imul ecx, dword [esp + 0x34]
mov esi, ecx
imul ecx, dword [esp + 0x30]
imul esi, dword [esp + 0x28]
xor ebx, ebx
shr esi, 0x14
shr ecx, 0x14
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
test eax, eax
je 0x43d6c9
lea edx, [esp + 0xb8]
push edx
mov byte [esp + 0xbe], 0
call dword [sym.imp.USER32.dll_CharUpperA]
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
lea eax, [esp + 0xc8]
push eax
push edi
push 1
call fcn.00437ef0
mov dword [esp + 0x1c], eax
mov byte [esp + 0x50], 0
xor eax, eax
mov ecx, 0x18
lea edi, [esp + 0x51]
rep stosd dword es:[edi], eax
push ebx
push esi
push str._I64d
stosw word es:[edi], ax
lea ecx, [esp + 0x5c]
push 0x64
push ecx
stosb byte es:[edi], al
call fcn.004037a0
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
add esp, 0x14
push 0
push 0
push 0
push 0
lea edx, [esp + 0x60]
push edx
push 1
push 1
push esi
mov ecx, edi
call fcn.00437e00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push str._I64d
lea edx, [esp + 0x5c]
push 0x64
push edx
call fcn.004037a0
add esp, 0x14
push 0
push 0
push 0
push 0
lea eax, [esp + 0x60]
push eax
push 1
push 2
push esi
mov ecx, edi
call fcn.00437e00
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
mov dword [esp + 0xc], edi
jb 0x43d527
mov ecx, dword [esp + 0x2cc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004570de
mov esp, ebp
pop ebp
ret