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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push dword [0x1404802c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1401d0a6
xor eax, eax
leave
ret
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x10]
leave
ret

Function at 0x1401d0cb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor edi, edi
push edi
push dword [0x1404802c]
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x1401d116
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push dword [0x1404802c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
je 0x1401d116
xor al, al
jmp 0x1401d131
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb al, al
inc al
pop edi
pop esi
leave
ret

Function at 0x1401d135
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x14047c78]
push ebx
mov ebx, dword [0x14047c10]
push esi
push edi
mov edi, dword [0x14047cd4]
mov esi, 0x104
test eax, eax
jne 0x1401d162
mov eax, esi
call fcn.1400dcd5
mov dword [0x14047c78], eax
push edi
push ebx
push 0x1403ac58
push eax
mov eax, esi
call fcn.1400d70a
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0x10
push 0
mov ebx, 0x80
push ebx
push 3
push 0
push 3
mov edi, 0x1f01ff
push edi
push dword [0x14047c78]
call esi
mov dword [0x14048050], eax
cmp eax, 0xffffffff
je 0x1401d1bb
push 0x38
pop ecx
push 0
lea edx, [ebp - 4]
push edx
push ecx
push 0x140484c0
push eax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x1401d203
push 0
push ebx
push 2
push 0
push 3
push edi
push dword [0x14047c78]
call esi
mov dword [0x14048050], eax
mov byte [0x140484d4], 1
mov byte [0x140484d2], 1
mov byte [0x140484dc], 1
mov byte [0x140484db], 1
mov byte [0x140484da], 1
mov byte [0x140484d9], 1
mov byte [0x140484e3], 0
push dword [0x14048050]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1401d214
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0x80
push 2
push 0
push 3
push 0x1f01ff
push dword [0x14047c78]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x38
pop ecx
push 0
lea edx, [ebp - 4]
push edx
push ecx
push 0x140484c0
push eax
mov dword [0x14048050], eax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x14048050]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x1401d262
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0x80
push 2
push 0
push 3
push 0x1f01ff
push dword [0x14047c78]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x38
pop ecx
push 0
lea edx, [ebp - 4]
push edx
push ecx
push 0x140484c0
push eax
mov dword [0x14048050], eax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x14048050]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x14047c78]
call fcn.1400dce4
leave
ret

Function at 0x1401d8e5
Capabilities:
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_LoadCursorW]
xor ebx, ebx
push 0x7f02
push ebx
mov byte [ebp - 1], bl
call edi
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x1401d999
mov eax, 0x400
call fcn.1400dcaa
push ebx
push 0x80
push 2
push ebx
push 2
push 0x1f01ff
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x400
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1401d97f
cmp dword [ebp + 0xc], ebx
je 0x1401d97a
cmp dword [ebp - 8], ebx
jbe 0x1401d97f
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 8], ebx
ja 0x1401d943
cmp dword [ebp + 0xc], ebx
je 0x1401d98d
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
call fcn.1400dce4
mov byte [ebp - 1], 1
push 0x7f00
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov al, byte [ebp - 1]
pop edi
pop ebx
leave
ret 8
Function at 0x1401e7a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x37], 0
jne 0x1401e7b3
cmp dword [esi + 0x2b], 0
je 0x1401e7c1
mov dword [esi + 8], 0x1002
xor esi, esi
jmp 0x1401e84a
mov dword [esi + 8], 0
push 0xa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
or eax, eax
jne 0x1401e7e5
mov dword [esi + 8], 0x3001
xor esi, esi
jmp 0x1401e84a
push eax
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
pop ecx
or eax, eax
jne 0x1401e800
mov dword [esi + 8], 0x3002
xor esi, esi
jmp 0x1401e84a
mov dword [esi + 0x13], eax
mov dword [esi + 0x1b], eax
push ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
or eax, eax
jne 0x1401e81f
mov dword [esi + 8], 0x3002
xor esi, esi
jmp 0x1401e84a
mov dword [esi + 0x17], eax
mov dword [esi + 0x2b], 2
push esi
call fcn.1401ea70
or eax, eax
jne 0x1401e83e
mov dword [esi + 0x2b], 0
xor esi, esi
jmp 0x1401e84a
mov dword [esi + 0x37], 1
mov esi, 1
mov eax, esi
pop esi
leave
ret 0xc

