Function at 0x48a0a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x612c48
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x48a2c6
add eax, 0xfffffff0
push eax
call fcn.00407560
lea esi, [eax + 0x10]
mov dword [ebp - 0x38], esi
push 0x2e
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 1
call fcn.005b2e87
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x48a112
or eax, 0xffffffff
mov dword [ebp - 0x50], eax
jmp 0x48a119
sub edi, esi
sar edi, 1
mov dword [ebp - 0x50], edi
call fcn.00403160
mov ecx, eax
test ecx, ecx
je 0x48a359
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x54], edi
mov byte [ebp - 4], 1
call fcn.00403160
mov ecx, eax
test ecx, ecx
je 0x48a363
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 2
cmp ecx, 0xffffffff
je 0x48a1eb
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x38]
call fcn.004552b0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x54]
call fcn.00405f50
mov edx, dword [ebp - 0x44]
or esi, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48a1a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.004552b0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00405f50
mov edx, dword [ebp - 0x44]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48a1e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x54]
jmp 0x48a1f7
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405f50
push 0x620b84
push 0x63a2c0
lea ecx, [ebp - 0x38]
call fcn.00439f40
mov esi, dword [ebp - 0x38]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48a25b
nop word [eax + eax]
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 0x54c], 0
jne 0x48a2e3
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0x38]
push edi
push esi
push dword [ebp - 0x40]
push 0x63a2c4
push eax
call fcn.00407610
add esp, 0x14
inc esi
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x38]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48a220
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [eax + 0x8c]
call fcn.00405f50
mov edx, dword [ebp - 0x40]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48a28c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48a2aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x48a2c6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48a337
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x48a337
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x34]
movlpd qword [ebp - 0x4c], xmm0
push eax
push 0
push esi
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x48a33f
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x554], ecx
mov dword [eax + 0x558], edx
jmp 0x48a25e
xorps xmm0, xmm0
movlpd qword [ebp - 0x4c], xmm0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
mov dword [eax + 0x554], ecx
mov dword [eax + 0x558], edx
jmp 0x48a25e
push 0x80004005
call fcn.00402c00
push 0x80004005
call fcn.00402c00
int3