Function at 0x58d950
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8169
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x62b370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
push 0x603a48
call fcn.004bb62d
add esp, 4
mov ecx, dword [ebp - 0x8c]
add ecx, 0x34
call fcn.00430a40
mov ecx, dword [ebp - 0x8c]
add ecx, 0x1c
call fcn.0042edd0
movzx eax, al
test eax, eax
je 0x58d9c5
push str.Repair_SoftList_fail_serverconfig_no_appitems__
call fcn.004bb62d
add esp, 4
xor al, al
jmp 0x58dcc0
call fcn.00429480
mov ecx, eax
call fcn.004b21b0
push eax
lea ecx, [ebp - 0x28]
call fcn.004276b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x98], 0
jmp 0x58d9fc
mov ecx, dword [ebp - 0x98]
add ecx, 1
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebp - 0x8c]
add ecx, 0x1c
call fcn.0042fbd0
cmp dword [ebp - 0x98], eax
jae 0x58dac1
mov edx, dword [ebp - 0x98]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0x1c
call fcn.004309e0
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00432ad0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004275c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58dab0
mov edx, dword [ebp - 0x98]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0x1c
call fcn.004309e0
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x34
call fcn.00430870
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x1c
call fcn.004309e0
push eax
push 0
mov ecx, dword [ebp - 0x8c]
call fcn.0058bd20
lea ecx, [ebp - 0x40]
call fcn.004275c0
push eax
push str.Repair_SoftList_item___s_need_download_for_donor_exists
call fcn.004bb62d
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00427660
jmp 0x58d9ed
mov dword [ebp - 0x90], 0
jmp 0x58dadc
mov ecx, dword [ebp - 0x90]
add ecx, 1
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp - 0x8c]
add ecx, 0x28
call fcn.0042fbd0
cmp dword [ebp - 0x90], eax
jae 0x58dc49
mov edx, dword [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0x28
call fcn.004309e0
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.0058d870
movzx eax, al
test eax, eax
je 0x58db43
mov ecx, dword [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x8c]
add ecx, 0x28
call fcn.004309e0
push eax
push 1
mov ecx, dword [ebp - 0x8c]
call fcn.0058bd20
jmp 0x58dacd
mov edx, dword [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0x28
call fcn.004309e0
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00432ad0
add esp, 0xc
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0x28
call fcn.004309e0
add eax, 0x18
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.0058d5a0
test eax, eax
jle 0x58dc38
lea ecx, [ebp - 0x88]
call fcn.00430810
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0x28
call fcn.004309e0
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.0058d7f0
movzx eax, al
test eax, eax
je 0x58dc29
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x8c]
add ecx, 0x34
call fcn.00430870
mov edx, dword [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0x28
call fcn.004309e0
push eax
push 1
mov ecx, dword [ebp - 0x8c]
call fcn.0058bd20
lea ecx, [ebp - 0x58]
call fcn.004275c0
push eax
push 0x603b78
call fcn.004bb62d
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00430780
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00427660
jmp 0x58dacd
mov ecx, dword [ebp - 0x8c]
add ecx, 0x34
call fcn.0042fbd0
mov ecx, dword [ebp - 0x8c]
cmp eax, dword [ecx]
jbe 0x58dca4
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x34
call fcn.0042fbd0
push eax
push str.Repair_SoftList_fail_local_file_lost_too_much_is__d_and_serverconfig_is__d
call fcn.004bb62d
add esp, 0xc
mov byte [ebp - 0x91], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00427660
mov al, byte [ebp - 0x91]
jmp 0x58dcc0
mov byte [ebp - 0x92], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00427660
mov al, byte [ebp - 0x92]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484636
mov esp, ebp
pop ebp
ret