Function at 0x402900
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x433368]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x42bbb0]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
movlpd qword [ebp - 0x454], xmm0
movdqu xmm0, xmmword [str._____]
mov dword [ebp - 0x438], ebx
cmp word [ebx + 2], 0x3a
movdqu xmmword [ebp - 0x18], xmm0
mov word [ebp - 8], ax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x470], 0
je 0x40297b
push str.Cannot_clean_free_space_for_UNC_drive_n_n
call fcn.004064e2
add esp, 4
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405d02
mov esp, ebp
pop ebp
ret
inc dword [ecx]
xor eax, eax
mov word [ebx + 6], ax
cmp byte [0x4343e9], al
je 0x40299a
push str.Zeroing_free_space_to_securely_delete_compressed_files:_0__
call fcn.004064e2
add esp, 4
jmp 0x4029a8
push ebx
push str.Zeroing_free_space_on__s:_0__
call fcn.004064e2
add esp, 8
call fcn.00404eba
add eax, 0x20
push eax
call fcn.00405049
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x43c]
push eax
push ebx
call fcn.00403250
add esp, 0x18
test al, al
je 0x40296a
mov eax, dword [ebp - 0x46c]
cmp eax, dword [ebp - 0x45c]
jne 0x402f3e
mov eax, dword [ebp - 0x468]
cmp eax, dword [ebp - 0x458]
jne 0x402f3e
push 0x104
lea eax, [ebp - 0x428]
push eax
push str._TEMP_
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
mov ax, word [ebp - 0x428]
cmp ax, word [ebx]
jne 0x402a34
lea eax, [ebp - 0x428]
push eax
push 0x42bd60
jmp 0x402a3a
push ebx
push str._sSDELTEMP
lea eax, [ebp - 0x220]
push eax
call fcn.00406654
add esp, 0xc
lea eax, [ebp - 0x220]
push edi
push 0
push 0x2c000002
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
mov dword [ebp - 0x444], edi
cmp edi, 0xffffffff
jne 0x402aab
push str._nCould_not_create_free_space_cleanup_file:
call fcn.004064e2
add esp, 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.004034f0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405d02
mov esp, ebp
pop ebp
ret
push esi
push 0
lea eax, [ebp - 0x474]
push eax
push 0
push 0
push 2
lea eax, [ebp - 0x470]
push eax
push 0x9c040
push edi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov eax, dword [ebp - 0x43c]
mul dword [ebp - 0x44c]
mov ebx, eax
mov esi, edx
mov eax, dword [ebp - 0x43c]
imul eax, dword [ebp - 0x44c]
shld esi, ebx, 7
shl ebx, 7
mov dword [ebp - 0x430], esi
test esi, esi
jb 0x402c42
ja 0x402b0a
cmp ebx, eax
jb 0x402c42
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x440], ecx
push 0
push esi
push ebx
push edi
call fcn.00404390
add esp, 0x10
test al, al
je 0x402bf9
add dword [ebp - 0x440], ebx
lea eax, [ebp - 0x45c]
push eax
adc dword [ebp - 0x434], esi
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x438]
call fcn.00403250
mov ecx, dword [ebp - 0x440]
add esp, 0x14
mov eax, dword [ebp - 0x434]
mov edi, dword [ebp - 0x45c]
mov esi, dword [ebp - 0x458]
add edi, ecx
push 0
push 0x64
push eax
push ecx
adc esi, eax
call fcn.004075f0
push esi
push edi
push edx
push eax
call fcn.00407630
mov esi, eax
cmp esi, dword [ebp - 0x448]
je 0x402beb
cmp byte [0x4343e9], 0
push esi
je 0x402bd2
push str._rCleaning_free_space_to_securely_delete_compressed_files:__d__
call fcn.004064e2
mov edi, dword [ebp - 0x444]
add esp, 8
mov dword [ebp - 0x448], esi
mov esi, dword [ebp - 0x430]
jmp 0x402c23
push dword [ebp - 0x438]
push str._rCleaning_free_space_on__s:__d__
call fcn.004064e2
add esp, 0xc
mov dword [ebp - 0x448], esi
mov esi, dword [ebp - 0x430]
mov edi, dword [ebp - 0x444]
jmp 0x402c23
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3ee
je 0x402c73
cmp eax, 0x15
je 0x402c73
mov eax, dword [ebp - 0x43c]
imul eax, dword [ebp - 0x44c]
sub ebx, eax
sbb esi, 0
mov dword [ebp - 0x430], esi
mov eax, dword [ebp - 0x43c]
imul eax, dword [ebp - 0x44c]
test esi, esi
ja 0x402b22
jb 0x402c42
cmp ebx, eax
jae 0x402b22
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, ebx
or eax, esi
je 0x402cfe
mov ecx, dword [ebp - 0x438]
mov ax, word [ebp - 0x428]
cmp ax, word [ecx]
jne 0x402ca9
lea eax, [ebp - 0x428]
push eax
push 0x42bee4
jmp 0x402caf
push str._nError_cleaning_free_space:
call fcn.004064e2
add esp, 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.004034f0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405d02
mov esp, ebp
pop ebp
ret
push ecx
push str._sSDELTEMP1
lea eax, [ebp - 0x220]
push eax
call fcn.00406654
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x8c000002
push 1
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
mov dword [ebp - 0x444], edi
cmp edi, 0xffffffff
je 0x402cfe
push 0
push esi
push ebx
push edi
call fcn.00404390
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [0x4343e6], 0
je 0x402f0c
lea eax, [ebp - 0x45c]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x46c]
movlpd qword [ebp - 0x454], xmm0
push eax
lea eax, [ebp - 0x44c]
xor esi, esi
push eax
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x464], esi
push eax
push dword [ebp - 0x438]
mov edi, 0x1000
mov dword [ebp - 0x430], edi
call fcn.00403250
mov ecx, dword [ebp - 0x45c]
mov eax, dword [ebp - 0x458]
shrd ecx, eax, 0xc
push 0x42bf18
shr eax, 0xc
mov dword [ebp - 0x440], ecx
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x460], 0xffffffff
call fcn.004064e2
mov eax, dword [ebp - 0x454]
add esp, 0x18
mov ebx, dword [ebp - 0x450]
mov dword [ebp - 0x448], eax
jmp 0x402da0
mov ecx, dword [ebp - 0x438]
mov ax, word [ebp - 0x428]
push esi
cmp ax, word [ecx]
jne 0x402dc1
lea eax, [ebp - 0x428]
push eax
push 0x42bf94
jmp 0x402dc7
push ecx
push str._sSDELMFT_06d
lea eax, [ebp - 0x220]
push eax
call fcn.00406654
add esp, 0x10
lea eax, [ebp - 0x220]
inc esi
mov dword [ebp - 0x450], esi
push 0
push 0xc000002
push 1
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ecx, eax
mov dword [ebp - 0x444], ecx
cmp ecx, 0xffffffff
je 0x402f0c
mov edx, dword [ebp - 0x464]
mov esi, edi
mov eax, dword [ebp - 0x430]
mov edi, edx
or eax, edx
mov byte [ebp - 0x429], 0
je 0x402f0c
lea esp, [esp]
push 0
push edi
push esi
push ecx
call fcn.00404390
add esp, 0x10
test al, al
jne 0x402e4f
mov dl, byte [ebp - 0x429]
add esi, 0xffffffff
adc edi, 0xffffffff
jmp 0x402ebd
mov ecx, dword [ebp - 0x448]
mov eax, dword [ebp - 0x440]
add ecx, 1
mov dword [ebp - 0x448], ecx
adc ebx, 0
or eax, dword [ebp - 0x434]
je 0x402ea9
push 0
push 0x64
push ebx
push ecx
call fcn.004075f0
push dword [ebp - 0x434]
push dword [ebp - 0x440]
push edx
push eax
call fcn.00407540
cmp dword [ebp - 0x460], eax
jge 0x402ea9
push eax
push str._rPurging_MFT_files__d___complete
mov dword [ebp - 0x460], eax
call fcn.004063c2
add esp, 8
mov dl, 1
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x464], edi
mov byte [ebp - 0x429], dl
mov ecx, dword [ebp - 0x444]
mov eax, esi
or eax, edi
jne 0x402e30
test dl, dl
je 0x402f0c
mov esi, dword [ebp - 0x450]
cmp esi, 1
jne 0x402ee9
push 0x42bf18
call fcn.004064e2
add esp, 4
mov eax, esi
and eax, 7
movzx eax, word [ebp + eax*2 - 0x18]
push eax
push str._rCleaning_MFT..._c
call fcn.004064e2
mov edi, dword [ebp - 0x430]
add esp, 8
jmp 0x402da0
push dword [ebp - 0x444]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 0x438]
push str._rFree_space_cleaned_on__s________________________________________n
call fcn.004064e2
add esp, 8
mov al, 1
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405d02
mov esp, ebp
pop ebp
ret
push str._nYour_disk_quota_prevents_you_from_zeroing_free_space_on_this_drive._n_n
call fcn.004064e2
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor al, al
pop ebx
call fcn.00405d02
mov esp, ebp
pop ebp
ret