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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c21e1
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0xa
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str.user32.dll
call fcn.00409940
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 1
push 1
push eax
call sym.XNewLook.exe_class_LString___cdecl_LEnvironment::GetWindowsSystem32Dir_bool_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x9c]
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0x14
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
xor eax, eax
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0xa
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str.user32.dll
call fcn.00409940
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 7
push 1
push eax
call sym.XNewLook.exe_class_LString___cdecl_LEnvironment::GetWindowsWow64Dir_bool_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x80]
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0x14
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x48]
setne bl
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
jne 0x468331
or esi, 0xffffffff
jmp 0x46879a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xc
push eax
call sym.XNewLook.exe_int___cdecl_LProcess::get_process_list_class_std::vector_unsigned_int__class_std::allocator_unsigned_int____
mov edi, dword [ebp - 0xcc]
xor ebx, ebx
mov edx, dword [ebp - 0xd0]
add esp, 4
sub edi, edx
mov dword [ebp - 0xa4], ebx
sar edi, 2
mov dword [ebp - 0xb0], edi
test edi, edi
je 0x468761
nop word [eax + eax]
mov eax, dword [edx + ebx*4]
lea ecx, [edx + ebx*4]
mov dword [ebp - 0xd4], ecx
cmp eax, 8
jbe 0x468752
cmp eax, esi
je 0x468752
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0xd
push eax
push dword [ecx]
call sym.XNewLook.exe_int___cdecl_LProcess::get_module_list_by_pid_unsigned_int__class_std::vector_class_LString__class_std::allocator_class_LString____
mov ecx, dword [ebp - 0xb8]
mov eax, 0x92492493
mov esi, dword [ebp - 0xbc]
add esp, 8
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x468733
mov ebx, dword [ebp - 0xc0]
xor al, al
xor ecx, ecx
mov byte [ebp - 0x9d], al
mov dword [ebp - 0xa8], eax
xor edi, edi
mov dword [ebp - 0xac], ecx
nop word [eax + eax]
cmp dword [ebp - 0x84], 8
lea ecx, [ebp - 0x98]
lea eax, [edi + 4]
cmovae ecx, dword [ebp - 0x98]
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x468461
mov eax, dword [eax]
push ecx
push eax
call fcn.0047cdb1
add esp, 8
test eax, eax
je 0x46849b
cmp dword [ebp - 0x68], 8
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp - 0xbc]
cmovae ecx, dword [ebp - 0x7c]
add eax, 4
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x46848d
mov eax, dword [eax]
push ecx
push eax
call fcn.0047cdb1
add esp, 8
test eax, eax
jne 0x4684a2
mov byte [ebp - 0x9d], 1
xor eax, eax
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 2
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d5c38
call fcn.00409940
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xf
push eax
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_last_part_class_LString_const__
mov byte [ebp - 4], 0xd
or ebx, 1
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x14]
dec eax
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x46853e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46852f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468869
push edx
push ecx
call fcn.00475891
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
add esp, 8
mov esi, dword [ebp - 0xbc]
xor ecx, ecx
add esi, edi
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
push 2
inc eax
mov byte [ebp - 4], 0x11
push 0x4d5c38
lea ecx, [ebp - 0x28]
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
call fcn.00409940
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_last_part_class_LString_const__
mov byte [ebp - 4], 0x10
or ebx, 2
dec dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc0], ebx
cmp edx, 8
jb 0x4685da
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4685d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468869
push edx
push ecx
call fcn.00475891
add esp, 8
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x60]
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x4c], 8
push ecx
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.0047cdb1
mov ecx, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
add esp, 8
mov edx, dword [ebp - 0x4c]
dec ecx
mov dword [ebp - 0x64], vtable.LString.0
mov esi, eax
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], ecx
cmp edx, 8
jb 0x468650
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468640
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468869
push edx
push ecx
call fcn.00475891
mov ecx, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
add esp, 8
mov byte [ebp - 4], 0xd
xor eax, eax
mov edx, dword [ebp - 0x30]
dec ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov dword [ebp - 0x48], vtable.LString.0
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], ecx
cmp edx, 8
jb 0x4686b0
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4686a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468869
push edx
push ecx
call fcn.00475891
add esp, 8
mov eax, dword [ebp - 0xa8]
test esi, esi
mov esi, dword [ebp - 0xbc]
mov ecx, 1
movzx eax, al
cmove eax, ecx
mov ecx, dword [ebp - 0xb8]
inc dword [ebp - 0xac]
sub ecx, esi
mov dword [ebp - 0xa8], eax
add edi, 0x1c
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xac], eax
jb 0x468440
cmp byte [ebp - 0x9d], 0
je 0x468727
cmp byte [ebp - 0xa8], 0
jne 0x468727
mov eax, dword [ebp - 0xd4]
push dword [ebp - 0xc4]
push dword [eax]
call sym.XNewLook.exe_int___cdecl_LProcess::remote_inject_dll_unsigned_int__class_LString_const__
add esp, 8
mov ebx, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xb0]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x13
call fcn.004061f0
mov esi, dword [ebp - 0xd8]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xd0]
inc ebx
mov dword [ebp - 0xa4], ebx
cmp ebx, edi
jb 0x4683a0
xor esi, esi
test edx, edx
je 0x46879a
mov ecx, dword [ebp - 0xc8]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x468790
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468869
push ecx
push edx
call fcn.00475891
add esp, 8
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x80], vtable.LString.0
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x4687eb
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4687dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468869
push edx
push ecx
call fcn.00475891
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
add esp, 8
mov edx, dword [ebp - 0x84]
xor ecx, ecx
dec eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], cx
mov dword [ebp - 0x9c], vtable.LString.0
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x46884b
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468841
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468869
push edx
push ecx
call fcn.00475891
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475880
mov esp, ebp
pop ebp
ret
call fcn.0047cd61
int3