joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fee0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x22c
push ebp
push esi
push edi
mov esi, ecx
call fcn.00410030
xor eax, eax
mov ecx, 0x8a
lea edi, [esp + 0x10]
mov dword [esp + 0xc], 0
push eax
push 2
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40ff20
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x22c
ret
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x22c
push eax
push ebp
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x410010
push ebx
push 0x418
call sub.MFC42u.DLL_operatornew
mov ebx, dword [esi + 0xc]
mov edi, eax
mov eax, dword [esi + 0x14]
add esp, 4
test eax, eax
jne 0x40ff85
mov ecx, dword [esi + 0x1c]
push 0xc
lea edx, [esi + 0x18]
push ecx
push edx
call sub.MFC42u.DLL_CPlex::Create
mov ecx, dword [esi + 0x1c]
add eax, 4
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0xc]
jl 0x40ff85
inc ecx
mov edx, dword [esi + 0x14]
mov dword [eax], edx
mov dword [esi + 0x14], eax
sub eax, 0xc
dec ecx
jne 0x40ff77
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov dword [esi + 0x14], ecx
mov dword [eax + 4], ebx
mov dword [eax], 0
mov ebx, dword [esi + 0x10]
inc ebx
mov dword [esi + 0x10], ebx
mov dword [eax + 8], 0
mov dword [eax + 8], edi
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40ffb2
mov dword [ecx], eax
jmp 0x40ffb5
mov dword [esi + 8], eax
mov edx, dword [esp + 0x18]
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x34]
mov dword [edi], edx
mov eax, dword [esp + 0x24]
push ecx
lea edx, [edi + 8]
push 0x41e234
push edx
mov dword [edi + 4], eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
mov ecx, esi
push edi
call fcn.0040fe20
lea eax, [esp + 0x10]
push eax
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40ff3c
pop ebx
mov esi, 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x22c
ret
push ebp
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x22c
ret
Function at 0x410af0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00410aa0
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x410be7
mov eax, dword [ebx + 4]
test eax, eax
jne 0x410b1f
mov ecx, ebx
call fcn.00410aa0
test eax, eax
je 0x410be4
mov edx, dword [ebx + 4]
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [edx + 0x1d8]
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx + 8], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test edx, edx
mov dword [ebx + 0x14], 0
je 0x410be4
mov esi, dword [esp + 0x50]
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebx + 8]
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 0x199]
mov dl, byte [eax + 0x198]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 0x197]
mov dl, byte [eax + 0x196]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 0x195]
mov dl, byte [eax + 0x194]
push ecx
push edx
lea eax, [esp + 0x44]
push str._02X__02X__02X__02X__02X__02X
push eax
call edi
add esp, 0x20
lea ecx, [esp + 0x2c]
push ecx
call ebp
lea edx, [esp + 0x2c]
push esi
push edx
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 8
test eax, eax
je 0x410bf1
mov eax, dword [ebx + 8]
mov eax, dword [eax]
test eax, eax
mov dword [ebx + 8], eax
jne 0x410b76
mov eax, dword [ebx + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3c
ret 4

Function at 0x410c00
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
ret
Function at 0x4129d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov ecx, 1
cmp dword [esi + 0x144], ecx
jbe 0x412ae3
push ebx
push edi
lea eax, [esi + 0x66]
xor ebx, ebx
xor edx, edx
mov bl, byte [eax - 1]
mov dl, byte [eax + 1]
add eax, 0x10
mov edi, dword [ebx*4 + 0x422864]
mov edx, dword [edx*4 + 0x423064]
xor ebx, ebx
xor edx, edi
mov bl, byte [eax - 0x10]
mov edi, dword [ebx*4 + 0x422c64]
xor ebx, ebx
mov bl, byte [eax - 0x12]
xor edx, edi
mov edi, dword [ebx*4 + 0x422464]
xor ebx, ebx
xor edx, edi
mov dword [eax - 0x12], edx
mov bl, byte [eax - 0xc]
xor edx, edx
mov dl, byte [eax - 0xb]
mov edi, dword [ebx*4 + 0x422c64]
xor ebx, ebx
mov edx, dword [edx*4 + 0x423064]
mov bl, byte [eax - 0xd]
xor edx, edi
mov edi, dword [ebx*4 + 0x422864]
xor ebx, ebx
mov bl, byte [eax - 0xe]
xor edx, edi
mov edi, dword [ebx*4 + 0x422464]
xor ebx, ebx
xor edx, edi
mov dword [eax - 0xe], edx
mov bl, byte [eax - 8]
xor edx, edx
mov dl, byte [eax - 7]
mov edi, dword [ebx*4 + 0x422c64]
xor ebx, ebx
mov edx, dword [edx*4 + 0x423064]
mov bl, byte [eax - 9]
xor edx, edi
mov edi, dword [ebx*4 + 0x422864]
xor ebx, ebx
mov bl, byte [eax - 0xa]
xor edx, edi
mov edi, dword [ebx*4 + 0x422464]
xor ebx, ebx
xor edx, edi
mov dword [eax - 0xa], edx
mov bl, byte [eax - 4]
xor edx, edx
mov dl, byte [eax - 3]
mov edi, dword [ebx*4 + 0x422c64]
xor ebx, ebx
mov edx, dword [edx*4 + 0x423064]
mov bl, byte [eax - 5]
xor edx, edi
mov edi, dword [ebx*4 + 0x422864]
xor ebx, ebx
mov bl, byte [eax - 6]
xor edx, edi
mov edi, dword [ebx*4 + 0x422464]
xor edx, edi
inc ecx
mov dword [eax - 6], edx
mov edx, dword [esi + 0x144]
cmp ecx, edx
jb 0x4129eb
pop edi
pop ebx
pop esi
ret
Function at 0x4134a0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
je 0x41350b
mov eax, dword [esi + 0xc]
sub eax, 0
je 0x4134f2
dec eax
jne 0x41350b
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esi + 0x14]
add esp, 4
test eax, eax
je 0x4134d6
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.MSVCRT.dll_free]
test eax, eax
je 0x413505
push eax
call edi
add esp, 4
push esi
call edi
add esp, 4
pop edi
pop esi
ret
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.MSVCRT.dll_free]
test eax, eax
je 0x413505
push eax
call edi
add esp, 4
push esi
call edi
add esp, 4
pop edi
pop esi
ret

