joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460a24
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x460bcf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460bb0
mov dl, 1
mov eax, dword [0x416124]
call fcn.0040313c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403edc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x460b9f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044db20
test al, al
je 0x460b92
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x460be0
lea eax, [ebp - 0x254]
call fcn.00408ef4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x460b92
xor eax, eax
push ebp
push 0x460b8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x460c18
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x460b74
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040414c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x460b74
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040414c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460b92
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x460a95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041aaa4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460bd6
lea eax, [ebp - 0x260]
call fcn.00403edc
ret

Function at 0x461504
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x47cbb8]
cmp byte [eax + 0xa5], 0
jne 0x461575
cmp dword [0x47cbd0], 0
jne 0x461536
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4614c0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47cbd0], eax
cmp dword [0x47cbcc], 0
jne 0x461551
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47cbcc], eax
cmp dword [0x47cbd4], 0
jne 0x461575
push esp
push 0
push 0
push 0x461464
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47cbd4], eax
pop edx
ret
Function at 0x46166c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x461683
add esp, 0xfffffff0
call fcn.00403490
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e9e4
mov eax, dword [0x47b2a4]
cmp word [eax + 2], 0
jne 0x4616ab
mov eax, dword [0x47b2a4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462dec
mov eax, dword [0x47b35c]
cmp word [eax + 2], 0
jne 0x4616c5
mov eax, dword [0x47b35c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462fe4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415a08]
call fcn.0040313c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415a08]
call fcn.0040313c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x420f60]
call fcn.00428828
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46184c
mov eax, dword [0x47b1b8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428bf8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x463584
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47b1b8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c6a4
test eax, eax
je 0x4617ba
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004088d4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c6cc
test eax, eax
je 0x4617ce
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040414c
mov eax, dword [0x47b084]
cmp byte [eax], 0
jne 0x461802
mov eax, ebx
call fcn.00461974
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00463760
mov eax, ebx
call fcn.00464124
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x461842
call fcn.004034e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461bf4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47cbb8]
cmp dword [eax + 0x30], 0
je 0x461c9e
cmp dword [ebx + 0x94], 0
jne 0x461c98
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x461b84
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461c98
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x461c5e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461c98
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041815c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x461c6d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x462800
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x462835
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403fcc
jmp 0x462842
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f30
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46393c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46397d
mov eax, esi
call fcn.004490e8
test al, al
je 0x46397d
mov eax, dword [ebx + 0x84]
call fcn.00448de4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46397d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00448de4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46fef4
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], edx
mov edi, eax
mov byte [esp + 4], 1
xor ebx, ebx
xor esi, esi
jmp 0x470060
xor eax, eax
mov al, byte [esp + 5]
cmp eax, 0x3d
jg 0x46ff3c
je 0x46ffdd
sub eax, 0x2b
je 0x46ffbf
sub eax, 4
je 0x46ffce
dec eax
sub eax, 0xa
jb 0x46ff97
jmp 0x470060
add eax, 0xffffffbf
sub eax, 0x1a
jb 0x46ff51
add eax, 0xfffffffa
sub eax, 0x1a
jb 0x46ff6f
jmp 0x470060
shl ebx, 6
xor eax, eax
mov al, byte [esp + 5]
add ebx, eax
jno 0x46ff63
call fcn.004030ac
sub ebx, 0x41
jno 0x46ff6d
call fcn.004030ac
jmp 0x46ffe0
shl ebx, 6
xor eax, eax
mov al, byte [esp + 5]
add ebx, eax
jno 0x46ff81
call fcn.004030ac
sub ebx, 0x61
jno 0x46ff8b
call fcn.004030ac
add ebx, 0x1a
jno 0x46ff95
call fcn.004030ac
jmp 0x46ffe0
shl ebx, 6
xor eax, eax
mov al, byte [esp + 5]
add ebx, eax
jno 0x46ffa9
call fcn.004030ac
sub ebx, 0x30
jno 0x46ffb3
call fcn.004030ac
add ebx, 0x34
jno 0x46ffbd
call fcn.004030ac
jmp 0x46ffe0
shl ebx, 6
add ebx, 0x3e
jno 0x46ffcc
call fcn.004030ac
jmp 0x46ffe0
shl ebx, 6
add ebx, 0x3f
jno 0x46ffdb
call fcn.004030ac
jmp 0x46ffe0
shl ebx, 6
cmp byte [esp + 5], 0x3d
je 0x46fffe
add esi, 1
jno 0x46fff1
call fcn.004030ac
and esi, 0x80000003
jns 0x46fffe
dec esi
or esi, 0xfffffffc
inc esi
test esi, esi
jne 0x470060
mov eax, ebx
shr eax, 0x10
and eax, 0xff
cmp eax, 0xff
jbe 0x470018
call fcn.004030a4
mov byte [esp + 6], al
mov eax, ebx
shr eax, 8
and eax, 0xff
cmp eax, 0xff
jbe 0x470032
call fcn.004030a4
mov byte [esp + 7], al
and ebx, 0xff
cmp ebx, 0xff
jbe 0x470049
call fcn.004030a4
mov byte [esp + 8], bl
lea edx, [esp + 6]
mov ecx, 3
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor ebx, ebx
lea edx, [esp + 5]
mov ecx, 1
mov eax, edi
mov ebp, dword [eax]
call dword [ebp + 0xc]
dec eax
je 0x46ff0e
sub esi, 1
jb 0x470101
dec esi
je 0x470088
dec esi
je 0x4700b5
jmp 0x4700fc
shr ebx, 0x10
and ebx, 0xff
cmp ebx, 0xff
jbe 0x47009e
call fcn.004030a4
mov byte [esp + 6], bl
lea edx, [esp + 6]
mov ecx, 1
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x10]
jmp 0x470101
mov eax, ebx
shr eax, 0x10
and eax, 0xff
cmp eax, 0xff
jbe 0x4700cb
call fcn.004030a4
mov byte [esp + 6], al
shr ebx, 8
and ebx, 0xff
cmp ebx, 0xff
jbe 0x4700e5
call fcn.004030a4
mov byte [esp + 7], bl
lea edx, [esp + 6]
mov ecx, 2
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x10]
jmp 0x470101
mov byte [esp + 4], 0
mov al, byte [esp + 4]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4702fc
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
add esp, 0xffffffb0
mov dword [esp + 4], edx
mov dword [esp], eax
xor eax, eax
lea edx, [esp + 0xf]
xor ecx, ecx
mov cl, al
mov ebx, ecx
add ebx, 0x41
jno 0x47031e
call fcn.004030ac
cmp ebx, 0xff
jbe 0x47032b
call fcn.004030a4
mov byte [edx], bl
mov ebx, ecx
add ebx, 0x61
jno 0x470339
call fcn.004030ac
cmp ebx, 0xff
jbe 0x470346
call fcn.004030a4
push ebx
add ecx, 0x1a
jno 0x470351
call fcn.004030ac
cmp ecx, 0x3f
jbe 0x47035b
call fcn.004030a4
pop ebx
mov byte [esp + ecx + 0xf], bl
inc eax
inc edx
cmp al, 0x1a
jne 0x47030e
xor eax, eax
xor edx, edx
mov dl, al
mov ecx, edx
add ecx, 0x30
jno 0x470378
call fcn.004030ac
cmp ecx, 0xff
jbe 0x470385
call fcn.004030a4
add edx, 0x34
jno 0x47038f
call fcn.004030ac
cmp edx, 0x3f
jbe 0x470399
call fcn.004030a4
mov byte [esp + edx + 0xf], cl
inc eax
cmp al, 0xa
jne 0x470368
mov byte [esp + 0x4d], 0x2b
mov byte [esp + 0x4e], 0x2f
lea edx, [esp + 8]
mov ecx, 3
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
cmp ebx, 3
jne 0x470469
mov al, byte [esp + 8]
xor edx, edx
mov dl, al
shr edx, 2
cmp edx, 0x3f
jbe 0x4703dd
call fcn.004030a4
mov dl, byte [esp + edx + 0xf]
mov byte [esp + 0xb], dl
and al, 3
and eax, 0xff
shl eax, 4
mov dl, byte [esp + 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or eax, ecx
cmp eax, 0x3f
jbe 0x470406
call fcn.004030a4
mov al, byte [esp + eax + 0xf]
mov byte [esp + 0xc], al
and dl, 0xf
and edx, 0xff
shl edx, 2
mov al, byte [esp + 0xa]
xor ecx, ecx
mov cl, al
shr ecx, 6
or edx, ecx
cmp edx, 0x3f
jbe 0x470431
call fcn.004030a4
mov dl, byte [esp + edx + 0xf]
mov byte [esp + 0xd], dl
and al, 0x3f
and eax, 0xff
cmp eax, 0x3f
jbe 0x47044a
call fcn.004030a4
mov al, byte [esp + eax + 0xf]
mov byte [esp + 0xe], al
lea edx, [esp + 0xb]
mov ecx, 4
mov eax, dword [esp + 4]
mov esi, dword [eax]
call dword [esi + 0x10]
jmp 0x4703ac
cmp ebx, 1
jne 0x4704c5
mov al, byte [esp + 8]
xor edx, edx
mov dl, al
shr edx, 2
cmp edx, 0x3f
jbe 0x470483
call fcn.004030a4
mov dl, byte [esp + edx + 0xf]
mov byte [esp + 0xb], dl
and al, 3
and eax, 0xff
shl eax, 4
cmp eax, 0x3f
jbe 0x47049f
call fcn.004030a4
mov al, byte [esp + eax + 0xf]
mov byte [esp + 0xc], al
mov byte [esp + 0xd], 0x3d
mov byte [esp + 0xe], 0x3d
lea edx, [esp + 0xb]
mov ecx, 4
mov eax, dword [esp + 4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
jmp 0x470543
cmp ebx, 2
jne 0x470543
mov al, byte [esp + 8]
xor edx, edx
mov dl, al
shr edx, 2
cmp edx, 0x3f
jbe 0x4704df
call fcn.004030a4
mov dl, byte [esp + edx + 0xf]
mov byte [esp + 0xb], dl
and al, 3
and eax, 0xff
shl eax, 4
mov dl, byte [esp + 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or eax, ecx
cmp eax, 0x3f
jbe 0x470508
call fcn.004030a4
mov al, byte [esp + eax + 0xf]
mov byte [esp + 0xc], al
and dl, 0xf
xor eax, eax
mov al, dl
shl eax, 2
cmp eax, 0x3f
jbe 0x470524
call fcn.004030a4
mov al, byte [esp + eax + 0xf]
mov byte [esp + 0xd], al
mov byte [esp + 0xe], 0x3d
lea edx, [esp + 0xb]
mov ecx, 4
mov eax, dword [esp + 4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
add esp, 0x50
pop esi
pop ebx
ret
Function at 0x471850
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.0040419c
mov edx, eax
test edx, edx
jle 0x4718a5
mov esi, 1
dec esi
test edi, edi
je 0x471873
cmp esi, dword [edi - 4]
jb 0x471878
call fcn.004030a4
inc esi
mov al, byte [edi + esi - 1]
cmp al, 0x41
jb 0x47188e
cmp al, 0x5a
ja 0x47188e
add al, 0x20
jae 0x47188e
call fcn.004030ac
mov ecx, ebx
shl ecx, 2
shr ebx, 0x1e
or ecx, ebx
and eax, 0xff
xor ecx, eax
mov ebx, ecx
inc esi
dec edx
jne 0x471869
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x100101c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100eb6bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.100e0589
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10010242
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100de49b
mov eax, dword [eax]
push 0x1010cc50
push eax
call fcn.100ce194
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100e0814
test bl, bl
je 0x10010242
push 0x1010cc50
lea ecx, [esp + 0xc]
call fcn.100e0ba4
push 0x1010cc5c
lea ecx, [esp + 0xc]
call fcn.100e0ba4
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x1001027e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100e0814
jmp 0x10010349
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x10010302
lea edx, [esp + 0x7c]
push 0x1010cc58
push edx
call fcn.100ce194
add esp, 8
test eax, eax
je 0x10010302
lea eax, [esp + 0x7c]
push 0x1010cc54
push eax
call fcn.100ce194
add esp, 8
test eax, eax
je 0x10010302
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10010292
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.100e0814
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x10010b50
Capabilities:
Query or enumerate registry value

Disassembly:
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 0x10010bb2
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 0x10010bc0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100eb73b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x10121bd0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x10010cf8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10010c26
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100e0814
xor eax, eax
jmp 0x10010d6f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100e0951
push esi
lea ecx, [esp + 0xc]
call fcn.100e0be0
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x10010d4d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.10010b50
test eax, eax
jne 0x10010d4d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.10010b50
test eax, eax
jne 0x10010d4d
lea eax, [esp + 0x14]
push 0x1010cc6c
push eax
call fcn.100cf390
mov esi, eax
add esp, 8
test esi, esi
jne 0x10010d2c
lea ecx, [esp + 0x14]
push 0x1010cc68
push ecx
call fcn.100cf310
mov esi, eax
add esp, 8
test esi, esi
jne 0x10010d2c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x10010d2f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.100e0901
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x10010c3e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100e0814
xor eax, eax
jmp 0x10010d6f
mov byte [esi], 0
push 0x1010cc64
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.100e0814
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x100200b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x1002011e
cmp si, 0x69
ja 0x1002011e
add esi, 0xffd0
cmp si, 0x11
je 0x100200ee
push 0x11
call edi
test ax, ax
jge 0x100200ee
or esi, 0x2000
cmp si, 0x10
je 0x10020103
push 0x10
call edi
test ax, ax
jge 0x10020103
or esi, 0x4000
cmp si, 0x12
je 0x10020118
push 0x12
call edi
test ax, ax
jge 0x10020118
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1002012b
mov esi, 0xbd
jmp 0x100200df
cmp si, 0x6e
jne 0x10020138
mov esi, 0xbe
jmp 0x100200df
cmp si, 0x6f
jne 0x100200d9
mov esi, 0xbf
jmp 0x100200df

Function at 0x100218b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x10132b08]
xor edx, edx
cmp eax, edx
jne 0x100218d6
xor eax, eax
mov byte [eax + 0x10132a08], al
inc eax
cmp eax, 0x100
jl 0x100218be
mov dword [0x10132b08], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x10132a08
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10021967
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x1002193a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x10021908
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x100219e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x10021a33
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x10021a1a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10028ab0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x10028c48
cmp ebp, ebx
jle 0x10028c48
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x10028b0e
dec eax
or eax, 0xfffffff8
inc eax
je 0x10028b15
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x10028b24
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x10028b2b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.100e0555
add esp, 4
cmp eax, ebx
je 0x10028b4c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.100e0555
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x10028c3e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x10028c25
mov al, byte [edx]
cmp al, 0xc0
jbe 0x10028c11
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x10028c06
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x10028c14
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x10028c14
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x10028bb0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x10028ba1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret