joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8d30d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x738015
lea edi, [esi - 0x337015]
push edi
or ebp, 0xffffffff
jmp 0x8d30f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8d30f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8d30e8
mov eax, 1
add ebx, ebx
jne 0x8d310b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8d311c
jne 0x8d313b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8d313b
dec eax
add ebx, ebx
jne 0x8d3128
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8d3100
add ebx, ebx
jne 0x8d3137
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8d318d
xor ecx, ecx
sub eax, 3
jb 0x8d3153
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8d31c2
sar eax, 1
mov ebp, eax
jmp 0x8d315e
add ebx, ebx
jne 0x8d315e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8d312c
inc ecx
add ebx, ebx
jne 0x8d316c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8d312c
add ebx, ebx
jne 0x8d3179
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8d316e
jne 0x8d318a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8d316e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8d31ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8d319e
jmp 0x8d30ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8d31ac
add edi, ecx
jmp 0x8d30ee
pop esi
mov edi, esi
mov ecx, 0xb59f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8d31ca
cmp byte [edi], 0x26
jne 0x8d31ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x8d31cf
lea edi, [esi + 0x4c6000]
mov eax, dword [edi]
or eax, eax
je 0x8d323e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4fe448]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4fe470]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8d31fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4fe478]
or eax, eax
je 0x8d3238
mov dword [ebx], eax
add ebx, 4
jmp 0x8d3219
call dword [esi + 0x4fe474]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8d3278
cmp al, 0xef
ja 0x8d3262
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8d3244
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x8d3251
mov eax, dword [edi]
add edi, 4
jmp 0x8d3251
mov ebp, dword [esi + 0x4fe47c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x8d32ac
sub esp, 0xffffff80
jmp 0x463980
Function at 0x5001900
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x404
mov eax, dword [0x500c01c]
xor eax, esp
mov dword [esp + 0x400], eax
mov ecx, dword [esp + 0x408]
lea eax, [esp + 0x40c]
push eax
push ecx
lea edx, [esp + 8]
push 0x200
push edx
call dword [sym.imp.MSVCR90.dll__vsnwprintf]
add esp, 0x10
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.05006418
add esp, 0x404
ret

Function at 0x5001960
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5007858
mov eax, dword fs:[0]
push eax
mov eax, dword [0x500c01c]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax], vtable.ARACrypt.0
mov dword [eax + 0xc], 0x13579bdf
mov dword [eax + 0x10], 0x2468ace0
mov dword [eax + 0x14], 0xfdb97531
mov dword [eax + 0x18], 0x80000062
mov dword [eax + 0x1c], 0x40000020
mov dword [eax + 0x20], 0x10000002
mov dword [eax + 0x24], 0x7fffffff
mov dword [eax + 0x28], 0x3fffffff
mov dword [eax + 0x2c], 0xfffffff
mov dword [eax + 0x30], 0x80000000
mov dword [eax + 0x34], 0xc0000000
mov dword [eax + 0x38], 0xf0000000
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [esp + 0xc], ecx
mov dword [eax], vtable.ARACryptBinary.0
mov dword [eax + 4], 1
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4

Function at 0x5001aa0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5007858
mov eax, dword fs:[0]
push eax
mov eax, dword [0x500c01c]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax], vtable.ARACrypt.0
mov dword [eax + 0xc], 0x13579bdf
mov dword [eax + 0x10], 0x2468ace0
mov dword [eax + 0x14], 0xfdb97531
mov dword [eax + 0x18], 0x80000062
mov dword [eax + 0x1c], 0x40000020
mov dword [eax + 0x20], 0x10000002
mov dword [eax + 0x24], 0x7fffffff
mov dword [eax + 0x28], 0x3fffffff
mov dword [eax + 0x2c], 0xfffffff
mov dword [eax + 0x30], 0x80000000
mov dword [eax + 0x34], 0xc0000000
mov dword [eax + 0x38], 0xf0000000
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [esp + 0xc], ecx
mov dword [eax], vtable.ARACryptString.0
mov dword [eax + 4], ecx
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x5001b50
Capabilities:
Create directory