Function at 0x140206a2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x14045524]
jne 0x140206ac
repz ret
jmp fcn.14023b4c
Function at 0x1402e21a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.140246cc
and dword [ebp - 4], 0
cmp dword [0x14047b64], 0
mov ebx, eax
jne 0x1402e2cb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1402e37c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1402e37c
push eax
call fcn.1402465a
mov dword [esp], 0x14038f90
push edi
mov dword [0x14047b64], eax
call esi
push eax
call fcn.1402465a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x14047b68], eax
call esi
push eax
call fcn.1402465a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x14047b6c], eax
call esi
push eax
call fcn.1402465a
pop ecx
mov dword [0x14047b74], eax
test eax, eax
je 0x1402e2cb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1402465a
pop ecx
mov dword [0x14047b70], eax
mov eax, dword [0x14047b70]
cmp eax, ebx
je 0x1402e323
cmp dword [0x14047b74], ebx
je 0x1402e323
push eax
call fcn.140246d5
push dword [0x14047b74]
mov esi, eax
call fcn.140246d5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1402e323
test edi, edi
je 0x1402e323
call esi
test eax, eax
je 0x1402e31a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1402e31a
test byte [ebp - 0xc], 1
jne 0x1402e323
or dword [ebp + 0x10], 0x200000
jmp 0x1402e35c
mov eax, dword [0x14047b68]
cmp eax, ebx
je 0x1402e35c
push eax
call fcn.140246d5
pop ecx
test eax, eax
je 0x1402e35c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1402e35c
mov eax, dword [0x14047b6c]
cmp eax, ebx
je 0x1402e35c
push eax
call fcn.140246d5
pop ecx
test eax, eax
je 0x1402e35c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x14047b64]
call fcn.140246d5
pop ecx
test eax, eax
je 0x1402e37c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1402e37e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40573a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, str.C:UsersADMINI1AppDataLocalTemp_nsn776F.tmp
push esi
call fcn.00405b66
push esi
call fcn.004056ed
mov edi, eax
test edi, edi
jne 0x40575b
xor eax, eax
jmp 0x4057ad
push edi
call fcn.00405dc8
test byte [0x423eb8], 0x80
je 0x405774
mov al, byte [edi]
test al, al
je 0x405757
cmp al, 0x5c
je 0x405757
sub edi, esi
jmp 0x40578c
call fcn.00405e61
test eax, eax
je 0x405786
test byte [eax], 0x10
je 0x405757
push esi
call fcn.004056a0
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x405778
call fcn.00405659
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x40581e
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40583a
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x40583d
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x40586c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4058b0
test edi, edi
jne 0x405877
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x4058aa
Function at 0xc015e0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov eax, dword fs:[0x30]
lea edi, [esp + 0xe]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x14]
je 0xc0281e
jne 0xc0281e
jmp 0x5548e88f
Function at 0xc03580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
je 0xc03626
jne 0xc03626
je 0xc02bc5
jne 0xc02076
push esi
sub esp, 0x23c
mov edi, dword [ebp + 0xc]
cmp dword [ebp + 0x14], 0
je 0xc03bf9
mov eax, dword [ebp + 0x10]
mov ecx, 0xffffff00
nop word cs:[eax + eax]
nop dword [eax]
Function at 0xc05c10
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
movzx edx, word [ecx]
cmp edx, 0x5a4d
jmp 0xc05c21
jne 0xc05c3f
je 0xc05c40
jne 0xc05c40
jmp 0x53562a0
push 0xc05c38
ret
ret
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
je 0xc05c30
jne 0xc05c30
nop
Function at 0xc0e8f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
je 0xc0f7de
jmp 0xc0ee2a

