joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ee70
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079056
mov eax, dword fs:[0]
push eax
sub esp, 0x640
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
lea ecx, [ebp - 0x638]
call fcn.100062d0
push 0
lea ecx, [ebp - 0x638]
call fcn.1000b980
mov dword [ebp - 4], 0
push 0x2001f
push 0x10081878
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x638]
call fcn.1000c8d0
mov dword [ebp - 0x644], eax
cmp dword [ebp - 0x644], 0
jne 0x1000f057
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.10053860
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x218]
push ecx
push 0x104
lea edx, [ebp - 0x420]
push edx
call fcn.10005990
xor eax, eax
mov byte [ebp - 0x63d], al
lea ecx, [ebp - 0x63d]
call fcn.1000ed70
push eax
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 4
lea ecx, [ebp - 0x62c]
call fcn.100062d0
lea ecx, [ebp - 0x62c]
call fcn.10002d70
mov byte [ebp - 4], 1
push str._autorun
lea eax, [ebp - 0x420]
push eax
push str.__s___s
lea ecx, [ebp - 0x62c]
push ecx
call fcn.100046a0
add esp, 0x10
push 0x208
push 0
lea edx, [ebp - 0x628]
push edx
call fcn.10053860
add esp, 0xc
mov dword [ebp - 0x63c], 0x104
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x628]
push ecx
push str.PCManage
lea ecx, [ebp - 0x638]
call fcn.1000c980
mov dword [ebp - 0x644], eax
lea edx, [ebp - 0x628]
push edx
lea ecx, [ebp - 0x62c]
call fcn.10003d50
test eax, eax
je 0x1000f024
push 1
lea ecx, [ebp - 0x62c]
call fcn.100034b0
push eax
push str.PCManage
lea ecx, [ebp - 0x638]
call fcn.10011470
mov dword [ebp - 0x648], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x62c]
call fcn.10003140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x638]
call fcn.1000bd00
mov eax, dword [ebp - 0x648]
jmp 0x1000f079
mov dword [ebp - 0x64c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x638]
call fcn.1000bd00
mov eax, dword [ebp - 0x64c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret

Function at 0x10010cd0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ecx + 0x100a4038]
test edx, edx
jne 0x10010d0a
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
push 0x100a4038
push 2
call sub.Secur32.dll_GetUserNameExW
mov eax, 0x100a4038
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret
Function at 0x10010d20
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ecx + 0x100a3e38]
test edx, edx
jne 0x10010d59
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
push 0x100a3e38
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, 0x100a3e38
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret

Function at 0x10010d70
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x420], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.10053860
add esp, 0xc
mov dword [ebp - 0x418], 0x104
mov dword [ebp - 0x41c], 1
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x41c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x10081a60
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x20c]
test ecx, ecx
je 0x10010e03
mov dword [ebp - 0x420], 1
jmp 0x10010e88
push 0x208
push 0
lea edx, [ebp - 0x414]
push edx
call fcn.10053860
add esp, 0xc
mov dword [ebp - 0x418], 0x104
mov dword [ebp - 0x41c], 1
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x41c]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x10081ac0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x414]
test eax, eax
je 0x10010e76
mov dword [ebp - 0x420], 1
jmp 0x10010e88
mov dword [ebp - 0x420], 0
xor ecx, ecx
jne 0x10010d8d
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret

Function at 0x10011470
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x10011479
cmp dword [ebp + 0xc], 0
je 0x1001148c
mov dword [ebp - 0xc], 1
jmp 0x10011493
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x100114a6
mov eax, 0xd
jmp 0x100114fb
xor edx, edx
jne 0x1001147d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x100114b9
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
lea eax, [edx + edx + 2]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10017ff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x4c
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0xd], 0x78
mov byte [ebp - 0xc], 0x70
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 9], 0x69
mov byte [ebp - 8], 0x6e
mov byte [ebp - 7], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.10017960
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret 4

Function at 0x100183d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp - 0x214]
cmp dword [eax], 0
je 0x100183f9
jmp 0x1001852a
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.10053860
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor ecx, ecx
mov byte [ebp - 0x20d], cl
lea ecx, [ebp - 0x20d]
call fcn.10018070
push eax
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10018467
jmp 0x1001852a
lea ecx, [ebp - 0x20c]
push ecx
call fcn.10039ee0
add esp, 4
test eax, eax
jne 0x1001847f
jmp 0x1001852a
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x100184a0
jmp 0x1001852a
xor eax, eax
mov byte [ebp - 0x20e], al
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x20e]
call fcn.10017ff0
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
call fcn.100034b0
push eax
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x224]
call fcn.10003140
cmp dword [ebp - 0x21c], 0
je 0x10018522
call dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x214]
mov dword [ecx], eax
mov edx, dword [ebp - 0x214]
cmp dword [edx], 0
je 0x10018522
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x214]
mov eax, dword [ecx]
mov ecx, dword [edx]
mov edx, dword [eax]
call edx
xor eax, eax
jne 0x100183e9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret
Function at 0x1001be70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1288
call fcn.10036c70
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1280], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.10053860
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov byte [ebp - 0x1279], al
lea ecx, [ebp - 0x1279]
call fcn.1001b7e0
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call sym.nativeutils.dll_CheckSign
test eax, eax
jne 0x1001bf04
mov eax, dword [ebp - 0x1280]
jmp 0x1001c04d
push 0x44
push 0
lea eax, [ebp - 0x1268]
push eax
call fcn.10053860
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x1268]
push ecx
call fcn.10053860
add esp, 0xc
mov dword [ebp - 0x1268], 0x44
lea edx, [ebp - 0x1268]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x123c], 1
xor eax, eax
mov word [ebp - 0x1238], ax
xor ecx, ecx
mov dword [ebp - 0x1278], ecx
mov dword [ebp - 0x1274], ecx
mov dword [ebp - 0x1270], ecx
mov dword [ebp - 0x126c], ecx
xor edx, edx
mov dword [ebp - 0x1278], edx
mov dword [ebp - 0x1274], edx
mov dword [ebp - 0x1270], edx
mov dword [ebp - 0x126c], edx
lea eax, [ebp - 0x1224]
push eax
call fcn.1001bb10
add esp, 4
mov dword [ebp - 0x1288], 0x800
push 0x1000
push 0
lea ecx, [ebp - 0x120c]
push ecx
call fcn.10053860
add esp, 0xc
lea ecx, [ebp - 0x1224]
call fcn.100083a0
push eax
lea edx, [ebp - 0x20c]
push edx
push str.__s___hs__frompcmanage
lea eax, [ebp - 0x120c]
push eax
call fcn.1001b2f0
add esp, 0x10
lea ecx, [ebp - 0x1278]
push ecx
lea edx, [ebp - 0x1268]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x120c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x1280], eax
cmp dword [ebp - 0x1280], 0
jne 0x1001c030
mov ecx, dword [ebp - 0x1274]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1278]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1280]
mov dword [ebp - 0x1284], eax
lea ecx, [ebp - 0x1224]
call fcn.10008120
mov eax, dword [ebp - 0x1284]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret
Function at 0x1001c230
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1001be50
test eax, eax
ja 0x1001c257
xor eax, eax
jmp 0x1001c3d1
mov dword [ebp - 0x28], 0
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x10]
call fcn.1001be50
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
call fcn.1001be30
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.100633a8
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1001c297
xor eax, eax
jmp 0x1001c3d1
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.10052d60
add esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x1001c2bd
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x18]
jae 0x1001c330
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xc]
and edx, 0x80000007
jns 0x1001c2de
dec edx
or edx, 0xfffffff8
inc edx
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx]
xor ecx, edx
mov eax, dword [ebp - 0xc]
cdq
mov esi, 0x11
idiv esi
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx + 8]
xor ecx, edx
mov eax, dword [ebp - 0xc]
cdq
mov esi, 0x1b
idiv esi
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx + 0x19]
xor ecx, edx
mov eax, dword [ebp - 0xc]
cdq
mov esi, 0x23
idiv esi
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx + 0x34]
xor ecx, edx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov byte [eax], cl
jmp 0x1001c2b4
lea ecx, [ebp - 8]
push ecx
push 0
push 0x40000001
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.10036cc5
add esp, 4
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x40000001
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1001c394
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.100632cf
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x14]
push edx
call fcn.10056e40
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10036cce
add esp, 4
cmp dword [ebp - 0x24], 0
jne 0x1001c3c1
mov dword [ebp - 0x34], 0
jmp 0x1001c3ce
mov dword [ebp - 0x1c], 0x8123
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x28]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret
Function at 0x1001cb30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.10053860
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov byte [ebp - 0x20d], al
lea ecx, [ebp - 0x20d]
call fcn.1001cae0
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001cbbe
mov eax, dword [ebp - 0x214]
jmp 0x1001cc12
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x1001cc0c
push 0x10084834
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x1001cc0c
push 0x10084838
call dword [ebp - 0x21c]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret

Function at 0x1001cc20
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1001ccad
mov ecx, 0xc
imul edx, ecx, 0
lea eax, [ebp + edx - 0x10]
push eax
push 0x10084c4c
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [ebp - 0x14], 1
mov ecx, 0xc
imul edx, ecx, 0
mov dword [ebp + edx - 8], 2
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1001cca1
mov dword [ebp - 0x1c], 1
jmp 0x1001cca8
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
jmp 0x1001ccb2
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret

Function at 0x1001ce30
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x100a4320], 0
je 0x1001ce42
or eax, 0xffffffff
jmp 0x1001ce6b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x1001cce0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x100a4320], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1001d5a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079cab
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x21c], 0x104
mov ax, word [0x100854e8]
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.10053860
add esp, 0xc
xor edx, edx
mov byte [ebp - 0x2a5], dl
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0x100854ec
lea ecx, [ebp - 0x2a5]
call fcn.1001d240
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0x84
lea ecx, [ebp - 0x2a4]
call fcn.100062d0
push 0xfde9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.10008720
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2a4]
call fcn.100034b0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x2ac], eax
cmp dword [ebp + 8], 0
jne 0x1001d6b0
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b0], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.100087a0
mov eax, dword [ebp - 0x2b0]
jmp 0x1001d72b
lea ecx, [ebp - 0x2a4]
call fcn.100034b0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
cmp eax, dword [ebp + 0xc]
jle 0x1001d6ee
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.100087a0
mov eax, dword [ebp - 0x2b4]
jmp 0x1001d72b
lea ecx, [ebp - 0x2a4]
call fcn.100034b0
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1000e430
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.100087a0
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret 8
Function at 0x1001f400
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x1c]
mov ax, word [edx]
mov word [ebp - 0x26], ax
add dword [ebp - 0x1c], 2
cmp word [ebp - 0x26], 0
jne 0x1001f41f
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x38]
sar ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 3
jae 0x1001f452
xor eax, eax
jmp 0x1001f589
push str.Preferred_DropEffect
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [ebp - 0x48], eax
push 4
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], 1
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x14
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + ecx + 0x18]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov ecx, dword [ebp - 0x14]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x2c]
shl ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x30]
add eax, 0x14
push eax
call fcn.10052d60
add esp, 0xc
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 0x34], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1001f572
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edx, dword [ebp - 0x24]
push edx
push 0xf
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 0x34], 1
jmp 0x1001f586
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret 4