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

Disassembly:
sub esp, 0x29c
push ebx
push ebp
push esi
push edi
mov esi, ecx
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x50], eax
mov eax, dword [0x4350b8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2b0]
xor ebp, ebp
cmp eax, ebp
jne 0x419ecc
mov edx, dword [esi + 0x24]
lea ebx, [esi + 0x24]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push 0xaf
push eax
call fcn.00422b30
mov ecx, dword [esp + 0x1c]
mov esi, eax
add esp, 0xc
mov eax, dword [esi]
cmp ecx, eax
je 0x419b97
cmp dword [ecx - 0xc], ebp
jge 0x419b69
mov edx, dword [0x4350bc]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x419b6e
cmp dword [eax - 0xc], ebp
jge 0x419b7e
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401f40
jmp 0x419b97
lea ecx, [esp + 0x10]
call fcn.00401e30
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4350bc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x419bc6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419bc6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00426ac0
add esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
sub eax, edx
mov ecx, 7
cdq
and edx, 3
lea edi, [esp + 0x20]
add edx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, 5
sar edx, 2
cmp edx, 0xffffffff
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebp
je 0x419c05
mov eax, 7
mov dword [esp + 0x24], edx
or al, 8
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
push edx
push ebp
push 0x101b
push eax
mov dword [esp + 0x40], ebp
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push 0xb0
push ecx
call fcn.00422b30
mov ecx, dword [esp + 0x1c]
mov esi, eax
add esp, 0xc
mov eax, dword [esi]
cmp ecx, eax
je 0x419c83
cmp dword [ecx - 0xc], ebp
jge 0x419c55
mov edx, dword [0x4350bc]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x419c5a
cmp dword [eax - 0xc], ebp
jge 0x419c6a
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00401f40
jmp 0x419c83
lea ecx, [esp + 0x10]
call fcn.00401e30
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x14]
mov edx, dword [0x4350bc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x419cb2
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419cb2
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00426ac0
add esp, 4
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
mov ecx, 7
cdq
and edx, 3
lea edi, [esp + 0x20]
add edx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov ebp, 1
sar edx, 2
cmp edx, 0xffffffff
mov eax, 5
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebp
je 0x419cf6
mov eax, 7
mov dword [esp + 0x24], edx
or al, 8
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
push edx
push ebp
push 0x101b
push eax
mov dword [esp + 0x40], ebp
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push 0xb1
push ecx
call fcn.00422b30
mov ecx, dword [esp + 0x1c]
mov esi, eax
add esp, 0xc
mov eax, dword [esi]
cmp ecx, eax
je 0x419d78
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x419d48
mov edx, dword [0x4350bc]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x419d4f
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x419d5f
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00401f40
jmp 0x419d78
lea ecx, [esp + 0x10]
call fcn.00401e30
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x14]
mov edx, dword [0x4350bc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x419da7
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419da7
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00426ac0
add esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
sub eax, edx
mov ecx, 7
cdq
and edx, 3
lea edi, [esp + 0x20]
add edx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, 5
sar edx, 2
cmp edx, 0xffffffff
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebp
je 0x419de6
mov eax, 7
mov dword [esp + 0x24], edx
lea edx, [esp + 0x1c]
or al, 8
push edx
push 2
mov ecx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], 2
call fcn.0041aef0
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push 0xb2
push eax
call fcn.00422b30
mov ecx, dword [esp + 0x1c]
mov esi, eax
add esp, 0xc
mov eax, dword [esi]
cmp ecx, eax
je 0x419e66
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x419e36
mov edx, dword [0x4350bc]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x419e3d
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x419e4d
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401f40
jmp 0x419e66
lea ecx, [esp + 0x10]
call fcn.00401e30
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4350bc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x419e95
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419e95
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00426ac0
add esp, 4
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
mov ecx, dword [esp + 0x10]
cdq
and edx, 3
push 3
add eax, edx
sar eax, 2
push eax
push ebp
push ecx
push 3
mov ecx, ebx
call fcn.0041ae10
mov edx, dword [ebx]
push 0x20
push 0
push 0x1036
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xa5]
mov byte [esp + 0xa4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1a9]
mov byte [esp + 0x1a8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x1a8]
xor edi, edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor esi, esi
mov dword [esp + 0x4c], eax
test eax, eax
mov dword [esp + 0x14], esi
jbe 0x41a0ad
mov al, byte [esp + esi + 0x1a8]
test al, al
jne 0x41a09c
lea ecx, [esp + esi + 0x1a5]
push 3
lea edx, [esp + 0xa8]
push ecx
push edx
mov byte [esp + esi + 0x1b4], 0x7c
call fcn.00427d70
add esp, 0xc
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x41a09c
mov eax, dword [esp + 0x50]
test eax, eax
je 0x419fbc
lea ecx, [esp + 0x74]
lea edx, [esp + 0x64]
push ecx
push edx
lea ecx, [esp + 0x74]
lea edx, [esp + 0xac]
push ecx
push edx
call eax
mov edx, dword [esp + 0x68]
mov ebx, eax
mov eax, dword [esp + 0x64]
mov ecx, 0x14
call fcn.00427f70
mov edx, dword [esp + 0x70]
mov esi, eax
mov eax, dword [esp + 0x6c]
mov ecx, 0x14
call fcn.00427f70
jmp 0x419ffb
lea eax, [esp + 0x60]
lea ecx, [esp + 0x5c]
push eax
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x5c]
push edx
lea ecx, [esp + 0xb0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov ebx, eax
mov eax, dword [esp + 0x54]
imul eax, dword [esp + 0x58]
mov esi, eax
imul eax, dword [esp + 0x5c]
imul esi, dword [esp + 0x60]
shr esi, 0x14
shr eax, 0x14
test ebx, ebx
mov ebp, eax
je 0x41a098
mov eax, dword [esp + 0x2b0]
mov byte [esp + 0xa6], 0
test eax, eax
jne 0x41a043
lea edx, [esp + 0xa4]
push edx
call fcn.00427b62
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add esp, 4
lea eax, [esp + 0xa4]
push eax
push ecx
lea ecx, [edx + 0x24]
call fcn.0041ae90
mov edi, eax
push esi
lea eax, [esp + 0x80]
push 0x4350ac
push eax
call fcn.00426b7c
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x7c]
lea esi, [ecx + 0x24]
push edx
push 1
push edi
mov ecx, esi
call fcn.0041adb0
push ebp
lea eax, [esp + 0x94]
push 0x4350ac
push eax
call fcn.00426b7c
add esp, 0xc
lea ecx, [esp + 0x90]
push ecx
push 2
push edi
mov ecx, esi
call fcn.0041adb0
inc edi
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jb 0x419f29
lea ecx, [esp + 0x10]
call fcn.00401f10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x29c
ret 4