Function at 0x428a50
Capabilities:
Delete file
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3993
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x66c488]
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, ecx
mov eax, dword [ebp + 8]
add eax, 0xfffffffe
cmp eax, 0x11
ja case.0x428a8f.3
jmp dword [eax*4 + 0x4292fc]
call fcn.0042ce40
jmp 0x428d29
mov ecx, dword [ebx + 0x11c]
lea eax, [ebx + 0x92]
push 0
push 0
push eax
call fcn.0046b370
test eax, eax
jne 0x428ae6
mov ecx, ebx
call fcn.0042c9c0
test eax, eax
jne 0x428ae6
mov eax, dword [ebx + 0x11c]
mov ecx, ebx
push dword [eax + 0x27c]
push 0
push 0x82000010
call fcn.0042d010
xor eax, eax
jmp 0x428d29
mov ecx, dword [ebx + 0x11c]
lea eax, [ebx + 0x380]
push 0x36ee80
push eax
lea eax, [ebx + 0x36c]
mov dword [ebx + 0x394], 0
push eax
call fcn.0046c3b0
test eax, eax
jne case.0x428a8f.3
mov ecx, ebx
call fcn.0042c870
test eax, eax
jne case.0x428a8f.3
mov eax, dword [ebx + 0x11c]
mov ecx, ebx
push dword [eax + 0x27c]
push 0
push 0x8200000d
call fcn.0042d010
xor eax, eax
jmp 0x428d29
push 0x10
mov ecx, 0x674ee8
call fcn.00423030
push eax
lea ecx, [ebx + 0x3bc]
call fcn.0040ab80
push 0x10
mov ecx, 0x674ee8
call fcn.00423140
push eax
lea ecx, [ebx + 0x3c0]
call fcn.0040ea90
mov ecx, ebx
call fcn.0042ce40
jmp 0x428d29
push 0x11
mov ecx, 0x674ee8
call fcn.00423030
push eax
lea ecx, [ebx + 0x3bc]
call fcn.0040ab80
push 0x11
mov ecx, 0x674ee8
call fcn.00423140
push eax
lea ecx, [ebx + 0x3c0]
call fcn.0040ea90
jmp case.0x428a8f.3
mov ecx, dword [ebx + 0x11c]
lea eax, [ebx + 0x92]
push 0
push 0
push eax
call fcn.0046b370
test eax, eax
jne 0x428be0
mov ecx, ebx
call fcn.0042c9c0
test eax, eax
je 0x428ac5
lea esi, [ebx + 0x12c]
lea eax, [ebp - 0x11c]
push esi
push eax
call fcn.0040c220
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 0
push esi
push eax
call fcn.0040c220
add esp, 0x10
push str..zip
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 1
call fcn.00409d10
push str..zip
lea ecx, [ebp - 0x118]
call fcn.00409d10
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xffffffffffffffff
lea esi, [ebx + 0x36c]
push 0
mov ecx, esi
call fcn.004872cd
push 0xffffffffffffffff
lea edi, [ebx + 0x380]
push 0
mov ecx, edi
call fcn.004872cd
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
push dword [esi + 8]
call fcn.00487244
lea eax, [ebp - 0x118]
mov ecx, edi
push eax
push dword [edi + 8]
call fcn.00487244
cmp dword [ebx + 0x114], 0
mov dword [ebx + 0x394], 0
je 0x428cb9
cmp byte [ebx + 0x10], 0
jbe 0x428cb9
push 1
mov ecx, ebx
call fcn.0042cf20
lea eax, [ebx + 0x92]
push eax
push str.ErrorList___Set_ReposURL_:___s_
push 0x674ec4
call fcn.00414540
add esp, 0xc
mov ecx, dword [ebx + 0x11c]
push 0x36ee80
push edi
push esi
call fcn.0046c3b0
test eax, eax
jne 0x428d0e
mov ecx, ebx
call fcn.0042c870
test eax, eax
jne 0x428d0e
mov eax, dword [ebx + 0x11c]
mov ecx, ebx
push dword [eax + 0x27c]
push 0
push 0x8200000d
call fcn.0042d010
lea ecx, [ebp - 0x118]
call fcn.0040a3e0
lea ecx, [ebp - 0x11c]
call fcn.0040a3e0
xor eax, eax
jmp 0x428d29
lea ecx, [ebp - 0x118]
call fcn.0040a3e0
lea ecx, [ebp - 0x11c]
call fcn.0040a3e0
mov eax, 1
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.005b07f1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x3cc]
test eax, eax
je 0x428d58
push 2
call eax
add esp, 4
push str._DownloadPatchFiles_
call fcn.00469990
add esp, 4
test eax, eax
jne 0x428d7f
push str.CreateDirectory_fail
push 0x674ec4
call fcn.00414540
add esp, 8
xor eax, eax
jmp 0x428d29
mov ecx, dword [ebx + 0x11c]
lea esi, [ebx + 0x92]
push 0
push 0
push esi
call fcn.0046b370
test eax, eax
jne 0x428da8
mov ecx, ebx
call fcn.0042c9c0
test eax, eax
je 0x428ac5
mov ecx, dword [ebx + 0x11c]
push 0
push 0
push esi
call fcn.0046b370
test eax, eax
jne 0x428dcb
mov ecx, ebx
call fcn.0042c9c0
test eax, eax
je 0x428ac5
push 0xffffffffffffffff
lea edi, [ebx + 0x36c]
push 0
mov ecx, edi
call fcn.004872cd
push 0xffffffffffffffff
lea ecx, [ebx + 0x380]
push 0
call fcn.004872cd
lea ecx, [ebx + 0x3a0]
call fcn.0040c2e0
push 0x12
mov ecx, 0x674ee8
call fcn.00423030
push eax
lea ecx, [ebx + 0x3bc]
call fcn.0040ab80
push 0x12
mov ecx, 0x674ee8
call fcn.00423140
push eax
lea ecx, [ebx + 0x3c0]
call fcn.0040ea90
lea ecx, [ebp - 0x124]
mov dword [ebx + 0x394], 0
call fcn.0040a2b0
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 2
call fcn.0040a2b0
lea ecx, [ebp - 0x11c]
call fcn.0040a2b0
lea ecx, [ebp - 0x118]
call fcn.0040a2b0
mov esi, dword [ebx + 0x22c]
mov byte [ebp - 4], 5
mov esi, dword [esi]
cmp esi, dword [ebx + 0x22c]
je 0x428fa6
nop dword [eax + eax]
mov edi, dword [esi + 8]
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0040c0e0
add esp, 8
push eax
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 6
call fcn.0040a040
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 5
call fcn.0040a3e0
push dword [ebp - 0x124]
lea eax, [ebp - 0x120]
push 0x601600
push eax
call fcn.0040a290
push dword [edi + 8]
lea eax, [ebp - 0x134]
push dword [ebp - 0x120]
push eax
call fcn.004094f0
add esp, 0x18
push eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 7
call fcn.0040a040
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 5
call fcn.0040a3e0
push str..zip
lea ecx, [ebp - 0x11c]
call fcn.00409d10
push dword [edi + 8]
lea eax, [ebp - 0x128]
push str._DownloadPatchFiles_
push eax
call fcn.004094f0
add esp, 0xc
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 8
call fcn.0040a040
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 5
call fcn.0040a3e0
push str..zip
lea ecx, [ebp - 0x118]
call fcn.00409d10
lea eax, [ebp - 0x11c]
push eax
push dword [ebx + 0x374]
lea ecx, [ebx + 0x36c]
call fcn.00487244
lea eax, [ebp - 0x118]
push eax
push dword [ebx + 0x388]
lea ecx, [ebx + 0x380]
call fcn.00487244
mov eax, dword [edi + 0x18]
add dword [ebx + 0x3a8], eax
mov esi, dword [esi]
cmp esi, dword [ebx + 0x22c]
jne 0x428e80
lea edi, [ebx + 0x36c]
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0
push 0
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [ebx + 0x3a8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x601ea0]
mulsd xmm0, qword [0x5fe1d8]
call fcn.005b0a21
mov edx, dword [ebp - 0x128]
mov esi, eax
mov ecx, dword [ebp - 0x12c]
add esi, esi
call fcn.005b0b50
mulsd xmm0, qword [0x5fe1d8]
call fcn.005b0a21
cmp eax, esi
jae 0x42902b
push 0x81000002
mov ecx, ebx
call fcn.0042d100
jmp 0x429085
cmp dword [ebx + 0x374], 0
jne 0x429044
push 0xa
mov ecx, ebx
call fcn.0042d1d0
mov esi, 1
jmp 0x429087
mov ecx, dword [ebx + 0x11c]
lea eax, [ebx + 0x380]
push 0x36ee80
push eax
push edi
call fcn.0046c3b0
test eax, eax
jne 0x4290ba
mov ecx, ebx
call fcn.0042c870
test eax, eax
jne 0x4290ba
mov eax, dword [ebx + 0x11c]
mov ecx, ebx
push dword [eax + 0x27c]
push 0
push 0x8200000d
call fcn.0042d010
xor esi, esi
lea ecx, [ebp - 0x118]
call fcn.0040a3e0
lea ecx, [ebp - 0x11c]
call fcn.0040a3e0
lea ecx, [ebp - 0x120]
call fcn.0040a3e0
lea ecx, [ebp - 0x124]
call fcn.0040a3e0
mov eax, esi
jmp 0x428d29
lea ecx, [ebp - 0x118]
call fcn.0040a3e0
lea ecx, [ebp - 0x11c]
call fcn.0040a3e0
lea ecx, [ebp - 0x120]
call fcn.0040a3e0
lea ecx, [ebp - 0x124]
jmp 0x428d1f
mov eax, dword [ebx + 0x3cc]
test eax, eax
je 0x4290f7
push 1
call eax
add esp, 4
push dword [ebx + 0x230]
mov ecx, 0x674ee8
push 0x13
call fcn.00423030
push eax
lea ecx, [ebx + 0x3a0]
call fcn.0040c330
push dword [ebx + 0x230]
mov ecx, 0x674ee8
push 0x13
call fcn.00423140
push eax
lea ecx, [ebx + 0x3a0]
call fcn.0040c3b0
mov dword [ebx + 0x3b0], 1
mov dword [ebx + 0x3b4], 1
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax]
mov dword [ebx + 0x234], eax
jmp case.0x428a8f.3
push str.Patch_file_change___begin
push 0x674ec4
call fcn.00414540
mov eax, dword [ebx + 0x22c]
lea esi, [ebx + 0x238]
add esp, 8
mov ecx, ebx
mov eax, dword [eax]
push esi
mov dword [ebx + 0x234], eax
call fcn.00428040
mov eax, dword [esi]
mov ecx, 0x674ee8
mov eax, dword [eax]
mov dword [ebx + 0x240], eax
mov esi, dword [ebx + 0x23c]
add esi, dword [ebx + 0x230]
push esi
push 0x14
call fcn.00423030
push eax
lea ecx, [ebx + 0x3a0]
call fcn.0040c330
push esi
push 0x14
mov ecx, 0x674ee8
call fcn.00423140
push eax
lea ecx, [ebx + 0x3a0]
call fcn.0040c3b0
jmp case.0x428a8f.3
call fcn.00427a50
test eax, eax
je 0x4291f1
push 0
push 0
push eax
mov ecx, ebx
call fcn.0042d010
xor eax, eax
jmp 0x428d29
push dword [ebx + 0x3d0]
lea eax, [ebx + 0x3a0]
push 1
push eax
mov ecx, dword [ebx + 0x39c]
lea eax, [ebx + 0x244]
push eax
push dword [ebx + 0x220]
call fcn.0040f450
push 0xf
mov ecx, 0x674ee8
call fcn.00423030
push eax
lea ecx, [ebx + 0x3bc]
call fcn.0040ab80
push 0xf
jmp 0x428b9c
call fcn.00427a50
test eax, eax
jne 0x4291de
push dword [ebx + 0x3d0]
push eax
push eax
jmp 0x429200
call fcn.0042ce40
test eax, eax
jne case.0x428a8f.3
jmp 0x428d29
call fcn.0042cda0
test eax, eax
jne case.0x428a8f.3
jmp 0x428d29
call fcn.00428010
lea ecx, [ebx + 0x3a0]
call fcn.0040c2e0
push 0x15
mov ecx, 0x674ee8
call fcn.00423030
push eax
lea ecx, [ebx + 0x3bc]
call fcn.0040ab80
push 0x15
mov ecx, 0x674ee8
call fcn.00423140
push eax
lea ecx, [ebx + 0x3c0]
call fcn.0040ea90
mov dword [ebx + 0x3a0], 1
mov dword [ebx + 0x3a4], 1
mov dword [ebx + 0x3b0], 1
mov dword [ebx + 0x3b4], 1
jmp case.0x428a8f.3
push 0x16
mov ecx, 0x674ee8
call fcn.00423030
push eax
lea ecx, [ebx + 0x3bc]
call fcn.0040ab80
push 0x16
jmp 0x428b60