joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403bfb
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x29c
mov dword [ebp - 0x274], sym.___gxx_personality_sj0
mov dword [ebp - 0x270], 0x4b92aa
lea eax, [ebp - 0x26c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x403e06
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x28c]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
lea eax, [ebp - 0x24]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x288], 0xffffffff
call sym.ConvertStringToWstring_std::string_const_
mov dword [esp + 4], 0
mov dword [esp], 2
mov dword [ebp - 0x288], 1
call sym._CreateToolhelp32Snapshot_8
sub esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x403c94
mov dword [ebp - 0x290], 0
jmp 0x403daf
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [ebp - 0x288], 1
call sym._Process32FirstW_8
sub esp, 8
test eax, eax
sete al
test al, al
je 0x403ce8
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [ebp - 0x290], 0
jmp 0x403daf
lea eax, [ebp - 0x1d]
mov ecx, eax
call fcn.00472530
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x1d]
mov dword [esp + 4], edx
lea edx, [ebp - 0x254]
add edx, 0x24
mov dword [esp], edx
mov dword [ebp - 0x288], 2
mov ecx, eax
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.basic_string_wchar_t_const__std::allocator_wchar_t__const_
sub esp, 8
lea eax, [ebp - 0x1d]
mov ecx, eax
call sym.std::allocator_wchar_t_::allocator__
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
call method.__gnu_cxx::__enable_if_std::__is_char_wchar_t_::__value__bool_::__type_std.operator_wchar_t__std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____const__std::basic_string_wchar_t__std::char_traits_wchar_t___std::alloca
test al, al
je 0x403d5c
mov eax, dword [ebp - 0x24c]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [ebp - 0x288], 3
call sym.TerminateMyProcess_unsigned_long__unsigned_int_
lea eax, [ebp - 0x28]
mov ecx, eax
call fcn.00474ab0
lea eax, [ebp - 0x254]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [ebp - 0x288], 1
call sym._Process32NextW_8
sub esp, 8
test eax, eax
setne al
test al, al
jne 0x403ce8
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [ebp - 0x290], 1
lea eax, [ebp - 0x24]
mov ecx, eax
call fcn.00474ab0
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x290], eax
jmp 0x403e54
lea eax, [ebp - 0x28c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x290]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x403e70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x29c
mov dword [ebp - 0x274], sym.___gxx_personality_sj0
mov dword [ebp - 0x270], 0x4b92b4
lea eax, [ebp - 0x26c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x4040be
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x28c]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
lea eax, [ebp - 0x28]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x288], 0xffffffff
call sym.ConvertStringToWstring_std::string_const_
mov dword [esp + 4], 0
mov dword [esp], 2
mov dword [ebp - 0x288], 1
call sym._CreateToolhelp32Snapshot_8
sub esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x403f09
mov dword [ebp - 0x290], 0
jmp 0x404067
mov dword [ebp - 0x258], 0x22c
lea eax, [ebp - 0x258]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [ebp - 0x288], 1
call sym._Process32FirstW_8
sub esp, 8
test eax, eax
sete al
test al, al
je 0x403f5d
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [ebp - 0x290], 0
jmp 0x404067
lea eax, [ebp - 0x21]
mov ecx, eax
call fcn.00472530
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x21]
mov dword [esp + 4], edx
lea edx, [ebp - 0x258]
add edx, 0x24
mov dword [esp], edx
mov dword [ebp - 0x288], 2
mov ecx, eax
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.basic_string_wchar_t_const__std::allocator_wchar_t__const_
sub esp, 8
lea eax, [ebp - 0x21]
mov ecx, eax
call sym.std::allocator_wchar_t_::allocator__
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call method.__gnu_cxx::__enable_if_std::__is_char_wchar_t_::__value__bool_::__type_std.operator_wchar_t__std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____const__std::basic_string_wchar_t__std::char_traits_wchar_t___std::alloca
test al, al
je 0x403ff6
mov eax, dword [ebp - 0x250]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], 0x1f0fff
mov eax, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x288], 3
call eax
sub esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x294], 0
jmp 0x404000
mov dword [ebp - 0x294], 1
lea eax, [ebp - 0x2c]
mov ecx, eax
call fcn.00474ab0
cmp dword [ebp - 0x294], 1
jne 0x404067
nop
lea eax, [ebp - 0x258]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [ebp - 0x288], 1
call sym._Process32NextW_8
sub esp, 8
test eax, eax
setne al
test al, al
jne 0x403f5d
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x288], 1
call eax
sub esp, 4
mov dword [ebp - 0x290], 0
lea eax, [ebp - 0x28]
mov ecx, eax
call fcn.00474ab0
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x290], eax
jmp 0x40410c
lea eax, [ebp - 0x28c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x290]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x404128
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x44
cmp dword [ebp + 8], 0
jne 0x40413f
mov eax, 0xffffffff
jmp 0x404295
mov dword [esp], 0x4c300c
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call eax
sub esp, 4
mov dword [esp + 4], str.GetCurrentProcessId
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x404178
mov eax, 0xffffffff
jmp 0x404295
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
mov edx, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x42a
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], edx
mov eax, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
call eax
sub esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4041d1
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4041e5
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x18], eax
mov eax, 0xffffffff
jmp 0x404295
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov edx, dword [ebp - 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
call eax
sub esp, 0x1c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
cmp dword [ebp - 0x14], 0
jne 0x404243
mov eax, 0xffffffff
jmp 0x404295
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
call eax
sub esp, 8
test eax, eax
sete al
test al, al
je 0x404282
mov dword [ebp - 0x24], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 4]
leave
ret 4
Function at 0x40441d
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov word [ebp - 0xa], 0x76
mov dword [ebp - 0x28], 1
movzx eax, word [ebp - 0xa]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_MapVirtualKeyW]
call eax
sub esp, 8
mov word [ebp - 0x22], ax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movzx eax, word [ebp - 0xa]
mov word [ebp - 0x24], ax
mov dword [ebp - 0x20], 0
mov eax, 0x1c
mov dword [esp + 8], eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], 1
mov eax, dword [sym.imp.USER32.dll_SendInput]
call eax
sub esp, 0xc
mov dword [ebp - 0x20], 2
mov dword [esp], 0x3e8
mov dword [esp + 4], 0
call sym.usleep_long_long_
mov eax, 0x1c
mov dword [esp + 8], eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], 1
mov eax, dword [sym.imp.USER32.dll_SendInput]
call eax
sub esp, 0xc
leave
ret

