joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e0f5
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
test cx, cx
push ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], eax
jbe 0x46e197
push ebp
movzx ecx, cx
push esi
push edi
mov dword [esp + 0x1c], ecx
jmp 0x46e125
mov eax, dword [esp + 0x10]
jmp 0x46e125
mov edi, dword [eax + 4]
mov ebp, dword [eax]
mov dword [esp + 0x18], 0x10
lea ecx, [ecx]
xor ecx, ecx
mov cl, bl
lea edx, [esp + 0x14]
mov dword [esp + 0x14], edi
and ecx, 0xf
call fcn.0046e0c5
mov edx, dword [esp + 0x14]
mov esi, ebp
xor esi, edx
mov ecx, 2
lea edx, [esp + 0x24]
xor esi, ebx
call fcn.00490555
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
dec eax
mov ebp, edi
mov edi, esi
mov dword [esp + 0x18], eax
jne 0x46e135
mov eax, dword [esp + 0x10]
mov dword [eax + 4], esi
mov dword [eax], ebp
add eax, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
inc ebx
dec eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
jne 0x46e116
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x46e1a5
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
test ax, ax
push ebp
mov ebp, dword [esp + 0x10]
jbe 0x46e22e
push ebx
movzx eax, ax
push esi
mov dword [esp + 0x10], eax
push edi
jmp 0x46e1c5
mov esi, dword [ebp]
mov edi, dword [ebp + 4]
mov dword [esp + 0x10], 0x10
mov edi, edi
mov ecx, 2
lea edx, [esp + 0x20]
call fcn.0046e0c5
mov ebx, dword [esp + 0x20]
xor ecx, ecx
mov cl, bl
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
and ecx, 0xf
call fcn.0046e0c5
mov ecx, dword [esp + 0x10]
mov eax, edi
xor eax, dword [esp + 0x1c]
xor eax, ebx
dec ecx
mov edi, esi
mov esi, eax
mov dword [esp + 0x10], ecx
jne 0x46e1d5
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 4], edi
add ebp, 8
inc ebx
dec eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
jne 0x46e1c5
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x46e4f5
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
movzx eax, byte [esi + 2]
movzx ecx, byte [eax + 0x4d3044]
mov eax, 4
cmp edi, eax
jle 0x46e527
push ebx
mov bl, byte [eax + esi]
mov edx, ecx
and edx, 0xff
mov dl, byte [edx + 0x4d3044]
xor bl, dl
inc ecx
mov byte [eax + esi], bl
inc eax
cmp eax, edi
jl 0x46e50a
pop ebx
ret

Function at 0x46e675
Capabilities:
Check if process is running under wine

Disassembly:
push ecx
mov eax, dword [0x506e44]
test eax, eax
mov dword [esp], 0
jne 0x46e6fa
push esi
push 0x4d31c8
mov dword [0x506e44], 1
call dword [fcn.0045d87f]
mov esi, eax
test esi, esi
je 0x46e6f9
push ebx
push edi
mov edi, dword [fcn.0045d891]
push 0x4d31d8
push esi
call edi
mov ebx, eax
test ebx, ebx
je 0x46e6f0
push 0x4d31e4
push esi
call edi
mov edi, eax
test edi, edi
je 0x46e6f0
lea eax, [esp + 0xc]
push eax
push 0x4d31f0
push 0x80000002
call ebx
test eax, eax
jne 0x46e6f0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x46e6e6
push eax
call edi
mov dword [0x506e40], 1
push esi
call dword [fcn.0045d9ba]
pop edi
pop ebx
pop esi
pop ecx
ret
Function at 0x46e8c5
Capabilities:
Encode data using xor

