joyce8/EMBER2024-capa huggingface dataset:
Function at 0x110fed70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x408], 0x400
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x404]
push edx
push 0
push 0
push str.InstallLocation
push esi
call edi
lea eax, [ebp - 0x404]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110fedd7
sub eax, edx
sar eax, 1
jne 0x110fee67
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x404]
push ecx
push 0
push 0
push str.DisplayIcon
push esi
mov dword [ebp - 0x408], 0x400
call edi
test eax, eax
jne 0x110fee67
lea eax, [ebp - 0x404]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110fee20
sub eax, edx
sar eax, 1
je 0x110fee67
lea edx, [ebp - 0x404]
push 0x2c
push edx
call dword [sym.imp.MSVCR100.dll_wcschr]
add esp, 8
test eax, eax
je 0x110fee4c
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x404]
push 0x5c
push edx
call dword [sym.imp.MSVCR100.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x110fee67
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x404]
pop edi
lea edx, [eax + 2]
pop esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110fee72
mov ecx, dword [ebp - 0x40c]
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x404]
push edx
add ecx, 0x4c
call fcn.11004e40
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 4
Function at 0x110ffd30
Capabilities:
Access firewall rule properties via inetfwrule

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e3df0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x11279148]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
push esi
push 0x112214f4
push 1
push 0
push 0x11221514
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x110ffd8a
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.110ff710
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0
call fcn.110ff710
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 4], 1
test ebx, ebx
je 0x110ffdb8
mov ecx, dword [ebx]
jmp 0x110ffdba
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x20]
call eax
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x110ffdd0
mov ecx, dword [edi]
jmp 0x110ffdd2
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x30]
call eax
mov eax, dword [esi]
mov edx, dword [ebp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x70]
push 1
push eax
call edx
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x98]
push closesocket
push eax
call edx
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 1
push eax
call edx
mov esi, dword [esi]
mov eax, dword [esi]
mov ecx, dword [eax + 0x88]
push 0xffffffffffffffff
push esi
call ecx
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test edi, edi
je 0x110ffe61
lea edx, [edi + 8]
push edx
call esi
test eax, eax
jne 0x110ffe61
mov eax, dword [edi]
test eax, eax
je 0x110ffe48
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x110ffe58
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
test ebx, ebx
je 0x110ffe95
lea eax, [ebx + 8]
push eax
call esi
test eax, eax
jne 0x110ffe95
mov eax, dword [ebx]
test eax, eax
je 0x110ffe7c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x110ffe8c
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push ebx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x11100240
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e3e86
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push ebx
mov esi, ecx
mov dword [ebp - 0xc4], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], ebx
lea eax, [esi + 0x58]
cmp dword [esi + 0x68], ebx
ja 0x11100290
lea eax, [esi + 4]
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x20]
push ecx
push eax
push edi
lea ecx, [ebp - 0xc0]
call fcn.110ff640
lea edx, [ebp - 0x7c]
push edx
push 0x112214c8
push 1
push ebx
push 0x112214ac
mov dword [ebp - 0xc0], 0x112214c0
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0xbc]
dec eax
mov byte [ebp - 4], 1
je 0x111002f1
dec eax
je 0x111002ee
dec eax
jne 0x11100303
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax + 4]
lea ecx, [ebp - 0xc0]
call edx
jmp 0x11100303
push ebx
jmp 0x111002f3
push 1
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax]
lea ecx, [ebp - 0xc0]
call edx
cmp edi, 1
jne 0x1110032e
cmp dword [esi + 0x18], 8
jb 0x1110031e
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov esi, dword [esi + 4]
push str.Enabled
push eax
jmp 0x11100367
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str.Enabled
add esi, 4
push eax
jmp 0x11100367
cmp edi, 2
jne 0x1110034d
cmp dword [esi + 0x18], 8
jb 0x11100343
mov esi, dword [esi + 4]
push 0x11221544
jmp 0x11100360
add esi, 4
push 0x11221544
jmp 0x11100360
cmp dword [esi + 0x18], 8
jb 0x11100358
mov esi, dword [esi + 4]
jmp 0x1110035b
add esi, 4
push str.Removed
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
call fcn.11048930
add esp, 8
push esi
mov edi, eax
call fcn.110fe3f0
push eax
push edi
call fcn.11048930
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
add esp, 0xc
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x111003a3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], bl
call fcn.110ff310
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 4
Function at 0x11100900
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x408]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x410], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x111009fe
push ebx
push esi
push edi
xor bl, bl
xor edi, edi
test bl, bl
jne 0x111009ee
lea ecx, [ebp - 0x41c]
push ecx
mov ecx, dword [ebp - 0x408]
push 0
push 0
push 0
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x404]
push eax
push edi
push ecx
mov dword [ebp - 0x414], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
test esi, esi
jne 0x111009e5
mov ecx, dword [ebp - 0x408]
lea edx, [ebp - 0x40c]
push edx
push 0x20019
push eax
lea eax, [ebp - 0x404]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x111009e5
mov edx, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x410]
push edx
call fcn.110fe830
test al, al
je 0x111009d8
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x410]
push eax
call fcn.110fed70
mov bl, 1
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
test esi, esi
je 0x11100946
mov edx, dword [ebp - 0x408]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x11103d40
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x2b4
mov esi, ecx
lea ecx, [ebp - 0x2b8]
push ebx
push ecx
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 0x2ba], 1
mov dword [ebp - 0x2c0], ebx
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2c4], ebx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x2cc]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
setns cl
mov byte [ebp - 0x2b9], cl
cmp cl, bl
je 0x11103eba
lea ebx, [ebx]
cmp byte [ebp - 0x2ba], bl
je 0x11103eb4
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x2c4]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
sete al
mov byte [ebp - 0x2ba], al
cmp al, bl
je 0x11103dc0
mov eax, dword [ebp - 0x2c4]
lea ecx, [ebp - 0x2c8]
push ecx
lea edx, [ebp - 0x2c0]
push edx
push eax
push edi
mov ecx, esi
call fcn.11103080
mov edx, dword [ebp - 0x2c8]
push 0xc00
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push ebx
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
test eax, 0x20000000
je 0x11103e54
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0x2c4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.11103f00
jmp 0x11103e70
test eax, 0x10000
je 0x11103e70
mov edx, dword [ebp - 0x2c8]
mov eax, dword [ebp - 0x2c0]
push edx
push eax
mov ecx, esi
call fcn.11103b80
mov ecx, dword [ebp - 0x2c4]
cmp ecx, ebx
je 0x11103e89
mov eax, dword [ebp - 0x2cc]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov eax, dword [ebp - 0x2c0]
cmp eax, ebx
je 0x11103e9a
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x2c8]
cmp eax, ebx
je 0x11103dc0
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x11103dc0
mov cl, byte [ebp - 0x2b9]
mov eax, dword [ebp - 0x2cc]
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x11103ee5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, byte [ebp - 0x2b9]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8
mov al, cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8
Function at 0x11106350
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ecx + 4], 0
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x11c], ecx
je 0x1110639a
push str.already_created
push 0xf4
call fcn.11106280
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8
cmp byte [ecx + 5], 0
je 0x111063c3
push str.already_opened
push 0xf6
call fcn.11106280
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8
push esi
xor eax, eax
push 0x5c
push ebx
mov word [edi], ax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
add esp, 8
lea ecx, [ebp - 0x118]
push ecx
mov esi, eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jae 0x11106400
test esi, esi
je 0x1110641f
lea ebx, [esi + 2]
jmp 0x1110641f
test esi, esi
jne 0x1110641f
mov eax, str.Local_
mov edx, edi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x11106410
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11106423
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x11106433
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebx
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 2]
pop esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11106455
sub eax, edx
sar eax, 1
cmp eax, 0x40
jbe 0x11106492
mov ecx, dword [ebp - 0x11c]
push str.name_too_long
push 0x118
call fcn.11106280
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x11c]
add edx, 0x40
mov eax, ebx
sub edx, ebx
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x111064a0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8
Function at 0x11107440
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
test esi, esi
je 0x111074f8
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 1
push esi
mov dword [ebp - 0x10], 1
call ebx
mov eax, dword [ebp - 0x10]
call fcn.111d9480
mov edi, esp
test edi, edi
je 0x111074f6
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
push ecx
push edx
push edi
push 1
push esi
call ebx
test eax, eax
je 0x111074f6
mov eax, dword [0x1127d35c]
test eax, eax
jne 0x111074cf
push 0x1127d35c
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x12
mov dword [ebp - 0xc], eax
push 1
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov eax, dword [0x1127d35c]
test eax, eax
je 0x111074f6
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x111074f6
mov eax, 1
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x111094e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e4a5b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0
push 0x104
push ebx
push str.JournalPath
push 0x11218754
call edx
xor eax, eax
mov esi, ebx
mov word [ebp - 0x420], ax
call fcn.11107e90
test al, al
je 0x11109564
lea edx, [ebp - 0x218]
mov eax, ebx
sub edx, ebx
jmp 0x11109550
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x11109550
jmp 0x111095f0
lea ecx, [ebp - 0x420]
push ecx
push 0
push 0
push 0x8005
push 0
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathW]
xor eax, eax
mov edi, edi
movzx ecx, word [ebp + eax - 0x420]
mov word [ebp + eax - 0x218], cx
add eax, 2
test cx, cx
jne 0x11109580
cmp word [ebx], cx
je 0x111095f0
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x111095a6
mov edx, dword [0x11203288]
mov eax, ebx
mov dword [edi], edx
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x111095c0
lea edi, [ebp - 0x218]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x111095d6
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x218]
push eax
call fcn.111b7a20
mov esi, eax
add esp, 4
mov dword [ebp - 0x424], esi
mov edx, ebx
mov dword [ebp - 4], 0
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x11109612
push ebx
call fcn.110e46f0
add esp, 4
cmp eax, 0x5c
jne 0x1110964a
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11109634
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [ebx + eax*2 - 2], cx
push ebx
call fcn.111ba670
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x1110fb60
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp ebx, 0x302
jne 0x1110fbb6
cmp dword [esi + 0x88], 0
je 0x1110fbb6
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1110fbb6
push edi
push 2
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov edi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
test edi, edi
pop edi
je 0x1110fbb6
mov eax, dword [esi + 0x8c]
push 0
push 0x358
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ecx
push edx
push ebx
push eax
mov ecx, esi
call fcn.11137320
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x11110130
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
push 0x358
push eax
call ebx
test eax, eax
je 0x11110198
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x11110167
push 2
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov edi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [esi + 0xc], 0
jne 0x11110184
push 0xbd
push str.e:_nsmsrc_nsm14101410fctl32_nsmdlg.h
push 0x111f761c
call fcn.11067750
add esp, 0xc
mov ecx, dword [esi + 0xc]
push 0x358
push ecx
call ebx
push edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
pop ebx
ret
Function at 0x11110b70
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push edi
xor edi, edi
push edi
mov ebx, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x11110bf3
push 8
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x11110bb7
push esi
push 8
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x11110bb6
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push eax
call fcn.11146da0
add esp, 8
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop esi
call dword [sym.imp.USER32.dll_CloseClipboard]
test edi, edi
je 0x11110bf3
push edi
mov ecx, ebx
call fcn.1110ffa0
mov eax, dword [ebx + 0x2f4]
test eax, eax
je 0x11110bda
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x2f4], edi
pop edi
mov dword [ebx + 0x318], 0xffffffff
mov ecx, ebx
pop ebx
jmp fcn.111106f0
pop edi
pop ebx
ret
Function at 0x111118a0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e5338
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x11279148]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ebx, [edi + 0x48]
xor esi, esi
mov dword [ebp - 0x10], ebx
cmp word [ebx], si
jne 0x11111a14
mov eax, dword [edi + 0x44]
cmp eax, esi
je 0x11111a14
lea ecx, [ebp - 0x3c]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x11111a14
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x24]
mov dword [edi + 0x254], edx
mov dword [edi + 0x258], eax
call fcn.1113dd30
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], esi
cmp eax, esi
je 0x11111924
cmp word [eax], si
jne 0x11111953
mov edx, dword [0x1127d378]
mov eax, dword [edx]
mov ecx, 0x1127d378
call eax
test al, al
jne 0x1111194e
push 0x261
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov eax, dword [0x1127d384]
push ebx
push esi
push 0x1121760c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x11111a05
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.PCIImage.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x111119f9
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CompressBitmapToJPEGEx
push eax
call ebx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x111119ca
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x111119b4
push 0
push 0x4b
push str.JpegQuality
push 0x11218754
call fcn.110bbc00
test eax, eax
jne 0x111119b9
mov eax, 0x4b
mov ecx, dword [ebp - 0x10]
mov edx, dword [edi + 0x44]
push eax
push ecx
push edx
call dword [ebp - 0x14]
add esp, 0xc
jmp 0x111119e6
mov eax, dword [ebp + 0xc]
push str.CompressBitmapToJPEG
push eax
call ebx
test eax, eax
je 0x111119e8
mov ecx, dword [ebp - 0x10]
mov edx, dword [edi + 0x44]
push ecx
push edx
call eax
add esp, 8
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
jne 0x11111a05
mov ebx, dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
mov word [ebx], cx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.1113cd80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x11111ce0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push edi
push 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x11111dfe
mov eax, dword [esi + 0x274]
test eax, eax
je 0x11111d3b
lea esi, [ebp - 0x14]
mov edx, esi
push edx
push eax
call dword [sym.imp.GDI32.dll_GetRgnBox]
jmp 0x11111d3e
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov ebx, dword [esi + 8]
sub ebx, dword [esi]
push eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x44], eax
test eax, eax
je 0x11111df4
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x274], 0
mov dword [ebp - 0x28], eax
je 0x11111dc9
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [ebp - 0x24]
push 0xff0062
push eax
mov eax, dword [ebp - 0x18]
push ecx
push edx
push eax
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [ebp - 0x1c]
neg ecx
push ecx
mov ecx, dword [eax + 0x274]
neg edx
push edx
push ecx
call dword [sym.imp.GDI32.dll_OffsetRgn]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x274]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [ebp - 0x24]
push 0xcc0020
push ecx
mov ecx, dword [ebp - 0x18]
push edx
push eax
push ecx
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp - 0x28]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebx, dword [ebp - 0x20]
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8