Function at 0x5278c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b7b8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x5d480c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
call fcn.0045e1b2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x527911
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call fcn.0045e1b2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x52793e
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0046909a
lea ecx, [ebp - 0x50]
push ecx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x4a]
movzx eax, word [ebp - 0x4e]
movzx ecx, word [ebp - 0x50]
push edx
push eax
push ecx
lea edx, [ebp - 0x14]
push str._04d__02d__02d.txt
push edx
call fcn.00404280
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x20]
push esi
push ecx
call fcn.0041a190
lea edx, [ebp - 0x14]
push edx
push eax
lea eax, [ebp - 0x1c]
mov bl, 4
push eax
mov byte [ebp - 4], bl
call fcn.0041a190
add esp, 0x2c
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0041a0d0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5279d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5279fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x10]
call fcn.00405580
lea ecx, [ebp - 0x30]
call fcn.00450fea
mov ebx, dword [ebp - 0x14]
push ebx
mov byte [ebp - 4], 7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x527a21
mov dword [esi + 0xc], eax
jmp 0x527a28
mov dword [esi + 0xc], 1
push 0
push 0xb042
push ebx
lea ecx, [ebp - 0x40]
call fcn.00469688
test eax, eax
jne 0x527ace
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov byte [ebp - 4], 3
call fcn.00451002
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0046928f
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x527a7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x527a9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x527cb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x527cb2
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x28]
push 2
push 0
push 0
lea ecx, [ebp - 0x40]
call eax
cmp dword [esi + 0xc], 0
jne 0x527afa
push 2
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x20], 0xfeff
call fcn.00468dd0
movzx edx, word [ebp - 0x42]
movzx eax, word [ebp - 0x44]
movzx ecx, word [ebp - 0x46]
push edx
movzx edx, word [ebp - 0x48]
push eax
push ecx
push edx
lea eax, [ebp - 0x18]
push str._02d:_02d:_02d__03d_t
push eax
call fcn.00404280
add esp, 0x18
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.0041a190
add esp, 0xc
push 0x5837b8
push eax
lea ecx, [ebp - 0x20]
mov bl, 8
push ecx
mov byte [ebp - 4], bl
call fcn.00407ab0
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call fcn.0041a0d0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x527b79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x527b9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00468dd0
mov dword [ebp - 4], 3
call fcn.00451002
lea ecx, [ebp - 0x40]
call fcn.00469034
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0046928f
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x527bfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x527c1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x527c44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4