Disassembly:
mov dx, word [eax + 0x2c]
mov ecx, dword [esp + 4]
mov word [ecx], dx
mov dx, word [eax + 0x2e]
mov word [ecx + 2], dx
mov dx, word [eax + 0x28]
mov word [ecx + 4], dx
mov dx, word [eax + 0x2a]
mov word [ecx + 6], dx
mov edx, dword [esp + 8]
sub esp, 8
dec word [eax + 0x18]
mov edx, dword [edx]
test byte [edx + 0x4d], 1
push edi
mov di, word [eax + 0x18]
jne 0x46e916
mov dl, byte [eax + 0x1c]
cmp dl, 2
jb 0x46e90d
cmp dl, 0x34
jbe 0x46e916
mov ax, 7
pop edi
add esp, 8
ret
test di, di
je 0x46eaae
cmp di, 0x1fff
ja 0x46eaae
add ecx, 8
test di, di
mov dword [esp + 0x10], ecx
jbe 0x46eaae
push ebx
push ebp
jmp 0x46e945
mov ecx, dword [esp + 0x18]
lea ecx, [ecx]
mov dx, word [ecx]
mov word [eax + 0x28], dx
mov dx, word [ecx + 2]
mov word [eax + 0x2a], dx
mov dx, word [ecx + 4]
mov word [eax + 0x2c], dx
mov cx, word [ecx + 6]
mov word [eax + 0x2e], cx
lea ecx, [eax + 2]
mov dword [esp + 0xc], ecx
mov ebp, eax
mov dword [esp + 0x10], 6
mov dx, word [eax + 0x2c]
mov bl, dl
mov word [eax + 0x20], dx
mov cx, word [eax + 0x2e]
mov byte [esp + 0x1c], bl
mov bl, dh
xor bl, dl
movzx dx, dl
mov word [eax + 0x22], cx
movzx di, bl
mov bl, cl
shl edi, 8
add edi, edx
mov dl, ch
xor dl, bl
movzx dx, dl
and ecx, 0xff00
mov word [eax + 0x2c], di
add ecx, edx
mov word [eax + 0x2e], cx
mov dx, word [ebp]
xor dx, di
mov edi, dword [esp + 0xc]
mov word [eax + 0x2c], dx
mov dx, word [edi]
xor dx, cx
mov word [eax + 0x2e], dx
mov cl, byte [esi + 2]
add cl, byte [esi + 1]
inc cl
mov dl, cl
shr dl, 7
shl cl, 1
or dl, cl
mov bl, dl
shl dl, 1
shr bl, 7
or bl, dl
mov dl, byte [esi]
add dl, bl
mov cl, dl
shl dl, 1
shr cl, 7
or cl, dl
mov dl, cl
shr dl, 7
shl cl, 1
or dl, cl
mov byte [esi], dl
mov dl, byte [esi + 2]
add dl, bl
mov cl, dl
shr cl, 7
shl dl, 1
or cl, dl
mov dl, cl
shl cl, 1
shr dl, 7
or dl, cl
mov cl, byte [esi + 3]
add cl, dl
mov byte [esi + 2], dl
inc cl
mov dl, cl
shl cl, 1
shr dl, 7
or dl, cl
mov cl, dl
shr cl, 7
shl dl, 1
or cl, dl
mov byte [esi + 1], bl
mov byte [esi + 3], cl
mov dx, word [eax + 0x28]
xor word [eax + 0x2c], dx
mov cx, word [eax + 0x2a]
mov dx, word [eax + 0x20]
xor word [eax + 0x2e], cx
mov cx, word [eax + 0x22]
mov word [eax + 0x28], dx
mov word [eax + 0x2a], cx
mov ecx, dword [esp + 0x10]
add edi, 4
add ebp, 4
dec ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
jne 0x46e975
mov ecx, dword [esp + 0x18]
mov dx, word [eax + 0x2c]
mov word [ecx], dx
mov dx, word [eax + 0x2e]
mov word [ecx + 2], dx
mov dx, word [eax + 0x28]
mov word [ecx + 4], dx
mov dx, word [eax + 0x2a]
mov word [ecx + 6], dx
dec word [eax + 0x18]
add ecx, 8
cmp word [eax + 0x18], 0
mov dword [esp + 0x18], ecx
ja 0x46e93e
pop ebp
pop ebx
xor ax, ax
pop edi
add esp, 8
ret
Function at 0x477ec5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 4], ebx
jle 0x477f55
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
xor esi, esi
nop
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x477ef6
dec eax
or eax, 0xffffff00
inc eax
movzx edi, al
movzx eax, byte [edi + ebp]
lea ecx, [edi + ebp]
add eax, ebx
and eax, 0x800000ff
jns 0x477f10
dec eax
or eax, 0xffffff00
inc eax
movzx ebx, al
lea eax, [ebx + ebp]
call fcn.00477eb5
movzx ecx, byte [ecx]
movzx edx, byte [eax]
add ecx, edx
and ecx, 0x800000ff
jns 0x477f33
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, cl
mov cl, byte [eax + ebp]
mov eax, dword [esp + 0x18]
xor byte [esi + eax], cl
mov eax, dword [esp + 0x10]
inc eax
movsx esi, ax
mov dword [esp + 0x10], eax
cmp esi, dword [esp + 0x1c]
jl 0x477ee5
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x477f65
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
xor eax, eax
mov ecx, ebx
lea esp, [esp]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x477f75
xor dl, dl
xor esi, esi
mov ecx, ebx
mov ebp, pe_nt_image_headers32
mov eax, dword [esp + 0x14]
movzx edi, dl
movzx eax, byte [edi + eax]
movzx edx, byte [ecx]
sub eax, edx
add eax, esi
and eax, 0x800000ff
jns 0x477faa
dec eax
or eax, 0xffffff00
inc eax
movzx esi, al
lea eax, [esi + ebx]
call fcn.00477eb5
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x18]
inc ecx
dec ebp
jne 0x477f8a
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4788d5
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
test edi, edi
jbe 0x47892d
push ebx
push esi
mov esi, dword [esp + 0x10]
movzx edx, byte [esi]
mov ecx, eax
and ecx, 0xf
movzx ecx, word [ecx*4 + 0x4d3934]
shr ax, 4
mov ebx, edx
and ebx, 0xf
xor cx, word [ebx*4 + 0x4d3934]
shr edx, 4
xor ecx, eax
mov eax, ecx
and eax, 0xf
movzx eax, word [eax*4 + 0x4d3934]
xor ax, word [edx*4 + 0x4d3934]
shr cx, 4
xor eax, ecx
inc esi
dec edi
jne 0x4788e6
pop esi
pop ebx
pop edi
ret
Function at 0x47ced5
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
xor ecx, ecx
test edx, edx
jbe 0x47cf01
push esi
mov esi, dword [esp + 8]
push edi
movzx edi, byte [ecx + esi]
add edi, eax
imul edi, edi, 0x401
mov eax, edi
shr edi, 6
xor eax, edi
inc ecx
cmp ecx, edx
jb 0x47cee7
pop edi
pop esi
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret

Function at 0x47d035
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.0049a015
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
pop esi
ret

Function at 0x47d085
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x4d8cb0]
and eax, 0xff00
cmp eax, 0x5000
je 0x47d0d2
shr edi, 2
xor edx, edx
test edi, edi
jle 0x47d0d2
push ebx
mov edi, edi
mov ecx, dword [esi + edx*4]
mov eax, ecx
shl ecx, 0x10
shr eax, 0x10
or eax, ecx
mov ecx, eax
shr ecx, 8
mov ebx, eax
shl ebx, 8
xor ecx, ebx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x47d0a5
pop ebx
pop edi
ret

Function at 0x4808f5
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 3
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ecx, 0x9e3779b9
push edi
mov ebp, eax
mov edi, ecx
jb 0x4809a6
mov eax, 0xaaaaaaab
mul ebp
shr edx, 1
jmp 0x480925
movzx eax, byte [ebx + 1]
add ecx, eax
movzx eax, byte [ebx + 2]
add esi, eax
movzx eax, byte [ebx]
sub eax, esi
sub eax, ecx
add eax, edi
sub ecx, esi
mov edi, esi
shr edi, 0xd
xor eax, edi
sub ecx, eax
mov edi, eax
shl edi, 8
xor ecx, edi
sub esi, ecx
sub esi, eax
mov edi, ecx
shr edi, 0xd
xor esi, edi
sub eax, esi
sub eax, ecx
mov edi, esi
shr edi, 0xc
xor eax, edi
sub ecx, esi
sub ecx, eax
mov edi, eax
shl edi, 0x10
xor ecx, edi
sub esi, ecx
sub esi, eax
mov edi, ecx
shr edi, 5
xor esi, edi
sub eax, esi
sub eax, ecx
mov edi, esi
shr edi, 3
xor eax, edi
sub ecx, esi
mov edi, eax
shl eax, 0xa
sub ecx, edi
xor ecx, eax
sub esi, ecx
mov eax, ecx
sub esi, edi
shr eax, 0xf
xor esi, eax
add ebx, 3
sub ebp, 3
dec edx
jne 0x480925
mov eax, dword [esp + 0x18]
add esi, eax
dec ebp
je 0x4809b4
dec ebp
jne 0x4809b9
movzx edx, byte [ebx + 1]
add ecx, edx
movzx eax, byte [ebx]
add edi, eax
sub edi, esi
sub edi, ecx
sub ecx, esi
mov edx, esi
shr edx, 0xd
xor edi, edx
sub ecx, edi
mov eax, edi
shl eax, 8
xor ecx, eax
sub esi, ecx
sub esi, edi
mov edx, ecx
shr edx, 0xd
xor esi, edx
sub edi, esi
sub edi, ecx
mov eax, esi
shr eax, 0xc
xor edi, eax
sub ecx, esi
sub ecx, edi
mov edx, edi
shl edx, 0x10
xor ecx, edx
sub esi, ecx
mov eax, ecx
sub esi, edi
shr eax, 5
xor esi, eax
mov eax, esi
sub edi, eax
sub edi, ecx
mov edx, eax
shr edx, 3
xor edi, edx
sub ecx, eax
mov edx, edi
sub ecx, edi
shl edx, 0xa
xor ecx, edx
sub eax, ecx
sub eax, edi
pop edi
pop esi
shr ecx, 0xf
pop ebp
xor eax, ecx
pop ebx
ret
Function at 0x4812f5
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
push eax
call fcn.004a7f75
add esp, 4
test eax, eax
jne 0x481414
mov ecx, dword [esi + 4]
cmp ecx, 1
jl 0x481419
cmp ecx, 0x80
jg 0x481419
push edi
mov edi, dword [esp + 0x28]
xor edx, edx
mov eax, edi
div ecx
test edx, edx
je 0x481342
pop edi
mov eax, 0x16
pop esi
add esp, 0x14
ret
test cl, 3
jne 0x481337
mov ecx, dword [esi]
imul ecx, ecx, 0x58
mov ecx, dword [ecx + 0x510cc0]
test ecx, ecx
je 0x481377
lea edx, [esi + 0x88]
push edx
mov edx, dword [esp + 0x24]
add esi, 8
push esi
push eax
mov eax, dword [esp + 0x30]
push eax
push edx
call ecx
add esp, 0x14
pop edi
pop esi
add esp, 0x14
ret
test edi, edi
push ebx
push ebp
je 0x48140f
mov ebp, dword [esp + 0x28]
mov ecx, dword [esi]
imul ecx, ecx, 0x58
lea eax, [esi + 0x88]
push eax
lea edx, [esp + 0x18]
push edx
push ebp
call dword [ecx + 0x510ca8]
add esp, 0xc
test eax, eax
jne 0x481411
mov eax, dword [esi + 4]
test eax, eax
jle 0x4813f0
mov ebx, dword [esp + 0x2c]
lea edi, [esp + 0x14]
mov edx, 0xfffffff8
sub edi, ebp
sub ebx, ebp
sub edx, esi
lea ecx, [esi + 8]
mov eax, ebp
mov dword [esp + 0x10], edx
mov ebp, dword [ecx]
mov edx, dword [edi + eax]
xor edx, ebp
mov ebp, dword [eax]
mov dword [ecx], ebp
mov dword [ebx + eax], edx
mov edx, dword [esp + 0x10]
mov ebp, dword [esi + 4]
add ecx, 4
add edx, ecx
add eax, 4
cmp edx, ebp
jl 0x4813c7
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
add ebp, eax
add ecx, eax
sub edi, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
jne 0x481385
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret
mov eax, 0x16
pop esi
add esp, 0x14
ret
Function at 0x481425
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
push eax
call fcn.004a7f75
add esp, 4
test eax, eax
jne 0x481519
mov ecx, dword [esi + 4]
cmp ecx, 1
jl 0x48151b
cmp ecx, 0x80
jg 0x48151b
push edi
mov edi, dword [esp + 0x14]
xor edx, edx
mov eax, edi
div ecx
test edx, edx
je 0x48146c
pop edi
mov eax, 0x16
pop esi
ret
test cl, 3
jne 0x481464
mov edx, dword [esi]
imul edx, edx, 0x58
mov edx, dword [edx + 0x510cbc]
test edx, edx
je 0x48149e
lea ecx, [esi + 0x88]
push ecx
mov ecx, dword [esp + 0x10]
add esi, 8
push esi
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call edx
add esp, 0x14
pop edi
pop esi
ret
test edi, edi
push ebx
push ebp
je 0x481514
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
lea edi, [esi + 8]
lea ebx, [ebx]
xor eax, eax
test ecx, ecx
jle 0x4814cb
mov edx, dword [eax + ebp]
xor dword [edi + eax], edx
mov ecx, dword [esi + 4]
add eax, 4
cmp eax, ecx
jl 0x4814bb
mov ecx, dword [esi]
imul ecx, ecx, 0x58
lea eax, [esi + 0x88]
push eax
push ebx
push edi
call dword [ecx + 0x510ca4]
add esp, 0xc
test eax, eax
jne 0x481516
mov ecx, dword [esi + 4]
test ecx, ecx
jle 0x481505
jmp 0x4814f5
mov edx, dword [eax + ebx]
mov dword [edi + eax], edx
mov ecx, dword [esi + 4]
add eax, 4
cmp eax, ecx
jl 0x4814f5
mov eax, dword [esi + 4]
add ebx, eax
add ebp, eax
mov ecx, eax
sub dword [esp + 0x1c], ecx
jne 0x4814b5
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
ret
mov eax, 0x16
pop esi
ret

