joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b447
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4135d8
call fcn.00411610
sub esp, 0x10
push ebx
mov ebx, ecx
and dword [ebp - 0x1c], 0
push esi
mov eax, dword [ebx + 0x48]
lea esi, [ebx + 0x48]
push edi
mov edi, 0x41c0f8
push edi
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x40b525
add ebx, 8
push str._config.ini
lea eax, [ebp - 0x10]
push ebx
push eax
call sub.MFC42.DLL_operator
push dword [ebp - 0x10]
and dword [ebp - 4], 0
mov eax, 0x104
mov ecx, esi
push eax
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
push edi
push 0x41b8e0
push str.AutoUpdate
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
mov ecx, esi
call sub.MFC42.DLL_CString::ReleaseBuffer
lea eax, [ebp - 0x1c]
push eax
call fcn.00401ac9
mov dword [esp], 0x41b8f8
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
call sub.MFC42.DLL_operator
push esi
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator_2
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 8]
push esi
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x40b542
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4135fc
call fcn.00411610
sub esp, 0xc
push ebx
mov ebx, ecx
and dword [ebp - 0x18], 0
push esi
mov eax, dword [ebx + 0x4c]
lea esi, [ebx + 0x4c]
push edi
mov edi, 0x41c0f8
push edi
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x40b605
add ebx, 8
push str._config.ini
lea eax, [ebp - 0x10]
push ebx
push eax
call sub.MFC42.DLL_operator
push dword [ebp - 0x10]
and dword [ebp - 4], 0
mov eax, 0x104
mov ecx, esi
push eax
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
push edi
push str.Setup
push str.AutoUpdate
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
mov ecx, esi
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x41b8f8
lea eax, [ebp - 0x18]
push ebx
push eax
call sub.MFC42.DLL_operator
push esi
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call sub.MFC42.DLL_operator_2
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 8]
push esi
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x411d46
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call sub.WSOCK32.dll_ntohl
push dword [esi + 4]
mov edi, eax
call sub.WSOCK32.dll_ntohl
mov ebx, eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
lea esi, [ebp - 0x10]
sub eax, ecx
mov dword [ebp + 8], 4
mov dword [ebp + 0xc], eax
jmp 0x411d7f
mov eax, dword [ebp + 0xc]
push dword [eax + esi]
call sub.WSOCK32.dll_ntohl
mov dword [esi], eax
add esi, 4
dec dword [ebp + 8]
jne 0x411d7c
push 0x10
xor eax, eax
pop ecx
mov edx, ebx
mov esi, ebx
shr edx, 5
add edx, dword [ebp - 0xc]
sub eax, 0x61c88647
shl esi, 4
add esi, dword [ebp - 0x10]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add edi, edx
mov edx, edi
mov esi, edi
shr edx, 5
add edx, dword [ebp - 4]
shl esi, 4
add esi, dword [ebp - 8]
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
add ebx, edx
dec ecx
jne 0x411d96
push edi
call sub.WSOCK32.dll_htonl
mov esi, dword [ebp + 0x10]
push ebx
mov dword [esi], eax
call sub.WSOCK32.dll_htonl
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x411de9
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call sub.WSOCK32.dll_ntohl
push dword [esi + 4]
mov ebx, eax
call sub.WSOCK32.dll_ntohl
mov edi, eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
lea esi, [ebp - 0x10]
sub eax, ecx
mov dword [ebp + 8], 4
mov dword [ebp + 0xc], eax
jmp 0x411e22
mov eax, dword [ebp + 0xc]
push dword [eax + esi]
call sub.WSOCK32.dll_ntohl
mov dword [esi], eax
add esi, 4
dec dword [ebp + 8]
jne 0x411e1f
push 0x10
mov eax, 0xe3779b90
pop ecx
mov edx, ebx
mov esi, ebx
shr edx, 5
add edx, dword [ebp - 4]
shl esi, 4
add esi, dword [ebp - 8]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
sub edi, edx
mov edx, edi
mov esi, edi
shr edx, 5
add edx, dword [ebp - 0xc]
shl esi, 4
add esi, dword [ebp - 0x10]
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
add eax, 0x61c88647
sub ebx, edx
dec ecx
jne 0x411e3c
push ebx
call sub.WSOCK32.dll_htonl
mov esi, dword [ebp + 0x10]
push edi
mov dword [esi], eax
call sub.WSOCK32.dll_htonl
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401c00
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, dword [0x40408c]
push edi
push 0x10000
push 2
call esi
mov edi, dword [0x4040c8]
push eax
mov dword [0x405434], eax
call edi
push 0x8040
push 2
mov dword [0x405430], eax
call esi
push eax
mov dword [0x40546c], eax
call edi
push 0x400
push 2
mov dword [0x40545c], eax
call esi
push eax
mov dword [0x40544c], eax
call edi
mov dword [0x405438], eax
and dword [eax], 0
push 1
pop eax
pop edi
pop esi
push 8
mov ecx, eax
pop edx
test cl, 1
je 0x401c6c
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x401c6e
shr ecx, 1
dec edx
jne 0x401c5d
mov edx, dword [0x405438]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, 0x100
jl 0x401c58
ret