Function at 0x413540
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0xc]
sub eax, 0
je 0x413587
dec eax
jne 0x4135ac
mov eax, dword [esi + 8]
lea ecx, [esp + 8]
push eax
push 1
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
test eax, eax
ja 0x413579
mov edx, dword [esp + 0xc]
or eax, 0xffffffff
pop esi
mov dword [edx], 0xffffffff
ret
mov ecx, dword [esi + 0x10]
movsx eax, byte [esp + 8]
inc ecx
mov dword [esi + 0x10], ecx
pop esi
ret
mov ecx, dword [esi + 0x10]
mov eax, dword [esi]
cmp ecx, eax
jl 0x41359e
mov eax, dword [esp + 0xc]
pop esi
mov dword [eax], 0xffffffff
xor eax, eax
ret
mov edx, dword [esi + 4]
inc ecx
movsx eax, byte [edx + ecx - 1]
mov dword [esi + 0x10], ecx
pop esi
ret
mov eax, dword [esp + 0xc]
pop esi
ret

Function at 0x4135c0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0xc]
sub eax, 0
je 0x413608
dec eax
jne 0x413622
mov eax, dword [esi + 8]
lea ecx, [esp + 0xc]
push eax
push 1
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
test eax, eax
ja 0x41361f
mov edx, dword [0x4257a4]
push edx
call dword [sym.imp.MSVCRT.dll_strerror]
mov eax, dword [esi + 0x10]
add esp, 4
inc eax
mov dword [esi + 0x10], eax
mov eax, 1
pop esi
ret
mov eax, dword [esi + 0x10]
mov ecx, dword [esi]
cmp eax, ecx
jl 0x413615
xor eax, eax
pop esi
ret
mov ecx, dword [esi + 4]
mov dl, byte [esp + 0xc]
mov byte [ecx + eax], dl
inc dword [esi + 0x10]
mov eax, 1
pop esi
ret
Function at 0x413710
Capabilities:
Encode data using base64

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
push esi
call fcn.00413510
xor edi, edi
add esp, 4
mov dword [esp + 0x10], edi
xor ebp, ebp
mov eax, ebp
mov ecx, 3
cdq
idiv ecx
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], edi
jne 0x413756
lea edx, [esp + 0x20]
mov dword [esp + 0x20], edi
push edx
push esi
call fcn.00413540
add esp, 8
mov ebx, eax
jmp 0x41375a
mov ebx, dword [esp + 0x10]
cmp ebx, 0xd
je 0x41373a
cmp ebx, 0xa
je 0x41373a
cmp dword [esp + 0x20], 0xffffffff
je 0x413886
lea eax, [esp + 0x20]
mov dword [esp + 0x20], edi
push eax
push esi
call fcn.00413540
add esp, 8
cmp eax, 0x3d
mov dword [esp + 0x10], eax
je 0x413886
cmp eax, 0xd
je 0x41376f
cmp eax, 0xa
je 0x41376f
cmp dword [esp + 0x20], 0xffffffff
je 0x413886
cmp bl, 0x41
jb 0x4137b8
cmp bl, 0x5a
ja 0x4137b8
and ebx, 0xff
sub ebx, 0x41
jmp 0x413807
cmp bl, 0x61
jb 0x4137cd
cmp bl, 0x7a
ja 0x4137cd
and ebx, 0xff
sub ebx, 0x47
jmp 0x413807
cmp bl, 0x30
jb 0x4137e2
cmp bl, 0x39
ja 0x4137e2
and ebx, 0xff
add ebx, 4
jmp 0x413807
cmp bl, 0x2a
jne 0x4137ee
mov ebx, 0x3e
jmp 0x413807
cmp bl, 0x2f
jne 0x4137fa
mov ebx, 0x3f
jmp 0x413807
sub bl, 0x3d
neg bl
sbb ebx, ebx
and ebx, 0xffffffbf
add ebx, 0x40
mov edx, dword [esp + 0x14]
lea ecx, [edx + edx + 2]
shl bl, cl
cmp al, 0x41
jb 0x413823
cmp al, 0x5a
ja 0x413823
and eax, 0xff
sub eax, 0x41
jmp 0x413868
cmp al, 0x61
jb 0x413835
cmp al, 0x7a
ja 0x413835
and eax, 0xff
sub eax, 0x47
jmp 0x413868
cmp al, 0x30
jb 0x413847
cmp al, 0x39
ja 0x413847
and eax, 0xff
add eax, 4
jmp 0x413868
cmp al, 0x2a
jne 0x413852
mov eax, 0x3e
jmp 0x413868
cmp al, 0x2f
jne 0x41385d
mov eax, 0x3f
jmp 0x413868
sub al, 0x3d
neg al
sbb eax, eax
and al, 0xbf
add eax, 0x40
shl dl, 1
mov cl, 4
sub cl, dl
shr al, cl
mov ecx, dword [esp + 0x1c]
or al, bl
push eax
push ecx
call fcn.004135c0
add esp, 8
inc ebp
jmp 0x41372c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x405784
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [0x41f00c]
ret 8

