Function at 0x46a180
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c243d
mov eax, dword fs:[0]
push eax
mov eax, 0x2f68
call fcn.004b3620
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 edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2f68], ebx
mov eax, dword [edi]
mov dword [edi + 4], eax
cmp dword [ebx + 0x14], 0
jne 0x46a1d1
or eax, 0xffffffff
jmp 0x46a617
xor eax, eax
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x2ef8], 0
mov dword [ebp - 0x2ef4], 7
mov word [ebp - 0x2f08], ax
push 1
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2f08]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d4d88
call fcn.00409940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f08]
cmp dword [ebp - 0x2ef4], 8
lea esi, [ebx + 4]
cmovae ecx, dword [ebp - 0x2f08]
cmp dword [ebx + 0x18], 8
jb 0x46a23a
mov esi, dword [ebx + 4]
mov edx, dword [ebx + 0x14]
cmp edx, dword [ebp - 0x2ef8]
jne 0x46a26a
test edx, edx
je 0x46a261
sub esi, ecx
nop dword [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x46a26a
add ecx, 2
sub edx, 1
jne 0x46a250
mov byte [ebp - 0x2f61], 1
jmp 0x46a271
mov byte [ebp - 0x2f61], 0
lea ecx, [ebp - 0x2f0c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
cmp byte [ebp - 0x2f61], 0
je 0x46a28f
mov ebx, 1
jmp 0x46a3bc
xor eax, eax
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x2ef8], 0
mov dword [ebp - 0x2ef4], 7
mov word [ebp - 0x2f08], ax
push 2
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2f08]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d66a0
call fcn.00409940
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x2f08]
cmp dword [ebp - 0x2ef4], 8
cmovae edx, dword [ebp - 0x2f08]
mov esi, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x46a2f5
sub esi, ecx
lea ecx, [ebx + 4]
sar esi, 1
cmp dword [ebx + 0x18], 8
jb 0x46a310
mov ecx, dword [ebx + 4]
push esi
push edx
mov edx, dword [ebx + 0x14]
push 0
call fcn.00408da0
add esp, 0xc
lea ecx, [ebp - 0x2f0c]
mov ebx, eax
shr ebx, 0x1f
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
je 0x46a33d
mov ebx, 3
jmp 0x46a3bc
xor eax, eax
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x2f14], 0
mov dword [ebp - 0x2f10], 7
mov word [ebp - 0x2f24], ax
push 1
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2f24]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d2b88
call fcn.00409940
mov ecx, dword [ebp - 0x2f68]
lea eax, [ebp - 0x2f28]
push 1
push eax
mov dword [ebp - 4], 0xffffffff
call sym.XNewLook.exe_public:_bool___thiscall_LString::is_end_by_class_LString_const___bool_const
lea ecx, [ebp - 0x2f28]
mov bl, al
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
mov ebx, 0
setne bl
lea ebx, [ebx*2 + 2]
lea eax, [ebp - 0x2f6c]
push eax
push 0x2ee0
lea eax, [ebp - 0x2ef0]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x46a3e3
mov eax, 0xfffffffe
jmp 0x46a617
mov eax, dword [ebp - 0x2f6c]
xor ecx, ecx
shr eax, 2
mov dword [ebp - 0x2f74], eax
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x2ef8], 0
mov dword [ebp - 0x2ef4], 7
mov word [ebp - 0x2f08], cx
mov dword [ebp - 4], 3
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x2f14], ecx
mov dword [ebp - 0x2f10], 7
mov word [ebp - 0x2f24], cx
add dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], 3
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x2f30], ecx
mov dword [ebp - 0x2f2c], 7
mov word [ebp - 0x2f40], cx
xor esi, esi
mov byte [ebp - 4], 5
test eax, eax
je 0x46a5e4
nop word [eax + eax]
mov eax, dword [ebp + esi*4 - 0x2ef0]
test eax, eax
je 0x46a5d7
push eax
lea eax, [ebp - 0x2f60]
push eax
call sym.XNewLook.exe_class_LString___cdecl_LProcess::GetFullPathNameByPID_unsigned_long_int_
add esp, 8
add eax, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2f08]
cmp ecx, eax
je 0x46a4c9
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x46a4ba
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2f08]
call fcn.00409940
lea ecx, [ebp - 0x2f60]
mov byte [ebp - 4], 5
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
cmp dword [ebp - 0x2ef8], 0
je 0x46a5d7
push 1
lea eax, [ebp - 0x2f28]
push eax
lea eax, [ebp - 0x2f44]
push eax
lea ecx, [ebp - 0x2f0c]
call sym.XNewLook.exe_public:_void___thiscall_LString::splite_to_path_and_filename_class_LString___class_LString___bool_const
cmp ebx, 1
je 0x46a5ab
cmp ebx, 2
jne 0x46a535
mov ecx, dword [ebp - 0x2f68]
add ecx, 4
cmp dword [ecx + 0x14], 8
jb 0x46a51f
mov ecx, dword [ecx]
cmp dword [ebp - 0x2ef4], 8
lea eax, [ebp - 0x2f08]
cmovae eax, dword [ebp - 0x2f08]
jmp 0x46a55f
cmp ebx, 3
jne 0x46a574
mov ecx, dword [ebp - 0x2f68]
add ecx, 4
cmp dword [ecx + 0x14], 8
jb 0x46a54b
mov ecx, dword [ecx]
cmp dword [ebp - 0x2f10], 8
lea eax, [ebp - 0x2f24]
cmovae eax, dword [ebp - 0x2f24]
push ecx
push eax
call fcn.0047cdb1
add esp, 8
test eax, eax
sete al
test al, al
je 0x46a5d7
jmp 0x46a5ab
cmp ebx, 4
jne 0x46a5d7
mov ecx, dword [ebp - 0x2f68]
add ecx, ebx
cmp dword [ecx + 0x14], 8
jb 0x46a589
mov ecx, dword [ecx]
cmp dword [ebp - 0x2f2c], 8
lea eax, [ebp - 0x2f40]
push ecx
cmovae eax, dword [ebp - 0x2f40]
push eax
call fcn.0047cdb1
add esp, 8
test eax, eax
jne 0x46a5d7
mov eax, dword [edi + 4]
mov ecx, dword [ebp + esi*4 - 0x2ef0]
mov dword [ebp - 0x2f70], ecx
cmp dword [edi + 8], eax
je 0x46a5c8
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x46a5d7
lea ecx, [ebp - 0x2f70]
push ecx
push eax
mov ecx, edi
call fcn.0046a900
inc esi
cmp esi, dword [ebp - 0x2f74]
jb 0x46a480
mov esi, dword [edi + 4]
lea ecx, [ebp - 0x2f44]
sub esi, dword [edi]
and esi, 0xfffffffc
neg esi
sbb esi, esi
and esi, 3
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x2f28]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x2f0c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea eax, [esi - 3]
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