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

Disassembly:
sub esp, 0x400
push ebx
push ebp
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ebx, dword [esp + 0x414]
mov ebp, dword [sym.imp.SHLWAPI.dll_StrStrIA]
lea ecx, [esp + 0x10]
push ecx
push ebx
call ebp
test eax, eax
je 0x1000bbc8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x400
ret
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 1
lea edx, [esp + 0x14]
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x14]
push 0x20
push edx
rep stosd dword es:[edi], eax
push eax
call esi
lea eax, [esp + 0x10]
push eax
push ebx
call ebp
test eax, eax
je 0x1000bc03
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x400
ret
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x10]
push 1
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push 5
push ecx
push eax
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x400
ret

Function at 0x1000bc30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x40c]
stosw word es:[edi], ax
push esi
stosb byte es:[edi], al
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
push 1
lea eax, [esp + 0xc]
push 0x20
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x400
ret

Function at 0x1000bd60
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x800
lea eax, [esp]
push esi
mov esi, dword [esp + 0x808]
push 0x400
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
jle 0x1000be3e
lea ecx, [esp + 0x404]
push 0x400
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea edx, [esp + 4]
push str.SysListView32
push edx
call esi
test eax, eax
jne 0x1000bdc4
lea eax, [esp + 0x404]
push str.FolderView
push eax
call esi
test eax, eax
je 0x1000be17
lea ecx, [esp + 4]
push str.SHELLDLL_DefView
push ecx
call esi
test eax, eax
je 0x1000be17
lea edx, [esp + 4]
push str.OpenListView
push edx
call esi
test eax, eax
je 0x1000be17
lea eax, [esp + 4]
push str.Snake_List
push eax
call esi
test eax, eax
je 0x1000be17
lea ecx, [esp + 4]
push str.SysTreeView32
push ecx
call esi
test eax, eax
jne 0x1000be3e
lea edx, [esp + 0x404]
push str.Folders
push edx
call esi
test eax, eax
jne 0x1000be3e
lea eax, [esp + 0x404]
lea ecx, [esp + 4]
push eax
push ecx
push str.CDSCtrlInfoMgr::IsSecuWallDlg:_CLSS__s__TITLE__s_
call fcn.1000b3f0
add esp, 0xc
mov eax, 1
pop esi
add esp, 0x800
ret
xor eax, eax
pop esi
add esp, 0x800
ret
Function at 0x1000be50
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x1000be97
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1000be97
push 0x10030b80
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
push esi
jne 0x1000be91
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret
Function at 0x1000beb0
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1000c024
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000c024
push ebx
push ebp
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
mov dword [esp + 0x10], eax
je 0x1000c01b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
je 0x1000c01b
cmp byte [ebp], 0x22
jne 0x1000c01b
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + ebp - 1], 0x22
jne 0x1000c01b
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
mov esi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.10018877
mov ebx, eax
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor eax, eax
test esi, esi
jle 0x1000bf72
mov edx, ebx
mov cl, byte [eax + ebp]
cmp cl, 0x22
je 0x1000bf6d
mov byte [edx], cl
inc edx
inc eax
cmp eax, esi
jl 0x1000bf62
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ecx + ebx], al
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x1000c00d
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov esi, ecx
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, ebx
and ecx, 3
push ebp
rep stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ecx + edx], al
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test ebx, ebx
pop esi
je 0x1000c01b
push ebx
call fcn.1001878e
add esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebp
pop ebx
ret
Function at 0x1000c150
Capabilities:
Delete file

Disassembly:
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ebx, [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov esi, eax
mov eax, dword [0x10033e1c]
push str..tmp
cmp eax, 2
push esi
je 0x1000c194
call edi
test eax, eax
je 0x1000c18a
push str..wbk
push esi
call edi
test eax, eax
jne 0x1000c1a7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
call edi
test eax, eax
jne 0x1000c1a7
push ebx
call fcn.1000bc30
add esp, 4
test eax, eax
je 0x1000c18a
cmp dword [0x10033e1c], 1
jne 0x1000c1cd
push esi
push str..xar
call edi
test eax, eax
jne 0x1000c1cd
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
lea esi, [ebp + 0x808]
test esi, esi
je 0x1000c18a
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x1000c18a
push ebx
push esi
call fcn.10010f70
push eax
push str._CSaveFile::CloseHandle_:___d___s_____s_
push str.DSEDCOMSO
call fcn.1000b440
push ebx
push esi
call fcn.10008f80
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1000c840
Capabilities:
Copy file

Disassembly:
mov eax, dword [esp + 8]
push esi
push eax
call fcn.1000c800
mov esi, eax
test esi, esi
je 0x1000c875
push edi
mov edi, dword [esp + 0xc]
push edi
push str.CDSFileMgr::SaveBackUpFile:_Dest__s_
call fcn.1000b3f0
add esp, 8
add esi, 0x800
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
pop edi
pop esi
ret 8

Function at 0x1000c960
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
call dword [sym.imp.DSCOPipe.dll_Ordinal_1]
test eax, eax
je 0x1000c984
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
call dword [sym.imp.DSCOPipe.dll_public:_int___thiscall_CSDSCOPipe::IsEncryptedFile_void__]
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0
push esi
mov dword [esp + 0x1c], 0
call edi
push 0
push 0
push 0
push esi
mov ebx, eax
call edi
lea edx, [esp + 0xc]
push 0
push edx
lea eax, [esp + 0x18]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
test eax, eax
push ebx
push esi
jne 0x1000c9d4
call edi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
call edi
mov ecx, 5
mov edi, str.SCDSA002
lea esi, [esp + 0x10]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x1000ca8a
mov ecx, 5
mov edi, str.SCDSA003
lea esi, [esp + 0x10]
xor eax, eax
repe cmpsw word [esi], word es:[edi]
je 0x1000ca8a
mov ecx, 5
mov edi, str.SCDSSS02
lea esi, [esp + 0x10]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x1000ca29
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x10
ret
mov ecx, 2
mov edi, str.SCDSA001
lea esi, [esp + 0x10]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x1000ca49
pop edi
pop esi
mov eax, 3
pop ebx
add esp, 0x10
ret
mov ecx, 2
mov edi, str.SOFTCAMP
lea esi, [esp + 0x10]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x1000ca69
pop edi
pop esi
mov eax, 3
pop ebx
add esp, 0x10
ret
mov ecx, 3
mov edi, str.M3MDP
lea esi, [esp + 0x10]
xor eax, eax
repe cmpsw word [esi], word es:[edi]
setne al
dec eax
pop edi
pop esi
and eax, 3
pop ebx
add esp, 0x10
ret
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x1000caa0
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows
Set file attributes

Disassembly:
sub esp, 0x10
push ebp
push esi
push edi
call dword [sym.imp.DSCOPipe.dll_Ordinal_1]
test eax, eax
je 0x1000cae7
mov esi, dword [esp + 0x20]
mov ecx, eax
push esi
call dword [sym.imp.DSCOPipe.dll_public:_int___thiscall_CSDSCOPipe::IsEncryptedFile_char__]
mov edi, eax
test edi, edi
je 0x1000cade
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
and ecx, 1
cmp cl, 1
jne 0x1000cade
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x10
ret
mov ebp, dword [esp + 0x20]
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1000cafd
pop edi
pop esi
pop ebp
add esp, 0x10
ret
push 0
push 0x80
push 3
push 0
push 3
push Ordinal_1
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000cb26
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x1000cb43
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret
xor edx, edx
lea eax, [esp + 0xc]
mov dword [esp + 0x11], edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x15], edx
mov byte [esp + 0x10], 0
push edx
push eax
push 0xa
push ecx
push esi
mov byte [esp + 0x2d], dl
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
jne 0x1000cb82
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 5
mov edi, str.SCDSA002
lea esi, [esp + 0x10]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x1000cc50
mov ecx, 5
mov edi, str.SCDSA003
lea esi, [esp + 0x10]
xor eax, eax
repe cmpsw word [esi], word es:[edi]
je 0x1000cc50
mov ecx, 5
mov edi, str.SCDSSS02
lea esi, [esp + 0x10]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x1000cbef
push 2
push ebp
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
mov ecx, 0x100313c8
call fcn.1000cd10
pop edi
pop esi
mov eax, 2
pop ebp
add esp, 0x10
ret
mov ecx, 2
mov edi, str.SCDSA001
lea esi, [esp + 0x10]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x1000cc0f
pop edi
pop esi
mov eax, 3
pop ebp
add esp, 0x10
ret
mov ecx, 2
mov edi, str.SOFTCAMP
lea esi, [esp + 0x10]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x1000cc2f
pop edi
pop esi
mov eax, 3
pop ebp
add esp, 0x10
ret
mov ecx, 3
mov edi, str.M3MDP
lea esi, [esp + 0x10]
xor eax, eax
repe cmpsw word [esi], word es:[edi]
setne al
dec eax
pop edi
pop esi
and eax, 3
pop ebp
add esp, 0x10
ret
push ebp
call fcn.10010e10
add esp, 4
cmp eax, 1
jne 0x1000cc71
push eax
push ebp
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
mov ecx, 0x100313c8
call fcn.1000cd10
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10
ret
Function at 0x1000d940
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x824
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x200
lea ebp, [esi + 0x12c]
xor eax, eax
mov edi, ebp
mov byte [esp + 0x14], al
rep stosd dword es:[edi], eax
mov ecx, 7
lea edi, [esp + 0x15]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push 0x20
push eax
mov ecx, esi
call fcn.1000da90
lea ecx, [esp + 0x14]
push ecx
push 0x800
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
je 0x1000da7c
call dword [sym.imp.DSIpcAg.dll_class_IDSIpcAg____cdecl_SCAPI_GetIDSIpcAgent_void_]
mov ebx, eax
test ebx, ebx
je 0x1000da7c
mov edx, dword [ebx]
push 0
push 0
push 0
push 0
push 0
push 0x15
push 0
push 0
push 0x3fa
mov ecx, ebx
call dword [edx]
test eax, 0x80000000
je 0x1000da7c
push eax
push str.GetSWFSIPAddress:_Drive:__x_
call fcn.1000b3f0
add esp, 8
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push 0
push 0
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x405
mov ecx, ebx
call dword [eax]
test eax, eax
jne 0x1000da7c
push eax
push eax
push eax
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x1000da65
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x34]
lea edx, [esp + 0x34]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
push edx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea eax, [esp + 0x34]
push eax
push ebp
call edi
push ebp
push str.GetSWFSIPAddress:_IP_Address:__s_
call fcn.1000b3f0
mov edi, dword [esp + 0x18]
mov eax, 1
add esp, 8
mov dword [esi + 4], eax
mov dword [esi + 0xa8], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x824
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x824
ret

Function at 0x1000dc00
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push str.DSCOWRMK.dll
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
add esi, 8
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
add esp, 0x104
ret 4
Function at 0x1000fc10
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x1000
call fcn.10018670
push ebx
push edi
mov ebx, ecx
call fcn.1000fcd0
mov ecx, ebx
mov dword [ebx + 0x14], eax
call fcn.1000fe50
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edx, eax
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 8]
push 0x10029d20
push ecx
call fcn.10019176
add esp, 8
test eax, eax
je 0x1000fcc1
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push esi
mov cl, byte [eax]
cmp cl, 0x2d
je 0x1000fc82
cmp cl, 0x2f
jne 0x1000fcad
lea esi, [eax + 1]
push str.Embedding
push esi
call edi
test eax, eax
jne 0x1000fc9a
mov dword [ebx + 0xc], 1
jmp 0x1000fcad
push str.Automation
push esi
call edi
test eax, eax
jne 0x1000fcad
mov dword [ebx + 0xc], 2
push 0x10029d20
push 0
call fcn.10019176
add esp, 8
test eax, eax
jne 0x1000fc76
pop esi
pop edi
pop ebx
add esp, 0x1000
ret
Function at 0x1000fcd0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x24c
lea eax, [esp + 0x148]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
push 0x104
push eax
push edi
mov dword [ebp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1000fde0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x54]
push ecx
push edx
lea eax, [esp + 0x160]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea edx, [esp + 0x54]
push str.Winword.exe
push edx
call esi
test eax, eax
jne 0x1000fd49
mov dword [ebp + 4], 3
lea eax, [esp + 0x54]
push str.Excel.exe
push eax
call esi
test eax, eax
jne 0x1000fd60
mov dword [ebp + 4], 1
lea ecx, [esp + 0x54]
push str.PowerPnt.exe
push ecx
call esi
test eax, eax
jne 0x1000fd77
mov dword [ebp + 4], 2
lea edx, [esp + 0x14]
lea eax, [esp + 0x158]
push edx
push eax
mov dword [esp + 0x1c], edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, edi
je 0x1000fde0
push esi
call fcn.1001821f
mov ecx, dword [esp + 0x18]
add esp, 4
mov ebx, eax
lea edx, [esp + 0x158]
push ebx
push esi
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1000fde0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x10029d24
push ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x1000fded
push ebx
call fcn.10014af4
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24c
ret
mov esi, dword [esp + 0x10]
mov ecx, 0xd
lea edi, [esp + 0x20]
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.10014af4
mov edx, dword [esp + 0x2c]
mov eax, dword [0x10029ce0]
add esp, 4
shr edx, 0x10
test eax, eax
je 0x1000fde0
mov ecx, 0x10029ce0
cmp eax, edx
jne 0x1000fe2a
mov esi, dword [ecx + 4]
mov eax, 1
cmp esi, eax
je 0x1000fe3f
mov eax, dword [ecx + 8]
add ecx, 8
test eax, eax
jne 0x1000fe1a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
pop edi
mov dword [ebp + 8], edx
mov dword [ebp + 0x14], eax
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
Function at 0x10010b60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, 0x10033e50
jmp 0x10010c10
push 0xffffffffffffffff
push 0x100201cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
push edi
push 0xc
mov dword [esp + 0x14], esi
mov byte [esi + 0x30], al
call fcn.1001821f
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ebx
mov ecx, 0x400
xor eax, eax
lea edi, [esi + 0x40]
mov dword [esi + 0x3c], ebx
push str.CGlobal::CGlobal__
push 0x10027760
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], ebx
call fcn.1000b440
mov ecx, 0x200
xor eax, eax
lea edi, [esi + 0x105c]
add esp, 8
rep stosd dword es:[edi], eax
mov ecx, 0x200
lea edi, [esi + 0x185c]
rep stosd dword es:[edi], eax
mov ecx, 0x200
lea edi, [esi + 0x205c]
rep stosd dword es:[edi], eax
mov ecx, pe_nt_image_headers32
lea edi, [esi + 0x285c]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
push str.SDSMan
push ebx
mov dword [esi + 0x1040], ebx
mov dword [esi + 0x1048], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x1044], ebx
mov dword [esi + 0x1050], ebx
mov dword [esi + 0x1054], ebx
mov dword [esi + 0x1058], ebx
call edi
push str.DSSOMMANAGER
push ebx
mov dword [esi + 4], eax
call edi
cmp eax, ebx
mov dword [esi], eax
jne 0x10010d0f
push str.Secure_Send...
push ebx
call edi
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x10012360
Capabilities:
Set global application hook

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
call esi
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push 0
push 0x100114b0
push 3
call edi
mov dword [0x10036ac8], eax
call esi
push eax
push 0
push 0x10011e50
push 4
call edi
mov dword [0x10036acc], eax
mov eax, dword [0x10036ac8]
pop edi
pop esi
ret
Function at 0x100130f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov ecx, 1
cmp dword [esi + 0x144], ecx
jbe 0x10013203
push ebx
push edi
lea eax, [esi + 0x66]
xor ebx, ebx
xor edx, edx
mov bl, byte [eax - 1]
mov dl, byte [eax + 1]
add eax, 0x10
mov edi, dword [ebx*4 + 0x1002cd20]
mov edx, dword [edx*4 + 0x1002d520]
xor ebx, ebx
xor edx, edi
mov bl, byte [eax - 0x10]
mov edi, dword [ebx*4 + 0x1002d120]
xor ebx, ebx
mov bl, byte [eax - 0x12]
xor edx, edi
mov edi, dword [ebx*4 + 0x1002c920]
xor ebx, ebx
xor edx, edi
mov dword [eax - 0x12], edx
mov bl, byte [eax - 0xc]
xor edx, edx
mov dl, byte [eax - 0xb]
mov edi, dword [ebx*4 + 0x1002d120]
xor ebx, ebx
mov edx, dword [edx*4 + 0x1002d520]
mov bl, byte [eax - 0xd]
xor edx, edi
mov edi, dword [ebx*4 + 0x1002cd20]
xor ebx, ebx
mov bl, byte [eax - 0xe]
xor edx, edi
mov edi, dword [ebx*4 + 0x1002c920]
xor ebx, ebx
xor edx, edi
mov dword [eax - 0xe], edx
mov bl, byte [eax - 8]
xor edx, edx
mov dl, byte [eax - 7]
mov edi, dword [ebx*4 + 0x1002d120]
xor ebx, ebx
mov edx, dword [edx*4 + 0x1002d520]
mov bl, byte [eax - 9]
xor edx, edi
mov edi, dword [ebx*4 + 0x1002cd20]
xor ebx, ebx
mov bl, byte [eax - 0xa]
xor edx, edi
mov edi, dword [ebx*4 + 0x1002c920]
xor ebx, ebx
xor edx, edi
mov dword [eax - 0xa], edx
mov bl, byte [eax - 4]
xor edx, edx
mov dl, byte [eax - 3]
mov edi, dword [ebx*4 + 0x1002d120]
xor ebx, ebx
mov edx, dword [edx*4 + 0x1002d520]
mov bl, byte [eax - 5]
xor edx, edi
mov edi, dword [ebx*4 + 0x1002cd20]
xor ebx, ebx
mov bl, byte [eax - 6]
xor edx, edi
mov edi, dword [ebx*4 + 0x1002c920]
xor edx, edi
inc ecx
mov dword [eax - 6], edx
mov edx, dword [esi + 0x144]
cmp ecx, edx
jb 0x1001310b
pop edi
pop ebx
pop esi
ret