Function at 0x4057d5
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x4057e6
push 0xd
pop eax
jmp 0x405813
push edi
xor edi, edi
push esi
call dword [0x41f064]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4057e9
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [0x41f00c]
pop edi
pop esi
pop ebx
ret 8

Function at 0x405f82
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x200
lea ebp, [esp - 4]
mov eax, dword [0x4275f4]
xor eax, ebp
mov dword [ebp + 0x200], eax
push 0x18
mov eax, 0x41cf3b
call fcn.0040cb73
mov eax, dword [ebp + 0x20c]
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
lea ecx, [ebp - 0x14]
call fcn.0040574f
mov ebx, eax
cmp ebx, esi
je 0x40600a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004056e6
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.0040c140
add ebp, 0x204
leave
ret 4
mov ebx, dword [0x41f004]
jmp 0x406022
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.00405f82
cmp eax, esi
jne 0x406055
lea eax, [ebp - 0x24]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x100
call ebx
test eax, eax
je 0x406012
lea ecx, [ebp - 0x14]
call fcn.004056e6
push dword [ebp - 0x1c]
push dword [edi]
call dword [0x41f01c]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004056e6
mov eax, esi
jmp 0x405fe5
Function at 0x409754
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
push esi
push esi
push esi
push 0x409520
push esi
push esi
call fcn.0040f541
add esp, 0x18
cmp eax, esi
jne 0x409795
push str.CWWPluginLoader::StartSelfHelthChecker_beginthreadex_error
push 4
push 0x428b38
call fcn.0040702d
add esp, 0xc
push esi
call dword [0x41f044]
push eax
call dword [0x41f040]
push esi
call fcn.0040f336
push eax
call dword [0x41f030]
pop esi
ret

Function at 0x44fc2e
Capabilities:
Terminate process

Disassembly:
jmp 0x4a24fe
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4a250f
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004525a5
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x44fdb9
Capabilities:
Query environment variable

Disassembly:
jmp 0x4e084f
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4e0863
xor edi, edi
jmp 0x4e089a
push ebx
push esi
call fcn.004e0759
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00450827
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4e088a
push ebx
push esi
push edi
call fcn.0045231b
add esp, 0xc
push 0
call fcn.004530cc
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x452401
Capabilities:
Parse pe header

Disassembly:
jmp 0x491410
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x49144f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x49144f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x49144f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x49144f
cmp dword [ecx + 0x74], 0xe
jbe 0x49144f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x45271c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x4683e0
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x54b190], eax
pop edi
pop esi
ret
Function at 0x410bf0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49bc6b
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.0048e679
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410c72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048bceb
mov eax, dword [eax]
push 0x4be208
push eax
call fcn.0046b464
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048e904
test bl, bl
je 0x410c72
push 0x4be208
lea ecx, [esp + 0xc]
call fcn.0048ece0
push 0x4c1d84
lea ecx, [esp + 0xc]
call fcn.0048ece0
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 0x410cae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048e904
jmp 0x410d79
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 0x410d32
lea edx, [esp + 0x7c]
push 0x4c1d80
push edx
call fcn.0046b464
add esp, 8
test eax, eax
je 0x410d32
lea eax, [esp + 0x7c]
push 0x4c1d7c
push eax
call fcn.0046b464
add esp, 8
test eax, eax
je 0x410d32
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 0x410cc2
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.0048e904
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 0x411570
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 0x4115d2
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 0x4115e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49bceb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c9014]
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 0x411718
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411646
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048e904
xor eax, eax
jmp 0x41178f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048ea8d
push esi
lea ecx, [esp + 0xc]
call fcn.0048ed1c
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 0x41176d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00411570
test eax, eax
jne 0x41176d
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.00411570
test eax, eax
jne 0x41176d
lea eax, [esp + 0x14]
push 0x4c1d98
push eax
call fcn.0046c550
mov esi, eax
add esp, 8
test esi, esi
jne 0x41174c
lea ecx, [esp + 0x14]
push 0x4c1d94
push ecx
call fcn.0046c4d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41174c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41174f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048ea3d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41165e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048e904
xor eax, eax
jmp 0x41178f
mov byte [esi], 0
push 0x4c1d90
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.0048e904
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 0x423280
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 0x4232ee
cmp si, 0x69
ja 0x4232ee
add esi, 0xffd0
cmp si, 0x11
je 0x4232be
push 0x11
call edi
test ax, ax
jge 0x4232be
or esi, 0x2000
cmp si, 0x10
je 0x4232d3
push 0x10
call edi
test ax, ax
jge 0x4232d3
or esi, 0x4000
cmp si, 0x12
je 0x4232e8
push 0x12
call edi
test ax, ax
jge 0x4232e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4232fb
mov esi, 0xbd
jmp 0x4232af
cmp si, 0x6e
jne 0x423308
mov esi, 0xbe
jmp 0x4232af
cmp si, 0x6f
jne 0x4232a9
mov esi, 0xbf
jmp 0x4232af

Function at 0x424a30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4dabb0]
xor edx, edx
cmp eax, edx
jne 0x424a56
xor eax, eax
mov byte [eax + 0x4daab0], al
inc eax
cmp eax, 0x100
jl 0x424a3e
mov dword [0x4dabb0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4daab0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x424ae7
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 0x424aba
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 0x424a88
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x424b60
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 0x424bb3
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 0x424b9a
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