joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6fa7a0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
cmp ebp, 2
jne 0x6fa7e1
mov eax, dword [esp + 0x34]
cmp esi, 0x43f
je 0x6fa7d0
cmp esi, 0x40a
jne 0x6fa81f
mov edi, edx
xor ecx, ecx
cmp esi, 0x40a
setne cl
add ecx, ecx
jmp 0x6fa833
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x6fa9d6
lea eax, [esp + 4]
push edi
push 0
push eax
push 0
call fcn.00578510
add esp, 0x10
mov ebx, 0xa9
cmp dword [esp + 4], 0xffffffff
je 0x6fa91a
call fcn.005b5560
push str.ossl_ecx_key_op
push ebx
jmp 0x6faa1e
mov edi, edx
xor ecx, ecx
cmp esi, 0x40b
setne cl
lea ecx, [ecx*2 + 1]
push eax
push 1
push ecx
push dword [esp + 0x3c]
call fcn.006fab00
add esp, 0x10
test eax, eax
je 0x6fa8db
test ebp, ebp
mov dword [esp], eax
je 0x6fa903
push eax
call fcn.006fac20
add esp, 4
test eax, eax
je 0x6fa93e
cmp ebp, 2
jne 0x6fa94a
test esi, esi
mov ecx, dword [esp]
je 0x6fa97b
mov ecx, 0x20
cmp esi, 0x40a
je 0x6fa89e
cmp esi, 0x43f
je 0x6fa89e
xor ecx, ecx
cmp esi, 0x40b
sete cl
xor ecx, 0x39
push 0
push ecx
mov ebp, eax
push eax
push dword [esp + 0x3c]
call fcn.00603a20
add esp, 0x10
test eax, eax
jle 0x6fa9bf
cmp esi, 0x40a
mov ecx, dword [esp]
jne 0x6faa43
and byte [ebp], 0xf8
movzx eax, byte [ebp + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [ebp + 0x1f], al
jmp 0x6fa97b
call fcn.005b5560
push str.ossl_ecx_key_op
push 0xbc
push str.crypto_ec_ecx_backend.c
call fcn.005b5660
add esp, 0xc
push 0
push 0x80010
jmp 0x6faa2f
add eax, 0xc
push edi
push ebx
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov eax, dword [esp + 0xc]
add esp, 0xc
jmp 0x6faa3b
push dword [edi]
call fcn.005f0d10
add esp, 4
test esi, esi
je 0x6fa9cc
mov ebx, 0xaf
cmp eax, esi
jne 0x6fa80f
jmp 0x6fa9ce
mov esi, 0x80010
mov edi, 0xc6
jmp 0x6fa99a
mov ecx, 0x20
cmp esi, 0x40a
je 0x6fa96d
cmp esi, 0x43f
je 0x6fa96d
xor ecx, ecx
cmp esi, 0x40b
sete cl
xor ecx, 0x39
push ecx
push ebx
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov ecx, dword [esp]
push ecx
call fcn.006fa500
add esp, 4
test eax, eax
je 0x6fa990
mov eax, dword [esp]
jmp 0x6faa3b
mov esi, 0xa6
mov edi, 0xda
call fcn.005b5560
push str.ossl_ecx_key_op
push edi
push str.crypto_ec_ecx_backend.c
call fcn.005b5660
add esp, 0xc
push 0
push esi
push 0x10
call fcn.005b5750
add esp, 0xc
push dword [esp]
call fcn.006faba0
add esp, 4
jmp 0x6faa39
mov esi, eax
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test ebx, ebx
sete al
test esi, esi
sete cl
or cl, al
jne 0x6faa0f
mov eax, 0x20
cmp esi, 0x40a
je 0x6faa07
cmp esi, 0x43f
je 0x6faa07
xor eax, eax
cmp esi, 0x40b
sete al
xor eax, 0x39
cmp eax, edx
je 0x6fa7bc
call fcn.005b5560
push str.ossl_ecx_key_op
push 0xb5
push str.crypto_ec_ecx_backend.c
call fcn.005b5660
add esp, 0xc
push 0
push 0x66
push 0x10
call fcn.005b5750
add esp, 0xc
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
cmp esi, 0x40b
jne 0x6fa97b
and byte [ebp], 0xfc
or byte [ebp + 0x37], 0x80
jmp 0x6fa97b
Function at 0x701230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa0
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [ecx]
xor eax, eax
cmp ecx, 1
sbb eax, eax
mov dword [esp], eax
mov eax, 1
test ebx, ebx
je 0x7013ae
mov edx, dword [ebx]
test edx, edx
je 0x7013ae
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x3c]
mov dword [esp + 8], eax
or dword [esp], ecx
nop word [eax + eax]
xorps xmm0, xmm0
movsd qword [esp + 0x70], xmm0
xorps xmm1, xmm1
movups xmmword [esp + 0x60], xmm1
movups xmmword [esp + 0x50], xmm1
movups xmmword [esp + 0x40], xmm1
movups xmmword [esp + 0x30], xmm1
movups xmmword [esp + 0x20], xmm1
movups xmmword [esp + 0x10], xmm1
lea eax, [esp + 0x88]
movsd qword [eax + 0x10], xmm0
movups xmmword [eax], xmm1
mov eax, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp]
mov dword [esp + 0x84], eax
mov dword [esp + 0x94], edx
lea ecx, [esp + 0x78]
mov edx, 0xae59a0
push 0x56
call fcn.007015d0
add esp, 4
mov esi, eax
mov edi, fcn.007009b0
test eax, eax
je 0x701317
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x24]
test edi, edi
mov ecx, fcn.007009b0
cmove edi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x10]
push eax
push esi
push 7
call edi
add esp, 0xc
mov ebp, eax
test eax, eax
jle 0x70135f
cmp dword [esp + 0x14], 0
je 0x70135f
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0xc]
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.005d09d0
add esp, 0x18
mov ebp, eax
test ebp, ebp
jle 0x701378
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x10]
push eax
push esi
push 8
call edi
add esp, 0xc
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x701393
push 0x2c9
push str.crypto_evp_ctrl_params_translate.c
push eax
call fcn.005db000
add esp, 0xc
test ebp, ebp
jle 0x7013ac
mov edx, dword [ebx + 0x14]
add ebx, 0x14
test edx, edx
jne 0x701280
mov eax, 1
jmp 0x7013ae
xor eax, eax
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x70a440
Capabilities:
Encode data using base64

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov esi, dword [edx]
test esi, esi
je 0x70a51f
mov ebx, dword [esp + 0x28]
test byte [edx + 0x5c], 2
mov eax, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov edi, esi
mov esi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
cmove esi, eax
test edi, edi
jle 0x70a526
mov dword [esp + 4], esi
lea ebp, [edx + 9]
mov dword [esp], 4
mov esi, edi
nop dword [eax + eax]
movzx eax, byte [ebp - 1]
mov edi, eax
shl edi, 0x10
cmp esi, 2
mov dword [esp + 8], esi
jbe 0x70a535
movzx ebx, byte [ebp]
shl ebx, 8
movzx ecx, byte [ebp + 1]
mov dword [esp + 0xc], ecx
lea edx, [ebx + ecx]
or ebx, edi
shr eax, 2
mov esi, dword [esp + 4]
movzx eax, byte [esi + eax]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp]
mov byte [edi + ecx - 4], al
shr ebx, 0xc
and ebx, 0x3f
movzx eax, byte [esi + ebx]
mov byte [edi + ecx - 3], al
shr edx, 6
and edx, 0x3f
movzx eax, byte [esi + edx]
mov byte [edi + ecx - 2], al
mov eax, dword [esp + 0xc]
and eax, 0x3f
movzx eax, byte [esi + eax]
mov esi, dword [esp + 8]
mov byte [edi + ecx - 1], al
add ecx, 4
mov dword [esp], ecx
add ebp, 3
add esi, 0xfffffffd
jne 0x70a490
mov ebx, dword [esp + 0x28]
mov esi, dword [esp]
lea eax, [esi + ebx]
add eax, 0xfffffffc
add esi, 0xfffffffc
jmp 0x70a587
xor esi, esi
jmp 0x70a5a7
xor esi, esi
mov eax, ebx
mov byte [eax], 0
test byte [edx + 0x5c], 1
je 0x70a598
jmp 0x70a59d
jne 0x70a540
movzx eax, byte [ebp]
shl eax, 8
or edi, eax
mov eax, edi
shr eax, 0x12
mov edx, dword [esp + 4]
movzx eax, byte [edx + eax]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp]
mov byte [ebx + esi - 4], al
mov eax, edi
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [edx + eax]
mov byte [ebx + esi - 3], al
mov cl, 0x3d
cmp dword [esp + 8], 1
je 0x70a57b
shr edi, 6
and edi, 0x3f
movzx ecx, byte [edx + edi]
lea eax, [ebx + esi]
mov byte [ebx + esi - 2], cl
mov byte [ebx + esi - 1], 0x3d
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov byte [eax], 0
test byte [edx + 0x5c], 1
jne 0x70a59d
mov byte [ebx + esi], 0xa
inc esi
mov byte [ebx + esi], 0
mov dword [edx], 0
mov dword [ecx], esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x713800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x44]
mov edi, dword [eax]
test edi, edi
js 0x713935
mov edx, dword [esp + 0x40]
movzx eax, byte [edx]
movzx ebp, byte [edx + 1]
movzx ecx, byte [edx + 2]
movzx esi, byte [edx + 3]
mov dword [esp + 0x18], esi
movzx esi, byte [edx + 4]
mov dword [esp + 0x14], esi
movzx ebx, byte [edx + 5]
movzx esi, byte [edx + 6]
mov dword [esp + 0x10], esi
movzx edx, byte [edx + 7]
mov byte [esp], al
mov esi, eax
mov eax, ebp
mov byte [esp + 1], al
shl esi, 0x18
shl ebp, 0x10
or ebp, esi
mov byte [esp + 2], cl
shl ecx, 8
or ecx, ebp
mov eax, dword [esp + 0x18]
or ecx, eax
mov byte [esp + 3], al
mov eax, dword [esp + 0x14]
mov byte [esp + 4], al
mov esi, eax
mov byte [esp + 5], bl
shl esi, 0x18
shl ebx, 0x10
or ebx, esi
mov eax, dword [esp + 0x10]
mov byte [esp + 6], al
shl eax, 8
or eax, ebx
or eax, edx
mov byte [esp + 7], dl
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
cmp dword [esp + 0x38], 0
je 0x71392f
xor ebp, ebp
xor ebx, ebx
jmp 0x7138cd
movzx edx, byte [esp + edi]
mov esi, dword [esp + 0x30]
xor dl, byte [esi + ebp]
mov esi, dword [esp + 0x34]
mov byte [esi + ebp], dl
inc edi
and edi, 7
inc ebp
cmp dword [esp + 0x38], ebp
je 0x7138fc
test edi, edi
jne 0x7138b0
push dword [esp + 0x3c]
lea eax, [esp + 0xc]
push eax
call fcn.00712f10
add esp, 8
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov edx, ecx
bswap edx
mov dword [esp], edx
mov edx, eax
bswap edx
mov dword [esp + 4], edx
inc ebx
jmp 0x7138b0
test ebx, ebx
je 0x71392f
mov edx, ecx
shr edx, 0x18
mov esi, dword [esp + 0x40]
mov byte [esi], dl
mov edx, ecx
shr edx, 0x10
mov byte [esi + 1], dl
mov byte [esi + 2], ch
mov byte [esi + 3], cl
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 5], cl
mov byte [esi + 6], ah
mov byte [esi + 7], al
mov eax, dword [esp + 0x44]
jmp 0x71393a
mov edi, 0xffffffff
mov dword [eax], edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x719800
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa0
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x71994b
mov edi, ecx
lea eax, [ecx + 0xc]
mov dword [esp + 0x18], eax
lea eax, [ecx + 0x14]
mov dword [esp + 0x10], eax
movzx ecx, byte [ecx + 0xc]
movzx eax, byte [edi + 0x14]
xor ebp, ebp
mov dword [esp + 0x14], edx
nop word [eax + eax]
mov esi, dword [edx + ebp]
mov dword [esp + 0x1c], esi
mov dword [esp], esi
mov dword [esp + 8], esi
mov ebx, dword [edx + ebp + 4]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], ebx
and cl, 0x9f
or cl, 0x40
mov byte [edi + 0xc], cl
and al, 0x9f
or al, 0x20
mov byte [edi + 0x14], al
mov esi, dword [esp + 0x18]
push esi
call fcn.00592b30
add esp, 4
lea eax, [esp + 0x20]
push eax
push esi
call fcn.00592fa0
add esp, 8
push 1
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.006b8f00
add esp, 0xc
mov esi, dword [esp + 0x10]
push esi
call fcn.00592b30
add esp, 4
lea eax, [esp + 0x20]
push eax
push esi
call fcn.00592fa0
add esp, 8
push 1
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 8]
push eax
call fcn.006b8f00
add esp, 0xc
mov eax, dword [esp]
mov edx, dword [esp + 0x1c]
xor eax, edx
mov ecx, dword [esp + 4]
xor edx, dword [esp + 8]
xor ecx, ebx
xor ebx, dword [esp + 0xc]
mov byte [edi + 0xc], dl
mov byte [edi + 0xd], dh
mov esi, edx
shr edx, 0x10
mov byte [edi + 0xe], dl
mov edx, esi
shr edx, 0x18
mov byte [edi + 0xf], dl
mov byte [edi + 0x10], cl
mov byte [edi + 0x11], ch
mov edx, ecx
shr edx, 0x10
mov byte [edi + 0x12], dl
mov edx, dword [esp + 0x14]
shr ecx, 0x18
mov byte [edi + 0x13], cl
mov byte [edi + 0x14], al
mov byte [edi + 0x15], ah
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 0x16], cl
mov ecx, eax
shr ecx, 0x18
mov byte [edi + 0x17], cl
mov byte [edi + 0x18], bl
mov byte [edi + 0x19], bh
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 0x1a], cl
shr ebx, 0x18
mov byte [edi + 0x1b], bl
mov ebx, dword [esp + 0xb4]
mov ecx, esi
add ebp, 8
cmp ebp, ebx
jb 0x719840
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x71fdc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov edi, dword [eax]
movzx esi, byte [edx]
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 2]
mov dword [esp + 0x1c], ecx
movzx ebx, byte [edx + 3]
movzx ecx, byte [edx + 4]
mov dword [esp + 0x14], ecx
movzx ebp, byte [edx + 5]
movzx ecx, byte [edx + 6]
mov dword [esp + 0x18], ecx
movzx ecx, byte [edx + 7]
mov dword [esp + 0x10], ecx
mov ecx, esi
mov byte [esp], cl
mov byte [esp + 1], al
mov esi, eax
shl esi, 8
or esi, ecx
mov edx, dword [esp + 0x1c]
mov byte [esp + 2], dl
mov byte [esp + 3], bl
mov ecx, dword [esp + 0x14]
mov byte [esp + 4], cl
mov eax, ebp
mov byte [esp + 5], al
shl eax, 8
or eax, ecx
shl edx, 0x10
or edx, esi
mov ecx, ebx
shl ecx, 0x18
or ecx, edx
mov ebx, dword [esp + 0x18]
mov byte [esp + 6], bl
shl ebx, 0x10
or ebx, eax
mov eax, dword [esp + 0x10]
mov byte [esp + 7], al
shl eax, 0x18
or eax, ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
cmp dword [esp + 0x3c], 0
je 0x71fee3
xor ebp, ebp
xor ebx, ebx
jmp 0x71fe8d
movzx edx, byte [esp + edi]
mov esi, dword [esp + 0x34]
xor dl, byte [esi + ebp]
mov esi, dword [esp + 0x38]
mov byte [esi + ebp], dl
inc edi
and edi, 7
inc ebp
cmp dword [esp + 0x3c], ebp
je 0x71feb4
test edi, edi
jne 0x71fe70
push dword [esp + 0x40]
lea eax, [esp + 0xc]
push eax
call fcn.0071f3b0
add esp, 8
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
inc ebx
jmp 0x71fe70
test ebx, ebx
je 0x71fee3
mov esi, dword [esp + 0x44]
mov byte [esi], cl
mov byte [esi + 1], ch
mov edx, ecx
shr edx, 0x10
mov byte [esi + 2], dl
shr ecx, 0x18
mov byte [esi + 3], cl
mov byte [esi + 4], al
mov byte [esi + 5], ah
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 6], cl
shr eax, 0x18
mov byte [esi + 7], al
mov eax, dword [esp + 0x48]
mov dword [eax], edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x735fb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
bswap ecx
xor ecx, 0xa3b1bac6
bswap ebx
xor ebx, 0x56aa3350
mov esi, dword [eax + 8]
bswap esi
xor esi, 0x677d9197
mov edi, dword [eax + 0xc]
bswap edi
xor edi, 0xb27022dc
mov eax, 0xfffffffc
nop dword [eax + eax]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ebp, dword [eax*4 + 0xaf1570]
xor ebp, edi
mov edx, esi
xor edx, ebx
xor edx, ebp
mov ebx, edx
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + 0xaf15e0]
shl eax, 0x18
shr ebx, 0x10
movzx ebx, bl
movzx ebp, byte [ebx + 0xaf15e0]
shl ebp, 0x10
or ebp, eax
movzx eax, dh
movzx edx, dl
movzx eax, byte [eax + 0xaf15e0]
shl eax, 8
or eax, ebp
movzx edx, byte [edx + 0xaf15e0]
or edx, eax
mov eax, edx
rol eax, 0xd
xor eax, ecx
mov ecx, edx
rol ecx, 0x17
xor ecx, edx
xor ecx, eax
mov eax, dword [esp]
mov eax, dword [eax*4 + 0xaf1574]
xor eax, edi
xor eax, esi
xor eax, ecx
mov edx, eax
mov ebx, eax
shr ebx, 0x18
movzx ebx, byte [ebx + 0xaf15e0]
shl ebx, 0x18
shr edx, 0x10
movzx edx, dl
movzx ebp, byte [edx + 0xaf15e0]
shl ebp, 0x10
or ebp, ebx
movzx edx, ah
movzx eax, al
movzx edx, byte [edx + 0xaf15e0]
shl edx, 8
or edx, ebp
movzx eax, byte [eax + 0xaf15e0]
or eax, edx
mov edx, eax
rol edx, 0xd
xor dword [esp + 4], eax
rol eax, 0x17
xor eax, edx
xor dword [esp + 4], eax
mov eax, dword [esp]
mov eax, dword [eax*4 + 0xaf1578]
xor eax, edi
xor eax, ecx
xor eax, dword [esp + 4]
mov edx, eax
mov ebx, eax
shr ebx, 0x18
movzx ebx, byte [ebx + 0xaf15e0]
shl ebx, 0x18
shr edx, 0x10
movzx edx, dl
movzx ebp, byte [edx + 0xaf15e0]
shl ebp, 0x10
or ebp, ebx
movzx edx, ah
movzx eax, al
movzx edx, byte [edx + 0xaf15e0]
shl edx, 8
or edx, ebp
movzx eax, byte [eax + 0xaf15e0]
or eax, edx
mov edx, eax
rol edx, 0xd
xor esi, eax
rol eax, 0x17
xor eax, edx
xor esi, eax
mov eax, dword [esp]
mov eax, dword [eax*4 + 0xaf157c]
xor eax, ecx
xor eax, dword [esp + 4]
xor eax, esi
mov edx, eax
mov ebx, eax
shr ebx, 0x18
movzx ebx, byte [ebx + 0xaf15e0]
shl ebx, 0x18
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + 0xaf15e0]
shl edx, 0x10
or edx, ebx
movzx ebx, ah
movzx ebx, byte [ebx + 0xaf15e0]
shl ebx, 8
or ebx, edx
movzx eax, al
movzx eax, byte [eax + 0xaf15e0]
or eax, ebx
mov ebx, dword [esp + 4]
mov edx, eax
rol edx, 0xd
xor edi, eax
rol eax, 0x17
xor eax, edx
xor edi, eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp]
mov dword [eax + edx*4 + 0x10], ecx
mov edx, dword [esp]
mov dword [eax + edx*4 + 0x14], ebx
mov edx, dword [esp]
mov dword [eax + edx*4 + 0x18], esi
mov edx, dword [esp]
mov dword [eax + edx*4 + 0x1c], edi
mov eax, dword [esp]
add eax, 4
cmp eax, 0x1c
jb 0x735ff0
mov eax, 1
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x739de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebx, dword [esp + 0x18]
xor esi, esi
test ebx, ebx
jle 0x739e00
nop
movzx eax, byte [ecx + esi]
cmp al, byte [edx + esi]
jne 0x739e00
inc esi
cmp ebx, esi
jne 0x739df0
mov esi, ebx
mov ebp, ebx
sar ebp, 0x1f
and ebp, ebx
lea eax, [ebp - 1]
mov dword [esp], eax
lea edi, [ebx - 1]
mov eax, ebx
lea ebx, [edi + 1]
test ebx, ebx
jle 0x739e2d
cmp byte [ecx + edi], 0
jne 0x739e3d
cmp byte [edx + edi], 0xff
lea edi, [edi - 1]
lea ebx, [eax - 1]
je 0x739e10
jmp 0x739e32
mov eax, ebp
mov ebx, dword [esp]
mov ebp, 0xffffffff
cmp esi, ebx
jge 0x739e4a
jmp case.0x739e6a.2
mov eax, ebx
mov ebx, edi
mov ebp, 0xffffffff
cmp esi, ebx
jl case.0x739e6a.2
cmp esi, eax
jge 0x739e78
movzx ecx, byte [ecx + esi]
movzx edx, byte [edx + esi]
mov ch, dl
xor ch, cl
movzx eax, ch
lea ebx, [eax - 1]
cmp ebx, 0x1e
ja case.default.0x739e6a
mov edi, 7
jmp dword [ebx*4 + 0xaf3128]
mov edi, 6
jmp case.0x739e6a.1
shl esi, 3
mov ebp, esi
jmp case.0x739e6a.2
cmp eax, 0x3f
je 0x739ea5
cmp eax, 0x7f
jne case.0x739e6a.2
mov edi, 1
jmp case.0x739e6a.1
mov edi, 5
jmp case.0x739e6a.1
mov edi, 4
jmp case.0x739e6a.1
mov edi, 3
jmp case.0x739e6a.1
mov edi, 2
not dl
or cl, dl
test ch, cl
jne case.0x739e6a.2
lea ebp, [edi + esi*8]
mov eax, ebp
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x7436a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x14]
mov ebx, dword [esi + 0x28]
cmp dword [ebx], 5
je 0x7436bd
mov ecx, esi
mov edx, ebx
call fcn.007440f0
test eax, eax
jle 0x74373a
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp dword [ebx + 0x28], 0
je 0x7436fe
push 0xf
push esi
call fcn.0057bad0
add esp, 8
push ebp
push edi
push dword [ebx + 0x28]
call fcn.0057bda0
add esp, 0xc
mov edi, eax
push 0xf
push dword [ebx + 0x28]
call fcn.0057bae0
add esp, 8
push eax
push esi
call fcn.0057baf0
add esp, 8
jmp 0x74373c
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push ebp
push edi
push dword [esi + 0x24]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
push 0xf
push esi
call fcn.0057bad0
add esp, 8
test edi, edi
jg 0x74373c
push edi
call fcn.00583990
add esp, 4
mov ecx, eax
mov eax, 0xa
test ecx, ecx
jne 0x7436f2
jmp 0x74373c
mov edi, eax
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x744600
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebx + 4]
mov edi, eax
cmovl edi, ebx
cmovl ebx, eax
push dword [edi + 4]
push esi
call fcn.00588130
add esp, 8
test eax, eax
je 0x74465d
cmp dword [ebx + 4], 0
jle 0x744661
mov ecx, dword [edi]
mov edx, dword [ebx]
mov ebp, dword [esi]
xor eax, eax
nop dword [eax]
mov esi, dword [edx + eax*4]
xor esi, dword [ecx + eax*4]
mov dword [ebp + eax*4], esi
inc eax
cmp eax, dword [ebx + 4]
jl 0x744640
mov ebx, dword [edi + 4]
cmp eax, ebx
mov ebp, dword [esp + 0x14]
jl 0x74466e
jmp 0x74468e
xor eax, eax
jmp 0x74469f
xor eax, eax
mov ebx, dword [edi + 4]
cmp eax, ebx
mov ebp, dword [esp + 0x14]
jge 0x74468e
mov ecx, dword [edi]
mov edx, dword [ebp]
nop word cs:[eax + eax]
mov esi, dword [ecx + eax*4]
mov dword [edx + eax*4], esi
inc eax
mov ebx, dword [edi + 4]
cmp eax, ebx
jl 0x744680
mov dword [ebp + 4], ebx
push ebp
call fcn.00588c20
add esp, 4
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7547a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp + 8], ecx
mov ebp, dword [esp + 0x28]
mov ecx, dword [ebp + 0x10c]
lea esi, [ebp + 0x114]
mov dword [ebp + 0x114], 0x3020100
inc ecx
cmp ecx, 3
mov edi, 2
cmovae edi, ecx
cmp ecx, 9
mov dword [esp + 4], esi
jae 0x7547e9
mov eax, 1
mov ecx, 0x3020100
jmp 0x754868
mov dword [esp], edi
lea esi, [edi - 1]
mov edi, esi
and edi, 0xfffffff8
imul ecx, edi, 0x4040404
add ecx, 0x3020100
lea eax, [edi + 1]
movdqa xmm0, xmmword [0xafc8f0]
xor ebx, ebx
movdqa xmm1, xmmword [0xafc900]
movdqa xmm2, xmmword [0xafc910]
movdqa xmm3, xmmword [str._________________NO_ERROR]
nop word cs:[eax + eax]
movdqa xmm4, xmm0
paddd xmm4, xmm1
movdqa xmm5, xmm0
paddd xmm5, xmm2
movdqu xmmword [ebp + ebx*4 + 0x118], xmm4
movdqu xmmword [ebp + ebx*4 + 0x128], xmm5
add ebx, 8
paddd xmm0, xmm3
cmp edi, ebx
jne 0x754830
cmp esi, edi
mov esi, dword [esp + 4]
mov edi, dword [esp]
je 0x75487e
add ecx, 0x4040404
nop
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x4040404
cmp edi, eax
jne 0x754870
test edx, edx
je 0x754897
lea ecx, [ebp + 0x113]
cmp edx, 1
mov dword [esp + 0xc], edx
jne 0x75489e
xor esi, esi
xor ebx, ebx
jmp 0x75490b
xor ebx, ebx
jmp 0x754940
and edx, 0xfffffffe
mov dword [esp + 0x10], edx
xor esi, esi
xor ebx, ebx
mov dword [esp], ecx
nop dword [eax]
mov edi, dword [esp + 8]
movzx ebp, byte [edi + esi]
mov edx, dword [esp + 4]
movzx eax, byte [edx + ebp]
mov byte [edi + esi], al
mov byte [ecx], al
lea eax, [ebp + 1]
push eax
push ecx
push edx
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
add esp, 0xc
or ebx, ebp
movzx ebp, byte [edi + esi + 1]
mov edx, dword [esp + 4]
movzx eax, byte [edx + ebp]
mov byte [edi + esi + 1], al
mov ecx, dword [esp]
mov byte [ecx], al
lea eax, [ebp + 1]
push eax
push dword [esp + 4]
push edx
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov ecx, dword [esp + 0xc]
add esp, 0xc
or ebx, ebp
add esi, 2
cmp dword [esp + 0x10], esi
jne 0x7548b0
test byte [esp + 0xc], 1
je 0x754939
mov edx, dword [esp + 8]
movzx ebp, byte [edx + esi]
mov edi, ecx
mov ecx, dword [esp + 4]
movzx eax, byte [ecx + ebp]
mov byte [edx + esi], al
mov byte [edi], al
lea eax, [ebp + 1]
push eax
push edi
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
add esp, 0xc
or ebx, ebp
shr ebx, 2
mov ebp, dword [esp + 0x28]
mov dword [ebp + 0x10c], ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret