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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
xor edx, edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6b7343
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x34], 0
je 0x6b71b3
cmp byte [ebx + 0x35], 0
jne 0x6b71b3
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x6b71df
cmp byte [ebx + 0x35], 1
jne 0x6b71cd
lea eax, [ebp - 0x24]
push eax
push 0x12
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
call fcn.0068e84c
jmp 0x6b71df
lea eax, [ebp - 0x24]
push eax
push 0x11
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
call fcn.0068e84c
xor edx, edx
push ebp
push 0x6b731e
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x3c]
mov edx, 0x104
call fcn.0069aee8
mov eax, dword [ebx + 0x3c]
call fcn.0069ad78
mov dword [ebp - 0x20], eax
cmp dword [ebx + 0x38], 0
je 0x6b7218
mov eax, dword [ebx + 0x38]
call fcn.0069ad78
mov dword [ebp - 0x1c], eax
jmp 0x6b721d
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp byte [ebx + 0x35], 1
jne 0x6b722c
mov dword [ebp - 0x18], 0x1000
jmp 0x6b7233
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x14], 0x6b6da0
mov dword [ebp - 0x10], ebx
mov eax, dword [0x7c9318]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.006b7354
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
setne byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x6b7303
xor eax, eax
push ebp
push 0x6b72fc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x35], 0
jne 0x6b72c9
lea eax, [ebp - 0x12d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.SHELL32.DLL_SHGetPathFromIDListA
call fcn.006961d0
lea edx, [ebp - 0x138]
lea eax, [ebp - 0x12d]
call fcn.006920b4
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call sym.MassSender.exe__Fileutil_RemoveBackSlash_qqrx17System_AnsiString
mov edx, dword [ebp - 0x134]
lea eax, [ebx + 0x44]
call fcn.0069a988
jmp 0x6b72d4
lea eax, [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
call fcn.0069a988
lea eax, [ebx + 0x40]
mov edx, dword [ebx + 0x44]
call fcn.0069a988
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x48], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b7303
mov eax, dword [ebp - 8]
push eax
call sub.OLE32.DLL_CoTaskMemFree
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b7325
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x6b731d
push eax
call sub.OLE32.DLL_CoTaskMemFree
ret

Function at 0x6b7ad8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0069ad68
xor eax, eax
push ebp
push 0x6b7b29
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0069ad78
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x6b7b0d
test al, 0x10
jne 0x6b7b11
xor ebx, ebx
jmp 0x6b7b13
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b7b30
lea eax, [ebp - 4]
call fcn.0069a934
ret
Function at 0x6b8a24
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffce0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x320], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6b8be6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.OLE32.DLL_CoInitialize
xor eax, eax
push ebp
push 0x6b8bb6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0069d864
push eax
mov eax, dword [0x7c9838]
push eax
push 5
push 0
mov eax, dword [0x7c983c]
push eax
call sub.OLE32.DLL_CoCreateInstance
call fcn.0068e84c
xor eax, eax
push ebp
push 0x6b8b9c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0069d864
push eax
push 0x7c6d7c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax]
call fcn.0068e84c
xor eax, eax
push ebp
push 0x6b8b7f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push edi
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
call fcn.0068e84c
lea eax, [ebp - 0x111]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.SHELL32.DLL_SHGetPathFromIDListA
push 0x6b8bfc
push esi
push 0x6b8c08
lea eax, [ebp - 0x320]
mov edx, 3
call fcn.0069ac74
mov eax, dword [ebp - 0x320]
call fcn.0069ad78
mov edx, eax
lea eax, [ebp - 0x111]
call fcn.00691f2c
mov eax, ebx
call fcn.0069ad78
mov esi, eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
push 0
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
push 0x104
lea eax, [ebp - 0x31c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x111]
push eax
push 0
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
push 0xffffffffffffffff
lea eax, [ebp - 0x31c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.0068e84c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b8b86
lea eax, [ebp - 8]
call fcn.0069d864
ret
Function at 0x6b8c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6b8d56
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.OLE32.DLL_CoInitialize
xor eax, eax
push ebp
push 0x6b8d29
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0069d864
push eax
mov eax, dword [0x7c9838]
push eax
push 5
push 0
mov eax, dword [0x7c983c]
push eax
call sub.OLE32.DLL_CoCreateInstance
call fcn.0068e84c
xor eax, eax
push ebp
push 0x6b8d0f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push esi
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
call fcn.0068e84c
lea eax, [ebp - 0x10d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.SHELL32.DLL_SHGetPathFromIDListA
push 0x6b8d6c
push ebx
push 0x6b8d78
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.0069ac74
mov eax, dword [ebp - 0x114]
call fcn.0069ad78
mov edx, eax
lea eax, [ebp - 0x10d]
call fcn.00691f2c
lea eax, [ebp - 0x118]
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.0069ab64
mov eax, dword [ebp - 0x118]
call fcn.006919a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b8d16
lea eax, [ebp - 4]
call fcn.0069d864
ret

Function at 0x6ba64c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x6ba67a
mov eax, ebx
call fcn.006bb0f0
cmp dword [ebx + 0x3c], 0
je 0x6ba673
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x6ba6eb
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x6ba6dd
cmp dword [ebx + 8], 0
je 0x6ba69c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x6ba6ae
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x6ba6dd
cmp dword [ebx + 8], 0
je 0x6ba68f
cmp eax, 3
je 0x6ba6c1
dec eax
jne 0x6ba68f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x6ba68f
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x6ba68f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x6ba709
cmp dword [ebx + 0x10], 0xcc
je 0x6ba709
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.006ba714
pop ebx
ret
Function at 0x6d59dc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6d5bb3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [ebp - 0x18]
mov edx, 0x104
call fcn.0069aee8
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.0069ad78
push eax
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x6d5b8b
xor eax, eax
push ebp
push 0x6d5b84
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x6d5b4a
mov eax, dword [ebp - 0x18]
call fcn.0069ad78
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.0069aaec
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push dword [ebp - 8]
push 0x6d5bc8
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0069ac74
mov eax, dword [ebp - 0x20]
call fcn.0069ad78
push eax
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x6d5b47
xor eax, eax
push ebp
push 0x6d5b40
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [sym.MassSender.exe__Rvofficecnv_TRVOfficeConverterInfo_]
call fcn.00699c4c
mov ebx, eax
lea ecx, [ebx + 4]
mov edx, 0x6d5bd4
mov eax, dword [ebp - 0x10]
call fcn.006d5984
test al, al
je 0x6d5b22
lea ecx, [ebx + 8]
mov edx, 0x6d5be4
mov eax, dword [ebp - 0x10]
call fcn.006d5984
test al, al
je 0x6d5b22
lea ecx, [ebx + 0xc]
mov edx, 0x6d5bf4
mov eax, dword [ebp - 0x10]
call fcn.006d5984
test al, al
je 0x6d5b22
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0xc]
call fcn.006d5880
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0xc]
call fcn.0069a988
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00681ca8
jmp 0x6d5b29
mov eax, ebx
call fcn.00699c7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d5b47
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x1c]
push 0x105
mov eax, dword [ebp - 0x18]
call fcn.0069ad78
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyA
test eax, eax
je 0x6d5a58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d5b8b
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d5bba
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0069a958
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0069a958
ret
Function at 0x6ecab0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6ecc08
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 0x348]
mov ax, word [0x6ecc18]
not eax
and ax, word [esi + 0x80]
mov word [esi + 0x80], ax
xor esi, esi
mov eax, dword [sym.MassSender.exe__Rvuni_RVNT]
cmp byte [eax], 0
je 0x6ecbbd
call fcn.006eca98
test al, al
je 0x6ecbbd
mov ax, word [edi + 4]
add eax, 0xffffffd0
sub ax, 0xa
jb 0x6ecb35
add eax, 0xfffffff9
sub ax, 0x1a
jb 0x6ecb35
add eax, 0xffffffa0
sub ax, 6
jb 0x6ecb35
sub ax, 0x1b
jne 0x6ecbbd
mov eax, ebx
call sym.MassSender.exe__Rvedit_TCustomRichViewEdit_BeforeUnicode_qqrv
mov eax, ebx
call sym.MassSender.exe__Rvedit_TCustomRichViewEdit_GetCurTextStyleNo_qqrv
mov edx, eax
mov eax, dword [ebx + 0x338]
mov eax, dword [eax + 0x48]
call sym.MassSender.exe__Rvstyle_TFontInfos_GetItem_qqri
cmp byte [eax + 0x41], 0
je 0x6ecbbd
lea eax, [ebp - 4]
mov edx, 0xa
call fcn.0069aee8
lea eax, [ebp - 0x104]
push eax
call sub.USER32.DLL_GetKeyboardState
test eax, eax
je 0x6ecbbd
test byte [ebp - 0xf3], 0x80
jne 0x6ecbbd
push 0
push 5
mov eax, dword [ebp - 4]
call fcn.0069ad78
push eax
lea eax, [ebp - 0x104]
push eax
mov eax, dword [edi + 8]
push eax
movzx eax, word [edi + 4]
push eax
call sub.USER32.DLL_ToUnicode
mov esi, eax
test esi, esi
jle 0x6ecbbd
mov edx, esi
add edx, edx
lea eax, [ebp - 4]
call fcn.0069aee8
mov edx, dword [ebp - 4]
mov eax, ebx
call sym.MassSender.exe__Rvedit_TCustomRichViewEdit_InsertTextW__qqrx17System_AnsiString
test esi, esi
jg 0x6ecbcc
mov edx, edi
mov eax, ebx
call fcn.0065e864
jmp 0x6ecbf2
mov word [edi + 4], 0
xor eax, eax
mov dword [edi + 0xc], eax
mov esi, dword [ebx + 0x348]
mov ax, word [esi + 0x80]
or ax, word [0x6ecc18]
mov word [esi + 0x80], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ecc0f
lea eax, [ebp - 4]
call fcn.0069a934
ret
Function at 0x6ef934
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6efb28
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0xe8]
test al, al
je 0x6efaff
mov eax, dword [ebp - 8]
test byte [eax + 9], 8
je 0x6efaff
mov eax, dword [ebp - 4]
call fcn.0065fbfc
push eax
call sub.IMM32.DLL_ImmGetContext
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x6efb0a
mov eax, dword [sym.MassSender.exe__Rvuni_RVNT]
cmp byte [eax], 0
je 0x6efa64
xor eax, eax
push ebp
push 0x6efa21
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0x800
mov eax, dword [ebp - 0xc]
push eax
call sub.IMM32.DLL_ImmGetCompositionStringW
mov dword [ebp - 0x14], eax
add dword [ebp - 0x14], 2
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.0069aee8
mov eax, dword [ebp - 0x10]
call fcn.0069ad78
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.0069985c
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.0069ad78
push eax
push 0x800
mov eax, dword [ebp - 0xc]
push eax
call sub.IMM32.DLL_ImmGetCompositionStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6efa28
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0065fbfc
push eax
call sub.IMM32.DLL_ImmReleaseContext
ret
xor eax, eax
push ebp
push 0x6efacd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0x800
mov eax, dword [ebp - 0xc]
push eax
call sub.IMM32.DLL_ImmGetCompositionStringA
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.0069aee8
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.0069ad78
push eax
push 0x800
mov eax, dword [ebp - 0xc]
push eax
call sub.IMM32.DLL_ImmGetCompositionStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6efad4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0065fbfc
push eax
call sub.IMM32.DLL_ImmReleaseContext
ret
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6efb2f
lea eax, [ebp - 0x18]
call fcn.0069a934
lea eax, [ebp - 0x10]
call fcn.0069a934
ret
Function at 0x6f66d8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
mov eax, ebx
call fcn.0063d838
call fcn.00638a38
mov esi, eax
push 0
push 1
push 1
mov eax, dword [edi + 4]
push eax
mov eax, dword [edi]
push eax
call sub.GDI32.DLL_CreateBitmap
mov dword [ebp - 0x14], eax
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x18], eax
push esi
call sub.GDI32.DLL_GetBkColor
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
test eax, eax
jl 0x6f6794
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
call fcn.00636fa0
push eax
push esi
call sub.GDI32.DLL_SetBkColor
cmp dword [ebp - 0x1c], 0
sete al
and eax, 0x7f
mov eax, dword [eax*4 + 0x7c77a4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
push esi
mov eax, dword [edi + 4]
push eax
mov eax, dword [edi]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_BitBlt
inc dword [ebp - 0x1c]
add ebx, 4
dec dword [ebp - 0x20]
jne 0x6f6747
mov eax, dword [ebp - 0xc]
push eax
push esi
call sub.GDI32.DLL_SetBkColor
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_DeleteDC
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0063e4f8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x70fc90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef0
mov esi, eax
mov bl, byte [0x70fd58]
lea eax, [esp + 8]
push eax
call sub.USER32.DLL_GetKeyboardState
test byte [esp + 0x18], 0x80
je 0x70fcb5
or bl, 1
test byte [esp + 0x19], 0x80
je 0x70fcbf
or bl, 4
test byte [esp + 0x1a], 0x80
je 0x70fcc9
or bl, 2
test byte [esp + 9], 0x80
je 0x70fcd3
or bl, 8
test byte [esp + 0xa], 0x80
je 0x70fcdd
or bl, 0x10
test byte [esp + 0xc], 0x80
je 0x70fce7
or bl, 0x20
push esp
call sub.USER32.DLL_GetCursorPos
lea ecx, [esp + 0x108]
mov edx, esp
mov eax, esi
call fcn.00659324
mov eax, dword [esp + 0x108]
mov dword [esp], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 4], eax
mov edi, dword [esp]
test edi, edi
jl 0x70fd4e
mov eax, esi
call fcn.006591e4
cmp edi, eax
jge 0x70fd4e
cmp dword [esp + 4], 0
jl 0x70fd4e
mov eax, esi
call fcn.00659228
cmp eax, dword [esp + 4]
jle 0x70fd4e
mov eax, dword [esp + 4]
push eax
mov ecx, dword [esp + 4]
mov edx, ebx
mov eax, esi
mov bx, 0xffd9
call fcn.00699e58
add esp, 0x110
pop edi
pop esi
pop ebx
ret
Function at 0x71427c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
movzx eax, word [sym.MassSender.exe__Rxgif_CF_GIF]
push eax
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x71439a
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x714393
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x680958]
call fcn.00699c4c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x714375
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalSize
mov ecx, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 8]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.006844ec
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 4]
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call sym.MassSender.exe__Rxgif_TGIFImage_ReadStream_qqrip15Classes_TStreamo
mov eax, ebx
call sym.MassSender.exe__Rxgif_TGIFImage_GetCount_qqrv
test eax, eax
jle 0x71435f
xor eax, eax
mov dword [ebx + 0x2c], eax
push 2
call sub.USER32.DLL_GetClipboardData
mov esi, eax
test esi, esi
je 0x71435f
xor edx, edx
mov eax, ebx
call sym.MassSender.exe__Rxgif_TGIFImage_GetFrame_qqri
call sym.MassSender.exe__Rxgif_TGIFFrame_NewBitmap_qqrv
mov eax, dword [ebp + 8]
push eax
xor edx, edx
mov eax, ebx
call sym.MassSender.exe__Rxgif_TGIFImage_GetFrame_qqri
mov eax, dword [eax + 8]
mov ecx, esi
mov dx, 2
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x71437c
mov eax, dword [ebp - 8]
call fcn.00699c7c
ret
mov dl, 1
mov eax, dword [0x6365a4]
call fcn.0063d2cc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x7143e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
mov edx, edi
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x58]
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7143ee
mov eax, dword [ebp - 4]
call fcn.00699c7c
ret
Function at 0x715324
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
cmp dword [eax + 8], 0
je 0x71549e
mov eax, dword [ebp + 8]
push eax
xor edx, edx
mov eax, dword [ebp - 4]
call sym.MassSender.exe__Rxgif_TGIFImage_GetFrame_qqri
call sym.MassSender.exe__Rxgif_TGIFFrame_GetBitmap_qqrv
mov ecx, edi
mov edx, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x7153a1
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [ebp - 4]
call sym.MassSender.exe__Rxgif_TGIFImage_GetFrame_qqri
mov ebx, eax
mov eax, dword [ebx + 0xc]
cmp dword [eax + 8], 0
je 0x71549e
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
call fcn.006844f8
test eax, eax
je 0x71549e
inc edi
dec esi
jne 0x715371
mov dl, 1
mov eax, dword [0x680958]
call fcn.00699c4c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x715497
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call sym.MassSender.exe__Rxgif_TGIFImage_WriteStream_qqrp15Classes_TStreamo
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.006844ec
mov eax, dword [ebp - 8]
call fcn.006844f8
push eax
mov eax, dword [0x7c97d0]
movzx eax, word [eax]
push eax
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x715469
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x71545f
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x715458
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.006844f8
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0xc]
push eax
movzx eax, word [sym.MassSender.exe__Rxgif_CF_GIF]
push eax
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x71545f
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x715481
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x71549e
mov eax, dword [ebp - 8]
call fcn.00699c7c
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x7216fc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7fc
push ebx
push esi
mov ebx, edx
mov esi, eax
push 0x800
lea eax, [ebp - 0x801]
push eax
mov eax, esi
call fcn.0069ad78
push eax
call sub.KERNEL32.DLL_GetEnvironmentVariableA
test eax, eax
jbe 0x721737
mov edx, ebx
lea eax, [ebp - 0x801]
call fcn.006920b4
jmp 0x72173e
mov eax, ebx
call fcn.0069a934
pop esi
pop ebx
mov esp, ebp
pop ebp
ret