joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001596
Capabilities:
Check os version

Disassembly:
jmp 0x1001f0c0
sub esp, 0x98
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x18]
pop edi
sub eax, 0
je 0x1001f178
dec eax
je 0x1001f14c
dec eax
jne 0x1001f184
mov ecx, dword [esp + 8]
mov eax, 3
cmp ecx, 4
jbe 0x1001f111
mov eax, dword [esp]
cmp ecx, 5
jne 0x1001f188
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x1001f12a
mov eax, 4
add esp, 0x98
ret
cmp ecx, 1
jne 0x1001f13b
mov eax, 8
add esp, 0x98
ret
cmp ecx, 2
jne 0x1001f188
mov eax, 9
add esp, 0x98
ret
cmp dword [esp + 8], 4
jne 0x1001f184
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x1001f167
mov eax, 6
add esp, 0x98
ret
cmp eax, 0xa
jne 0x1001f184
mov eax, 5
add esp, 0x98
ret
mov eax, 7
add esp, 0x98
ret
mov eax, dword [esp]
add esp, 0x98
ret

Function at 0x100015af
Capabilities:
Read .ini file

Disassembly:
jmp 0x100148a0
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x74]
push esi
mov esi, ecx
push edi
push 0x1002dab8
mov ecx, ebx
call sub.MFC42.DLL_CString::operator
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x78]
stosw word es:[edi], ax
mov edx, dword [esp + 0x74]
push esi
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push 0x64
push eax
push 0x1002dab8
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x10014908
lea eax, [esp + 0xc]
mov ecx, ebx
push eax
call sub.MFC42.DLL_CString::operator
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x64
ret 0xc
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x64
ret 0xc

Function at 0x100015b4
Capabilities:
Create thread

Disassembly:
jmp 0x100137f0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10021938
push eax
mov dword fs:[0], esp
sub esp, 8
call fcn.100014a1
test al, al
je 0x10013832
call fcn.100014ba
push str.DoCheckClientStart____clinet_normal_exit0
call fcn.10001672
add esp, 4
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push ebx
push str.sysaid.exe
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
mov dword [esp + 0x14], 0
push eax
call fcn.100015e1
add esp, 4
lea ecx, [esp + 4]
test eax, eax
seta bl
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
test bl, bl
pop ebx
je 0x1001388b
push str.DoCheckClientStart__Client_Is_Running_success
call fcn.10001672
add esp, 4
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push str.DoCheckClientStart____Client_Is_Not_Running_Create_Thread_To_Start_Client.
call fcn.10001672
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x10001122
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov ecx, dword [esp + 0x24]
add esp, 0x1c
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x100015e1
Capabilities:
Enumerate processes

Disassembly:
jmp 0x10010b40
push 0xffffffffffffffff
push 0x100215e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push ebp
xor ebx, ebx
push esi
xor esi, esi
push ebx
push 2
mov dword [esp + 0x1c], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10010c7e
push edi
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x128
push eax
push ebp
call sub.KERNEL32.dll_Process32First
cmp eax, ebx
je 0x10010c70
mov edi, dword [esp + 0x154]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov dword [esp + 0x14c], ebx
call sub.MFC42.DLL_CString::MakeLower
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 1
call sub.MFC42.DLL_CString::MakeLower
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
jne 0x10010c44
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x128
push eax
push ebp
call sub.KERNEL32.dll_Process32Next
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x14c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x14c], 0xffffffff
call sub.MFC42.DLL_CString::CString
cmp esi, ebx
jne 0x10010ba9
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
pop edi
jmp 0x10010c80
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x14c], bl
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x14c], 0xffffffff
call sub.MFC42.DLL_CString::CString
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
pop edi
jmp 0x10010c80
mov eax, esi
mov ecx, dword [esp + 0x140]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x140
ret

Function at 0x100015f5
Capabilities:
Print debug messages

Disassembly:
jmp 0x1001a9f0
mov ecx, dword [esp + 8]
sub esp, 0x800
lea eax, [esp + 0x80c]
lea edx, [esp + 0x400]
push edi
push eax
push ecx
push 0x400
push edx
call dword [sym.imp.MSVCRT.dll__vsnprintf]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x14]
add esp, 0x10
rep stosd dword es:[edi], eax
lea eax, [esp + 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [esp + 0xc]
push str._spi___PID:_d___s
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0x800
ret
Function at 0x1000164a
Capabilities:
Read file via mapping

Disassembly:
jmp 0x1000e6e0
mov eax, dword [esp + 4]
sub esp, 0x20
and eax, 0xff
push ebx
push esi
mov esi, dword [esp + 0x34]
mov dword [section..ComData], eax
push esi
push eax
push str.SetPortInfo____bPortFilter:_d__nCount:_d
mov dword [0x10035010], esi
call fcn.10001717
mov ebx, dword [esp + 0x3c]
add esp, 0xc
test ebx, ebx
je 0x1000e8d3
cmp esi, 1
jl 0x1000e8d3
mov eax, dword [0x1002e274]
test eax, eax
je 0x1000e73d
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [0x1002e274], 0
mov ecx, dword [0x10035010]
push edi
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
push eax
call sub.MFC42.DLL_operatornew
mov edx, dword [0x10035010]
mov esi, ebx
mov edi, eax
mov dword [0x1002e274], eax
lea ecx, [edx*8]
add esp, 4
sub ecx, edx
push str.SetPortInfo_________
lea ecx, [ecx + ecx*2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x30]
push eax
call fcn.10001672
mov eax, dword [0x10035010]
add esp, 4
xor edi, edi
test eax, eax
jbe 0x1000e80e
lea esi, [ebx + 8]
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi - 4]
test eax, eax
je 0x1000e7d6
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
lea eax, [esp + 0x40]
push 0x1002ab40
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
jmp 0x1000e7eb
mov ecx, dword [esi]
lea edx, [esp + 0x38]
push ecx
push 0x1002ab2c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, dword [esp + 0x38]
push eax
call fcn.10001717
add esp, 4
lea ecx, [esp + 0x38]
add esi, 0x15
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x10035010]
inc edi
cmp edi, eax
jb 0x1000e7ab
lea ecx, [esp + 0x18]
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
lea edx, [esp + 0x20]
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.GlobalPortInfo_MapFile
push 0x1000
push 0
lea ecx, [esp + 0x18]
push 4
lea eax, [esp + 0x28]
push ecx
push 0xffffffffffffffff
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [0x1002e280], eax
je 0x1000e8c1
cmp eax, 0xffffffff
je 0x1000e8c1
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x1000e8c1
mov edx, dword [0x10035010]
mov esi, ebx
mov dword [eax], edx
mov edx, dword [0x10035010]
lea edi, [eax + 4]
push eax
lea ecx, [edx*8]
sub ecx, edx
lea ecx, [ecx + ecx*2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x1002aaf4
call fcn.10001717
add esp, 4
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebx
add esp, 0x20
ret 0xc
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret 0xc
Function at 0x1000165e
Capabilities:
Delete file

Disassembly:
jmp 0x10011df0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10021700
push eax
mov dword fs:[0], esp
sub esp, 0x14
push str.NotifyExitListenFile
call fcn.10001717
add esp, 4
mov ecx, 0x1002db68
push 0x5c
call sub.MFC42.DLL_CString::ReverseFind
test eax, eax
jle 0x10011ebb
push eax
lea eax, [esp + 4]
push eax
mov ecx, 0x1002db68
call sub.MFC42.DLL_CString::Left
push str.Test.txt
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0
call fcn.1001f296
lea ecx, [esp + 4]
call fcn.1001f284
mov ecx, dword [esp]
push 0
push 0x3002
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x10011e91
mov eax, dword [esp]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 4]
call sub.MFC42.DLL_CFile::Close
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x10001663
Capabilities:
Access peb ldr_data
Get common file path
Print debug messages
Read .ini file

Disassembly:
jmp 0x10012100
push 0xffffffffffffffff
push 0x1002175c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
lea eax, [esp + 0x24]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
push str._sys_config.ini
lea ecx, [esp + 0xc]
mov dword [esp + 0x134], ebx
call fcn.1001f296
mov eax, dword [esp + 8]
xor edx, edx
push eax
lea ecx, [esp + 0x1c]
push 0xa
mov dword [esp + 0x21], edx
push ecx
push 0x1002ba14
mov dword [esp + 0x2d], edx
push str.OnlineFlag
push str.ClientParameter
mov byte [esp + 0x30], bl
mov byte [esp + 0x39], dl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x18]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
push eax
mov byte [esp + 0x134], 1
call esi
add esp, 4
cmp eax, 4
jle 0x10012214
push str.check_timer_is_expire__start_client_process
call fcn.10001672
mov ecx, dword [esp + 0xc]
add esp, 4
push ecx
push 0x1002ba14
push str.OnlineFlag
push str.ClientParameter
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x130], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
add esp, 0x12c
ret
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push str.szOnlineFlag_is_now_:__s_
push eax
mov byte [esp + 0x13c], 2
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0xc]
mov byte [esp + 0x130], 3
push edx
call esi
inc eax
push eax
lea eax, [esp + 0x18]
push 0x10029578
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add esp, 0x10
push ecx
push edx
push str.OnlineFlag
push str.ClientParameter
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x130], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x128]
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x100016a4
Capabilities:
Write file on windows

Disassembly:
jmp 0x10012be0
push ecx
mov eax, dword [esp + 8]
push esi
push 0
push 0
push 4
push 0
push 0
push 0x40000000
push eax
mov dword [esp + 0x20], 0xfeff
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10012c10
xor eax, eax
pop esi
pop ecx
ret
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0xc]
push 2
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ecx
ret

Function at 0x100016b8
Capabilities:
Print debug messages

Disassembly:
jmp 0x1000aa30
mov dl, byte [esp + 4]
mov eax, dword [ecx + 4]
sub esp, 0xcc
neg dl
sbb edx, edx
and edx, 0xfffffffc
add edx, 0xba121418
test eax, eax
je 0x1000aabc
lea ecx, [esp]
push 0
push ecx
push 0
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1000aa7d
push str.DeviceIoControl_StartIpFilter_sucess
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0xcc
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, 0x32
push edx
xor eax, eax
lea edi, [esp + 0xc]
lea edx, [esp + 0xc]
push str.DeviceIoControl_StartIpFilter_error:_d
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0xcc
ret 4
push str.m_hSysHandle_is_NULL_StartIpFilter
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0xcc
ret 4

Function at 0x100016c7
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x10002d60
sub esp, 0x1c
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
push 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10002dd6
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x10002dd6
mov eax, dword [esi + 0x3c]
xor ecx, ecx
add eax, esi
sub edi, esi
xor ebp, ebp
mov cx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
xor ecx, ecx
mov cx, word [eax + 6]
test ecx, ecx
jbe 0x10002dd6
lea eax, [edx + 0x10]
mov edx, dword [eax]
mov esi, dword [eax - 8]
mov ebx, dword [eax - 4]
cmp edx, esi
ja 0x10002dc4
mov edx, esi
cmp edi, ebx
jb 0x10002dce
add edx, ebx
cmp edi, edx
jbe 0x10002de0
inc ebp
add eax, 0x28
cmp ebp, ecx
jb 0x10002db6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
inc ebp
sub edi, ebx
mov dword [edx], ebp
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret
Function at 0x100016db
Capabilities:
Set registry value

Disassembly:
jmp 0x10004900
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10004930
xor eax, eax
ret 0x18
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 8]
push edx
mov edx, dword [esp + 0x1c]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x10004965
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
ret 0x18
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
ret 0x18

Function at 0x100016f9
Capabilities:
Get common file path

Disassembly:
jmp 0x10014c50
sub esp, 0x104
lea eax, [esp]
push esi
push 0x104
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
add esi, 4
push ecx
push str._sYTSysConfig.ini
push esi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
pop esi
add esp, 0x104
ret

