joyce8/EMBER2024-capa huggingface dataset:
Function at 0x501260
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14
call fcn.006499b0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x50128e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
and ecx, 2
je 0x50128e
mov dword [ebp - 8], str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jmp 0x501295
mov dword [ebp - 8], str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov edx, dword [ebp + 0x14]
mov dword [ebp - 4], edx
jmp 0x5012a6
mov eax, dword [ebp - 4]
sub eax, 3
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x501406
cmp dword [ebp - 4], 3
jl 0x501351
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx]
shl edx, 0x10
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 1]
shl ecx, 8
or edx, ecx
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 2]
or edx, ecx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
shr edx, 0x12
and edx, 0x3f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + edx]
mov byte [eax], dl
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x10]
shr ecx, 0xc
and ecx, 0x3f
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov cl, byte [eax + ecx]
mov byte [edx], cl
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 0x10]
shr eax, 6
and eax, 0x3f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov al, byte [edx + eax]
mov byte [ecx], al
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 0x10]
and edx, 0x3f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + edx]
mov byte [eax], dl
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
jmp 0x5013ef
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx]
shl edx, 0x10
mov dword [ebp - 0x10], edx
cmp dword [ebp - 4], 2
jne 0x501373
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 1]
shl ecx, 8
or ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
shr edx, 0x12
and edx, 0x3f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + edx]
mov byte [eax], dl
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x10]
shr ecx, 0xc
and ecx, 0x3f
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov cl, byte [eax + ecx]
mov byte [edx], cl
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
cmp dword [ebp - 4], 1
jne 0x5013bc
mov dword [ebp - 0x14], 0x3d
jmp 0x5013cf
mov eax, dword [ebp - 0x10]
shr eax, 6
and eax, 0x3f
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 0x14]
mov byte [eax], cl
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x3d
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
add eax, 3
mov dword [ebp + 0x10], eax
jmp 0x50129d
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x515370
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push 0x70
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.006480e0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx], 0xc1059ed8
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0x367cd507
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x3070dd17
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xf70e5939
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xffc00b31
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x68581511
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0x64f98fa7
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], 0xbefa4fa4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6c], 0x1c
mov eax, 1
pop ebp
ret

Function at 0x5153f0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0x70
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.006480e0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x6a09e667
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xbb67ae85
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x3c6ef372
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xa54ff53a
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x510e527f
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x9b05688c
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0x1f83d9ab
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], 0x5be0cd19
mov eax, dword [ebp + 8]
mov dword [eax + 0x6c], 0x20
mov eax, 1
pop ebp
ret
Function at 0x518600
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x367cd507
mov dword [ecx + 0xc], 0x629a292a
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x3070dd17
mov dword [edx + 0x14], 0x9159015a
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], 0xffc00b31
mov dword [ecx + 0x24], 0x67332667
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], 0x68581511
mov dword [edx + 0x2c], 0x8eb44a87
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 0xbefa4fa4
mov dword [ecx + 0x3c], 0x47b5481d
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xd0], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0xd4], 0x30
mov eax, 1
pop ebp
ret