Function at 0xc0fa40
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov esi, dword [edx + 0x3c]
je 0xc0f95b
jne 0xc0f95b
je 0x8725f8e0
cmp edi, 0x8664
add byte [eax], al
je 0xc0f971
je 0xc0f9d5
jmp 0xc0f986
jne 0xc0f9d5
je 0xc0e42b
jne 0xc0e81a
jmp 0x74c10a5b
push 0xc0f9ae
ret
push ebp
je 0xc0fe0f
jne 0xc0fe0f
jmp 0x922d1051
push dword [ebp + 0xc]
push edi
call fcn.00c05d50
add esp, 8
mov byte [esp], 0
je 0xc0fe71
jne 0xc0fe71
add byte [eax], al
add byte [eax], al
mov eax, dword [ebp + 8]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x10], 0
je 0xc0ffc7
jne 0xc0ffc7
je 0xc1c0fd3d
add bl, al
jmp 0x18e54765
push edi
push esi
and esp, 0xfffffff8
je 0xc0feaa
jne 0xc0feaa
add byte [eax], al
add byte [eax], al
mov ebp, esp
push ebx
jmp 0xc0fd1e
mov byte [esp + 1], 0
je 0xc0fb5a
jne 0xc0fb5a
je 0xc7e53b11
inc esp
and al, 0x10
add byte [eax], al
add byte [eax], al
sub esp, 0x38
mov edi, dword [ebp + 8]
je 0xc0fa8f
jne 0xc0fa8f
je 0xc0e7ef
jne 0xc0f940
je 0xc1c00a36
add bl, al
jmp 0xfdb183e4
mov dword [esp + 0xc], 0
je 0xc0fb21
jne 0xc0fb21
jmp 0xfe7983ef
Function at 0xc1f2c0
Capabilities:
Packed with generic packer
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x46c
je 0xc1f7b9
jmp 0xc1fc0e
Function at 0xc32550
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [edx]
mov dword [eax + 0x10], esi
mov esi, dword [edx + 4]
mov dword [eax + 0x14], esi
mov esi, dword [edx + 8]
mov dword [eax + 0x18], esi
mov esi, dword [edx + 0xc]
mov dword [eax + 0x1c], esi
lea esi, [edx + 0x10]
cmp ecx, 0x100
cmovne esi, edx
mov ecx, str.expand_32_byte_kexpand_16_byte_k
mov edx, 0xc49690
cmove edx, ecx
mov ecx, dword [esi]
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 0x28], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x2c], ecx
mov ecx, dword [edx]
mov esi, dword [edx + 4]
mov dword [eax], ecx
mov dword [eax + 4], esi
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
pop esi
ret
Function at 0xc3bbf0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0xc3bc83
mov dword [eax + 0x48], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0x6a09e667
mov dword [eax + 8], 0xf3bcc908
mov dword [eax + 0x14], 0xbb67ae85
mov dword [eax + 0x10], 0x84caa73b
mov dword [eax + 0x1c], 0x3c6ef372
mov dword [eax + 0x18], 0xfe94f82b
mov dword [eax + 0x24], 0xa54ff53a
mov dword [eax + 0x20], 0x5f1d36f1
mov dword [eax + 0x2c], 0x510e527f
mov dword [eax + 0x28], 0xade682d1
mov dword [eax + 0x34], 0x9b05688c
mov dword [eax + 0x30], 0x2b3e6c1f
mov dword [eax + 0x3c], 0x1f83d9ab
mov dword [eax + 0x38], 0xfb41bd6b
mov dword [eax + 0x44], 0x5be0cd19
mov dword [eax + 0x40], 0x137e2179
xor eax, eax
ret
mov eax, 1
ret
Function at 0xc3cc20
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebx
push edi
push esi
sub esp, 0xa0
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xb4]
push edi
push 0x20
push dword [esp + 0xc0]
call fcn.00c3c9f0
add esp, 0xc
and byte [edi], 0xf8
mov al, byte [edi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [edi + 0x1f], al
mov ebx, esp
push edi
push ebx
call fcn.00c36d10
add esp, 8
push ebx
push esi
call fcn.00c36ca0
add esp, 0xa8
pop esi
pop edi
pop ebx
ret
Function at 0x406c81
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x406cbf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406c95
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x406c90
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406cec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406ccd
not eax
pop ebp
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x413490
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48b69b
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.00480151
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x413512
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047de93
mov eax, dword [eax]
push 0x4abce0
push eax
call fcn.004708e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004803dc
test bl, bl
je 0x413512
push 0x4abce0
lea ecx, [esp + 0xc]
call fcn.0048076c
push 0x4abcec
lea ecx, [esp + 0xc]
call fcn.0048076c
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 0x41354e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004803dc
jmp 0x413619
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 0x4135d2
lea edx, [esp + 0x7c]
push 0x4abce8
push edx
call fcn.004708e4
add esp, 8
test eax, eax
je 0x4135d2
lea eax, [esp + 0x7c]
push 0x4abce4
push eax
call fcn.004708e4
add esp, 8
test eax, eax
je 0x4135d2
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 0x413562
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.004803dc
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 0x414880
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 0x4148e2
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 0x4148f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48b7fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4b7358]
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 0x414a28
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x414956
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004803dc
xor eax, eax
jmp 0x414a9f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00480519
push esi
lea ecx, [esp + 0xc]
call fcn.004807a8
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4abd30
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x414a7d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00414880
test eax, eax
jne 0x414a7d
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 closesocket
mov ecx, edi
call fcn.00414880
test eax, eax
jne 0x414a7d
lea eax, [esp + 0x14]
push 0x4abd0c
push eax
call fcn.00471960
mov esi, eax
add esp, 8
test esi, esi
jne 0x414a5c
lea ecx, [esp + 0x14]
push 0x4abd08
push ecx
call fcn.004718e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x414a5c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x414a5f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004804c9
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41496e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004803dc
xor eax, eax
jmp 0x414a9f
mov byte [esi], 0
push 0x4abd04
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.004803dc
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 0x425360
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 0x4253ce
cmp si, 0x69
ja 0x4253ce
add esi, 0xffd0
cmp si, 0x11
je 0x42539e
push 0x11
call edi
test ax, ax
jge 0x42539e
or esi, 0x2000
cmp si, 0x10
je 0x4253b3
push 0x10
call edi
test ax, ax
jge 0x4253b3
or esi, 0x4000
cmp si, 0x12
je 0x4253c8
push 0x12
call edi
test ax, ax
jge 0x4253c8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4253db
mov esi, 0xbd
jmp 0x42538f
cmp si, 0x6e
jne 0x4253e8
mov esi, 0xbe
jmp 0x42538f
cmp si, 0x6f
jne 0x425389
mov esi, 0xbf
jmp 0x42538f

Function at 0x426cb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4c7ad8]
xor edx, edx
cmp eax, edx
jne 0x426cd6
xor eax, eax
mov byte [eax + 0x4c79d8], al
inc eax
cmp eax, 0x100
jl 0x426cbe
mov dword [0x4c7ad8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4c79d8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x426d67
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 0x426d3a
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 0x426d08
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x426de0
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 0x426e33
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 0x426e1a
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