Function at 0x4284d0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5e8b96
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
mov eax, dword [esp + 0x460]
xor edi, edi
mov esi, ecx
push 0x206
lea ecx, [esp + 0x42]
push edi
mov dword [esp + 0x20], edi
push ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], eax
mov word [esp + 0x48], di
call fcn.005be600
lea ebp, [esi + 0x46c]
push ebp
call fcn.0042a550
add esp, 0x10
test al, al
je 0x428601
cmp dword [ebp + 0x18], 8
jb 0x428559
mov eax, dword [ebp + 4]
jmp 0x42855c
lea eax, [ebp + 4]
push eax
push 0x104
lea edx, [esp + 0x44]
push edx
push 0x6190bc
push str.DownPath
push str.repair
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x428594
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x40]
push eax
lea esi, [esp + 0x28]
call fcn.00402770
mov ecx, esi
push ecx
mov dword [esp + 0x45c], edi
call fcn.0042a620
add esp, 4
mov dword [esp + 0x458], 0xffffffff
cmp dword [esp + 0x38], 8
mov bl, al
jb 0x4285e5
mov edx, dword [esp + 0x24]
push edx
call fcn.0059b877
add esp, 4
test bl, bl
je 0x4286cb
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x3c]
mov eax, esi
call fcn.004024d0
jmp 0x4287cd
mov ecx, dword [esi + 0x480]
push ebp
mov edi, 1
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x5c
call fcn.0040b5b0
push eax
push ebp
xor ecx, ecx
lea esi, [esp + 0x28]
call fcn.0040b160
mov eax, esi
push eax
mov dword [esp + 0x45c], edi
call fcn.0042a480
add esp, 4
test al, al
jne 0x428648
mov ebx, esi
call fcn.0042ac50
lea ecx, [esp + 0x20]
push ecx
call fcn.0042a620
add esp, 4
test al, al
jne 0x428669
lea edi, [esp + 0x20]
call fcn.0042a6f0
mov ebx, edi
call fcn.0042ac50
mov ebx, 8
cmp dword [ebp + 0x18], ebx
jb 0x428678
mov eax, dword [ebp + 4]
jmp 0x42867b
lea eax, [ebp + 4]
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4286ab
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
test eax, eax
jne 0x4286ab
push esi
call edi
mov dword [esp + 0x458], 0xffffffff
cmp dword [esp + 0x38], ebx
jb 0x4286c9
mov edx, dword [esp + 0x24]
push edx
call fcn.0059b877
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x468], 8
jb 0x4286e0
mov eax, dword [eax + 0x454]
jmp 0x4286e5
add eax, 0x454
push eax
push 0x104
lea eax, [esp + 0x44]
push eax
push str.download
push str.DownPath
push str.repair
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x244]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp + 0x3c]
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x428720
lea edi, [esp + 0x244]
sub eax, edx
add edi, 0xfffffffe
jmp 0x428740
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x428740
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call fcn.0042a480
add esp, 4
test al, al
je 0x428790
cmp dword [ebp + 0x18], 8
jb 0x428774
mov ebp, dword [ebp + 4]
jmp 0x428777
add ebp, 4
push ebp
lea edx, [esp + 0x248]
push edx
push str.DownPath
push str.repair
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, dword [esp + 0x14]
xor edi, edi
lea eax, [esp + 0x244]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov word [esi + 4], di
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4287b0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x248]
push eax
call fcn.00402770
mov eax, esi
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.005b88a9
add esp, 0x448
ret 4