Disassembly:
push ebx
mov ebx, eax
push esi
test ebx, ebx
je 0x5001c60
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call esi
test eax, eax
je 0x5001c60
push str.shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x5001b98
push str.PathFileExistsW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5001b98
push ebx
call eax
test eax, eax
je 0x5001b98
pop esi
mov al, 1
pop ebx
ret
push ebp
push edi
push ebx
call esi
mov edi, eax
xor ecx, ecx
lea ebp, [edi + 0xa]
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.050063d0
mov esi, eax
lea eax, [ebp + ebp]
push eax
push 0
push esi
call sub.MSVCR90.dll_memset
add esp, 0x10
test edi, edi
jle 0x5001bf2
mov edx, esi
mov eax, ebx
sub edx, ebx
movzx ecx, word [eax]
cmp cx, 0x5c
jne 0x5001be3
xor ecx, ecx
jmp 0x5001be6
movzx ecx, cx
mov word [edx + eax], cx
add eax, 2
sub edi, 1
jne 0x5001bd6
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
lea ebx, [ebx]
push str.shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x5001c26
push str.PathFileExistsW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5001c26
push esi
call eax
test eax, eax
jne 0x5001c2f
push 0
push esi
call ebp
test eax, eax
je 0x5001c4e
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp word [esi + eax*2 + 2], 0
je 0x5001c50
push esi
call edi
mov ecx, 0x5c
mov word [esi + eax*2], cx
jmp 0x5001c00
xor bl, bl
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
pop edi
pop ebp
pop esi
mov al, bl
pop ebx
ret
pop esi
xor al, al
pop ebx
ret
Function at 0x50030d0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x50072c3
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x500c01c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x500c01c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50]
mov edi, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push 0
movzx ebx, ax
mov eax, dword [esp + 0x58]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, eax
test esi, esi
jne 0x5003154
push edi
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov dword [esp + 0x48], esi
mov dword [esp + 0x14], 1
jmp 0x500320d
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.050063d0
mov edi, eax
lea eax, [esi + esi + 2]
push eax
push 0
push edi
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x64]
add esp, 0x10
push esi
push edi
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
test eax, eax
jne 0x50031b9
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov dword [esp + 0x48], 0
mov dword [esp + 0x14], 1
jmp 0x500320d
call dword [sym.imp.MSVCR90.dll__wcslwr]
add esp, 4
push edi
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov esi, 1
mov dword [esp + 0x48], esi
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp dword [esp + 0x34], 0
jne 0x50031ed
mov eax, dword [esp + 0x18]
push eax
jmp 0x50031f2
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov dword [esp + 0x14], esi
mov byte [esp + 0x48], 0
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.05006418
add esp, 0x38
ret
Function at 0x50034d0
Capabilities:
Patch process command line

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push edi
push 0x50097dc
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
test esi, esi
jne 0x5003503
push str.Could_not_open_process__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 4
or eax, 0xffffffff
pop edi
pop ebp
pop ebx
add esp, 0x24
ret
push str.NtQueryInformationProcess
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0x18
lea ecx, [esp + 0x20]
push ecx
push 0
push esi
call eax
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea edx, [esp + 0x14]
push edx
add eax, 0x10
push eax
push esi
call edi
test eax, eax
jne 0x5003561
push str.Could_not_read_the_address_of_ProcessParameters__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebp
pop ebx
add esp, 0x24
ret
mov edx, dword [esp + 0xc]
push 0
push 8
lea ecx, [esp + 0x18]
push ecx
add edx, 0x40
push edx
push esi
call edi
test eax, eax
jne 0x5003594
push str.Could_not_read_CommandLine__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebp
pop ebx
add esp, 0x24
ret
movzx eax, word [esp + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
movzx ecx, word [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
push 0
push ecx
mov ebx, eax
push ebx
push edx
push esi
call edi
test eax, eax
jne 0x50035d5
push str.Could_not_read_the_command_line_string__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebp
pop ebx
add esp, 0x24
ret
movzx eax, word [esp + 0x10]
shr eax, 1
push eax
push ebx
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const___unsigned_int_]
push ebx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
Function at 0x5003850
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push 0xffffffffffffffff
push 0x500771b
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x500c01c]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x500c01c]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov eax, dword [esp + 0x468]
push str.Psapi.dll
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x5003a22
push str.GetModuleFileNameExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
je 0x5003a22
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0xf
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 0x14], eax
mov dword [esp + 0x460], 0
push 0x228
lea ecx, [esp + 0x28]
push 0
push ecx
mov dword [esp + 0x2c], 0x22c
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x5003a07
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x5003950
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x500394c
cmp dword [esp + 0x28], 0
jne 0x500394c
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.05006110
mov ecx, dword [esp + 0x28]
test eax, eax
je 0x5003a07
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [sym.imp.MSVCR90.dll__wcsicmp]
jmp 0x500396a
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x1c]
je 0x50039d7
push ecx
push 0
push 0x411
call ebx
mov esi, eax
test esi, esi
je 0x50039d7
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x256]
push edx
mov word [esp + 0x258], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea eax, [esp + 0x250]
push eax
push 0
push esi
call ebp
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24c]
push ecx
push edx
call edi
add esp, 8
test eax, eax
jne 0x50039d0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x5003a07
cmp dword [esp + 0x28], 0
jne 0x50039ff
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call fcn.05006110
test eax, eax
jne 0x5003966
mov dword [esp + 0x460], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x5003a22
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.05006418
add esp, 0x450
ret
Function at 0x5005020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5007a32
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x500c01c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
call fcn.05005160
xor ebx, ebx
mov dword [esp + 0x38], ebx
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x18]
push str.mx3.config.initvalue.board
mov dword [esp + 0x14], vtable.ult::variable_length_array_dst_class_std::vector_unsigned_char__class_std::allocator_unsigned_char___.0
mov dword [esp + 0x18], ecx
call dword [sym.imp.MxMsg.dll_MxGetGlobalBoard]
mov esi, dword [esp + 0x2c]
add esp, 8
sub esi, dword [esp + 0x20]
jne 0x500509a
mov dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0x14]
push eax
jmp 0x5005140
cmp esi, ebx
ja 0x50050a4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
push esi
push ecx
call dword [sym.imp.MxXDR.dll_MxXDRCreateIStream]
mov esi, eax
mov dword [esp + 0x14], esi
add esp, 8
mov dword [esp + 0x10], ebx
mov byte [esp + 0x38], 1
cmp esi, ebx
je 0x5005122
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
test al, al
je 0x5005122
mov ecx, 0x5005e10
test ecx, ecx
je 0x5005122
mov edx, dword [ebp + 8]
push edx
lea eax, [esp + 0x10]
call fcn.05005da0
mov byte [esp + 0x38], bl
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
je 0x50050fc
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
call edx
mov dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.050051d0
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esp + 0x38], bl
cmp esi, ebx
je 0x5005133
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
push ecx
call fcn.050051d0
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5006418
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x500c01c]
jne 0x5006422
repz ret
jmp fcn.0500691e
Function at 0x413f80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4792bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0046dbb8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x414002
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046b3cd
mov eax, dword [eax]
push 0x6501e8
push eax
call fcn.0045da74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046de43
test bl, bl
je 0x414002
push 0x6501e8
lea ecx, [esp + 0xc]
call fcn.0046e1d3
push 0x653d5c
lea ecx, [esp + 0xc]
call fcn.0046e1d3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41403e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046de43
jmp 0x414109
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4140c2
lea edx, [esp + 0x7c]
push 0x653d58
push edx
call fcn.0045da74
add esp, 8
test eax, eax
je 0x4140c2
lea eax, [esp + 0x7c]
push 0x653d54
push eax
call fcn.0045da74
add esp, 8
test eax, eax
je 0x4140c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x414052
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046de43
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x414900
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x414962
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x414970
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47933b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x65a314]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x414aa8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4149d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046de43
xor eax, eax
jmp 0x414b1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046df80
push esi
lea ecx, [esp + 0xc]
call fcn.0046e20f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x414afd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00414900
test eax, eax
jne 0x414afd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00414900
test eax, eax
jne 0x414afd
lea eax, [esp + 0x14]
push 0x653d70
push eax
call fcn.0045eab0
mov esi, eax
add esp, 8
test esi, esi
jne 0x414adc
lea ecx, [esp + 0x14]
push 0x653d6c
push ecx
call fcn.0045ea30
mov esi, eax
add esp, 8
test esi, esi
jne 0x414adc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x414adf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046df30
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4149ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046de43
xor eax, eax
jmp 0x414b1f
mov byte [esi], 0
push 0x653d68
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0046de43
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4