joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470ab0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11260
call fcn.00493680
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x470c30
xor cl, cl
mov eax, edi
call fcn.00470c50
test eax, eax
jne 0x470ae5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11260
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4bd41c]
push eax
push ebp
mov ecx, edi
call fcn.00470ce0
test eax, eax
je 0x470b08
xor eax, eax
mov dword [0x4c3100], eax
jmp 0x470b0d
mov eax, dword [0x4c3100]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1024], 0x4a596c
mov dword [esp + 0x1044], ebx
mov dword [esp + 0x1048], ebx
mov dword [esp + 0x104c], ebx
mov dword [esp + 0x1064], ebx
mov dword [esp + 0x1068], ebx
cmp byte [esp + 0x11274], bl
je 0x470b53
mov byte [esp + 0x1040], bl
cmp eax, ebx
je 0x470b5b
mov byte [esp + 0x1040], 1
mov ecx, dword [0x4c30fc]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1054], eax
lea eax, [esp + 0x18]
push eax
push 0x470db0
mov dword [esp + 0x1058], ecx
mov dword [esp + 0x1060], edx
call esi
mov eax, dword [esp + 0x1048]
cmp eax, ebx
je 0x470c08
lea ecx, [esp + 0x10]
push ecx
push 0x46fab0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x470bc5
mov edx, dword [esp + 0x1048]
call fcn.004704f0
mov dword [esp + 0x1048], esi
mov eax, dword [esp + 0x1048]
call fcn.0046eae0
mov edx, dword [esp + 0x1048]
call fcn.004704f0
mov edx, dword [0x4bd41c]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x470c30
push 1
push eax
call fcn.00401360
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11260
ret 4
mov eax, dword [0x4c3100]
cmp eax, ebx
je 0x470c30
cmp eax, 1
setg al
mov dword [0x4c3100], ebx
cmp al, bl
je 0x470c30
mov edx, ebp
call fcn.004704f0
push ebx
mov ecx, edi
call fcn.00470ab0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x11260
ret 4
Function at 0x477da0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
jmp 0x477dc0
movzx eax, byte [edi]
movzx eax, byte [eax + 0x4b3c38]
movzx edx, byte [eax + edi]
add eax, edi
lea ecx, [edx - 4]
cmp ecx, 0x64
ja 0x477e16
jmp 0x477de0
movzx ecx, byte [ecx + 0x477ecc]
jmp dword [ecx*4 + 0x477ebc]
movzx ecx, byte [eax]
cmp ecx, 0x5e
je 0x477e87
cmp ecx, 0x5f
jne 0x477e42
movzx ecx, byte [eax + 3]
movzx edx, byte [eax + 4]
shl ecx, 8
or ecx, edx
mov edx, 1
cmp ecx, 0x20
jge 0x477e3c
shl edx, cl
push ebp
or edx, ebx
push edx
jmp 0x477e89
cmp ecx, 0x58
je 0x477e87
cmp ecx, 0x5d
je 0x477e87
cmp ecx, 0x60
je 0x477e87
cmp ecx, 0x39
je 0x477e7b
cmp ecx, 0x3a
je 0x477e7b
cmp ecx, 0x42
je 0x477e7b
cmp ecx, 1
je 0x477e97
cmp ecx, 2
je 0x477e97
test byte [esi], 2
jne 0x477e74
cmp ecx, 0x1a
je 0x477e97
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
cmp byte [eax + 1], 0xd
jne 0x477e74
test ebp, ebx
jne 0x477e74
jmp 0x477e97
push ebp
push ebx
push esi
push eax
call fcn.00477da0
add esp, 0x10
test eax, eax
je 0x477e74
movzx eax, byte [edi + 1]
movzx ecx, byte [edi + 2]
shl eax, 8
or eax, ecx
add edi, eax
cmp byte [edi], 0x54
je 0x477dc0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x4781b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
or edi, 0xffffffff
movzx edx, byte [ebp + 3]
lea eax, [ebp + 3]
lea ecx, [edx - 4]
cmp ecx, 0x64
ja case.0x4781d9.6
movzx ecx, byte [ecx + 0x4782c0]
jmp dword [ecx*4 + 0x4782b0]
movzx ecx, byte [eax + 1]
mov edx, dword [esi]
xor edx, ecx
test dl, 1
je 0x4781ef
mov dword [esi], ecx
add eax, 2
jmp 0x47821f
movzx ecx, byte [eax + 1]
movzx edx, byte [eax + 2]
shl ecx, 8
or ecx, edx
add eax, ecx
cmp byte [eax], 0x54
je case.0x4781d9.89
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x4b3c38]
add eax, edx
jmp 0x47821f
movzx ecx, byte [edx + 0x4b3c38]
add eax, ecx
movzx edx, byte [eax]
lea ecx, [edx - 4]
cmp ecx, 0x64
jbe 0x4781d2
movzx ecx, byte [eax]
lea edx, [ecx - 0x1c]
cmp edx, 0x44
ja case.0x47823c.30
movzx edx, byte [edx + 0x478338]
jmp dword [edx*4 + 0x478328]
xor edx, edx
cmp ecx, 0x58
sete dl
push edx
push esi
push eax
call fcn.004781b0
add esp, 0xc
test eax, eax
js case.0x47823c.30
test edi, edi
jns 0x478282
mov edi, eax
jmp 0x478286
add eax, 2
test ebx, ebx
je case.0x47823c.30
test edi, edi
jns 0x47827e
test byte [esi], 1
movzx edi, byte [eax + 1]
je 0x478286
or edi, 0x100
jmp 0x478286
movzx eax, byte [eax + 1]
cmp edi, eax
jne case.0x47823c.30
movzx ecx, byte [ebp + 1]
movzx edx, byte [ebp + 2]
shl ecx, 8
or ecx, edx
add ebp, ecx
cmp byte [ebp], 0x54
je 0x4781c3
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x485370
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x398
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x290]
call fcn.00485846
push 0
push dword [esi + 8]
push dword [esi]
call fcn.004894e7
add esp, 0xc
lea eax, [ebp - 0x398]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.00485652
test eax, eax
je 0x4853b4
push 6
jmp 0x485443
push dword [esi]
lea eax, [ebp - 1]
push 1
pop ebx
push ebx
push ebx
push eax
call fcn.00489440
push dword [esi]
lea eax, [ebp - 8]
push ebx
push 4
push eax
call fcn.00489440
push dword [esi]
mov edi, dword [ebp - 8]
lea eax, [ebp - 8]
xor edi, 0x45aa
push ebx
push 4
push eax
call fcn.00489440
mov eax, dword [ebp - 8]
push dword [esi]
xor eax, 0x45aa
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x14]
push 4
push eax
call fcn.00489440
add esp, 0x40
lea eax, [ebp - 0x18]
push dword [esi]
push ebx
push 4
push eax
call fcn.00489440
push dword [esi]
lea eax, [ebp - 0x1c]
push ebx
push 4
push eax
call fcn.00489440
push dword [esi]
lea eax, [ebp - 0x20]
push ebx
push 4
push eax
call fcn.00489440
push dword [ebp - 0xc]
call fcn.004863c4
add esp, 0x34
mov dword [ebp + 8], eax
test eax, eax
jne 0x485449
push 8
pop eax
jmp 0x485520
push edi
call fcn.004863c4
test eax, eax
pop ecx
mov dword [ebp - 0x10], eax
jne 0x48545f
push 8
pop esi
jmp 0x485515
push dword [esi]
push ebx
push edi
push eax
call fcn.00489440
mov eax, dword [esi + 0x110]
add esp, 0x10
add eax, 0x22af
mov ecx, esi
push eax
push edi
mov edi, dword [ebp - 0x10]
push edi
call fcn.00485342
cmp byte [ebp - 1], bl
jne 0x4854c3
lea ecx, [ebp - 0x290]
call fcn.00485846
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x28c], edi
mov dword [ebp - 0x290], eax
call fcn.00485872
push edi
call fcn.00487975
pop ecx
jmp 0x4854cf
push dword [ebp + 8]
call fcn.00487975
pop ecx
mov dword [ebp + 8], edi
push 0x4bc014
push dword [ebp + 0xc]
call fcn.004896b7
mov edi, eax
pop ecx
test edi, edi
pop ecx
jne 0x4854eb
push 7
jmp 0x485459
push edi
push ebx
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.0048874f
push edi
call fcn.00488836
add esp, 0x14
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call fcn.0048579e
xor esi, esi
push dword [ebp + 8]
call fcn.00487975
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x485527
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x380
push esi
mov esi, ecx
lea ecx, [ebp - 0x278]
call fcn.00485846
push 0
push dword [esi + 8]
push dword [esi]
call fcn.004894e7
add esp, 0xc
lea eax, [ebp - 0x380]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.00485652
test eax, eax
je 0x48556a
push 6
pop eax
jmp 0x48564d
push ebx
push edi
push dword [esi]
lea eax, [ebp - 1]
push 1
pop ebx
push ebx
push ebx
push eax
call fcn.00489440
push dword [esi]
lea eax, [ebp - 8]
push ebx
push 4
push eax
call fcn.00489440
push dword [esi]
mov edi, dword [ebp - 8]
lea eax, [ebp - 8]
xor edi, 0x45aa
push ebx
push 4
push eax
call fcn.00489440
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
xor eax, 0x45aa
push ebx
push 0x10
mov dword [ecx], eax
push dword [esi]
call fcn.004894e7
mov eax, dword [ebp + 0x10]
push dword [eax]
call fcn.004863c4
add esp, 0x40
mov dword [ebp + 0x10], eax
push edi
call fcn.004863c4
push dword [esi]
mov dword [ebp + 8], eax
push ebx
push edi
push eax
call fcn.00489440
mov eax, dword [esi + 0x110]
add esp, 0x14
add eax, 0x22af
mov ecx, esi
push eax
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.00485342
cmp byte [ebp - 1], bl
jne 0x485635
lea ecx, [ebp - 0x278]
call fcn.00485846
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x278], eax
call fcn.00485872
push edi
call fcn.00487975
pop ecx
jmp 0x485641
push dword [ebp + 0x10]
call fcn.00487975
pop ecx
mov dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
pop edi
pop ebx
mov dword [eax], ecx
xor eax, eax
pop esi
leave
ret 0xc
Function at 0x485652
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
push 1
pop ebx
mov esi, ecx
mov byte [ebp - 1], bl
push dword [esi]
lea eax, [ebp - 0x14]
push 4
push ebx
push eax
call fcn.00489440
add esp, 0x10
lea eax, [ebp - 0x14]
mov ecx, esi
push 0x16fa
push 4
push eax
call fcn.00485342
and byte [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push str.FILE
push eax
call fcn.004896d0
pop ecx
test eax, eax
pop ecx
jne 0x485783
push dword [esi]
lea eax, [ebp - 0xc]
push ebx
push 4
push eax
call fcn.00489440
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0x29bc
lea eax, [ebp - 0x11c]
push edi
push ebx
push eax
call fcn.00489440
add esp, 0x20
lea eax, [edi + 0xa25e]
mov ecx, esi
push eax
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.00485342
push dword [esi]
and byte [ebp + edi - 0x11c], 0
lea eax, [ebp - 0xc]
push ebx
push 4
push eax
call fcn.00489440
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0x29ac
push edi
push ebx
push dword [ebp + 0xc]
call fcn.00489440
add esp, 0x20
lea eax, [edi + 0xf25e]
mov ecx, esi
push eax
push edi
push dword [ebp + 0xc]
call fcn.00485342
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
and byte [edi + eax], 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004896d0
pop ecx
test eax, eax
pop ecx
je 0x48579a
push ebx
push ebx
push dword [esi]
call fcn.004894e7
push dword [esi]
lea eax, [ebp - 8]
push ebx
push 4
push eax
call fcn.00489440
xor dword [ebp - 8], 0x45aa
push ebx
push 4
push dword [esi]
call fcn.004894e7
push ebx
push 0x10
push dword [esi]
call fcn.004894e7
push ebx
push dword [ebp - 8]
push dword [esi]
call fcn.004894e7
add esp, 0x40
jmp 0x485787
and byte [ebp - 1], 0
cmp byte [ebp - 1], bl
je 0x485666
push 6
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
xor eax, eax
jmp 0x485793

Function at 0x4857de
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, ecx
push esi
push edi
mov edi, eax
or dword [eax + 0x400], 0xffffffff
xor esi, esi
mov edx, esi
push 8
shl edx, 0x18
pop ecx
test edx, 0x80000000
je 0x485807
add edx, edx
xor edx, 0x4c11db7
jmp 0x485809
shl edx, 1
dec ecx
jne 0x4857f5
mov dword [edi], edx
inc esi
add edi, 4
cmp esi, 0x100
jl 0x4857ed
pop edi
pop esi
ret

Function at 0x485991
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 1
jne 0x4859b6
mov eax, dword [esi + 0xc]
push 8
add eax, dword [esi + 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00489760
add esp, 0xc
jmp 0x4859c9
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.00489440
add esp, 0x10
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 3]
shl eax, 8
or eax, ecx
add dword [esi + 0xc], 8
movzx ecx, byte [ebp - 2]
shl eax, 8
or eax, ecx
and byte [ebp - 4], 0
movzx ecx, byte [ebp - 1]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp + 8]
push str.JB01
mov dword [ecx], eax
lea eax, [ebp - 8]
push eax
call fcn.004896d0
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
pop esi
leave
ret 4

