Function at 0x48e1f0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x604c00
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x74]
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48e44b
call fcn.0057a8e0
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x28], edi
je 0x48e44b
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
mov dword [esp + 0x24], ebx
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x68], ebx
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov byte [esp + 0x6c], 1
call fcn.00409dd0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ebx, [esp + 0x24]
mov byte [esp + 0x70], 2
call fcn.0048e5c0
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48e2c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x34
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.005da970
add esp, 0xc
mov byte [esp + 0x68], 3
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
push ebp
push ebx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0057baa0
test eax, eax
je 0x48e3f1
cmp dword [esp + 0x24], 0
je 0x48e3f1
mov edx, dword [esp + 0x38]
lea edi, [esi + 4]
call fcn.00403760
lea edi, [esi + 8]
lea eax, [esp + 0x18]
call fcn.0040ab90
lea edi, [esi + 0xc]
lea eax, [esp + 0x14]
call fcn.0040ab90
mov edx, dword [esp + 0x3c]
lea edi, [esi + 0x10]
call fcn.00403760
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x70]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x20], edx
mov eax, dword [eax + 8]
xor ebp, ebp
cmp eax, ebp
je 0x48e372
cmp dword [ebx - 0xc], ebp
jl 0x48e372
push eax
push ebx
call fcn.005d2e73
add esp, 8
cmp eax, ebp
je 0x48e372
sub eax, ebx
sar eax, 1
jne 0x48e372
mov dword [esi + 0x1c], 1
jmp 0x48e375
mov dword [esi + 0x1c], ebp
mov ecx, dword [esp + 0x74]
push ebp
push ebp
push 3
push ebp
push 1
push 0x80
push ecx
mov dword [esi + 0x14], 1
mov dword [esi + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x48e3c3
lea edx, [esp + 0x1c]
push edx
push ebp
xor eax, eax
push ebp
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x24], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
lea esi, [esp + 0x2c]
call fcn.004404f0
lea ecx, [esp + 0x14]
call fcn.00403870
lea ecx, [esp + 0x18]
call fcn.00403870
mov eax, 1
jmp 0x48e44d
lea esi, [esp + 0x2c]
call fcn.004404f0
lea eax, [ebp - 0x10]
mov byte [esp + 0x68], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48e41b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48e43f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8