joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e1f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x411e20
push 0xffffffffffffffff
push 0x594ba0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov eax, esi
mov ebp, ecx
push edi
xor edi, edi
mov ecx, dword [eax]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 0x5ada60
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edi
call fcn.0040223e
test eax, eax
je 0x411e7e
push 0xf
jmp 0x411e80
push 4
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
call ebx
cmp dword [esp + 0x40], edi
jne 0x411ea1
push 0x3fe33333
push 0x33333333
push eax
call fcn.004016a4
add esp, 0xc
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
call fcn.00401bc2
test eax, eax
je 0x411ef9
mov eax, dword [edi + 4]
push 0xf
lea edx, [esp + 0x1c]
push 2
push edx
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esp + 0x44]
push 7
test eax, eax
jne 0x411f1d
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 4
push eax
add edx, 4
push ecx
push edx
push edi
mov ecx, ebp
call fcn.00401235
jmp 0x411f35
call ebx
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
add ecx, 5
add eax, 4
push eax
push ecx
push edi
mov ecx, ebp
call fcn.00401fa0
mov dword [esp + 0x10], 0x5ada18
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10
Function at 0x401e33
Capabilities:
Read .ini file

Disassembly:
jmp 0x42b1b0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x596f38
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov eax, dword [eax + 0x94]
push eax
push 1
push str.HotkeyMode
push str.Setup
call ebp
cmp eax, 0xffffffff
jle 0x42b1f8
cmp eax, 5
jl 0x42b1fd
mov eax, 1
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
push eax
push ecx
mov ecx, edi
call fcn.0045ea10
push ecx
mov edx, esp
mov dword [esp + 0x28], esp
push str.plugin
push 0x64b7a8
push edx
call sub.MFC42.DLL_operator_3
mov dword [esp + 0x1c], 0xffffffff
call fcn.004012c6
mov ecx, eax
call fcn.00402671
push edi
mov ecx, esi
call fcn.00401578
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x20]
and ecx, 0xffff
mov eax, dword [eax + 0x94]
push eax
push ecx
push str.EndHotkey
push 0x6386e0
call ebp
mov ebx, eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x20]
shr ecx, 0x10
mov edx, dword [eax + 0x94]
push edx
push ecx
push str.EndHotkeyMod
push 0x6386e0
call ebp
mov ecx, eax
mov edx, ebx
and ecx, 0xffff
and edx, 0xffff
shl ecx, 0x10
or ecx, edx
mov edx, dword [esp + 0x28]
push eax
push ebx
mov dword [edx], ecx
call fcn.0045ebc0
push edi
call fcn.0045ec00
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc

Function at 0x401e74
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x40a240
push 0xffffffffffffffff
push 0x594353
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x5ad9f4
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.004af40c
mov dword [ebx], 0x5ad9dc
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.004af40c
or eax, 0xffffffff
push 0x64a6f8
mov dword [ebx], 0x5ad994
push edi
mov dword [esi], 0x5ad9ac
mov dword [esi + 0x54], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0x10
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x38], 0xc0c0c0
mov dword [esi + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x58], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x401e83
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x428700
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 0x428762
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 0x402158
Capabilities:
Delete file

Disassembly:
jmp 0x42bfd0
push ecx
push esi
push edi
mov edi, ecx
xor esi, esi
mov eax, dword [edi + 0xc]
test eax, eax
jle 0x42c00e
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ebx, [edi + 4]
lea eax, [esp + 0x10]
push esi
push eax
mov ecx, ebx
call fcn.004011ae
mov ecx, dword [eax]
push ecx
call ebp
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 0xc]
inc esi
cmp esi, eax
jl 0x42bfe9
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret

Function at 0x402202
Capabilities:
Set current directory

