Function at 0x424cd0
Capabilities:
Get common file path
Get disk size
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x44a868
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45b030]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [0x45e5d0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45e5d0
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
xor ebp, ebp
mov dword [esp + 0x64], ebp
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x424d39
mov ecx, 0x104
lea eax, [esp + 0x20]
call fcn.00403830
mov esi, dword [esp + 0x20]
push ebp
push 0x26
push esi
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x424d6f
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00431b55
add esp, 8
cmp eax, ebp
jl 0x424eee
cmp eax, dword [esi - 8]
jg 0x424eee
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov edx, dword [0x45e5d0]
mov eax, dword [edx + 0xc]
mov ecx, 0x45e5d0
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x6c]
add ebx, 0x1c0
lea esi, [esp + 0x18]
mov byte [esp + 0x64], 1
call fcn.00402fd0
mov edx, dword [0x45e5d0]
mov eax, dword [edx + 0xc]
mov ecx, 0x45e5d0
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x64], 2
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
cmp eax, 2
jl 0x42529c
xor esi, esi
lea eax, [esi + 2]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
call fcn.00402770
lea edi, [esp + 0x18]
mov byte [esp + 0x64], 3
call fcn.00403940
mov byte [esp + 0x64], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424e0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esp + 0x18]
call fcn.00402570
lea edi, [esp + 0x20]
call fcn.00402570
mov ebx, dword [esp + 0x20]
cmp dword [ebx - 0xc], 0
mov edi, dword [esp + 0x18]
jle 0x424e6a
cmp dword [edi - 4], 1
jle 0x424e47
mov ecx, dword [edi - 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00403780
mov edi, dword [esp + 0x18]
test edi, edi
je 0x424e6a
cmp dword [ebx - 0xc], 0
jl 0x424e6a
push edi
push ebx
call fcn.00431fc5
add esp, 8
test eax, eax
je 0x424e6a
sub eax, ebx
sar eax, 1
jne 0x424e6a
mov esi, 1
cmp dword [edi - 4], 1
jle 0x424e82
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403780
mov edi, dword [esp + 0x18]
push 0
push 0
lea edx, [esp + 0x34]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42529c
test esi, esi
je 0x4251b7
lea esi, [esp + 0x44]
call fcn.00410cb0
mov edi, dword [eax]
lea esi, [esp + 0x34]
call fcn.00410cb0
mov byte [esp + 0x64], 5
mov ebx, dword [eax]
mov eax, dword [edi]
mov esi, dword [ebx]
mov ecx, dword [eax + 0x28]
push edi
add esi, 0x44
call ecx
mov edx, dword [esi]
push eax
push ebx
call edx
mov ecx, dword [esp + 0x30]
add eax, 0x1f400000
adc edx, 0
cmp ecx, edx
jb 0x424ef8
ja 0x424eea
mov edx, dword [esp + 0x2c]
cmp edx, eax
jbe 0x424ef8
mov bl, 1
jmp 0x424efa
push 0x80070057
call fcn.004070e0
xor bl, bl
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 4
call fcn.00411b90
lea ecx, [esp + 0x44]
mov byte [esp + 0x64], 2
call fcn.00411b90
test bl, bl
je 0x424fb3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00422be0
add esp, 0xc
mov byte [esp + 0x64], 6
mov eax, dword [eax]
push eax
push 0x452410
lea edi, [esp + 0x24]
call fcn.004030d0
mov byte [esp + 0x6c], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424f73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x6c]
mov ecx, dword [esi + 0x1f8]
lea eax, [esi + 0x1f4]
mov ebp, 1
mov edx, ecx
and edx, ebp
je 0x424fa8
and ecx, 0xfffffffe
mov dword [eax + 4], ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x424fa8
mov edx, dword [ecx]
push 0
push ebp
push 0
push eax
mov eax, dword [edx + 0x28]
call eax
lea edx, [esi + 0x1c4]
jmp 0x4250df
lea esi, [esp + 0x34]
call fcn.00410cb0
mov edi, dword [eax]
lea esi, [esp + 0x44]
call fcn.00410cb0
mov byte [esp + 0x64], 8
mov ebx, dword [eax]
mov ecx, dword [edi]
mov esi, dword [ebx]
mov edx, dword [ecx + 0x28]
push edi
add esi, 0x44
call edx
push eax
mov eax, dword [esi]
push ebx
call eax
mov ecx, dword [esp + 0x30]
add eax, 0x12c00000
adc edx, 0
cmp ecx, edx
jb 0x424fff
ja 0x424ffb
mov edx, dword [esp + 0x2c]
cmp edx, eax
jbe 0x424fff
mov bl, 1
jmp 0x425001
xor bl, bl
lea ecx, [esp + 0x44]
mov byte [esp + 0x64], 7
call fcn.00411b90
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 2
call fcn.00411b90
test bl, bl
je 0x425064
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00422be0
add esp, 0xc
mov byte [esp + 0x64], 9
mov eax, dword [eax]
push eax
push 0x452478
lea edi, [esp + 0x24]
call fcn.004030d0
add esp, 8
lea eax, [esp + 0x24]
mov byte [esp + 0x64], 2
call fcn.00406640
jmp 0x424f73
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00422be0
add esp, 0xc
mov byte [esp + 0x64], 0xa
mov ecx, dword [eax]
push ecx
push 0x452500
lea edi, [esp + 0x24]
call fcn.004030d0
add esp, 8
lea eax, [esp + 0x24]
mov byte [esp + 0x64], 2
call fcn.00406640
mov ebp, 2
mov esi, dword [esp + 0x6c]
mov ecx, dword [esi + 0x1c8]
lea eax, [esi + 0x1c4]
mov edx, ecx
and edx, 1
je 0x4250d9
and ecx, 0xfffffffe
mov dword [eax + 4], ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4250d9
mov edx, dword [ecx]
push 0
push 1
push 0
push eax
mov eax, dword [edx + 0x28]
call eax
lea edx, [esi + 0x1f4]
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 1
jne 0x425104
mov ecx, dword [edx + 0x1c]
or eax, 1
mov dword [edx + 4], eax
test ecx, ecx
je 0x425104
mov eax, dword [ecx]
push 0
push 1
push 0
push edx
mov edx, dword [eax + 0x28]
call edx
mov esi, dword [esp + 0x1c]
cmp dword [esi - 4], 1
jle 0x425120
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00403780
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
push esi
add edx, 0x16c
push edx
call fcn.00403c10
lea eax, [esi - 0x10]
mov byte [esp + 0x64], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425152
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x64], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425177
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42519f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4
lea esi, [esp + 0x34]
call fcn.00410cb0
mov edi, dword [eax]
lea esi, [esp + 0x44]
call fcn.00410cb0
mov byte [esp + 0x64], 0xc
mov ebx, dword [eax]
mov edx, dword [edi]
mov esi, dword [ebx]
mov eax, dword [edx + 0x28]
push edi
add esi, 0x44
call eax
mov ecx, dword [esi]
push eax
push ebx
call ecx
mov ecx, dword [esp + 0x30]
cmp ecx, edx
jb 0x4251fb
ja 0x4251f7
mov edx, dword [esp + 0x2c]
cmp edx, eax
jbe 0x4251fb
mov bl, 1
jmp 0x4251fd
xor bl, bl
lea ecx, [esp + 0x44]
mov byte [esp + 0x64], 0xb
call fcn.00411b90
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 2
call fcn.00411b90
test bl, bl
je 0x42523e
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00422be0
add esp, 0xc
mov byte [esp + 0x64], 0xd
jmp 0x424f3a
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00422be0
add esp, 0xc
mov byte [esp + 0x64], 0xe
mov ecx, dword [eax]
push ecx
push 0x452570
lea edi, [esp + 0x24]
call fcn.004030d0
mov byte [esp + 0x6c], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4250a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4250a2
push str.color0x0000ff
lea edi, [esp + 0x20]
call fcn.004030d0
add esp, 4
jmp 0x4250a7