Function at 0x4044c9
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov word [ebp - 0xa], 0xd
mov dword [ebp - 0x28], 1
movzx eax, word [ebp - 0xa]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_MapVirtualKeyW]
call eax
sub esp, 8
mov word [ebp - 0x22], ax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movzx eax, word [ebp - 0xa]
mov word [ebp - 0x24], ax
mov dword [ebp - 0x20], 0
mov eax, 0x1c
mov dword [esp + 8], eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], 1
mov eax, dword [sym.imp.USER32.dll_SendInput]
call eax
sub esp, 0xc
mov dword [ebp - 0x20], 2
mov dword [esp], 0x3e8
mov dword [esp + 4], 0
call sym.usleep_long_long_
mov eax, 0x1c
mov dword [esp + 8], eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], 1
mov eax, dword [sym.imp.USER32.dll_SendInput]
call eax
sub esp, 0xc
leave
ret

Function at 0x404575
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.sync.exe
mov dword [esp + 4], str.runas
mov dword [esp], 0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteW]
call eax
sub esp, 0x18
mov dword [esp], 0x2710
mov dword [esp + 4], 0
call sym.usleep_long_long_
mov dword [esp + 4], str.Sync_License_Agreement
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_FindWindowW]
call eax
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4045ff
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SetForegroundWindow]
call eax
sub esp, 4
call sym.keyenter__
mov dword [esp + 4], str.sync.exe
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_FindWindowW]
call eax
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x404636
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SetForegroundWindow]
call eax
sub esp, 4
call sym.keyenter__
mov eax, 1
leave
ret
Function at 0x405e47
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 0x1c], dl
mov byte [ebp - 0x20], al
mov dword [ebp - 0xc], 0
mov byte [ebp - 0xd], 0
jmp 0x405f23
mov byte [ebp - 0xd], 1
mov dword [ebp - 0xc], 0
movzx edx, byte [ebp - 0x1c]
lea eax, [ebp - 0xe]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 2
mov ecx, eax
call method.EC.Wr_ECRAM_unsigned_char__unsigned_char__unsigned_char_
sub esp, 0xc
movzx edx, byte [ebp - 0x20]
lea eax, [ebp - 0xe]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 3
mov ecx, eax
call method.EC.Wr_ECRAM_unsigned_char__unsigned_char__unsigned_char_
sub esp, 0xc
lea eax, [ebp - 0xe]
mov dword [esp + 8], 5
mov dword [esp + 4], 0
mov dword [esp], 0
mov ecx, eax
call method.EC.Wr_ECRAM_unsigned_char__unsigned_char__unsigned_char_
sub esp, 0xc
jmp 0x405ee6
add dword [ebp - 0xc], 1
lea eax, [ebp - 0xe]
mov dword [esp + 4], 0
mov dword [esp], 1
mov ecx, eax
call method.EC.Rd_ECRAM_unsigned_char__unsigned_char_
sub esp, 8
movzx eax, al
sar eax, 7
cmp eax, 1
je 0x405f1a
cmp dword [ebp - 0xc], 0x32
jg 0x405f1a
mov eax, 1
jmp 0x405f1f
mov eax, 0
test al, al
jne 0x405ee2
movzx eax, byte [ebp - 0xd]
xor eax, 1
test al, al
jne 0x405e69
cmp dword [ebp - 0xc], 0x32
je 0x405e69
lea eax, [ebp - 0xe]
mov dword [esp + 4], 0
mov dword [esp], 4
mov ecx, eax
call method.EC.Rd_ECRAM_unsigned_char__unsigned_char_
sub esp, 8
leave
ret

