Function at 0x439ed0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eff13
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x54d104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x48], edi
mov eax, dword [ebx + 8]
lea esi, [edi + 0x2c]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], eax
mov eax, dword [0x5547ac]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x44], eax
test eax, eax
je 0x439f42
mov ecx, eax
call dword [0x4f933c]
call dword [ebp - 0x44]
test al, al
setne al
test al, al
jne 0x439f4b
push esi
call fcn.004ae119
add esp, 4
mov dword [ebp - 4], 0
cmp dword [edi + 0x24], 0
jne 0x439fb2
mov eax, dword [edi]
mov edi, dword [eax]
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call dword [0x4f933c]
mov ecx, dword [ebp - 0x48]
call edi
mov edi, dword [ebp - 0x48]
mov ecx, eax
mov dword [ebp - 0x44], ecx
lea eax, [edi + 0x14]
cmp eax, ecx
je 0x439faa
mov ecx, eax
call fcn.0040aa40
mov ecx, dword [ebp - 0x44]
xor eax, eax
movups xmm0, xmmword [ecx]
movups xmmword [edi + 0x14], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [edi + 0x24], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea ecx, [ebp - 0x6c]
call fcn.0040aa40
cmp dword [edi + 0xc], 0
lea eax, [edi + 0x14]
je 0x43a009
cmp dword [edi + 0x24], 0
je 0x43a009
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x439fcb
mov ecx, dword [eax]
lea eax, [ebp - 0x40]
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x43a102
add edi, 4
lea eax, [ebp - 0x2c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, dword [ebp - 0x28]
test eax, eax
mov eax, dword [ebp - 0x2c]
setg dl
mov dword [edi], eax
mov dword [edi + 4], ecx
mov edi, dword [ebp - 0x48]
test dl, dl
je 0x43a102
xorps xmm0, xmm0
push 0x14
movlpd qword [ebp - 0x1c], xmm0
call fcn.004af3f1
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ecx, eax
mov dword [eax + 0x10], 0
call fcn.0043d700
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.0043c6c0
lea eax, [edi + 0x14]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.00488220
test al, al
jne 0x43a062
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x43a0ba
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x43a06d
lock inc dword [ecx + 4]
mov edx, dword [edi + 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xc], eax
mov dword [ebp - 0x44], edx
mov dword [edi + 0x10], ecx
test edx, edx
je 0x43a0bd
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x43a0bd
mov eax, dword [edx]
mov edi, dword [eax]
mov ecx, edi
call dword [0x4f933c]
mov ecx, dword [ebp - 0x44]
call edi
mov ecx, dword [ebp - 0x44]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x43a0ba
mov eax, dword [ecx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4f933c]
mov ecx, dword [ebp - 0x44]
call edi
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x43a0ff
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x43a0ff
mov eax, dword [ecx]
mov edi, dword [eax]
mov ecx, edi
call dword [0x4f933c]
mov ecx, dword [ebp - 0x18]
call edi
mov eax, dword [ebp - 0x18]
or ecx, 0xffffffff
lock xadd dword [eax + 8], ecx
jne 0x43a0ff
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4f933c]
mov ecx, dword [ebp - 0x18]
call edi
mov edi, dword [ebp - 0x48]
cmp dword [edi + 0xc], 0
je 0x43a162
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x43a123
lock inc dword [eax + 4]
mov eax, dword [edi + 0xc]
mov dword [ecx], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 4], eax
mov dword [ebp - 4], 3
mov edi, dword [0x5547ac]
test edi, edi
je 0x43a157
mov ecx, edi
call dword [0x4f933c]
call edi
test al, al
setne cl
test cl, cl
je 0x43a157
mov eax, dword [ebp - 0x4c]
jmp 0x43a1cc
push esi
call fcn.004ae127
mov eax, dword [ebp - 0x4c]
jmp 0x43a1c9
push 0x14
call fcn.004af3f1
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ecx, eax
mov dword [eax + 0x10], 0
call fcn.0043d700
mov edi, dword [ebp - 0x4c]
mov ecx, edi
push eax
mov byte [ebp - 4], 0
call fcn.0043c6c0
mov dword [ebp - 4], 5
mov eax, dword [0x5547ac]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x43a1c1
mov ecx, eax
call dword [0x4f933c]
call dword [ebp - 0x44]
test al, al
setne al
test al, al
je 0x43a1c1
mov eax, edi
jmp 0x43a1cc
push esi
call fcn.004ae127
mov eax, edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004af3ab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4