Disassembly:
jmp 0x431cf0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5981cb
push eax
mov eax, 0x1704
mov dword fs:[0], esp
call fcn.004b0170
push esi
mov esi, ecx
lea eax, [esp + 0x208]
lea ecx, [esp + 0x108]
push eax
lea edx, [esp + 0x30c]
push ecx
mov ecx, dword [esi + 0x90]
lea eax, [esp + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
lea edx, [esp + 0x108]
mov ecx, 0x64b7a4
push edx
call fcn.004af20e
lea eax, [esp + 8]
mov ecx, 0x64b7a8
push eax
call fcn.004af20e
lea ecx, [esp + 0x308]
push ecx
mov ecx, 0x64b7a8
call fcn.004af5fe
mov edx, dword [0x64b7a8]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x64b7a8
mov ecx, 0x64b7a8
call sub.MFC42.DLL_CString::operator_3
lea eax, [esp + 0x708]
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov cl, byte [0x64bb80]
mov al, 1
test al, cl
jne 0x431dd6
or cl, al
mov byte [0x64bb80], cl
lea ecx, [esp + 0x708]
push ecx
mov ecx, 0x64bb7c
call sub.MFC42.DLL_CString::CString_1
push 0x431ed0
call fcn.004b0154
add esp, 4
push 0x2e
mov ecx, 0x64bb7c
call sub.MFC42.DLL_CString::ReverseFind
lea edx, [esp + 4]
push eax
push edx
mov ecx, 0x64bb7c
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, 0x64bb7c
mov dword [esp + 0x1714], 0
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 4]
mov dword [esp + 0x1710], 0xffffffff
call sub.MFC42.DLL_CString::CString
push str..ini
mov ecx, 0x64bb7c
call fcn.004af5fe
mov eax, dword [esi + 0x94]
push eax
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [0x64bb7c]
push ecx
call dword [sym.imp.MSVCRT.dll__strdup]
add esp, 8
mov ecx, 0x64bc5c
mov dword [esi + 0x94], eax
push eax
call fcn.004af20e
mov ecx, dword [esp + 0x1708]
pop esi
mov dword fs:[0], ecx
add esp, 0x1710
ret
Function at 0x40233d
Capabilities:
Create process on windows

Disassembly:
jmp 0x428a10
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x428b04
lea ecx, [esp + 0x10]
push ecx
push str..htm
push SysReAllocStringLen
mov ecx, edi
call fcn.00401e83
test eax, eax
jne 0x428b04
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push SysReAllocStringLen
mov ecx, edi
call fcn.00401e83
test eax, eax
jne 0x428b04
lea edx, [esp + 0x10]
push str.__1_
push edx
call dword [sym.imp.MSVCRT.dll__mbsstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x428ad5
lea eax, [esp + 0x10]
push 0x638508
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x428ad5
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x428ad8
mov byte [esi], 0
push 0x637ac4
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x402392
Capabilities:
Set socket configuration

Disassembly:
jmp 0x4241e0
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push 4
push eax
push 4
push 0xffff
push ecx
mov dword [esp + 0x14], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x42421b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004020fe
add esp, 4
or eax, 0xffffffff
pop ecx
ret
xor eax, eax
pop ecx
ret

Function at 0x402397
Capabilities:
Create thread
Resolve dns

Disassembly:
jmp 0x424a90
sub esp, 0x9c
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_inet_addr]
push esi
push edi
mov edi, dword [esp + 0xac]
push edi
call ebx
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x424b54
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x424b2b
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x424b2b
cmp dword [esp + 0x24], 2
jne 0x424b2b
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push 0
push edi
push 0x4013cf
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x424b2b
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x424b2b
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x9c
ret
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x424b43
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x9c
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call ebx
pop edi
pop esi
pop ebx
add esp, 0x9c
ret
Function at 0x4024cd
Capabilities:
Delete file
Encode data using xor
Read file on windows
Set file attributes

