Function at 0x42e7f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc668
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x58]
push eax
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x58]
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x3c]
setne byte [ebp - 0x75]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
cmp byte [ebp - 0x75], 0
jne 0x42e86b
or esi, 0xffffffff
jmp 0x42ea9e
push 0xe
push str.WinVerifyTrust
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.004094a0
push str.Wintrust.dll
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_char_const__
xor esi, esi
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x80], esi
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x7c], edi
test edi, edi
je 0x42e8d5
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
cmovae ecx, dword [ebp - 0x38]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x80], esi
lea ecx, [ebp - 0x74]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x42e915
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e90b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42eac3
push edx
push ecx
call fcn.00475891
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
test esi, esi
jne 0x42e935
mov esi, 0xffffff9c
jmp 0x42ea93
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0xaac56b
cmovae eax, dword [ebp - 0x54]
movups xmmword [ebp - 0x90], xmm0
push 0x30
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0xc0]
push 0
push eax
mov dword [ebp - 0x90], 0x10
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x1c], 0x11d0cd44
mov dword [ebp - 0x18], 0xc000c28c
mov dword [ebp - 0x14], 0xee95c24f
call fcn.004773d0
add esp, 0xc
mov dword [ebp - 0xc0], 0x30
lea eax, [ebp - 0x90]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xb8], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xb4], 2
push eax
push 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 1
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0x100
call esi
cmp eax, 0x800b0101
jg 0x42ea71
je 0x42ea91
cmp eax, 0x80092026
je 0x42ea6a
cmp eax, 0x800b0004
je 0x42ea63
cmp eax, 0x800b0100
jne 0x42ea83
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x800b0100
je 0x42ea5c
cmp eax, 0x800b0003
je 0x42ea5c
cmp eax, 0x800b0001
je 0x42ea5c
mov esi, 0xfffffffd
jmp 0x42ea93
mov esi, 0xfffffffe
jmp 0x42ea93
mov esi, 0xfffffffb
jmp 0x42ea93
mov esi, 0xfffffffa
jmp 0x42ea93
cmp eax, 0x800b010a
je 0x42ea91
cmp eax, 0x800b0111
je 0x42ea8a
test eax, eax
je 0x42ea91
mov esi, 0xfffffff9
jmp 0x42ea93
mov esi, 0xfffffffc
jmp 0x42ea93
xor esi, esi
test edi, edi
je 0x42ea9e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x58]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, esi
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.00475880
mov esp, ebp
pop ebp
ret
call fcn.0047cd61
int3