Function at 0x406043
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 0x1c], dl
mov byte [ebp - 0x20], al
mov dword [ebp - 0xc], 0
mov byte [ebp - 0xd], 0
jmp 0x40611f
mov byte [ebp - 0xd], 1
mov dword [ebp - 0xc], 0
movzx edx, byte [ebp - 0x1c]
lea eax, [ebp - 0xe]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 2
mov ecx, eax
call method.EC.Wr_ECRAM_unsigned_char__unsigned_char__unsigned_char_
sub esp, 0xc
movzx edx, byte [ebp - 0x20]
lea eax, [ebp - 0xe]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 3
mov ecx, eax
call method.EC.Wr_ECRAM_unsigned_char__unsigned_char__unsigned_char_
sub esp, 0xc
lea eax, [ebp - 0xe]
mov dword [esp + 8], 7
mov dword [esp + 4], 0
mov dword [esp], 0
mov ecx, eax
call method.EC.Wr_ECRAM_unsigned_char__unsigned_char__unsigned_char_
sub esp, 0xc
jmp 0x4060e2
add dword [ebp - 0xc], 1
lea eax, [ebp - 0xe]
mov dword [esp + 4], 0
mov dword [esp], 1
mov ecx, eax
call method.EC.Rd_ECRAM_unsigned_char__unsigned_char_
sub esp, 8
movzx eax, al
sar eax, 7
cmp eax, 1
je 0x406116
cmp dword [ebp - 0xc], 0x32
jg 0x406116
mov eax, 1
jmp 0x40611b
mov eax, 0
test al, al
jne 0x4060de
movzx eax, byte [ebp - 0xd]
xor eax, 1
test al, al
jne 0x406065
cmp dword [ebp - 0xc], 0x32
je 0x406065
lea eax, [ebp - 0xe]
mov dword [esp + 4], 0
mov dword [esp], 4
mov ecx, eax
call method.EC.Rd_ECRAM_unsigned_char__unsigned_char_
sub esp, 8
leave
ret
Function at 0x406156
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 0x2c], dl
mov byte [ebp - 0x30], al
mov dword [ebp - 0xc], 0
mov byte [ebp - 0xd], 0
jmp 0x406232
mov byte [ebp - 0xd], 1
mov dword [ebp - 0xc], 0
movzx edx, byte [ebp - 0x2c]
lea eax, [ebp - 0x10]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 2
mov ecx, eax
call method.EC.Wr_ECRAM_unsigned_char__unsigned_char__unsigned_char_
sub esp, 0xc
movzx edx, byte [ebp - 0x30]
lea eax, [ebp - 0x10]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 3
mov ecx, eax
call method.EC.Wr_ECRAM_unsigned_char__unsigned_char__unsigned_char_
sub esp, 0xc
lea eax, [ebp - 0x10]
mov dword [esp + 8], 9
mov dword [esp + 4], 0
mov dword [esp], 0
mov ecx, eax
call method.EC.Wr_ECRAM_unsigned_char__unsigned_char__unsigned_char_
sub esp, 0xc
jmp 0x4061f5
add dword [ebp - 0xc], 1
lea eax, [ebp - 0x10]
mov dword [esp + 4], 0
mov dword [esp], 1
mov ecx, eax
call method.EC.Rd_ECRAM_unsigned_char__unsigned_char_
sub esp, 8
movzx eax, al
sar eax, 7
cmp eax, 1
je 0x406229
cmp dword [ebp - 0xc], 0x32
jg 0x406229
mov eax, 1
jmp 0x40622e
mov eax, 0
test al, al
jne 0x4061f1
movzx eax, byte [ebp - 0xd]
xor eax, 1
test al, al
jne 0x406178
cmp dword [ebp - 0xc], 0x32
je 0x406178
lea eax, [ebp - 0x10]
mov dword [esp + 4], 0
mov dword [esp], 4
mov ecx, eax
call method.EC.Rd_ECRAM_unsigned_char__unsigned_char_
sub esp, 8
mov byte [ebp - 0xe], al
lea eax, [ebp - 0x10]
mov dword [esp + 4], 0
mov dword [esp], 5
mov ecx, eax
call method.EC.Rd_ECRAM_unsigned_char__unsigned_char_
sub esp, 8
mov byte [ebp - 0xf], al
mov ecx, 0
mov eax, 0x18
and eax, 0xfffffffc
mov edx, eax
mov eax, 0
mov dword [ebp + eax - 0x28], ecx
add eax, 4
cmp eax, edx
jb 0x40629d
lea eax, [ebp - 0x28]
mov ecx, eax
call method.comby.comby__
movzx ecx, byte [ebp - 0xf]
movzx edx, byte [ebp - 0xe]
lea eax, [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ecx, eax
call method.comby.get_16bit_unsigned_char__unsigned_char_
sub esp, 8
leave
ret
Function at 0x4062d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 0x2c], cl
mov byte [ebp - 0x30], dl
mov word [ebp - 0x34], ax
mov dword [ebp - 0xc], 0
mov byte [ebp - 0xd], 0
jmp 0x406405
mov byte [ebp - 0xd], 1
mov dword [ebp - 0xc], 0
movzx edx, byte [ebp - 0x2c]
lea eax, [ebp - 0x10]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 2
mov ecx, eax
call method.EC.Wr_ECRAM_unsigned_char__unsigned_char__unsigned_char_
sub esp, 0xc
movzx edx, byte [ebp - 0x30]
lea eax, [ebp - 0x10]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 3
mov ecx, eax
call method.EC.Wr_ECRAM_unsigned_char__unsigned_char__unsigned_char_
sub esp, 0xc
movzx eax, word [ebp - 0x34]
movzx edx, al
lea eax, [ebp - 0x10]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 4
mov ecx, eax
call method.EC.Wr_ECRAM_unsigned_char__unsigned_char__unsigned_char_
sub esp, 0xc
movzx eax, word [ebp - 0x34]
shr ax, 8
movzx edx, al
lea eax, [ebp - 0x10]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 5
mov ecx, eax
call method.EC.Wr_ECRAM_unsigned_char__unsigned_char__unsigned_char_
sub esp, 0xc
lea eax, [ebp - 0x10]
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
mov dword [esp], 0
mov ecx, eax
call method.EC.Wr_ECRAM_unsigned_char__unsigned_char__unsigned_char_
sub esp, 0xc
jmp 0x4063c8
add dword [ebp - 0xc], 1
lea eax, [ebp - 0x10]
mov dword [esp + 4], 0
mov dword [esp], 1
mov ecx, eax
call method.EC.Rd_ECRAM_unsigned_char__unsigned_char_
sub esp, 8
movzx eax, al
sar eax, 7
cmp eax, 1
je 0x4063fc
cmp dword [ebp - 0xc], 0x32
jg 0x4063fc
mov eax, 1
jmp 0x406401
mov eax, 0
test al, al
jne 0x4063c4
movzx eax, byte [ebp - 0xd]
xor eax, 1
test al, al
jne 0x4062f9
cmp dword [ebp - 0xc], 0x32
je 0x4062f9
lea eax, [ebp - 0x10]
mov dword [esp + 4], 0
mov dword [esp], 4
mov ecx, eax
call method.EC.Rd_ECRAM_unsigned_char__unsigned_char_
sub esp, 8
mov byte [ebp - 0xe], al
lea eax, [ebp - 0x10]
mov dword [esp + 4], 0
mov dword [esp], 5
mov ecx, eax
call method.EC.Rd_ECRAM_unsigned_char__unsigned_char_
sub esp, 8
mov byte [ebp - 0xf], al
mov ecx, 0
mov eax, 0x18
and eax, 0xfffffffc
mov edx, eax
mov eax, 0
mov dword [ebp + eax - 0x28], ecx
add eax, 4
cmp eax, edx
jb 0x406470
lea eax, [ebp - 0x28]
mov ecx, eax
call method.comby.comby__
movzx ecx, byte [ebp - 0xf]
movzx edx, byte [ebp - 0xe]
lea eax, [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ecx, eax
call method.comby.get_16bit_unsigned_char__unsigned_char_
sub esp, 8
leave
ret
Function at 0x408a33
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x29c
mov dword [ebp - 0x274], sym.___gxx_personality_sj0
mov dword [ebp - 0x270], 0x4b931c
lea eax, [ebp - 0x26c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x408be8
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x28c]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
mov ecx, dword [ebp + 8]
call fcn.004a59a8
mov dword [esp + 4], 0
mov dword [esp], 2
mov dword [ebp - 0x288], 1
call sym._CreateToolhelp32Snapshot_8
sub esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._Process32FirstW_8
sub esp, 8
test eax, eax
sete al
test al, al
je 0x408ade
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
lea eax, [ebp - 0x1d]
mov ecx, eax
call fcn.00472530
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x1d]
mov dword [esp + 4], edx
lea edx, [ebp - 0x254]
add edx, 0x24
mov dword [esp], edx
mov dword [ebp - 0x288], 2
mov ecx, eax
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.basic_string_wchar_t_const__std::allocator_wchar_t__const_
sub esp, 8
lea eax, [ebp - 0x1d]
mov ecx, eax
call sym.std::allocator_wchar_t_::allocator__
mov eax, dword [ebp - 0x24c]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], 0x1f0fff
mov eax, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x288], 3
call eax
sub esp, 0xc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call method.std::vector_void__std::allocator_void___.push_back_void_const_
sub esp, 4
lea eax, [ebp - 0x24]
mov ecx, eax
call fcn.00474ab0
lea eax, [ebp - 0x254]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [ebp - 0x288], 1
call sym._Process32NextW_8
sub esp, 8
test eax, eax
setne al
test al, al
jne 0x408ade
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
nop
jmp 0x408c34
lea eax, [ebp - 0x28c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x408c4d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x29c
mov dword [ebp - 0x274], sym.___gxx_personality_sj0
mov dword [ebp - 0x270], 0x4b9326
lea eax, [ebp - 0x26c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x408e15
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x28c]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
mov ecx, dword [ebp + 8]
call fcn.004a59a8
mov dword [esp + 4], 0
mov dword [esp], 2
mov dword [ebp - 0x288], 1
call sym._CreateToolhelp32Snapshot_8
sub esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._Process32FirstW_8
sub esp, 8
test eax, eax
sete al
test al, al
je 0x408cf8
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
lea eax, [ebp - 0x1d]
mov ecx, eax
call fcn.00472530
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x1d]
mov dword [esp + 4], edx
lea edx, [ebp - 0x254]
add edx, 0x24
mov dword [esp], edx
mov dword [ebp - 0x288], 2
mov ecx, eax
call method.std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.basic_string_wchar_t_const__std::allocator_wchar_t__const_
sub esp, 8
lea eax, [ebp - 0x1d]
mov ecx, eax
call sym.std::allocator_wchar_t_::allocator__
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x24]
mov dword [esp], edx
mov dword [ebp - 0x288], 3
mov ecx, eax
call method.std::vector_std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t_____std::allocator_std::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t_______.push_back_std::basic_string_wchar_t__std::char_traits_wc
sub esp, 4
mov eax, dword [ebp - 0x24c]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], 0x1f0fff
mov eax, dword [sym.imp.KERNEL32.dll_OpenProcess]
call eax
sub esp, 0xc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call method.std::vector_void__std::allocator_void___.push_back_void_const_
sub esp, 4
lea eax, [ebp - 0x24]
mov ecx, eax
call fcn.00474ab0
lea eax, [ebp - 0x254]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [ebp - 0x288], 1
call sym._Process32NextW_8
sub esp, 8
test eax, eax
setne al
test al, al
jne 0x408cf8
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
nop
jmp 0x408e61
lea eax, [ebp - 0x28c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret