joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001136
Capabilities:
Get common file path

Disassembly:
jmp 0x10012670
push 0xffffffffffffffff
push 0x100217f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x120]
push 0x104
push eax
push 0
mov dword [esp + 0x238], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.MSVCRT.dll__strupr]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], 0
rep stosd dword es:[edi], eax
add esp, 4
lea edx, [esp + 0x1c]
stosw word es:[edi], ax
push 0x104
push edx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
mov byte [esp + 0x22c], 1
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0xc]
push str._sYTSysConfig.ini
push eax
mov byte [esp + 0x234], 2
call sub.MFC42.DLL_CString::Format
lea ecx, [esp + 0x10]
push str._s_sys_config.ini
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 8], esp
push edx
call fcn.1001f28a
call fcn.100015d2
lea eax, [esp + 0xc]
mov ecx, esp
mov dword [esp + 8], esp
push eax
call fcn.1001f28a
call fcn.100015d2
mov al, byte [0x1002e2ad]
add esp, 4
test al, al
je 0x10012811
push str.bCheckProtectProc____
call fcn.10001672
add esp, 4
call fcn.100012e4
call fcn.1000132a
push str.Global_spi_mutex_2
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea ecx, [esp + 0x14]
call fcn.100011cc
lea ecx, [esp + 0x14]
mov byte [esp + 0x22c], 3
call fcn.100016f9
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 4]
mov byte [esp + 0x22c], 4
push ecx
push str.NOSPI
push str.YTSTATUS
lea ecx, [esp + 0x20]
call fcn.100015af
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
test eax, eax
setne al
test al, al
jne 0x100127ef
call fcn.10001730
lea ecx, [esp + 4]
mov byte [esp + 0x22c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x22c], 2
call fcn.10001654
lea ecx, [esp + 8]
mov byte [esp + 0x22c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x22c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x22c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x224]
mov al, 1
mov dword fs:[0], ecx
pop edi
add esp, 0x22c
ret
Function at 0x10001168
Capabilities:
Create process on windows

Disassembly:
jmp 0x100105a0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10021566
push eax
mov dword fs:[0], esp
sub esp, 0x194
or ecx, 0xffffffff
xor eax, eax
push edi
mov edi, dword [0x1002db68]
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jae 0x100105f4
push str.ExcuteClient2____
call fcn.10001672
add esp, 4
pop edi
mov ecx, dword [esp + 0x194]
mov dword fs:[0], ecx
add esp, 0x1a0
ret
push str.ExcuteClient2______
call fcn.10001672
add esp, 4
lea ecx, [esp + 8]
call fcn.100011a9
mov dword [esp + 0x1a0], 0
call fcn.100010dc
test eax, eax
je 0x100106c0
push esi
lea ecx, [esp + 0xc]
call fcn.100010c3
mov esi, eax
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x71]
mov byte [esp + 0x70], 0
push 0x12c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, dword [0x1002db68]
lea eax, [esp + 0x74]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea edx, [esp + 0x70]
push esi
push edx
call fcn.100016d1
add esp, 8
lea ecx, [esp + 8]
mov edi, eax
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x1002db68]
push edi
push esi
push eax
lea ecx, [esp + 0x14]
push str.ExcuteClient2___IsXP__sPath:_s__Session_ID_is_:_d___bRet:_d
push ecx
mov byte [esp + 0x1b8], 1
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
push edx
call fcn.10001672
add esp, 0x18
lea ecx, [esp + 8]
mov byte [esp + 0x1a4], 0
call sub.MFC42.DLL_CString::CString
pop esi
jmp 0x1001072b
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x28]
mov edx, dword [0x1002db68]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
push 0x1002dab8
push edx
mov dword [esp + 0x58], 0x1002b228
mov dword [esp + 0x50], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1001071e
mov eax, dword [0x1002db68]
push eax
push str.ExcuteClient2___Not_XP___
call fcn.10001672
add esp, 8
jmp 0x1001072b
push 0x1002b0f0
call fcn.10001672
add esp, 4
lea ecx, [esp + 8]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.100013e8
mov ecx, dword [esp + 0x198]
pop edi
mov dword fs:[0], ecx
add esp, 0x1a0
ret
Function at 0x10001195
Capabilities:
Print debug messages

Disassembly:
jmp 0x1000a4b0
sub esp, 0xc
push ebx
push esi
push edi
push 0x268
push 0x10029788
push str.____in_ShowMSNInfo_______s_____d_r_n
mov ebx, ecx
push 0
call fcn.100015f5
mov esi, dword [esp + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x10
lea eax, [esi + 4]
push eax
call edi
lea ecx, [esi + 0x404]
push ecx
call edi
mov eax, dword [0x1003501c]
test eax, eax
jne 0x1000a508
push str.Tran_to_client_si_null
mov ecx, ebx
call fcn.10001618
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
xor edx, edx
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], edx
push ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x7d8
push edx
push 0x4a
mov dword [esp + 0x20], edx
push eax
mov dword [esp + 0x20], 0xc04
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x100011a9
Capabilities:
Get common file path

Disassembly:
jmp 0x1001e650
push 0xffffffffffffffff
push 0x100226ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x10]
xor edi, edi
push 0x104
push eax
mov dword [esi], 0x10024284
mov dword [esi + 0xc], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0xc]
push str.Kernel32.dll
lea eax, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x128], edi
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call edi
lea ecx, [esp + 8]
mov dword [esi + 4], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
push str.wtsapi32.dll
lea edx, [esp + 0xc]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
call edi
lea ecx, [esp + 8]
mov dword [esi + 8], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x11c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x114]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret
Function at 0x100011f4
Capabilities:
Create process on windows
Delete file

Disassembly:
jmp 0x1001bd30
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10022396
push eax
mov dword fs:[0], esp
sub esp, 0x3cc
mov ecx, 0x4b
xor eax, eax
push esi
push edi
lea edi, [esp + 0x64]
lea edx, [esp + 0x64]
rep stosd dword es:[edi], eax
mov edi, dword [0x1002db68]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
test eax, eax
je 0x1001bd96
mov byte [eax], 0
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x64]
lea ecx, [esp + 0xc]
push edx
mov dword [esp + 0x3e0], 0
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [esp + 8]
push eax
push str._sUpdateClientUpdateC.exe
push ecx
mov byte [esp + 0x3e8], 1
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x3dc], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 8]
lea edx, [esp + 0x2bc]
push edx
push eax
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
jne 0x1001be0b
mov ecx, dword [esp + 8]
push ecx
push str.CheckHaveUpdateC____
jmp 0x1001bef9
mov edx, dword [esp + 8]
push edx
push str.CheckHaveUpdateC_____
call fcn.10001672
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x28]
mov edx, dword [esp + 0x10]
rep stosd dword es:[edi], eax
mov word [esp + 0x58], ax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov ecx, 0x4b
mov dword [esp + 0x20], eax
lea edi, [esp + 0x198]
add esp, 8
mov dword [esp + 0x20], 0x44
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x190]
push 0x12c
push ecx
push edx
mov dword [esp + 0x58], 1
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [esp + 0x1b0]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x194]
push eax
push esi
push str.CheckHaveUpdateC___Begin___bRet:_d__szUpdateExe:_s__pid:_d
call fcn.10001672
mov ecx, dword [esp + 0x20]
add esp, 0x10
push 0x30d40
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1001bef3
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.CheckHaveUpdateC___End__
call fcn.10001672
mov edx, dword [esp + 0xc]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1001bf01
push eax
push 0x1002c91c
call fcn.10001672
add esp, 8
lea ecx, [esp + 8]
mov dword [esp + 0x3dc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3d4]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x3d8
ret
Function at 0x100011f9
Capabilities:
Print debug messages

