joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10056c80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6c96
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x101120a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x10056e06
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10056cf0
cmp edi, 0xffffffff
je 0x10056cf0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x10056e06
lea eax, [esi - 2]
jmp 0x10056e08
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x80]
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_unsigned_int_
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x48], vtable.LString.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
push 0xd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push str.__error_code
call fcn.10002b70
push esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_unsigned_int_
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 0x11
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push str.KillProcessByPID:
call fcn.10002b70
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xb8]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x9c]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0xd4]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0x24
lea ecx, [ebp - 0x9c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xb8]
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_
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x80]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xd4]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
or eax, 0xffffffff
jmp 0x10056e08
xor eax, eax
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.1008bffe
mov esp, ebp
pop ebp
ret
Function at 0x10056e30
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6cd6
mov eax, dword fs:[0]
push eax
mov eax, 0x2f2c
call fcn.1008c5b0
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 edi, dword [ebp + 8]
mov eax, 0x92492493
mov dword [ebp - 0x2f30], edi
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10056ffb
lea eax, [ebp - 0x2f38]
push eax
push 0x2ee0
lea eax, [ebp - 0x2ef0]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x10056eb0
mov eax, 0xfffffffe
jmp 0x10056ffd
mov esi, dword [ebp - 0x2f38]
xor eax, eax
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
shr esi, 2
mov dword [ebp - 0x2f34], esi
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
mov dword [ebp - 4], eax
test esi, esi
je 0x10056ff0
lea ebx, [ebp - 0x2ef0]
nop dword [eax]
push dword [ebx]
lea eax, [ebp - 0x2f28]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_LProcess::GetFullPathNameByPID_unsigned_long_int_
add esp, 8
add eax, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f08]
cmp ecx, eax
je 0x10056f3b
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x10056f2c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2f08]
call fcn.10002b70
lea ecx, [ebp - 0x2f28]
mov byte [ebp - 4], 0
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov esi, dword [edi]
xor ecx, ecx
mov dword [ebp - 0x2f2c], ecx
mov eax, 0x92492493
mov ecx, dword [edi + 4]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10056fe0
xor edi, edi
lea eax, [edi + 4]
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x10056f7d
mov eax, dword [eax]
cmp dword [ebp - 0x2ef4], 8
lea ecx, [ebp - 0x2f08]
push eax
cmovae ecx, dword [ebp - 0x2f08]
push ecx
call fcn.10092559
add esp, 8
test eax, eax
jne 0x10056fa9
push dword [ebx]
call sym.XNewLookSch.dll_int___cdecl_LProcess::KillProcessByPID_unsigned_long_int_
add esp, 4
mov eax, dword [ebp - 0x2f30]
add edi, 0x1c
inc dword [ebp - 0x2f2c]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2f2c], eax
jb 0x10056f70
mov edi, dword [ebp - 0x2f30]
add ebx, 4
sub dword [ebp - 0x2f34], 1
jne 0x10056f00
lea ecx, [ebp - 0x2f0c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
xor eax, eax
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
Function at 0x100577a0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6e38
mov eax, dword fs:[0]
push eax
sub esp, 0x428
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 edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
lea ebx, [edi + 4]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x434], edi
mov dword [edi], vtable.LString.0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push 0x400
push eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x430], 1
push eax
call fcn.1008da10
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10057853
push 0x200
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
lea ecx, [ebp - 0x410]
mov dword [ebp - 4], 1
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10057890
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.10002b70
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 2
cmp ebx, eax
je 0x100578df
cmp dword [ebp - 0x414], 8
mov ecx, ebx
push dword [ebp - 0x418]
cmovae eax, dword [ebp - 0x428]
push eax
call fcn.10002b70
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov ecx, edi
call fcn.10057640
mov eax, edi
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
Function at 0x10057af0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6ed6
mov eax, dword fs:[0]
push eax
mov eax, 0x2f20
call fcn.1008c5b0
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 eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
lea edi, [eax + 4]
je 0x10057c42
lea eax, [ebp - 0x2f2c]
push eax
push 0x2ee0
lea eax, [ebp - 0x2ef0]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x10057c42
mov ebx, dword [ebp - 0x2f2c]
xor eax, eax
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
shr ebx, 2
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
xor esi, esi
mov dword [ebp - 4], eax
test ebx, ebx
je 0x10057c20
nop word [eax + eax]
push dword [ebp + esi*4 - 0x2ef0]
lea eax, [ebp - 0x2f28]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_LProcess::GetFullPathNameByPID_unsigned_long_int_
add esp, 8
add eax, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f08]
cmp ecx, eax
je 0x10057be0
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x10057bd1
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2f08]
call fcn.10002b70
lea ecx, [ebp - 0x2f28]
mov byte [ebp - 4], 0
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x10057bf9
mov ecx, dword [edi]
cmp dword [ebp - 0x2ef4], 8
lea eax, [ebp - 0x2f08]
push ecx
cmovae eax, dword [ebp - 0x2f08]
push eax
call fcn.10092559
add esp, 8
test eax, eax
je 0x10057c31
inc esi
cmp esi, ebx
jb 0x10057ba0
lea ecx, [ebp - 0x2f0c]
xor bl, bl
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov al, bl
jmp 0x10057c44
lea ecx, [ebp - 0x2f0c]
mov bl, 1
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov al, bl
jmp 0x10057c44
xor al, al
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
Function at 0x10058900
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d712e
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
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 edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x458], eax
mov ebx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ebx
je 0x10058954
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, ebx
jne 0x10058943
mov esi, dword [edi]
push 0x428
lea eax, [ebp - 0x454]
mov dword [edi + 4], esi
push 0
push eax
call fcn.1008da10
add esp, 0xc
push dword [ebp - 0x458]
push 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x10058988
or eax, eax
jmp 0x10058ac2
lea eax, [ebp - 0x454]
mov dword [ebp - 0x454], 0x428
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x10058ab9
mov ebx, dword [sym.imp.KERNEL32.dll_Module32NextW]
nop
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
mov dword [ebp - 4], eax
lea eax, [ebp - 0x234]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100589e0
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.10002b70
mov dword [ebp - 4], 1
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x10058a58
mov dword [eax], vtable.LString.0
lea ecx, [eax + 4]
mov dword [ebp - 0x458], eax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
cmp ecx, eax
je 0x10058a52
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10002b70
add dword [edi + 4], 0x1c
jmp 0x10058a64
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, edi
call fcn.100124a0
mov dword [ebp - 4], 0xffffffff
dec dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10058aa7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10058a9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10058ade
push edx
push ecx
call fcn.1008bfe4
add esp, 8
lea eax, [ebp - 0x454]
push eax
push esi
call ebx
test eax, eax
jne 0x100589b0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
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
Function at 0x10058af0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x101120a8]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [esp + 8]
push esi
push edi
push eax
push 0x40
lea eax, [esp + 0x38]
mov dword [esp + 0x18], 0
mov esi, edx
mov dword [esp + 0x28], 0
push eax
mov edi, ecx
mov dword [esp + 0x28], esi
push esi
push edi
call ebx
test eax, eax
je 0x10058d0e
mov eax, 0x5a4d
cmp word [esp + 0x30], ax
jne 0x10058d0e
lea eax, [esp + 0x10]
push eax
push 0xf8
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
add eax, esi
push eax
push edi
call ebx
test eax, eax
je 0x10058d0e
cmp dword [esp + 0x70], 0x4550
jne 0x10058d0e
mov ax, word [esp + 0x88]
mov ecx, 0x10b
cmp ax, cx
jne 0x10058ba4
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
jmp 0x10058be4
mov ecx, 0x20b
cmp ax, cx
jne 0x10058d0e
lea eax, [esp + 0x10]
push eax
push 0x108
lea eax, [esp + 0x170]
push eax
mov eax, dword [esp + 0x78]
add eax, esi
push eax
push edi
call ebx
test eax, eax
je 0x10058d0e
mov eax, dword [esp + 0x1f0]
mov esi, dword [esp + 0x1f4]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10058d0e
test esi, esi
je 0x10058d0e
push esi
call fcn.1008bff2
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x10058d0e
lea ecx, [esp + 0x10]
push ecx
push esi
push eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x28]
push eax
push edi
call ebx
test eax, eax
je 0x10058d02
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edi, dword [edx + 0x1c]
cmp edi, ecx
jbe 0x10058d02
lea ebx, [esi + ecx]
cmp edi, ebx
jae 0x10058d02
mov eax, dword [edx + 0x24]
cmp eax, ecx
jbe 0x10058d02
cmp eax, ebx
jae 0x10058d02
mov esi, dword [edx + 0x20]
cmp esi, ecx
jbe 0x10058d02
cmp esi, ebx
jae 0x10058d02
sub esi, ecx
sub edi, ecx
add esi, edx
sub eax, ecx
mov dword [esp + 0x24], esi
add edi, edx
add eax, edx
mov dword [esp + 0x28], edi
xor esi, esi
mov dword [esp + 0x2c], eax
cmp dword [edx + 0x18], esi
jbe 0x10058d02
nop dword [eax + eax]
movzx eax, word [eax + esi*2]
mov edi, dword [edi + eax*4]
cmp edi, ecx
jb 0x10058c9f
cmp edi, ebx
jb 0x10058ce8
mov eax, dword [esp + 0x24]
mov eax, dword [eax + esi*4]
cmp eax, ecx
jbe 0x10058ce8
cmp eax, ebx
jae 0x10058ce8
sub eax, ecx
mov ecx, 0x100f1358
add eax, edx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10058cd7
test dl, dl
je 0x10058cd3
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10058cd7
add ecx, 2
add eax, 2
test dl, dl
jne 0x10058cb7
xor eax, eax
jmp 0x10058cdc
sbb eax, eax
or eax, 1
test eax, eax
je 0x10058cf8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc esi
cmp esi, dword [edx + 0x18]
jae 0x10058d02
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
jmp 0x10058c90
mov eax, dword [esp + 0x1c]
add eax, edi
mov dword [esp + 0x20], eax
push dword [esp + 0x18]
call fcn.1008c032
add esp, 4
mov ecx, dword [esp + 0x274]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008bffe
mov esp, ebp
pop ebp
ret
Function at 0x10058d30
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x10058e90
cmp eax, 4
je 0x10058e90
cmp eax, 8
je 0x10058e90
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 0
jne 0x10058d62
mov eax, 0xfffffffe
pop esi
pop ebp
ret
push edi
push eax
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x10058d7e
lea eax, [edi - 3]
pop edi
pop esi
pop ebp
ret
mov eax, dword [esi + 0x14]
push ebx
push 4
push 0x1000
lea eax, [eax*2 + 2]
push eax
push 0
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
jne 0x10058db2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 4]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x10058dbd
mov eax, dword [eax]
push 0
push dword [ebp + 8]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10058dee
push 0x8000
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 0xfffffffb
pop esi
pop ebp
ret
push ecx
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, esi
mov ecx, eax
call fcn.10058af0
add esp, 4
test eax, eax
jne 0x10058e31
push 0x8000
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 0xfffffffa
pop esi
pop ebp
ret
push 0
push 0
push ebx
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
jne 0x10058e65
push 0x8000
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
lea eax, [esi - 7]
pop esi
pop ebp
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret
or eax, 0xffffffff
pop ebp
ret
Function at 0x100599d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2eec
call fcn.1008c5b0
mov eax, dword [0x101120a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [esi + 4], eax
lea eax, [ebp - 0x2ee8]
push eax
push 0x2ee0
lea eax, [ebp - 0x2ee4]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x10059a1f
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008bffe
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp - 0x2ee8]
push edi
shr ebx, 2
xor edi, edi
test ebx, ebx
je 0x10059a61
mov eax, dword [esi + 4]
mov ecx, dword [ebp + edi*4 - 0x2ee4]
mov dword [ebp - 0x2eec], ecx
cmp dword [esi + 8], eax
je 0x10059a4d
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10059a5c
lea ecx, [ebp - 0x2eec]
push ecx
push eax
mov ecx, esi
call fcn.1005b5f0
inc edi
cmp edi, ebx
jb 0x10059a30
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.1008bffe
mov esp, ebp
pop ebp
ret
Function at 0x10059a80
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7266
mov eax, dword fs:[0]
push eax
mov eax, 0x2f28
call fcn.1008c5b0
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]
mov dword [ebp - 4], 0
mov ecx, ebx
mov esi, dword [ebx]
push dword [esi + 4]
call fcn.1005b5a0
mov eax, dword [ebx]
mov dword [eax + 4], esi
mov eax, dword [ebx]
mov dword [eax], esi
mov eax, dword [ebx]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 8], esi
lea eax, [ebp - 0x2f2c]
push eax
push 0x2ee0
lea eax, [ebp - 0x2ef0]
mov dword [ebx + 4], 0
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x10059b09
or eax, 0xffffffff
jmp 0x10059c7b
mov edi, dword [ebp - 0x2f2c]
mov eax, 7
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
xor ecx, ecx
shr edi, 2
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x2ef8], 0
mov dword [ebp - 0x2ef4], eax
mov word [ebp - 0x2f08], cx
xor esi, esi
mov dword [ebp - 4], 1
test edi, edi
je 0x10059c3d
push dword [ebp + esi*4 - 0x2ef0]
lea eax, [ebp - 0x2f28]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_LProcess::GetFullPathNameByPID_unsigned_long_int_
add esp, 8
add eax, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2f08]
cmp ecx, eax
je 0x10059b91
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x10059b82
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2f08]
call fcn.10002b70
mov byte [ebp - 4], 1
dec dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x2f10]
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
cmp edx, 8
jb 0x10059be5
mov ecx, dword [ebp - 0x2f24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059bdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059c97
push edx
push ecx
call fcn.1008bfe4
add esp, 8
cmp dword [ebp - 0x2ef8], 0
je 0x10059c2e
lea ecx, [ebp - 0x2f0c]
call sym.XNewLookSch.dll_public:_class_LString____thiscall_LString::to_lower_case_void_
cmp byte [ebp + 0xc], 0
jne 0x10059c12
lea eax, [ebp - 0x2f0c]
push eax
call sym.XNewLookSch.dll_bool___cdecl_LProcess::is_system_process_class_LString_const__
add esp, 4
test al, al
jne 0x10059c2e
push dword [ebp - 0x2f2c]
lea eax, [ebp - 0x2f0c]
push eax
push ecx
lea eax, [ebp - 0x2f34]
mov ecx, ebx
push eax
call fcn.1005b8b0
inc esi
cmp esi, edi
jb 0x10059b51
mov eax, dword [ebp - 0x2ef4]
dec dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
cmp eax, 8
jb 0x10059c79
mov ecx, dword [ebp - 0x2f08]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059c6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059c97
push edx
push ecx
call fcn.1008bfe4
add esp, 8
xor eax, eax
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