Function at 0x48d366
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bcd90]
jne 0x48d370
repz ret
jmp fcn.004926f3
Function at 0x490a50
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bcd90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0048a832
and dword [ebp - 0x14], 0
cmp dword [0x4bf604], 0
mov dword [ebp - 0x18], eax
jne 0x490b03
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x490bab
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49afb0
push ebx
call edi
test eax, eax
je 0x490bab
mov esi, dword [fcn.00485140]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4bf604], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4bf608], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4bf60c], eax
call edi
push eax
call esi
mov dword [0x4bf614], eax
test eax, eax
je 0x490b03
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4bf610], eax
mov eax, dword [0x4bf610]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00485144]
cmp eax, ecx
je 0x490b5c
cmp dword [0x4bf614], ecx
je 0x490b5c
push eax
call esi
push dword [0x4bf614]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x490b5c
test ebx, ebx
je 0x490b5c
call edi
test eax, eax
je 0x490b53
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x490b53
test byte [ebp - 8], 1
jne 0x490b5c
or dword [ebp + 0x10], 0x200000
jmp 0x490b8f
mov eax, dword [0x4bf608]
cmp eax, dword [ebp - 0x18]
je 0x490b8f
push eax
call esi
test eax, eax
je 0x490b8f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x490b8f
mov eax, dword [0x4bf60c]
cmp eax, dword [ebp - 0x18]
je 0x490b8f
push eax
call esi
test eax, eax
je 0x490b8f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4bf604]
call esi
test eax, eax
je 0x490bab
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x490bad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048d366
leave
ret
Function at 0x40a060
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x468d8b
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.0045d85b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a0e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045b59d
mov eax, dword [eax]
push 0x484c84
push eax
call fcn.0044e424
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045dae6
test bl, bl
je 0x40a0e2
push 0x484c84
lea ecx, [esp + 0xc]
call fcn.0045de76
push 0x484c90
lea ecx, [esp + 0xc]
call fcn.0045de76
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 0x40a11e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045dae6
jmp 0x40a1e9
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 0x40a1a2
lea edx, [esp + 0x7c]
push 0x484c8c
push edx
call fcn.0044e424
add esp, 8
test eax, eax
je 0x40a1a2
lea eax, [esp + 0x7c]
push 0x484c88
push eax
call fcn.0044e424
add esp, 8
test eax, eax
je 0x40a1a2
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 0x40a132
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.0045dae6
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 0x40a9f0
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 0x40aa52
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 0x40aa60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x468e0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x48b488]
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 0x40ab98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40aac6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045dae6
xor eax, eax
jmp 0x40ac0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045dc23
push esi
lea ecx, [esp + 0xc]
call fcn.0045deb2
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 0x40abed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040a9f0
test eax, eax
jne 0x40abed
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 accept
mov ecx, edi
call fcn.0040a9f0
test eax, eax
jne 0x40abed
lea eax, [esp + 0x14]
push 0x484ca0
push eax
call fcn.0044f460
mov esi, eax
add esp, 8
test esi, esi
jne 0x40abcc
lea ecx, [esp + 0x14]
push 0x484c9c
push ecx
call fcn.0044f3e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40abcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40abcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045dbd3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40aade
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045dae6
xor eax, eax
jmp 0x40ac0f
mov byte [esi], 0
push 0x484c98
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.0045dae6
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 0x41b2e0
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 0x41b34e
cmp si, 0x69
ja 0x41b34e
add esi, 0xffd0
cmp si, 0x11
je 0x41b31e
push 0x11
call edi
test ax, ax
jge 0x41b31e
or esi, 0x2000
cmp si, 0x10
je 0x41b333
push 0x10
call edi
test ax, ax
jge 0x41b333
or esi, 0x4000
cmp si, 0x12
je 0x41b348
push 0x12
call edi
test ax, ax
jge 0x41b348
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41b35b
mov esi, 0xbd
jmp 0x41b30f
cmp si, 0x6e
jne 0x41b368
mov esi, 0xbe
jmp 0x41b30f
cmp si, 0x6f
jne 0x41b309
mov esi, 0xbf
jmp 0x41b30f

Function at 0x41caa0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x49bb30]
xor edx, edx
cmp eax, edx
jne 0x41cac6
xor eax, eax
mov byte [eax + 0x49ba30], al
inc eax
cmp eax, 0x100
jl 0x41caae
mov dword [0x49bb30], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x49ba30
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41cb57
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 0x41cb2a
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 0x41caf8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41cbd0
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 0x41cc23
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 0x41cc0a
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