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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d71e1
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x101120a8]
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.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push str.user32.dll
call fcn.10002b70
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 1
push 1
push eax
call sym.XNewLookSch.dll_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.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0x14
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x2c]
call sym.XNewLookSch.dll_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.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push str.user32.dll
call fcn.10002b70
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 7
push 1
push eax
call sym.XNewLookSch.dll_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.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0x14
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call sym.XNewLookSch.dll_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.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
jne 0x10058ff1
or esi, 0xffffffff
jmp 0x10059456
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.XNewLookSch.dll_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 0x1005941d
nop word [eax + eax]
mov eax, dword [edx + ebx*4]
lea ecx, [edx + ebx*4]
mov dword [ebp - 0xd4], ecx
cmp eax, 8
jbe 0x1005940e
cmp eax, esi
je 0x1005940e
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.XNewLookSch.dll_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 0x100593f3
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 0x10059121
mov eax, dword [eax]
push ecx
push eax
call fcn.10092559
add esp, 8
test eax, eax
je 0x1005915b
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 0x1005914d
mov eax, dword [eax]
push ecx
push eax
call fcn.10092559
add esp, 8
test eax, eax
jne 0x10059162
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.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push 0x100eec50
call fcn.10002b70
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xf
push eax
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_last_part_class_LString_const__
mov byte [ebp - 4], 0xd
or ebx, 1
mov eax, dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x14]
dec eax
mov dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x100591fe
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100591ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059525
push edx
push ecx
call fcn.1008bfe4
mov eax, dword [sym.XNewLookSch.dll_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 0x100eec50
lea ecx, [ebp - 0x28]
mov dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
call fcn.10002b70
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_last_part_class_LString_const__
mov byte [ebp - 4], 0x10
or ebx, 2
dec dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc0], ebx
cmp edx, 8
jb 0x1005929a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059290
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059525
push edx
push ecx
call fcn.1008bfe4
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.10092559
mov ecx, dword [sym.XNewLookSch.dll_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.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], ecx
cmp edx, 8
jb 0x10059310
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059300
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059525
push edx
push ecx
call fcn.1008bfe4
mov ecx, dword [sym.XNewLookSch.dll_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.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], ecx
cmp edx, 8
jb 0x10059370
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059366
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059525
push edx
push ecx
call fcn.1008bfe4
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 0x10059100
cmp byte [ebp - 0x9d], 0
je 0x100593e7
cmp byte [ebp - 0xa8], 0
jne 0x100593e7
mov eax, dword [ebp - 0xd4]
push dword [ebp - 0xc4]
push dword [eax]
call sym.XNewLookSch.dll_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], 0xc
call fcn.10011ab0
mov edx, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xd8]
inc ebx
mov dword [ebp - 0xa4], ebx
cmp ebx, edi
jb 0x10059060
xor esi, esi
test edx, edx
je 0x10059456
mov ecx, dword [ebp - 0xc8]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1005944c
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059525
push ecx
push edx
call fcn.1008bfe4
add esp, 8
mov eax, dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x80], vtable.LString.0
mov dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x100594a7
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059498
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059525
push edx
push ecx
call fcn.1008bfe4
mov eax, dword [sym.XNewLookSch.dll_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.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x10059507
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100594fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059525
push edx
push ecx
call fcn.1008bfe4
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.1008bffe
mov esp, ebp
pop ebp
ret
call fcn.10092486
int3