Function at 0x10001730
Capabilities:
Create thread

Disassembly:
jmp 0x10011760
mov eax, dword [0x1002e268]
test eax, eax
jne 0x10011789
push 0x1002e224
push 0
push 0
push 0x10001415
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [0x1002e268], eax
ret

Function at 0x1000173f
Capabilities:
Get common file path

Disassembly:
jmp 0x10010300
push 0xffffffffffffffff
push 0x1002150b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_1
push str.msres_svchost.exe
lea ecx, [esp + 4]
mov dword [esp + 0x114], 0
call fcn.1001f296
lea edx, [esp]
mov ecx, 0x1002db68
push edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp]
mov dword [esp + 0x110], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x108]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x114
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001380
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0xc], 0
imul eax, dword [ebx + 4], 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx], 0xb
je 0x10001478
xor esi, esi
push ebx
mov ecx, edi
call fcn.10001b20
test eax, eax
jne 0x100013ce
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x100013b1
cmp dword [edi + 0xc], 0
jne 0x100013e5
xor eax, eax
cmp dword [ebx + 8], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
lea eax, [esp + 0x14]
push eax
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
push eax
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx]
cmp eax, 0xc
ja case.0x10001429.6
movzx eax, byte [eax + 0x1000149c]
jmp dword [eax*4 + 0x10001488]
push ebx
mov ecx, edi
call fcn.10002990
jmp case.0x10001429.6
push ebx
mov ecx, edi
call fcn.10002a60
jmp case.0x10001429.6
push ebx
mov ecx, edi
call fcn.10002c00
jmp case.0x10001429.6
push 0
push 0
push 0x10
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esp + 0x14]
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp dword [edi + 0x3c], 0
je 0x10001478
push dword [edi + 0xc]
call fcn.10001d90
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10001430
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0xc], 0
imul eax, dword [ebx + 4], 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx], 0xb
je 0x10001478
xor esi, esi
push ebx
mov ecx, edi
call fcn.10001b20
test eax, eax
jne 0x100013ce
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x100013b1
cmp dword [edi + 0xc], 0
jne 0x100013e5
xor eax, eax
cmp dword [ebx + 8], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
lea eax, [esp + 0x14]
push eax
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
push eax
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx]
cmp eax, 0xc
ja case.0x10001429.6
movzx eax, byte [eax + 0x1000149c]
jmp dword [eax*4 + 0x10001488]
push ebx
mov ecx, edi
call fcn.10002990
jmp case.0x10001429.6
push ebx
mov ecx, edi
call fcn.10002a60
jmp case.0x10001429.6
push ebx
mov ecx, edi
call fcn.10002c00
jmp case.0x10001429.6
push 0
push 0
push 0x10
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esp + 0x14]
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp dword [edi + 0x3c], 0
je 0x10001478
push dword [edi + 0xc]
call fcn.10001d90
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000143a
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0xc], 0
imul eax, dword [ebx + 4], 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx], 0xb
je 0x10001478
xor esi, esi
push ebx
mov ecx, edi
call fcn.10001b20
test eax, eax
jne 0x100013ce
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x100013b1
cmp dword [edi + 0xc], 0
jne 0x100013e5
xor eax, eax
cmp dword [ebx + 8], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
lea eax, [esp + 0x14]
push eax
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
push eax
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx]
cmp eax, 0xc
ja case.0x10001429.6
movzx eax, byte [eax + 0x1000149c]
jmp dword [eax*4 + 0x10001488]
push ebx
mov ecx, edi
call fcn.10002990
jmp case.0x10001429.6
push ebx
mov ecx, edi
call fcn.10002a60
jmp case.0x10001429.6
push ebx
mov ecx, edi
call fcn.10002c00
jmp case.0x10001429.6
push 0
push 0
push 0x10
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esp + 0x14]
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp dword [edi + 0x3c], 0
je 0x10001478
push dword [edi + 0xc]
call fcn.10001d90
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4