Function at 0x481805
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
test edx, edx
je 0x481825
mov ecx, dword [esp + 4]
push esi
nop
movzx esi, byte [ecx]
imul eax, eax, 0x1000193
xor eax, esi
inc ecx
dec edx
jne 0x481815
pop esi
ret

Function at 0x482225
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x482248
jmp 0x482235
imul eax, eax, 0xf4243
movzx ecx, cl
xor eax, ecx
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x482235
ret
Function at 0x48d095
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x94], 1
push edi
jne 0x48d114
mov ebx, dword [esp + 0x18]
test bl, 3
jne 0x48d124
xor edi, edi
test ebx, ebx
jbe 0x48d0e1
mov ebp, dword [esp + 0x14]
lea eax, [edi + ebp]
call fcn.0048c815
add dword [esi + 0x3c], eax
mov ecx, esi
call fcn.0048c835
mov edx, esi
call fcn.0048c8c5
mov edx, dword [esi + 0x10]
xor edx, eax
add edi, 4
cmp edi, ebx
mov dword [esi + 0x10], edx
jb 0x48d0b9
add dword [esi + 0x3c], ebx
mov eax, esi
call fcn.0048ca75
call fcn.0048ca55
mov eax, esi
call fcn.0048c975
xor eax, eax
pop edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], 1
pop esi
pop ebp
pop ebx
ret
mov eax, esi
call fcn.0048c9e5
mov ebx, dword [esp + 0x18]
test bl, 3
je 0x48d12e
pop edi
pop esi
pop ebp
mov eax, 0x20001
pop ebx
ret
xor edi, edi
test ebx, ebx
jbe 0x48d160
mov ebp, dword [esp + 0x14]
lea eax, [edi + ebp]
call fcn.0048c815
add dword [esi + 0x3c], eax
mov ecx, esi
call fcn.0048c835
mov edx, esi
call fcn.0048c8c5
mov edx, dword [esi + 0x10]
xor edx, eax
add edi, 4
cmp edi, ebx
mov dword [esi + 0x10], edx
jb 0x48d138
add dword [esi + 0x3c], ebx
mov eax, esi
call fcn.0048ca75
pop edi
mov dword [esi + 0x90], 0
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x48f625
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
xor eax, eax
mov ax, word [esp + 8]
shr ax, 0xf
lea edx, [ecx + ecx]
push ebx
push esi
mov esi, 0x16
or eax, edx
mov ecx, eax
mov dword [esp + 0x10], eax
shr ecx, 8
xor cl, al
mov byte [esp + 0x11], cl
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov cx, word [esp + 0x10]
shr cx, 1
shl eax, 0xf
xor edx, edx
or eax, ecx
mov dword [esp + 0x10], eax
mov dx, word [esp + 0x10]
shr dx, 1
shl eax, 0xf
or eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
add eax, 4
jmp 0x48f685
mov dl, byte [esp + 0x10]
mov cl, dl
shl dl, 1
shr cl, 7
or cl, dl
mov byte [esp + 0x10], cl
mov ebx, dword [esp + 0x10]
shr ebx, 8
mov dl, bl
shl dl, 7
shr bl, 1
or dl, bl
xor dl, cl
mov byte [esp + 0x11], dl
mov ecx, dword [esp + 0x10]
not ecx
mov dx, cx
xor word [eax - 4], dx
mov dword [esp + 0x10], ecx
add ecx, 0x55
mov dword [esp + 0x10], ecx
mov dl, cl
shl dl, 1
shr cl, 7
or cl, dl
mov byte [esp + 0x10], cl
mov byte [esp + 0xc], bl
mov ebx, dword [esp + 0x10]
shr ebx, 8
mov dl, bl
shl dl, 7
shr bl, 1
or dl, bl
xor dl, cl
mov byte [esp + 0x11], dl
mov ecx, dword [esp + 0x10]
not ecx
mov dx, cx
xor word [eax - 2], dx
mov dword [esp + 0x10], ecx
add ecx, 0x55
mov dword [esp + 0x10], ecx
mov dl, cl
shl dl, 1
shr cl, 7
or cl, dl
mov byte [esp + 0x10], cl
mov byte [esp + 0xc], bl
mov ebx, dword [esp + 0x10]
shr ebx, 8
mov dl, bl
shl dl, 7
shr bl, 1
or dl, bl
xor dl, cl
mov byte [esp + 0x11], dl
mov ecx, dword [esp + 0x10]
not ecx
mov dx, cx
xor word [eax], dx
mov dword [esp + 0x10], ecx
add ecx, 0x55
mov dword [esp + 0x10], ecx
mov dl, cl
shl dl, 1
shr cl, 7
or cl, dl
mov byte [esp + 0xc], bl
mov byte [esp + 0x10], cl
mov ebx, dword [esp + 0x10]
shr ebx, 8
mov dl, bl
shr bl, 1
shl dl, 7
or dl, bl
xor dl, cl
mov byte [esp + 0x11], dl
mov ecx, dword [esp + 0x10]
not ecx
mov byte [esp + 0xc], bl
mov dword [esp + 0x10], ecx
mov dx, cx
xor word [eax + 2], dx
add ecx, 0x55
add eax, 8
dec esi
mov dword [esp + 0x10], ecx
jne 0x48f685
pop esi
pop ebx
ret