Disassembly:
jmp 0x1000ab00
mov eax, dword [ecx + 4]
sub esp, 0xcc
test eax, eax
je 0x1000ab7b
lea ecx, [esp]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0xba121410
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1000ab3e
push str.DeviceIoControl_IO_CLEAN_IP_FILTER_sucess
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0xcc
ret
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_IO_CLEAN_IP_FILTER_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
push str.m_hSysHandle_is_NULL_CleanIpFilter
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0xcc
ret
Function at 0x10001217
Capabilities:
Read file via mapping

Disassembly:
jmp 0x1001e200
push 0xffffffffffffffff
push 0x10022648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push str.GlobalIEInfo_MapFile
push ebx
mov esi, ecx
push 4
mov byte [esp + 0x1f], bl
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x1c], edi
je 0x1001e3a8
push ebx
push ebx
push ebx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x18], ebp
je 0x1001e39f
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, esi
call fcn.100010d2
mov edx, dword [esp + 0x30]
push 0x1002dab8
push edx
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x1001e292
push str.GetFormatNetAddr_Get_Null_URL
call fcn.10001672
jmp 0x1001e2aa
mov edi, dword [ebp]
lea esi, [ebp + 4]
cmp edi, 0x320
jle 0x1001e2c5
push 0x1002ce8c
call fcn.10001717
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x1001e3b9
xor ebp, ebp
cmp edi, ebx
jle 0x1001e37f
cmp esi, ebx
je 0x1001e329
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 4]
cmp edx, eax
sete al
cmp al, bl
je 0x1001e327
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x14]
push ebx
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jl 0x1001e31a
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], ebx
jle 0x1001e31a
mov ecx, dword [esp + 0x30]
cmp dword [ecx - 8], ebx
jg 0x1001e330
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
add esi, dword [esi]
inc ebp
cmp ebp, edi
jl 0x1001e2cf
jmp 0x1001e37f
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x34]
push edx
push str.__s__the_url_is_in_Filter_database1
push eax
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x40]
push ecx
call fcn.10001717
add esp, 0x10
lea ecx, [esp + 0x34]
mov byte [esp + 0x13], 1
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001e3b5
push str.CheckIsFindNetName___________OpenFileMapping__error
call fcn.10001717
add esp, 4
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x1000123a
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x100196d0
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, ecx
mov dword [ebp], 0
mov dword [eax], 0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10019785
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x10019785
lea ecx, [esp + 0x14]
push esi
push ecx
lea edx, [esp + 0x18]
push 0
push edx
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x10019764
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
mov dword [ecx], eax
call sub.MFC42.DLL_operatornew
add esp, 4
lea edx, [esp + 0x18]
mov dword [ebp], eax
mov ecx, dword [edi + 0x10]
push edx
push eax
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x10019764
mov edx, dword [ebp]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp], 0
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], esi
mov dword [edi + 8], 3
mov ecx, dword [eax]
xor eax, eax
test esi, esi
mov dword [edi + 0xc], ecx
pop esi
pop edi
pop ebp
sete al
pop ebx
ret 0xc
pop edi
pop ebp
xor eax, eax
pop ebx
ret 0xc

Function at 0x1000124e
Capabilities:
Print debug messages

Disassembly:
jmp 0x1000a7a0
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x1000a808
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push str..PeerLanNdis
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x1000a7f0
push 0x100299f8
mov dword [esi + 4], 0
call fcn.1000137f
add esp, 4
push 0x100299f8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
ret
push 0x100299e4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x100299e4
call fcn.1000137f
add esp, 4
pop esi
ret
Function at 0x1000127b
Capabilities:
Print debug messages