Function at 0x402ca0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x402cb2
or eax, 0xffffffff
mov dword [section..data], eax
jmp 0x402ceb
mov edx, dword [esp + 8]
mov eax, dword [section..data]
push esi
mov esi, edx
dec edx
test esi, esi
je 0x402ce5
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
mov edi, dword [0x405438]
shr eax, 8
mov esi, dword [edi + esi*4]
xor eax, esi
inc ecx
dec edx
jne 0x402cc5
pop edi
mov dword [section..data], eax
pop esi
not eax
ret 8

Function at 0x406907
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ca1c], 0
push esi
jne 0x40693e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406918
mov dword [ecx*4 + 0x42ca18], eax
inc ecx
cmp ecx, 0x100
jl 0x406913
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40696f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ca18]
xor eax, esi
inc ecx
dec edx
jne 0x406951
pop edi
not eax
pop esi
ret 0xc
Function at 0x428673
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x4211b4]
test eax, eax
je 0x428773
push ebx
push ebp
push esi
xor edx, edx
mov dword [0x4211b4], 0
xor eax, eax
push edi
movzx esi, byte [eax + 0x41d0f0]
push 0x1f
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
or edx, esi
inc eax
cmp eax, 0xe
jb 0x428693
xor ecx, ecx
push 8
mov eax, ecx
pop esi
test al, 1
je 0x4286bd
shr eax, 1
xor eax, edx
jmp 0x4286bf
shr eax, 1
dec esi
jne 0x4286b3
mov dword [ecx*4 + 0x421260], eax
inc ecx
cmp ecx, 0x100
jl 0x4286ae
mov edi, 0x422260
mov ecx, 0xff00
mov eax, dword [edi - 0x1000]
mov esi, eax
and esi, ecx
mov ebx, eax
shl ebx, 0x10
add esi, ebx
mov edx, eax
shr edx, 8
shl esi, 8
mov ebx, edx
and ebx, ecx
add esi, ebx
mov ebx, eax
shr ebx, 0x18
add esi, ebx
mov dword [edi], esi
lea esi, [edi + 0x400]
mov dword [esp + 0x10], 3
and eax, 0xff
mov eax, dword [eax*4 + 0x421260]
xor eax, edx
mov ebx, eax
and ebx, ecx
mov ebp, eax
shl ebp, 0x10
add ebx, ebp
mov edx, eax
shr edx, 8
shl ebx, 8
mov ebp, edx
and ebp, ecx
add ebx, ebp
mov ebp, eax
shr ebp, 0x18
add ebx, ebp
mov dword [esi - 0x1000], eax
mov dword [esi], ebx
add esi, 0x400
dec dword [esp + 0x10]
jne 0x428712
add edi, 4
cmp edi, 0x422660
jl 0x4286dc
pop edi
pop esi
pop ebp
mov dword [0x4211b0], 0
pop ebx
pop ecx
ret
mov eax, dword [0x4211b0]
test eax, eax
jne 0x428773
pop ecx
ret
Function at 0x4739a0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, 0x42fa50
call fcn.0047bae0
mov ecx, esi
mov byte [esi + 0x5c], al
call fcn.00473c20
mov eax, dword [esp + 0xc]
mov byte [esi + 0x5e], 1
mov dword [esi + 0x4c], eax
mov al, byte [esi + 0x5c]
test al, al
je 0x473a3d
mov ecx, 0x42fa50
call fcn.0047baf0
mov ecx, dword [esi + 0x4c]
mov edi, eax
push ecx
push edi
call fcn.0047bb20
add esp, 8
lea ecx, [esi + 0x64]
mov dword [esi + 0x60], eax
mov edx, dword [edi]
push ecx
push eax
push edi
call dword [edx + 0x14]
test eax, eax
je 0x473a10
push 0
push 0x4299d0
push 0x4299b0
push 0
call dword [0x41f1ec]
push 0
call fcn.0047e75b
mov ecx, dword [esi + 0x60]
mov edx, dword [edi]
lea eax, [esi + 0x68]
push eax
push ecx
push edi
call dword [edx + 0x14]
test eax, eax
je 0x473a3d
push 0
push 0x4299d0
push 0x4299b0
push 0
call dword [0x41f1ec]
push 0
call fcn.0047e75b
mov byte [esi + 0x5d], 1
pop edi
mov al, 1
pop esi
ret 4