Function at 0x4903c5
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov al, byte [esp + 8]
mov edx, dword [esp + 0xc]
and al, 0xf
push ebx
movzx cx, al
push ebp
push esi
mov word [esp + 0xc], cx
lea ebp, [edx + edi - 1]
jmp 0x4903e5
xor dl, dl
test di, di
mov ecx, ebp
je 0x490410
movzx esi, di
lea esp, [esp]
mov al, byte [ecx]
mov bl, dl
mov dl, al
shl al, 1
or al, bl
shr dl, 7
mov byte [ecx], al
dec ecx
dec esi
jne 0x4903f5
test dl, dl
je 0x490410
or byte [ebp], 1
mov eax, dword [esp + 0xc]
mov cx, ax
add eax, 0xffff
test cx, cx
mov dword [esp + 0xc], eax
jne 0x4903e5
xor ecx, ecx
test edi, edi
jbe 0x490445
mov esi, dword [esp + 0x18]
mov dl, byte [esp + 0x14]
xor eax, eax
mov bl, byte [eax + esi]
xor bl, dl
inc ecx
mov byte [eax + esi], bl
movzx eax, cx
cmp eax, edi
jb 0x490435
pop esi
pop ebp
xor ax, ax
pop ebx
pop ecx
ret
Function at 0x490455
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
xor ecx, ecx
test ebx, ebx
push edi
jbe 0x490470
xor eax, eax
nop
xor byte [eax + ebp], dl
inc ecx
movzx eax, cx
cmp eax, ebx
jb 0x490465
and dl, 0xf
movzx ax, dl
mov word [esp + 0x10], ax
xor dl, dl
test bx, bx
mov esi, ebp
je 0x4904a6
movzx edi, bx
mov al, byte [esi]
mov cl, dl
mov dl, al
shr al, 1
shl cl, 7
or al, cl
and dl, 1
mov byte [esi], al
inc esi
dec edi
jne 0x490488
test dl, dl
je 0x4904a6
or byte [ebp], 0x80
mov eax, dword [esp + 0x10]
mov cx, ax
add eax, 0xffff
test cx, cx
mov dword [esp + 0x10], eax
jne 0x49047c
pop edi
pop esi
xor ax, ax
pop ebp
ret

