Function at 0x403af0
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 0x5aacd6
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x2058
call fcn.0042ee10
mov eax, dword [0x6370c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ecx + 0x3b2], 0
je 0x403d82
xorps xmm0, xmm0
mov dword [ebp - 0x2020], 0
xor eax, eax
mov dword [ebp - 0x201c], 7
movups xmmword [ebp - 0x2030], xmm0
mov word [ebp - 0x2030], ax
mov dword [ebp - 4], eax
call fcn.0040d460
push 0x1000
lea eax, [ebp - 0x2018]
push eax
call fcn.0040c300
test al, al
jne 0x403c73
lea ecx, [ebp - 0x2048]
call fcn.0040a710
push str.TM.exe
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00401a40
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x201c]
movq qword [ebp - 0x2058], xmm1
movups xmmword [ebp - 0x2068], xmm0
cmp ecx, 7
jbe 0x403c1e
mov edx, dword [ebp - 0x2030]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403c05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403da0
push ecx
push edx
call fcn.0042dd9f
movups xmm0, xmmword [ebp - 0x2068]
add esp, 8
movq xmm1, qword [ebp - 0x2058]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2034]
movq qword [ebp - 0x2020], xmm1
movups xmmword [ebp - 0x2030], xmm0
cmp ecx, 7
jbe 0x403c95
mov edx, dword [ebp - 0x2048]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403c67
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403da0
push ecx
push edx
call fcn.0042dd9f
add esp, 8
jmp 0x403c95
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x2030]
call fcn.00403fd0
push str.TM.exe
lea ecx, [ebp - 0x2030]
call fcn.00401a40
cmp dword [ebp - 0x201c], 7
lea eax, [ebp - 0x2030]
cmova eax, dword [ebp - 0x2030]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403d46
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x204c], esp
push 0
movups xmmword [ecx], xmm0
push 0x62a4d4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00401950
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2030]
cmp dword [ebp - 0x201c], 7
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x2030]
sub esp, 0x18
mov esi, esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 2]
mov dword [esi + 0x14], 0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403d20
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00401950
xor ecx, ecx
mov byte [ebp - 4], 0
call fcn.00401250
add esp, 0x30
mov ecx, dword [ebp - 0x201c]
cmp ecx, 7
jbe 0x403d82
mov edx, dword [ebp - 0x2030]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403d78
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403da5
push ecx
push edx
call fcn.0042dd9f
add esp, 8
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.0042db10
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0047a9c0
call fcn.0047a9c0
int3