Function at 0x474c90
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, ecx
mov al, byte [ebx + 6]
test al, al
jne 0x474d16
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [ebx + 0x10]
mov eax, ebp
push edi
add eax, esi
push eax
call fcn.0047dde5
mov esi, dword [ebx + 0x1c]
add esp, 4
mov edi, eax
test esi, esi
mov dword [esp + 0x18], edi
je 0x474cdf
mov ecx, dword [ebx + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x1c]
push eax
call fcn.0047de59
mov edi, dword [esp + 0x1c]
add esp, 4
mov esi, dword [ebx + 0x10]
mov edx, dword [ebx + 8]
mov dword [ebx + 0x1c], edi
mov ecx, ebp
add esi, ebp
add edi, edx
mov edx, ecx
mov dword [ebx + 0x10], esi
mov esi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x18]
add ecx, ebp
add eax, ebp
pop edi
pop esi
mov dword [ebx + 8], ecx
mov dword [ebx + 0x18], eax
pop ebp
pop ebx
ret 8
Function at 0x479500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x100
mov dword [esp + 8], eax
jle 0x47951d
mov eax, 0x100
mov dword [esp + 8], eax
mov edx, dword [esp + 0x18]
push ebp
fild dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x18]
and edx, 0xff
and edi, 0xff
mov ebp, dword [esp + 0x1c]
sub edx, edi
and ebp, 0xff
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
fild dword [esp + 0x14]
and edx, 0xff
mov esi, dword [esp + 0x2c]
sub edx, ebp
and esi, 0xff
fdiv st(1)
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x20]
and edx, 0xff
sub esi, edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
add eax, edx
cmp edx, eax
fstp dword [esp + 0x18]
fild dword [esp + 0x14]
mov dword [esp + 0x14], esi
fdiv st(1)
fstp dword [esp + 0x24]
fild dword [esp + 0x14]
fdiv st(1)
fstp dword [esp + 0x28]
fstp st(0)
fld dword [0x41f260]
jge 0x479619
sub eax, edx
push ebx
lea esi, [ecx + edx*4 + 4]
mov dword [esp + 0x18], eax
fld st(0)
fmul dword [esp + 0x1c]
call fcn.0047da80
and eax, 0xff
fld st(0)
fmul dword [esp + 0x28]
lea ebx, [eax + edi + 0xff00]
shl ebx, 8
call fcn.0047da80
mov ecx, ebx
mov bl, al
mov eax, ebp
fld st(0)
fmul dword [esp + 0x2c]
and ebx, 0xff
add eax, ecx
add ebx, eax
shl ebx, 8
call fcn.0047da80
mov edx, dword [esp + 0x24]
and eax, 0xff
add edx, ebx
add esi, 4
fadd dword [0x41f2f4]
add eax, edx
mov dword [esi - 4], eax
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x4795b1
pop ebx
pop edi
pop esi
fstp st(0)
pop ebp
ret 0x20