Function at 0x490515
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, dword [esp + 8]
movzx eax, byte [esi + 2]
movzx ecx, byte [eax + 0x4dcbc4]
push edi
mov edi, dword [esp + 0x10]
mov eax, 4
cmp edi, eax
jle 0x490552
push ebx
nop
mov bl, byte [eax + esi]
mov edx, ecx
and edx, 0xff
mov dl, byte [edx + 0x4dcbc4]
xor bl, dl
inc ecx
mov byte [eax + esi], bl
inc eax
cmp eax, edi
jl 0x490535
pop ebx
pop edi
pop esi
ret

Function at 0x490585
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
test cx, cx
push ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], eax
jbe 0x490627
push ebp
movzx ecx, cx
push esi
push edi
mov dword [esp + 0x1c], ecx
jmp 0x4905b5
mov eax, dword [esp + 0x10]
jmp 0x4905b5
mov edi, dword [eax + 4]
mov ebp, dword [eax]
mov dword [esp + 0x18], 0x10
lea ecx, [ecx]
xor ecx, ecx
mov cl, bl
lea edx, [esp + 0x14]
mov dword [esp + 0x14], edi
and ecx, 0xf
call fcn.0046e0c5
mov edx, dword [esp + 0x14]
mov esi, ebp
xor esi, edx
mov ecx, 2
lea edx, [esp + 0x24]
xor esi, ebx
call fcn.00490555
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
dec eax
mov ebp, edi
mov edi, esi
mov dword [esp + 0x18], eax
jne 0x4905c5
mov eax, dword [esp + 0x10]
mov dword [eax + 4], esi
mov dword [eax], ebp
add eax, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
inc ebx
dec eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
jne 0x4905a6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4927f5
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [ecx]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
add dword [eax + 4], edx
mov edx, dword [ecx + 4]
add esi, edx
mov dword [eax], esi
lea edx, [ecx + 0x10]
mov dword [esp + 0x10], 3
mov edi, edi
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
xor ebx, ebp
mov esi, ebx
mov edi, ebp
shr edi, 4
and edi, 0x1f
mov ecx, 0x20
sub ecx, edi
shr esi, cl
mov ecx, edi
mov edi, dword [edx - 8]
shl ebx, cl
mov ecx, 0x20
or esi, ebx
sub esi, edi
mov dword [eax + 4], esi
mov edi, esi
shr edi, 7
xor esi, ebp
and edi, 0x1f
sub ecx, edi
mov ebx, esi
shr ebx, cl
mov ecx, edi
shl esi, cl
mov ecx, dword [edx - 4]
or ebx, esi
add ecx, ebx
mov ebx, dword [eax + 4]
xor ebx, ecx
mov dword [eax], ecx
mov ebp, dword [edx]
mov edi, ecx
shr edi, 4
and edi, 0x1f
mov esi, ebx
mov ecx, 0x20
sub ecx, edi
shr esi, cl
mov ecx, edi
shl ebx, cl
mov ecx, 0x20
or esi, ebx
mov ebx, dword [eax]
sub esi, ebp
xor ebx, esi
mov edi, esi
mov dword [eax + 4], esi
shr edi, 7
and edi, 0x1f
sub ecx, edi
mov esi, ebx
shr esi, cl
mov ecx, edi
shl ebx, cl
mov ecx, dword [edx + 4]
or esi, ebx
mov ebx, dword [eax + 4]
add ecx, esi
mov edi, ecx
xor ebx, ecx
mov dword [eax], ecx
mov ebp, dword [edx + 8]
shr edi, 4
and edi, 0x1f
mov esi, ebx
mov ecx, 0x20
sub ecx, edi
shr esi, cl
mov ecx, edi
shl ebx, cl
mov ecx, 0x20
or esi, ebx
mov ebx, dword [eax]
sub esi, ebp
mov edi, esi
shr edi, 7
and edi, 0x1f
mov dword [eax + 4], esi
xor ebx, esi
sub ecx, edi
mov esi, ebx
shr esi, cl
mov ecx, edi
shl ebx, cl
mov ecx, dword [edx + 0xc]
add edx, 0x20
or esi, ebx
mov ebx, dword [eax + 4]
add ecx, esi
xor ebx, ecx
mov dword [eax], ecx
mov ebp, dword [edx - 0x10]
mov edi, ecx
shr edi, 4
and edi, 0x1f
mov esi, ebx
mov ecx, 0x20
sub ecx, edi
shr esi, cl
mov ecx, edi
shl ebx, cl
mov ecx, 0x20
or esi, ebx
mov ebx, dword [eax]
sub esi, ebp
mov edi, esi
xor ebx, esi
shr edi, 7
mov dword [eax + 4], esi
and edi, 0x1f
sub ecx, edi
mov esi, ebx
shr esi, cl
mov ecx, edi
mov edi, dword [edx - 0xc]
shl ebx, cl
mov ecx, dword [esp + 0x10]
or esi, ebx
add esi, edi
dec ecx
mov dword [eax], esi
mov dword [esp + 0x10], ecx
jne 0x492815
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x492955
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov ebp, 0xc
jmp 0x492965
mov ebx, dword [edi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + ebp*8 + 4]
mov edx, dword [edi]
sub edx, ecx
mov esi, ebx
shr esi, 7
and esi, 0x1f
mov eax, edx
mov ecx, 0x20
sub ecx, esi
shl eax, cl
mov ecx, esi
shr edx, cl
mov ecx, dword [esp + 0x10]
or eax, edx
xor eax, ebx
mov dword [edi], eax
mov edx, dword [ecx + ebp*8]
lea esi, [edx + ebx]
mov edx, eax
shr edx, 4
and edx, 0x1f
mov ecx, 0x20
sub ecx, edx
mov ebx, esi
shl ebx, cl
mov ecx, edx
shr esi, cl
or ebx, esi
xor ebx, eax
dec ebp
mov dword [edi + 4], ebx
jne 0x492965
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
sub dword [edi], ecx
mov edx, dword [eax]
mov eax, ebx
pop esi
sub eax, edx
pop ebp
mov dword [edi + 4], eax
pop ebx
ret