joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438e77
Capabilities:
Create new key via cryptacquirecontext
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x24
mov eax, 0x448aaa
call fcn.0044132c
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x30], esi
mov byte [esi], bl
push str.Failed_CryptAcquireContext
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0040221e
push 0xf0000000
push 1
push ebx
push ebx
lea edi, [esi + 0x18]
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x438ec9
lea ecx, [ebp - 0x2c]
call fcn.00434330
lea ecx, [ebp - 0x2c]
call fcn.00402286
push str.Failed_CryptCreateHash
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040221e
lea eax, [esi + 0x1c]
push eax
push ebx
push ebx
push 0x8003
mov byte [ebp - 4], 3
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x438f05
lea ecx, [ebp - 0x2c]
call fcn.00434330
lea ecx, [ebp - 0x2c]
call fcn.00402286
mov eax, esi
call fcn.0044127e
ret

Function at 0x438f4b
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x448ada
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x46a034]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push esi
push edi
mov eax, dword [0x46a034]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
xor esi, esi
mov eax, dword [edi]
push esi
mov ecx, dword [eax + 4]
push esi
add ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
push esi
push esi
push esi
mov ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
push esi
push 0x400
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 8]
push str.Failed_CryptHashData
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.0040221e
and dword [esp + 0x448], 0
push 0
push esi
lea eax, [esp + 0x3c]
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x438ffd
lea ecx, [esp + 0x1c]
call fcn.00434330
or dword [esp + 0x448], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00402286
xor esi, esi
cmp dword [edi + 0xc], esi
jg 0x438fac
jl 0x43901c
cmp dword [edi + 8], esi
ja 0x438fac
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.0043df0a
mov esp, ebp
pop ebp
ret 4
Function at 0x4391e2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x46a034]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43923c
cmp dword [ebp - 0x108], 2
jne 0x43923c
cmp dword [ebp - 0x114], 6
jb 0x43923c
mov al, 1
jmp 0x43923e
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043df0a
leave
ret
Function at 0x439ce1
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x448cf4
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x183c
call fcn.00441230
mov eax, dword [0x46a034]
xor eax, esp
mov dword [esp + 0x1838], eax
push ebx
push esi
push edi
mov eax, dword [0x46a034]
xor eax, esp
push eax
lea eax, [esp + 0x1850]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x24]
push eax
push 0x1000
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
mov edi, dword [esp + 0x24]
xor ebx, ebx
and dword [esp + 0x20], ebx
xor esi, esi
shr edi, 2
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
and dword [esp + 0x1858], ebx
test edi, edi
je 0x439e41
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x44]
mov dword [esp + 0x14], eax
push dword [eax]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 0x28], esi
push 0x400
lea eax, [esp + 0x1048]
push eax
push esi
mov byte [esp + 0x1864], 1
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x439e14
xor eax, eax
and dword [esp + 0x3c], eax
mov word [esp + 0x1842], ax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x1044]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 7
call fcn.0040cf3c
lea eax, [ebx + 0x5c]
mov byte [esp + 0x1858], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x439de8
mov eax, dword [eax]
push ecx
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.0040cfbb
cmp eax, 0xffffffff
je 0x439e07
push dword [esp + 0x14]
lea ecx, [esp + 0x1c]
call fcn.0041b49a
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.0040253d
mov byte [esp + 0x1858], 0
test esi, esi
je 0x439e27
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x14], eax
dec edi
jne 0x439d71
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edi, esi
mov byte [eax + 0x58], 0
cmp esi, ebx
je 0x439e69
mov esi, eax
push dword [edi]
mov ecx, esi
call fcn.00439a42
add edi, 4
cmp edi, ebx
jne 0x439e51
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov bl, byte [eax + 0x58]
test esi, esi
je 0x439e78
push esi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
pop ecx
mov al, bl
mov ecx, dword [esp + 0x1850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1838]
xor ecx, esp
call fcn.0043df0a
mov esp, ebp
pop ebp
ret
Function at 0x43a71f
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
test esi, esi
je 0x43a77d
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x43a77d
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43a74d
shr eax, 4
and eax, 1
jmp 0x43a77f
push esi
call dword [sym.imp.SHLWAPI.dll_StrDupW]
push 0x5c
mov edi, eax
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x43a799
xor ecx, ecx
mov word [eax], cx
push edi
mov ecx, ebx
call fcn.0043a71f
push edi
test eax, eax
jne 0x43a786
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x43a77d
xor eax, eax
inc eax
jmp 0x43a77f
Function at 0x43a79e
Capabilities:
Timestomp file

