Function at 0x41f240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5946fd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5fcffc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 0
mov byte [ebp - 4], 2
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x41f449
xor eax, eax
or edi, 0xffffffff
mov dword [ebp - 0x34], eax
cmp eax, 3
jge 0x41f440
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x41f4a9
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0x5d8d04
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00402a50
test al, al
jne 0x41f2e1
push 1
push 0x5d8d04
lea ecx, [ebp - 0x18]
call fcn.00403260
xorps xmm0, xmm0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
call fcn.004454d0
push 0
push 0x8000
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
push dword [ebp + 8]
call fcn.004458c9
test eax, eax
je 0x41f33d
lea ecx, [ebp - 0x30]
call fcn.004457e7
push edx
push eax
lea eax, [ebp - 0x18]
push str._I64u
push eax
call fcn.00402d70
add esp, 0x10
lea eax, [ebp - 0x18]
lea ecx, [esi + 0x1bc]
push eax
call fcn.00422d00
lea ecx, [ebp - 0x30]
call fcn.004456f0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41f4b3
mov esi, dword [ebp - 0x18]
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41f37b
test dx, dx
je 0x41f377
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41f37b
add ecx, 4
add eax, 4
test dx, dx
jne 0x41f355
xor eax, eax
jmp 0x41f380
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41f3ee
lea ecx, [ebp - 0x30]
call fcn.00445503
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41f3a7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41f3c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x41f3e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
jmp 0x41f48b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x30]
call fcn.00445503
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41f41c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
inc eax
jmp 0x41f295
mov dword [ebp - 4], 0
jmp 0x41f450
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41f46a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x41f489
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056eb08
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
int3