Disassembly:
jmp 0x42beb0
push 0xffffffffffffffff
push 0x597128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov eax, dword [esp + 0x1c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x20]
lea eax, [esp + 8]
push edx
push 4
xor esi, esi
push 1
push eax
mov dword [esp + 0x18], esi
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x18]
add esp, 0x10
cmp eax, esi
jle 0x42bf60
mov ecx, dword [esp + 0x1c]
push 0x638844
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
cmp edi, esi
je 0x42bf60
cmp dword [esp + 8], esi
jle 0x42bf56
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fputc]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_fgetc]
mov edx, dword [esp + 0x28]
push edi
push edx
call ebp
add esp, 4
xor eax, 0xcc
push eax
call ebx
mov eax, dword [esp + 0x18]
add esp, 8
inc esi
cmp esi, eax
jl 0x42bf35
pop ebp
pop ebx
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x40250e
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x4243a0
sub esp, 0x10
mov edx, dword [esp + 0x1c]
xor ecx, ecx
xor eax, eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], edx
push eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
push eax
lea edx, [esp + 0xc]
lea eax, [esp + 8]
mov dword [esp + 0x14], ecx
push edx
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push 1
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
jne 0x4243f1
mov eax, dword [esp]
add esp, 0x10
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
neg eax
add esp, 0x10
ret

Function at 0x402554
Capabilities:
Get common file path

Disassembly:
jmp 0x42fd90
mov eax, 0x1004
call fcn.004b0170
mov cl, byte [0x64bb64]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x42fdcf
mov dl, cl
mov ecx, 0x64bb60
or dl, al
mov byte [0x64bb64], dl
call sub.MFC42.DLL_CString::CString_3
push 0x42fe60
call fcn.004b0154
add esp, 4
mov eax, dword [0x64bb60]
push 0x64a680
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42fe06
lea ecx, [esp + 4]
push ecx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 4]
mov ecx, 0x64bb60
push edx
call fcn.004af20e
push esi
mov esi, dword [esp + 0x100c]
push 0x64bb60
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop esi
add esp, 0x1004
ret
Function at 0x4025cc
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x424640
sub esp, 0xc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 4], ecx
push eax
push eax
mov dword [esp + 0x10], eax
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push 1
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
jne 0x42468b
mov eax, dword [esp]
add esp, 0xc
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
neg eax
add esp, 0xc
ret

Function at 0x402603
Capabilities:
Get common file path

Disassembly:
jmp 0x42fe80
mov eax, 0x1004
call fcn.004b0170
mov cl, byte [0x64bb5c]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x42febf
mov dl, cl
mov ecx, 0x64bb58
or dl, al
mov byte [0x64bb5c], dl
call sub.MFC42.DLL_CString::CString_3
push 0x42ff90
call fcn.004b0154
add esp, 4
mov eax, dword [0x64bb58]
push esi
push 0x64a680
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42ff29
push ebx
push edi
lea ecx, [esp + 0x10]
push 0x1000
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x6378b4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x64bb58
call fcn.004af20e
pop edi
pop ebx
mov esi, dword [esp + 0x100c]
push 0x64bb58
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop esi
add esp, 0x1004
ret
Function at 0x40260d
Capabilities:
Delete file

