Function at 0x43e8f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48dd28
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4b571c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x260], 0
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 1
push eax
call fcn.0043ecc0
mov esi, eax
lea eax, [ebp - 0x240]
cmp eax, esi
je 0x43e9ad
mov ecx, eax
call fcn.004036f0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x240], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x230], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x248]
cmp edx, 8
jb 0x43e9ed
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43e9e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43eca2
push edx
push ecx
call fcn.00451338
add esp, 8
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43eb32
push 0xd
push str.Can_not_find
lea ecx, [ebp - 0x228]
call fcn.00404660
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x25c], ax
lea ecx, [ebp - 0x25c]
mov eax, dword [ebp - 0x218]
add eax, dword [ebp - 0x230]
push eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 7
mov dword [ebp - 0x260], 1
call fcn.004384c0
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push dword [ebp - 0x218]
cmovae eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x25c]
push eax
call fcn.004044d0
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
push dword [ebp - 0x230]
cmovae eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x25c]
push eax
call fcn.004044d0
lea ecx, [ebp - 0x228]
call fcn.004036f0
movups xmm0, xmmword [ebp - 0x25c]
xor eax, eax
lea ecx, [ebp - 0x25c]
mov word [ebp - 0x25c], ax
movups xmmword [ebp - 0x228], xmm0
movq xmm0, qword [ebp - 0x24c]
movq qword [ebp - 0x218], xmm0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 7
call fcn.004036f0
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push 0
cmovae eax, dword [ebp - 0x228]
push str.Load_cpuutil.dll_Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 0x241], 0
jmp 0x43ebe8
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
jne 0x43eba8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x200
mov esi, eax
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00468a50
push esi
push str.Load_cpuutil.dll
lea eax, [ebp - 0x210]
push str._s_failed:_GetLastError_return__u_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x210]
push 0
push 0x495a90
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 0x241], 0
jmp 0x43ebe8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.cuInit
push eax
call esi
push str.cuUpdate
push dword [edi]
mov dword [edi + 4], eax
call esi
mov ecx, dword [edi + 4]
mov dword [edi + 8], eax
test ecx, ecx
je 0x43ebe1
test eax, eax
je 0x43ebe1
lea eax, [edi + 0xc]
push eax
call ecx
test eax, eax
setne byte [ebp - 0x241]
jmp 0x43ebe8
mov byte [ebp - 0x241], 1
mov edx, dword [ebp - 0x214]
cmp edx, 8
jb 0x43ec28
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ec1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43eca7
push edx
push ecx
call fcn.00451338
add esp, 8
mov edx, dword [ebp - 0x22c]
xor eax, eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
cmp edx, 8
jb 0x43ec81
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ec77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ecac
push edx
push ecx
call fcn.00451338
add esp, 8
mov al, byte [ebp - 0x241]
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.004512f7
mov esp, ebp
pop ebp
ret
call fcn.0046c98c
call fcn.0046c98c
call fcn.0046c98c
int3