Function at 0x4798c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41eaf1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
push 0xc
mov dword [esp + 0x10], esi
mov byte [esi + 0x14], al
call fcn.0047d4cd
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
mov cl, byte [esp + 0xf]
push 0xc
mov dword [esp + 0x20], ebx
mov byte [esi + 0x20], cl
call fcn.0047d4cd
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ebx
mov dl, byte [esp + 0x13]
push 0xc
mov byte [esp + 0x24], 1
mov byte [esi + 0x2c], dl
call fcn.0047d4cd
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov al, byte [esp + 0x17]
push 0xc
mov byte [esp + 0x28], 2
mov byte [esi + 0x38], al
call fcn.0047d4cd
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
mov dword [esi], 0x41f3bc
mov dword [esi + 8], ebx
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 4], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4798dd
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41eaf1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
push 0xc
mov dword [esp + 0x10], esi
mov byte [esi + 0x14], al
call fcn.0047d4cd
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
mov cl, byte [esp + 0xf]
push 0xc
mov dword [esp + 0x20], ebx
mov byte [esi + 0x20], cl
call fcn.0047d4cd
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ebx
mov dl, byte [esp + 0x13]
push 0xc
mov byte [esp + 0x24], 1
mov byte [esi + 0x2c], dl
call fcn.0047d4cd
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov al, byte [esp + 0x17]
push 0xc
mov byte [esp + 0x28], 2
mov byte [esi + 0x38], al
call fcn.0047d4cd
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
mov dword [esi], 0x41f3bc
mov dword [esi + 8], ebx
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 4], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x40699a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x4069d1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4069ab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x4069a6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x4069e4
pop edi
not eax
pop esi
ret 0xc
Function at 0x454ab0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c9bab
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.004b9ad1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x454b32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b7420
mov eax, dword [eax]
push 0x5f324c
push eax
call fcn.004a9144
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b9d5c
test bl, bl
je 0x454b32
push 0x5f324c
lea ecx, [esp + 0xc]
call fcn.004ba138
push 0x5f6dcc
lea ecx, [esp + 0xc]
call fcn.004ba138
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 0x454b6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b9d5c
jmp 0x454c39
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 0x454bf2
lea edx, [esp + 0x7c]
push 0x5f6dc8
push edx
call fcn.004a9144
add esp, 8
test eax, eax
je 0x454bf2
lea eax, [esp + 0x7c]
push 0x5f6dc4
push eax
call fcn.004a9144
add esp, 8
test eax, eax
je 0x454bf2
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 0x454b82
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.004b9d5c
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 0x455430
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 0x455492
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 0x4554a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c9c2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5fe074]
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 0x4555d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x455506
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b9d5c
xor eax, eax
jmp 0x45564f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b9ee5
push esi
lea ecx, [esp + 0xc]
call fcn.004ba174
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5f6e04
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x45562d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push connect
call fcn.00455430
test eax, eax
jne 0x45562d
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 connect
mov ecx, edi
call fcn.00455430
test eax, eax
jne 0x45562d
lea eax, [esp + 0x14]
push 0x5f6de0
push eax
call fcn.004aa320
mov esi, eax
add esp, 8
test esi, esi
jne 0x45560c
lea ecx, [esp + 0x14]
push 0x5f6ddc
push ecx
call fcn.004aa2a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x45560c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x45560f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b9e95
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45551e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b9d5c
xor eax, eax
jmp 0x45564f
mov byte [esi], 0
push 0x5f6dd8
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.004b9d5c
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 0x468310
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 0x46837e
cmp si, 0x69
ja 0x46837e
add esi, 0xffd0
cmp si, 0x11
je 0x46834e
push 0x11
call edi
test ax, ax
jge 0x46834e
or esi, 0x2000
cmp si, 0x10
je 0x468363
push 0x10
call edi
test ax, ax
jge 0x468363
or esi, 0x4000
cmp si, 0x12
je 0x468378
push 0x12
call edi
test ax, ax
jge 0x468378
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x46838b
mov esi, 0xbd
jmp 0x46833f
cmp si, 0x6e
jne 0x468398
mov esi, 0xbe
jmp 0x46833f
cmp si, 0x6f
jne 0x468339
mov esi, 0xbf
jmp 0x46833f

Function at 0x469b40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x60efd8]
xor edx, edx
cmp eax, edx
jne 0x469b66
xor eax, eax
mov byte [eax + 0x60eed8], al
inc eax
cmp eax, 0x100
jl 0x469b4e
mov dword [0x60efd8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x60eed8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x469bf7
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 0x469bca
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 0x469b98
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x469c70
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 0x469cc3
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 0x469caa
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