Disassembly:
jmp 0x42d3a0
push 0xffffffffffffffff
push 0x597462
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [edi], 0x5afef4
mov dword [esp + 0x20], 9
call fcn.004559d0
lea esi, [edi + 0xa4]
mov dword [esp + 0x14], esi
mov dword [esi], 0x5afedc
mov ebp, dword [esi + 4]
xor ebx, ebx
cmp ebp, ebx
mov byte [esp + 0x20], 0xa
je 0x42d405
lea eax, [ebp + 8]
push 1
push eax
call fcn.00402315
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x42d3f3
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
lea ecx, [edi + 0xa0]
mov dword [esi + 0x14], ebx
mov dword [esi], 0x5ad400
mov byte [esp + 0x20], 7
call sub.MFC42.DLL_CString::CString
mov esi, dword [edi + 0x98]
cmp esi, ebx
je 0x42d48f
lea ecx, [esi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42d489
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x42d489
mov ecx, esi
mov byte [esp + 0x20], 0xc
call fcn.004016ae
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esi + 4]
mov byte [esp + 0x20], 0xb
call fcn.004af1a2
mov ecx, esi
mov byte [esp + 0x20], 6
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [edi + 0x98], ebx
lea esi, [edi + 0x8c]
mov dword [esp + 0x14], esi
lea ecx, [esi + 8]
mov byte [esp + 0x20], 0xd
call sub.MFC42.DLL_CString::CString
cmp esi, ebx
je 0x42d4af
lea ebp, [esi + 4]
jmp 0x42d4b1
xor ebp, ebp
mov esi, dword [ebp]
cmp esi, ebx
je 0x42d508
lea edx, [esi + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42d505
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x42d505
mov ecx, esi
mov byte [esp + 0x20], 0xf
call fcn.004016ae
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esi + 4]
mov byte [esp + 0x20], 0xe
call fcn.004af1a2
mov ecx, esi
mov byte [esp + 0x20], 5
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp], ebx
lea esi, [edi + 0x48]
mov dword [esp + 0x14], esi
mov dword [esi], 0x5afe54
mov ecx, esi
mov byte [esp + 0x20], 0x11
call fcn.00463f60
lea ecx, [esi + 0x28]
mov byte [esp + 0x20], 0x10
call fcn.004af8b0
mov ecx, esi
mov byte [esp + 0x20], 4
call fcn.004af952
lea ecx, [edi + 0x44]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x10]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0xc]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 8]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 4]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4027a7
Capabilities:
Persist via run registry key
Read .ini file

Disassembly:
jmp 0x41ab20
push 0xffffffffffffffff
push 0x5959e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov esi, ecx
call fcn.0040230b
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x190]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov eax, dword [eax + 0x94]
push eax
push ecx
push str.HotkeyMode
push str.Setup
call edi
mov dword [esi + 0x190], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x94]
mov eax, dword [esi + 0x194]
push edx
push eax
push str.ProcessPriority
push str.Setup
call edi
mov dword [esi + 0x194], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x198]
mov ecx, dword [eax + 0x94]
push ecx
push edx
push str.Beep
push str.Setup
call edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
lea ecx, [esp + 0x10]
mov dword [esi + 0x198], eax
call sub.MFC42.DLL_CString::CString_1
push 0x64b7bc
lea eax, [esp + 0x14]
xor ebx, ebx
push str.MyMacro_
push eax
mov dword [esp + 0x50], ebx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::CString
push reloc.OLEAUT32.dll_SysReAllocString
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x64a680
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], bl
call fcn.004b1bf0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x48], 3
call fcn.004b1f60
mov byte [esp + 0x44], 4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
push 0x64a680
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x41ac91
mov dword [esi + 0x19c], ebx
jmp 0x41ac9b
mov dword [esi + 0x19c], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], bl
call fcn.004b1d70
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret
Function at 0x40296e
Capabilities:
Check os version

Disassembly:
jmp 0x409dc0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x409e72
push 0x94
mov ebx, 1
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x409eea
mov ecx, 0x25
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x409e26
push esi
mov ebx, 5
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
ret
cmp eax, 5
jne 0x409ee0
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x409e4b
push esi
mov ebx, 6
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
ret
cmp eax, 5
jne 0x409ee0
cmp dword [esi + 8], ebx
jne 0x409ee0
push esi
mov ebx, 7
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
ret
cmp al, 4
jae 0x409e7c
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x94
mov ebx, 2
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x409eea
mov ecx, 0x25
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x409ee0
cmp dword [esi + 8], 0xa
jne 0x409ed0
push esi
mov ebx, 3
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
ret
cmp eax, 4
jne 0x409ee0
cmp dword [esi + 8], 0x5a
jne 0x409ee0
mov ebx, 4
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
mov eax, ebx
pop esi
pop ebx
ret