Disassembly:
push 0x4c
mov eax, 0x448e56
call fcn.004412c0
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x48], esi
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_couldnt_open__S
push eax
mov dword [ebp - 4], ebx
call fcn.004101a3
add esp, 0xc
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
jne 0x43a7eb
mov ecx, eax
call fcn.00434330
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00402286
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_GetFileTime:__S
push eax
call fcn.004101a3
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x43a82c
mov ecx, ebx
call fcn.00434330
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00402286
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_DosDateTimeToFileTime:__S
push eax
call fcn.004101a3
add esp, 0xc
mov ebx, eax
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
push ecx
shr ecx, 0x10
push ecx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
jne 0x43a86d
mov ecx, ebx
call fcn.00434330
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00402286
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_LocalFileTimeToFileTime:__S
push eax
call fcn.004101a3
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
jne 0x43a8aa
mov ecx, ebx
call fcn.00434330
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00402286
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_SetFileTime:__S
push eax
call fcn.004101a3
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x43a8ec
mov ecx, edi
call fcn.00434330
lea ecx, [ebp - 0x2c]
call fcn.00402286
test esi, esi
je 0x43a8ff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0044126f
ret 8

Function at 0x43a9ae
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0xff
mov esi, dword [edi]
mov eax, esi
xor eax, dword [ebp + 8]
mov ecx, dword [edi + 8]
and eax, ebx
shr esi, 8
mov eax, dword [edx + eax*4]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [edx + eax*4]
mov eax, dword [ebp + 8]
mov dword [edi + 8], ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x440c70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x441688
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46a034]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x46a0ec]
cmp eax, 0xffffffff
jne 0x440ca9
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x440cb6
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x440d1d
jmp 0x440cec
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp + 0xc]
jne 0x440d5a
test edi, edi
jne 0x440d60
push 0x440090
push 0x472adc
call fcn.0043fe20
mov eax, dword [0x46a0ec]
add esp, 8
cmp eax, 0xffffffff
je 0x440d1d
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x2c], 0xffffffff
test ebp, ebp
je 0x440d46
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x440d46
mov eax, dword [ebp]
push 0
mov ecx, ebp
call dword [eax]
push ebp
push 0
call esi
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edi, edi
je 0x440d98
mov edi, edi
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x440d89
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
push eax
call ebx
push edi
push 0
call esi
push eax
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x440d60
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
mov esi, dword [ebx]
mov dword [esp + 0x18], eax
cmp esi, ebx
je 0x440ce0
mov ebp, eax
mov edi, edi
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x440df7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x440ddc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x440df7
jmp 0x440dd0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x440dd0
jmp 0x440df7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x440df5
cmp esi, dword [eax + 8]
jne 0x440df5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x440de5
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x440e0b
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x440e0b
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push edi
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
call fcn.0042dba7
cmp esi, ebx
jne 0x440db0
mov ebp, dword [esp + 0x14]
jmp 0x440ce0
Function at 0x440e30
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x18]
push eax
push 4
push edx
push 0x440ea0
push 0
push 0
call dword [sym.imp.MSVCR110.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x440e5a
pop esi
xor al, al
pop ebx
ret
mov ecx, dword [esi]
push edi
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x440e7e
cmp eax, 0xffffffff
je 0x440e7e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret

Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x500
mov dword [ebp - 0x30], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
call dword [sym.imp.ole32.dll_OleUninitialize]
leave
ret 0x10
Function at 0x6d731c2a
Capabilities:
Check mutex on windows

Disassembly:
push 0x428
push 0x6d74a6b0
call fcn.6d73a590
xor ebx, ebx
cmp dword [0x6d74ea68], ebx
jne 0x6d731d87
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x328], bl
mov esi, dword [sym.imp.kernel32.dll_GetCurrentProcessId]
call esi
push eax
push str.java_plug_in_multi_versioning_mutex:ver1.1_d
lea eax, [ebp - 0x328]
push eax
call fcn.6d740290
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov dword [ebp - 0x438], eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov byte [ebp - 0x120], bl
call esi
push eax
push str.java_plug_in_jvm_loaded:ver1.1_d
lea eax, [ebp - 0x120]
push eax
call fcn.6d740290
add esp, 0xc
mov byte [ebp - 0x224], bl
call esi
push eax
push str.java_plug_in_10.0.0_jvm_loaded:ver1.1_d
lea eax, [ebp - 0x224]
push eax
call fcn.6d740290
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push ebx
mov edi, 0x1f0003
push edi
mov esi, dword [sym.imp.kernel32.dll_OpenEventA]
call esi
mov dword [ebp - 0x430], eax
cmp eax, ebx
je 0x6d731d23
lea eax, [ebp - 0x224]
push eax
push ebx
push edi
call esi
mov dword [ebp - 0x434], eax
cmp eax, ebx
jne 0x6d731d23
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x6d74dbf4
call fcn.6d73a780
add esp, 0xc
xor eax, eax
jmp 0x6d731d8c
push 0x104
lea eax, [ebp - 0x42c]
push eax
push dword [0x6d74ea6c]
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
lea eax, [ebp - 0x120]
push eax
xor edi, edi
inc edi
push edi
push ebx
push ebx
mov esi, dword [sym.imp.kernel32.dll_CreateEventA]
call esi
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x224]
push eax
push edi
push ebx
push ebx
call esi
mov dword [ebp - 0x434], eax
mov dword [0x6d74ea68], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.6d731d94
mov eax, dword [0x6d74ea68]
call fcn.6d73a5d8
ret
Function at 0x6d732183
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x6d74dbf4]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
push esi
push edi
mov edi, 0x6d74d1ac
xor ebx, ebx
mov eax, dword [edi - 4]
mov esi, dword [edi + 4]
mov dword [ebp - 0x80], eax
mov eax, dword [edi]
mov dword [ebp - 0x70], eax
cmp esi, 0xffffffff
jne 0x6d7321fa
lea eax, [ebp + 0x98]
push eax
mov byte [ebp + 0x98], bl
call fcn.6d731ea4
pop ecx
test eax, eax
je 0x6d732276
push dword [0x6d74d1a4]
lea eax, [ebp + 0x98]
push eax
lea eax, [ebp - 0x6c]
push str._s_s
push eax
mov byte [ebp - 0x6c], bl
call fcn.6d740290
add esp, 0x10
lea esi, [ebp - 0x6c]
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push dword [ebp - 0x80]
lea ecx, [ebp - 0x7c]
push 0x80000000
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
call fcn.6d740290
cmp eax, ebx
jne 0x6d73226e
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x7c]
cmp esi, ebx
je 0x6d732237
push esi
call fcn.6d740290
mov esi, eax
jmp 0x6d73224f
push 0x6d745641
call fcn.6d740290
push dword [ebp - 0x70]
mov esi, eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp esi, ebx
jne 0x6d73226e
lea ecx, [ebp - 0x7c]
call fcn.6d731078
add edi, 0x10
cmp edi, 0x6d74d23c
jl 0x6d7321a8
xor eax, eax
jmp 0x6d73227b
lea ecx, [ebp - 0x7c]
call fcn.6d731078
mov eax, 0x80040201
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d73a2c3
add ebp, 0x1a0
leave
ret

Function at 0x6d732670
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d74dbf4]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d740290
mov ebx, eax
cmp ebx, esi
je 0x6d7326e3
lea ecx, [ebp - 0x74]
call fcn.6d731078
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d73a2c3
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d7326fb
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d732670
cmp eax, esi
jne 0x6d73272d
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x6d7326eb
lea ecx, [ebp - 0x74]
call fcn.6d731078
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d73192a
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d731078
mov eax, esi
jmp 0x6d7326c9

Function at 0x6d7329e4
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8
Function at 0x6d732a32
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d732a43
push 0xd
pop eax
jmp 0x6d732a6d
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d732a46
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8
Function at 0x6d735865
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x6d73586f
lea esi, [ecx - 0x78]
jmp 0x6d735871
xor esi, esi
lea eax, [esi + 0x84]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x6d73588d
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8
Function at 0x6d7366da
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x6d74dbf4]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 0x6c
mov eax, 0x6d744b18
call fcn.6d73a2d2
mov esi, ecx
xor ecx, ecx
inc ecx
cmp dword [esi + 0x98], ecx
je 0x6d736875
xor ebx, ebx
push ebx
push 0x6d731abe
push dword [esi + 0x50]
mov dword [esi + 0x98], ecx
push 0x65
push dword [0x6d74ea6c]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 0x2711
jne 0x6d736875
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov esi, dword [esi + 0x14]
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
push 0x6d746b60
push esi
mov byte [ebp - 4], 3
call dword [eax]
cmp eax, ebx
jne 0x6d736795
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x6d746b50
push 0x6d746b40
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x98]
mov eax, dword [ebp - 0x18]
mov edi, dword [sym.imp.kernel32.dll_lstrlenW]
mov byte [ebp], bl
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x6d7367b3
push eax
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x6d7367b8
mov dword [ebp - 0x20], ebx
jmp 0x6d7367d3
lea esi, [eax + eax]
mov eax, esi
call fcn.6d73ae20
mov eax, esp
push 3
push esi
push dword [ebp - 0x24]
push eax
call fcn.6d740290
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x6d7367e8
push eax
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x6d7367ec
xor eax, eax
jmp 0x6d736804
lea esi, [eax + eax]
mov eax, esi
call fcn.6d73ae20
mov eax, esp
push 3
push esi
push dword [ebp - 0x24]
push eax
call fcn.6d740290
push dword [ebp - 0x20]
push eax
lea eax, [ebp]
push 0x6d7463d4
push eax
call fcn.6d740290
push 0x44
pop esi
push esi
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.6d73a3a0
add esp, 0x1c
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp]
push eax
push ebx
mov dword [ebp - 0x78], esi
call dword [sym.imp.kernel32.dll_CreateProcessA]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x6d736854
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x6d736865
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x18]
call esi
xor eax, eax
lea esp, [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.6d73a2c3
add ebp, 0x404
leave
ret 0x10
Function at 0x6d736bae
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x6d736bc0
add eax, 0xffffff84
jmp 0x6d736bc2
xor eax, eax
and dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x6d7463e0
lea ecx, [eax + 4]
call fcn.6d735513
test eax, eax
js 0x6d736c2b
cmp dword [ebp + 8], 0
je 0x6d736c28
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call esi
test ax, ax
jns 0x6d736c00
inc edi
push 0x11
call esi
test ax, ax
jns 0x6d736c0c
add edi, 2
push 0x12
call esi
test ax, ax
jns 0x6d736c18
add edi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x6d736c2b
xor eax, eax
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov esi, ecx
test eax, eax
je 0x6d736c41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 8