Function at 0x5186d0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x84caa73b
mov dword [ecx + 0xc], 0xbb67ae85
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xfe94f82b
mov dword [edx + 0x14], 0x3c6ef372
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], 0xade682d1
mov dword [ecx + 0x24], 0x510e527f
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], 0x2b3e6c1f
mov dword [edx + 0x2c], 0x9b05688c
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 0x137e2179
mov dword [ecx + 0x3c], 0x5be0cd19
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xd0], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0xd4], 0x40
mov eax, 1
pop ebp
ret
Function at 0x531bf0
Capabilities:
Contain obfuscated stackstrings
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x90
call fcn.006499b0
mov eax, dword [0x71d770]
xor eax, ebp
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0x61707865
mov dword [ebp - 0x44], 0x3320646e
mov dword [ebp - 0x40], 0x79622d32
mov dword [ebp - 0x3c], 0x6b206574
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 4]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc], edx
cmp dword [ebp + 0x10], 0
jbe 0x531d22
mov dword [ebp - 4], 0x40
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
jae 0x531cac
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x90]
push eax
call fcn.00531d30
add esp, 8
mov dword [ebp - 8], 0
jmp 0x531cd1
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
jae 0x531cf9
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
mov edx, dword [ebp - 8]
movzx eax, byte [ebp + edx - 0x90]
xor ecx, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx], cl
jmp 0x531cc8
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 4]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp - 4]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x531c8d
mov ecx, dword [ebp - 0x4c]
xor ecx, ebp
call fcn.0064815a
mov esp, ebp
pop ebp
ret
Function at 0x5447c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18
call fcn.006499b0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov byte [ecx], 0
cmp dword [ebp + 0xc], 0x80
jle 0x5447e9
mov dword [ebp + 0xc], 0x80
cmp dword [ebp + 0x14], 0
jg 0x5447f6
mov dword [ebp + 0x14], 0x400
cmp dword [ebp + 0x14], 0x400
jle 0x544806
mov dword [ebp + 0x14], 0x400
mov dword [ebp - 4], 0
jmp 0x544818
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jge 0x544832
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 4]
mov al, byte [edx]
mov byte [ecx], al
jmp 0x54480f
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0xc]
movzx edx, byte [ecx - 1]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
jmp 0x544860
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 4], 0x80
jge 0x544892
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
add ecx, dword [ebp - 0x10]
and ecx, 0xff
movzx edx, byte [ecx + 0x6c96b0]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov cl, byte [ebp - 0x10]
mov byte [eax], cl
jmp 0x54484e
mov edx, dword [ebp + 0x14]
add edx, 7
sar edx, 3
mov dword [ebp - 0x18], edx
mov eax, 0x80
sub eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
neg ecx
and ecx, 7
mov edx, 0xff
sar edx, cl
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
and ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x6c96b0]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov cl, byte [ebp - 0x10]
mov byte [eax], cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
test edx, edx
je 0x544913
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + ecx]
xor eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x6c96b0]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
mov al, byte [ebp - 0x10]
mov byte [edx], al
jmp 0x5448dc
mov ecx, dword [ebp + 8]
add ecx, 0xfc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x7f
jmp 0x544931
mov edx, dword [ebp - 4]
sub edx, 2
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jl 0x544965
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
shl ecx, 8
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
movzx eax, byte [edx - 1]
or ecx, eax
and ecx, 0xffff
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 8]
sub eax, 4
mov dword [ebp - 8], eax
jmp 0x544928
mov esp, ebp
pop ebp
ret
Function at 0x5524e0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.006499b0
push 0x78
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.006480e0
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x55250f
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 8
jge 0x55252a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx*4 + 0x6cbff8]
mov dword [eax + edx*4], ecx
jmp 0x552506
mov esp, ebp
pop ebp
ret
Function at 0x5874e0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xec
call fcn.006499b0
mov eax, dword [0x71d770]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
push str.SHA512
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043c0d0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x587523
xor eax, eax
jmp 0x5875c4
push 0
mov edx, dword [ebp - 4]
push edx
push 0
lea eax, [ebp - 0x48]
push eax
push 0x20
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0043b910
add esp, 0x18
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 4]
push edx
call fcn.0043c8c0
add esp, 4
cmp dword [ebp - 0xec], 0
jne 0x58756a
push 0x40
lea eax, [ebp - 0x48]
push eax
call fcn.0047f930
add esp, 8
xor eax, eax
jmp 0x5875c4
movzx ecx, byte [ebp - 0x48]
and ecx, 0xf8
mov byte [ebp - 0x48], cl
movzx edx, byte [ebp - 0x29]
and edx, 0x3f
mov byte [ebp - 0x29], dl
movzx eax, byte [ebp - 0x29]
or eax, 0x40
mov byte [ebp - 0x29], al
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xe8]
push edx
call fcn.0057c2d0
add esp, 8
lea eax, [ebp - 0xe8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00578d70
add esp, 8
push 0x40
lea edx, [ebp - 0x48]
push edx
call fcn.0047f930
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0064815a
mov esp, ebp
pop ebp
ret
Function at 0x587ff0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13c
call fcn.006499b0
mov eax, dword [0x71d770]
xor eax, ebp
mov dword [ebp - 0xf4], eax
push 0x20
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.006493a0
add esp, 0xc
movzx edx, byte [ebp - 0x114]
and edx, 0xf8
mov byte [ebp - 0x114], dl
movzx eax, byte [ebp - 0xf5]
and eax, 0x7f
mov byte [ebp - 0xf5], al
movzx ecx, byte [ebp - 0xf5]
or ecx, 0x40
mov byte [ebp - 0xf5], cl
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0xf0]
push eax
call fcn.0057c2d0
add esp, 8
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.0057c7b0
add esp, 0xc
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.0057c800
add esp, 0xc
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x13c]
push edx
call fcn.0057ad70
add esp, 8
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.005791e0
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00578df0
add esp, 8
push 0x20
lea edx, [ebp - 0x114]
push edx
call fcn.0047f930
add esp, 8
mov ecx, dword [ebp - 0xf4]
xor ecx, ebp
call fcn.0064815a
mov esp, ebp
pop ebp
ret
Function at 0x58f020
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.006499b0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp + 0x14]
jne 0x58f058
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
cmp eax, 0x6a
je 0x58f08a
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x6b
je 0x58f08a
call fcn.00460b90
push str.RSA_padding_check_X931
push 0x43
push str.....Srcopenssl_3.0.12crypto_rsa_rsa_x931.c
call fcn.00460de0
add esp, 0xc
push 0
push 0x89
push 4
call fcn.00460f10
add esp, 0xc
or eax, 0xffffffff
jmp 0x58f1c3
mov eax, dword [ebp - 4]
movzx ecx, byte [eax]
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp ecx, 0x6b
jne 0x58f163
mov eax, dword [ebp + 0x14]
sub eax, 3
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x58f0bd
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jge 0x58f123
mov eax, dword [ebp - 4]
mov cl, byte [eax]
mov byte [ebp - 0xd], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
movzx eax, byte [ebp - 0xd]
cmp eax, 0xba
jne 0x58f0e3
jmp 0x58f123
movzx ecx, byte [ebp - 0xd]
cmp ecx, 0xbb
je 0x58f121
call fcn.00460b90
push str.RSA_padding_check_X931
push 0x4e
push str.....Srcopenssl_3.0.12crypto_rsa_rsa_x931.c
call fcn.00460de0
add esp, 0xc
push 0
push 0x8a
push 4
call fcn.00460f10
add esp, 0xc
or eax, 0xffffffff
jmp 0x58f1c3
jmp 0x58f0b4
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 8], 0
jne 0x58f161
call fcn.00460b90
push str.RSA_padding_check_X931
push 0x56
push str.....Srcopenssl_3.0.12crypto_rsa_rsa_x931.c
call fcn.00460de0
add esp, 0xc
push 0
push 0x8a
push 4
call fcn.00460f10
add esp, 0xc
or eax, 0xffffffff
jmp 0x58f1c3
jmp 0x58f16c
mov eax, dword [ebp + 0x14]
sub eax, 2
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp edx, 0xcc
je 0x58f1ac
call fcn.00460b90
push str.RSA_padding_check_X931
push 0x5f
push str.....Srcopenssl_3.0.12crypto_rsa_rsa_x931.c
call fcn.00460de0
add esp, 0xc
push 0
push 0x8b
push 4
call fcn.00460f10
add esp, 0xc
or eax, 0xffffffff
jmp 0x58f1c3
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.006493a0
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x5a3980
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.006499b0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx], 5
je 0x5a39bc
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005a33c0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x5a39bc
mov eax, dword [ebp - 4]
jmp 0x5a3a13
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
push 0xf
mov eax, dword [ebp + 8]
push eax
call fcn.00438530
add esp, 8
cmp dword [ebp - 4], 0
jg 0x5a3a10
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ee780
add esp, 4
test eax, eax
je 0x5a3a10
push 0xa
mov edx, dword [ebp + 8]
push edx
call fcn.00438560
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x60c180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.006499b0
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [ebp - 7], cl
movzx edx, byte [ebp - 7]
sar edx, 7
mov byte [ebp - 6], dl
mov dword [ebp - 4], 0
jmp 0x60c1b7
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov cl, byte [ebp - 5]
mov byte [ebp - 7], cl
mov edx, dword [ebp + 0x10]
sub edx, 1
cmp dword [ebp - 4], edx
jge 0x60c1e7
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov cl, byte [eax + 1]
mov byte [ebp - 5], cl
movzx edx, byte [ebp - 5]
sar edx, 7
movzx eax, byte [ebp - 7]
shl eax, 1
or eax, edx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], al
jmp 0x60c1a8
movzx edx, byte [ebp - 7]
shl edx, 1
movzx eax, byte [ebp - 6]
xor ecx, ecx
sub ecx, eax
mov eax, dword [ebp + 0x10]
sub eax, 0x10
neg eax
sbb eax, eax
and eax, 0xffffff94
add eax, 0x87
and ecx, eax
xor edx, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], dl
mov esp, ebp
pop ebp
ret

Function at 0x61e04f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x67ff82
call fcn.00654316
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.004036b0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x61e0b1
call fcn.00618e9c
cmp eax, 1
jne 0x61e0b1
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x702008
push eax
call fcn.0061c0b8
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00403440
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402060
mov dword [ebp + 8], reloc.WS2_32.dll_accept
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402060
mov eax, esi
call fcn.006543ee
ret 0x10

Function at 0x61e0da
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x67ffad
call fcn.00654316
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.004036b0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x61e13c
call fcn.00618e9c
cmp eax, 1
jne 0x61e13c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x702008
push eax
call fcn.0061c0b8
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00403440
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402060
mov dword [ebp + 8], reloc.WS2_32.dll_accept
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402060
mov eax, esi
call fcn.006543ee
ret 0x14