Disassembly:
jmp 0x10005490
mov eax, dword [0x10035024]
sub esp, 0x14
test eax, eax
push ebp
mov ebp, ecx
je 0x1000557c
xor eax, eax
lea ecx, [esp + 4]
mov dword [esp + 0xa], eax
lea edx, [esp + 8]
mov dword [esp + 0xe], eax
push ecx
mov dword [esp + 0x16], eax
push edx
mov word [esp + 0x1e], ax
mov eax, dword [esp + 0x24]
push eax
mov word [esp + 0x14], 0
mov dword [esp + 0x10], 0x10
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x1000557c
mov ecx, dword [esp + 0xa]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
cmp ax, 0x19
jne 0x1000557c
push ebx
push esi
push edi
push 0xffffffffffffffff
mov ecx, 0x1002dac0
call sub.MFC42.DLL_CSyncObject::Lock
mov esi, dword [esp + 0x2c]
mov edx, dword [esi]
inc edx
push edx
call sub.MFC42.DLL_operatornew
mov ecx, dword [esi]
add esp, 4
inc ecx
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
push str.1________________________________1
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi]
mov esi, dword [esi + 4]
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call esi
push ebx
call esi
push ebx
mov ecx, ebp
call fcn.10001401
push str.22
call esi
test ebx, ebx
je 0x1000556f
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, 0x1002dac0
call sub.MFC42.DLL_CMutex::Unlock
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x14
ret 0xc

Function at 0x10001285
Capabilities:
Set registry value

Disassembly:
jmp 0x100187e0
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x1001882b
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1001882b
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x1001882b
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
push edi
push edx
push 3
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
mov dword [esi + 0xc], edi
test eax, eax
sete cl
mov dword [esi + 4], eax
mov dword [esi + 8], 3
pop edi
mov eax, ecx
pop esi
ret 0xc
xor eax, eax
pop esi
ret 0xc
Function at 0x10001299
Capabilities:
Print debug messages

Disassembly:
jmp 0x1001d040
sub esp, 0xc
push esi
push edi
push 0xe6c
call sub.MFC42.DLL_operatornew
mov esi, eax
mov ecx, 0x39b
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
push esi
push edi
call fcn.10001528
lea eax, [esi + 0x64]
lea ecx, [edi + 0x32]
push eax
push ecx
call fcn.10001528
lea edx, [esi + 0x264]
lea eax, [edi + 0x132]
push edx
push eax
call fcn.10001528
lea ecx, [esi + 0x464]
lea edx, [edi + 0x232]
push ecx
push edx
call fcn.10001528
lea eax, [esi + 0xc64]
add edi, 0x632
push eax
push edi
call fcn.10001528
add esp, 0x2c
push str.YTClientWnd
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x1001d0d4
push str.SPI_NOT_FIND_CLIENT_WINDOW_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
add esp, 0xc
ret 4
xor ecx, ecx
lea edx, [esp + 8]
mov dword [esp + 8], ecx
push edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x7da
push ecx
push 0x4a
mov dword [esp + 0x1c], ecx
push eax
mov dword [esp + 0x1c], 0xe6c
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_SendMessageA]
test esi, esi
je 0x1001d112
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x100012e4
Capabilities:
Get common file path

Disassembly:
jmp 0x10012590
push 0xffffffffffffffff
push 0x100217ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
lea eax, [esp + 8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_1
push str._sys_config.ini
lea ecx, [esp + 4]
mov dword [esp + 0x118], 0
call fcn.1001f296
push 0x1002ba14
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp]
mov eax, dword [esp + 4]
push edx
push eax
push str.NormalExit
push str.ClientParameter
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov dword [esp + 0x114], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
add esp, 0x118
ret
Function at 0x10001325
Capabilities:
Read file via mapping

Disassembly:
jmp 0x1001e140
mov eax, dword [esp + 4]
sub esp, 0x268
push ebx
push ebp
push str.GlobalCommon_MapFile
push 0
mov ebp, ecx
push 6
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x1001e1b8
push 0
push 0
push 0
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x1001e1b1
push esi
push edi
mov ecx, 0x9a
mov esi, eax
lea edi, [esp + 0x10]
push eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x24]
test edx, edx
mov edx, dword [esp + 0x280]
setne cl
mov byte [edx], cl
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop edi
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
add esp, 0x268
ret 4

Function at 0x10001357
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x10015230
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10021ad8
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x100152cb
mov edx, dword [esi + 4]
lea ecx, [esp + 4]
push ecx
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [esi], eax
jne 0x100152cb
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 4]
push eax
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esi], eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi], 0
jne 0x100152cb
mov esi, dword [esp + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4