joyce8/EMBER2024-capa huggingface dataset:
Function at 0x961890
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x961991
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x961991
push ebx
call fcn.00968730
add esp, 4
test eax, eax
je 0x9618ea
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x9618f1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x9618d0
jmp 0x9618f3
mov esi, 0x1505
jmp 0x9618f3
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x961991
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x961924
inc ebp
dec ebx
je 0x96198f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x96198f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x961920
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00968730
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x961920
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00968750
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x961920
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x96198f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x961991
mov edi, dword [eax + 8]
jmp 0x961991
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x9619c0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x961a2b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x961a2b
push esi
call fcn.00968730
add esp, 4
test eax, eax
je 0x961a0a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x961a11
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x9619f0
jmp 0x961a13
mov ebp, 0x1505
jmp 0x961a13
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x961a37
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x961a54
inc ebx
dec edi
je 0x961a2b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x961a2b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x961a50
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00968730
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x961a50
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.00968750
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x961a50
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x961a2b
cmp dword [eax + 4], 3
jne 0x961a2b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x961a2b
Function at 0x961af0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x961bf1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x961bf1
push ebx
call fcn.00968730
add esp, 4
test eax, eax
je 0x961b4a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x961b51
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x961b30
jmp 0x961b53
mov esi, 0x1505
jmp 0x961b53
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x961bf1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x961b84
inc ebp
dec ebx
je 0x961bef
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x961bef
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x961b80
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00968730
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x961b80
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00968750
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x961b80
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x961bef
cmp dword [eax + 4], 5
mov edi, 0
jne 0x961bf1
mov edi, dword [eax + 8]
jmp 0x961bf1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x961f20
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x961f8d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x961f8d
push esi
call fcn.00968730
add esp, 4
test eax, eax
je 0x961f6a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x961f71
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x961f50
jmp 0x961f73
mov ebx, 0x1505
jmp 0x961f73
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x961f95
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x961fa4
inc ebp
dec edi
je 0x961f8b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x961f8b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x961fa0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00968730
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x961fa0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00968750
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x961fa0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x961f8d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x961f8d
Function at 0x968270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x96828b
mov ebx, dword [esp + 0x18]
cmp eax, 1
jne 0x968293
mov word [ebx], 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, word [ebx + 4]
add word [ebx], cx
cmp eax, 3
jl 0x96832b
mov edx, 2
mov ecx, 2
sub ecx, eax
mov dword [esp], ecx
xor edi, edi
mov ebx, 1
jmp 0x9682d9
movzx ebp, word [esi + edi*4]
add word [esi + ebx*4], bp
mov word [esi + edi*4], bx
inc edi
mov ecx, dword [esp]
add ecx, ebx
inc ecx
inc ebx
cmp ecx, 1
je 0x96833a
mov esi, dword [esp + 0x18]
movzx ecx, word [esi + edi*4]
cmp edx, eax
jge 0x9682ee
movzx ebp, word [esi + edx*4]
cmp cx, bp
jae 0x968300
mov word [esi + ebx*4], cx
mov word [esi + edi*4], bx
inc edi
cmp edx, eax
jge 0x9682c0
jmp 0x968309
inc edx
mov word [esi + ebx*4], bp
cmp edx, eax
jge 0x9682c0
cmp edi, ebx
jge 0x968320
movzx ebp, word [esi + edi*4]
movzx ecx, word [esi + edx*4]
cmp bp, cx
jb 0x9682c4
jmp 0x968324
movzx ecx, word [esi + edx*4]
inc edx
add word [esi + ebx*4], cx
jmp 0x9682cd
lea edx, [eax - 2]
mov word [ebx + eax*4 - 8], 0
jmp 0x9683c2
lea edx, [eax - 2]
mov ebx, dword [esp + 0x18]
mov word [ebx + eax*4 - 8], 0
cmp eax, 3
jl 0x9683c2
lea edi, [eax - 3]
mov ebp, ebx
mov ebx, eax
and ebx, 3
xor ebx, 2
mov esi, edi
je 0x968374
mov esi, edi
movzx ecx, word [ebp + esi*4]
movzx ecx, word [ebp + ecx*4]
inc ecx
mov word [ebp + esi*4], cx
dec esi
dec ebx
jne 0x968360
mov ebx, dword [esp + 0x18]
cmp edi, 3
jb 0x9683c2
nop
nop
nop
movzx ecx, word [ebx + esi*4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4], cx
movzx ecx, word [ebx + esi*4 - 4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 4], cx
movzx ecx, word [ebx + esi*4 - 8]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 8], cx
movzx ecx, word [ebx + esi*4 - 0xc]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 0xc], cx
add esi, 0xfffffffc
cmp esi, 0xffffffff
jne 0x968380
dec eax
mov ecx, 1
xor esi, esi
jmp 0x9683dc
lea ecx, [edi + edi]
inc esi
test edi, edi
je 0x96828b
test edx, edx
mov dword [esp], ecx
js 0x968410
lea edi, [edx + 1]
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [ebx + edx*4]
cmp esi, ecx
jne 0x968420
inc ebp
dec edx
cmp edi, ebp
jne 0x9683f0
mov edx, 0xffffffff
jmp 0x968422
xor edi, edi
jmp 0x968425
mov edi, ebp
mov ecx, dword [esp]
mov ebp, ecx
sub ebp, edi
jle 0x9683d0
and ebp, 3
je 0x968458
lea ecx, [ebx + eax*4]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], si
inc ebx
add ecx, 0xfffffffc
cmp ebp, ebx
jne 0x968440
mov ebp, dword [esp]
sub ebp, ebx
sub eax, ebx
mov ebx, dword [esp + 0x18]
jmp 0x96845a
mov ebp, ecx
mov ecx, edi
sub ecx, dword [esp]
cmp ecx, 0xfffffffc
ja 0x9683d0
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx + eax*4], si
mov word [ebx + eax*4 - 4], si
mov word [ebx + eax*4 - 8], si
mov word [ebx + eax*4 - 0xc], si
add eax, 0xfffffffc
add ebp, 0xfffffffc
cmp ebp, edi
jg 0x968470
jmp 0x9683d0
Function at 0x968e80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push edi
push esi
mov eax, dword [ecx]
cmp eax, 0x270
jne 0x968ee5
mov esi, dword [ecx + 4]
mov eax, 0xfffff640
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax + 0x9c8]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax + 0xff8]
shr edx, 1
xor edi, edx
mov dword [ecx + eax + 0x1384], edi
add eax, 4
jne 0x968ea0
mov eax, 0x270
jmp 0x968fc7
cmp eax, 0x4e0
jb 0x968fc7
mov esi, dword [ecx + 0x9c4]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 + 0x9c8]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 + 0xff8]
xor edi, edx
mov dword [ecx + eax*4 + 4], edi
inc eax
cmp eax, 0xe3
jne 0x968f00
mov esi, dword [ecx + 0xd50]
xor eax, eax
jmp 0x968f71
and esi, 0x80000000
or edi, esi
shr edi, 1
xor edi, dword [ecx + eax*4 + 4]
xor edi, ebx
mov dword [ecx + eax*4 + 0x390], edi
inc eax
mov esi, edx
cmp eax, 0x18c
je 0x968f93
mov edx, dword [ecx + eax*4 + 0xd54]
mov edi, edx
and edi, 0x7fffffff
mov ebx, edx
xor ebx, 0x7ffffffe
and ebx, edi
je 0x968f50
mov ebx, 0x9908b0df
jmp 0x968f50
mov esi, 0x80000000
and esi, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov edx, eax
and edx, 0x7ffffffe
or edx, esi
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, dword [ecx + 0x634]
shr edx, 1
xor eax, edx
mov dword [ecx + 0x9c0], eax
xor eax, eax
lea edx, [eax + 1]
mov dword [ecx], edx
mov eax, dword [ecx + eax*4 + 4]
mov edx, eax
shr edx, 0xb
mov esi, edx
not esi
or esi, dword [ecx + 0x1384]
add edx, esi
inc edx
xor edx, eax
mov ecx, edx
shl ecx, 7
and ecx, 0x9d2c5680
xor ecx, edx
mov edx, ecx
shl edx, 0xf
and edx, 0xefc60000
xor edx, ecx
mov eax, edx
shr eax, 0x12
and ecx, eax
or eax, edx
xor eax, ecx
pop esi
pop edi
pop ebx
ret
Function at 0x97b020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push eax
test edi, edi
sets bl
mov esi, edi
sub esi, 1
sete bh
or bl, bh
mov esi, edi
sub esi, 0x25
setge bh
or bl, bh
test bl, 1
jne 0x97b054
jmp 0x97b059
jmp 0x97b1e8
mov esi, ecx
add esi, edx
add esi, 0xffffffff
mov byte [ecx + edx - 1], 0
cmp eax, 0
jne 0x97b078
mov ecx, esi
add ecx, 0xffffffff
mov byte [esi - 1], 0x30
jmp 0x97b1e8
cmp edi, 0xa
jne 0x97b106
jmp 0x97b083
cmp eax, 0x64
jb 0x97b0c2
mov edi, 0x64
mov ecx, eax
mov eax, ecx
xor edx, edx
div edi
shl edx, 1
mov al, byte [edx + 0x9a12bd]
mov edi, esi
add edi, 0xffffffff
mov byte [esi - 1], al
mov al, byte [edx + 0x9a12bc]
add edi, 0xffffffff
mov byte [esi - 2], al
mov esi, 0x64
mov eax, ecx
xor edx, edx
div esi
mov esi, edi
jmp 0x97b083
cmp eax, 0xa
setb cl
jmp 0x97b0ca
test cl, 1
jne 0x97b0d1
jmp 0x97b0df
mov al, byte [eax + 0x9a1b88]
add esi, 0xffffffff
mov byte [esi], al
jmp 0x97b0ff
shl eax, 1
mov cl, byte [eax + 0x9a12bd]
mov edx, esi
add edx, 0xffffffff
mov byte [esi - 1], cl
mov al, byte [eax + 0x9a12bc]
add edx, 0xffffffff
mov byte [esi - 2], al
mov esi, edx
mov ecx, esi
jmp 0x97b1e8
cmp edi, 0x10
sete cl
test cl, 1
jne 0x97b118
jmp 0x97b113
jmp 0x97b1be
jmp 0x97b11a
cmp eax, 0x100
jb 0x97b14e
mov ecx, eax
and ecx, 0xff
shl ecx, 1
mov dl, byte [ecx + 0x9a1386]
mov edi, esi
add edi, 0xffffffff
mov byte [esi - 1], dl
mov cl, byte [ecx + 0x9a1385]
add edi, 0xffffffff
mov byte [esi - 2], cl
shr eax, 8
mov esi, edi
jmp 0x97b11a
cmp eax, 0x10
setb cl
test cl, 1
jne 0x97b15b
jmp 0x97b16c
mov al, byte [eax + 0x9a1b88]
mov ecx, esi
add ecx, 0xffffffff
mov byte [esi - 1], al
jmp 0x97b1e8
mov ecx, eax
and ecx, 0xffffffff
shl ecx, 1
mov edx, eax
add edx, 0xffffffff
sub edx, ecx
or edx, 0xfffffffd
add edx, 3
mov ecx, eax
and ecx, 0xfffffffd
imul ecx, edx
mov edx, eax
and edx, 2
or eax, 2
imul eax, edx
mov edx, eax
and edx, ecx
shl edx, 1
xor eax, ecx
add eax, edx
mov dl, byte [eax + 0x9a1386]
mov ecx, esi
add ecx, 0xffffffff
mov byte [esi - 1], dl
mov al, byte [eax + 0x9a1385]
add ecx, 0xffffffff
mov byte [esi - 2], al
jmp 0x97b1e8
cmp eax, 0
jbe 0x97b1e4
mov ecx, eax
mov eax, ecx
xor edx, edx
div edi
mov al, byte [edx + 0x9a1b88]
mov ebx, esi
add ebx, 0xffffffff
mov byte [esi - 1], al
mov eax, ecx
xor edx, edx
div edi
mov esi, ebx
jmp 0x97b1be
mov ecx, esi
jmp 0x97b1e8
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x983c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1dec
call fcn.00968500
push eax
sub esp, 0x3fc
mov dword [ebp - 0x1c], esp
push eax
mov dword [ebp - 0x28], esp
sub esp, 0x14
mov ebx, esp
sub esp, 0x14
mov esi, esp
sub esp, 0x24
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x1df6], 0x32833093
mov dword [ebp - 0x1df2], 0x36723476
mov dword [ebp - 0x1dee], 0x2a9a288e
mov dword [ebp - 0x1dea], 0x2e9f2c9f
mov dword [ebp - 0x1de6], 0x228d2086
mov dword [ebp - 0x1de2], 0x26962496
mov dword [ebp - 0x1dde], 0x1aab1862
mov word [ebp - 0x1dda], 0x1c1b
xor eax, eax
nop
movzx edx, byte [ebp + eax - 0x1df6]
lea ecx, [eax - 0x12fa17f9]
xor ecx, edx
mov edx, ecx
xor edx, 0x11
and ecx, 0x6e
add ecx, ecx
sub ecx, edx
add cl, 0xd9
mov byte [ebp + eax - 0x1df6], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x1e
jb 0x983d10
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x1df6]
push 0
push 0
push 0x20019
push eax
mov dword [ebp - 0x14], ecx
push ecx
call fcn.0099e590
add esp, 0x14
shr eax, 0x1f
jmp dword [eax*4 + 0x9a5838]
Function at 0xc6a890
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ecx + ebx], 0
lea ebx, [ebx + 2]
jne 0xc6a8b0
lea esi, [ebx - 2]
mov dword [esp + 6], 0x99878716
mov byte [esp + 0xa], 0
xor edx, edx
nop
nop
nop
nop
mov eax, edx
add al, 0xed
xor al, byte [esp + edx + 6]
add al, 0x98
mov byte [esp + edx + 6], al
inc edx
cmp edx, 5
jne 0xc6a8d0
cmp ebx, 2
je 0xc6a90b
mov edi, dword [esp + 6]
mov eax, esi
mov edx, esi
sar edx, 1
mov dword [esp + 0xc], edx
mov edx, edi
not edi
test al, 2
jne 0xc6a912
mov eax, edx
cmp ebx, 4
jne 0xc6a947
jmp 0xc6a996
mov esi, ebp
jmp 0xc6a996
dec dword [esp + 0xc]
movzx esi, word [ecx]
add ecx, 2
xor esi, ebp
mov ebp, esi
and ebp, edi
mov dword [esp], ebp
mov ebp, esi
not ebp
and ebp, edx
imul ebp, dword [esp]
mov eax, esi
and eax, edx
mov dword [esp], eax
mov eax, edx
or esi, edx
imul esi, dword [esp]
add esi, ebp
mov ebp, esi
cmp ebx, 4
je 0xc6a996
mov edx, eax
xor ebx, ebx
mov esi, ebp
nop
nop
nop
movzx ebp, word [ecx + ebx*2]
xor ebp, esi
mov eax, ebp
and eax, edi
mov esi, ebp
not esi
and esi, edx
imul esi, eax
mov eax, ebp
and eax, edx
or ebp, edx
imul ebp, eax
add ebp, esi
movzx esi, word [ecx + ebx*2 + 2]
xor esi, ebp
mov eax, esi
and eax, edi
mov ebp, esi
not ebp
and ebp, edx
imul ebp, eax
mov eax, esi
and eax, edx
or esi, edx
imul esi, eax
add esi, ebp
add ebx, 2
cmp dword [esp + 0xc], ebx
jne 0xc6a950
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xc70490
Capabilities:
Encode data using xor

Disassembly:
push eax
mov dword [esp], 0xa6a5a473
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x7b
xor cl, byte [esp + eax]
add cl, 0x28
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0xc704a0
mov eax, dword [esp]
mov eax, dword fs:[eax]
pop ecx
ret

Function at 0xc70870
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [esp + 0x40]
movzx eax, word [eax]
mov dword [esp + 2], 0x5d5ca197
mov word [esp + 6], 0
xor ecx, ecx
nop
mov edx, ecx
add dl, 0xa
xor dl, byte [esp + ecx + 2]
add dl, 0xb0
mov byte [esp + ecx + 2], dl
inc ecx
cmp ecx, 6
jne 0xc70890
xor ecx, ecx
cmp dword [esp + 2], eax
setne cl
xor eax, eax
jmp dword [ecx*4 + 0x9a8670]

Function at 0xc71620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x10111213
xor eax, eax
nop
nop
nop
nop
nop
mov ecx, eax
or cl, 0x4c
xor cl, byte [esp + eax]
add cl, 0xa0
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 4
jb 0xc71640
mov eax, dword [esp]
mov edx, dword [0x9aaea0]
test edx, edx
je 0xc716b8
xor ebx, ebx
mov ecx, dword [0x9aaea4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0xa269eeef
je 0xc71690
inc ebx
cmp edx, ebx
jne 0xc71680
jmp 0xc716b8
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0xc716b8
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0x9aaea8]
call fcn.00c6eda0
add esp, 0x20
test edi, edi
je 0xc716c2
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0xc716ce
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407509
Capabilities:
Identify system language via api

Disassembly:
push 0x30
mov eax, 0x58c54c
call fcn.0055a6a0
mov ebx, ecx
mov dword [ebp - 0x24], ebx
and dword [ebp - 4], 0
and dword [ebp - 0x1c], 0
mov ecx, dword [ebp + 8]
push 0x5a16d4
call fcn.00404a0e
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x194]
mov esi, dword [eax]
mov dword [ebp - 0x18], esi
cmp esi, eax
je 0x407675
mov eax, dword [esi + 0x14]
sub eax, 0x10
push eax
call fcn.00405aab
add eax, 0x10
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [eax - 0xc], 0
mov dword [ebp - 4], 1
je 0x407631
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
push eax
push 0x2c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00408d96
cmp eax, 0xffffffff
jne 0x4075aa
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.004073a8
jmp 0x4075ef
push 0x5a1bf8
lea ecx, [ebp - 0x14]
call fcn.00404a0e
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00449160
add esp, 0xc
lea ecx, [ebp - 0x30]
push eax
call fcn.00407412
lea ecx, [ebp - 0x3c]
call fcn.0040935c
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.0040525e
mov eax, dword [ebp - 0x2c]
xor edi, edi
mov ecx, dword [ebp - 0x30]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x407626
mov eax, dword [ebp - 0x20]
movzx ebx, ax
push dword [ecx + edi*4]
call fcn.0044f560
pop ecx
cmp eax, ebx
je 0x407656
mov eax, dword [ebp - 0x2c]
inc edi
mov ecx, dword [ebp - 0x30]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x407606
mov ebx, dword [ebp - 0x24]
lea ecx, [ebp - 0x30]
call fcn.0040935c
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0x10]
mov byte [ebp - 4], 0
call fcn.0040525e
lea ecx, [ebp - 0x18]
call fcn.004058ea
mov esi, dword [ebp - 0x18]
cmp esi, dword [ebx + 0x194]
jne 0x407559
jmp 0x407675
mov ecx, dword [ebp + 8]
add esi, 0x10
push esi
call fcn.004057f8
lea ecx, [ebp - 0x30]
call fcn.0040935c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040525e
mov eax, dword [ebp + 8]
call fcn.0055a669
ret 4
Function at 0x409fd7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 4], 0x100
jne 0x40a088
push 1
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [esi + 8], 0x24
je 0x40a008
cmp dword [esi + 8], 0x23
jne 0x40a015
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jne 0x40a088
mov eax, dword [esi + 8]
cmp eax, 0x21
je 0x40a040
cmp eax, 0x24
je 0x40a040
cmp eax, 0x28
je 0x40a040
cmp eax, 0x26
je 0x40a040
cmp eax, 0x23
je 0x40a040
cmp eax, 0x22
je 0x40a040
cmp eax, 0xd
je 0x40a040
cmp eax, 0x20
jne 0x40a088
push dword [edi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
call ebx
push eax
call fcn.005289e3
test eax, eax
je 0x40a088
push dword [edi + 0x20]
call ebx
push eax
call fcn.005289e3
push dword [eax + 0x20]
call ebx
push eax
call fcn.005289e3
test eax, eax
je 0x40a088
push dword [esi + 0xc]
push dword [esi + 8]
push 0x100
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
inc eax
jmp 0x40a090
push esi
mov ecx, edi
call fcn.0052ab29
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x415ea8
Capabilities:
Delete file

Disassembly:
push 0x3c
mov eax, 0x58dd64
call fcn.0055a6d4
lea eax, [ebp - 0x44]
mov edi, 0x612600
push eax
mov ecx, edi
call fcn.00405c8c
push dword [eax]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00404778
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.0040525e
mov esi, 0x5a625c
push esi
call fcn.005617fa
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.0040650c
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.00405c8c
push dword [eax]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00404778
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.0040525e
lea eax, [ebp - 0x28]
push eax
call fcn.0044c4c0
mov esi, 0x5a6208
push esi
call fcn.005617fa
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040650c
lea eax, [ebp - 0x28]
push eax
call fcn.0044c4c0
lea eax, [ebp - 0x28]
push eax
call fcn.0044afb0
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.00404809
lea ecx, [ebp - 0x40]
call fcn.00404809
mov al, 1
call fcn.0055a67e
ret

Function at 0x4193d3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
push 0x11
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x419454
push esi
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.00417cae
lea ecx, [ebp - 0xc]
mov esi, dword [eax + 4]
sub esi, dword [eax]
sar esi, 2
call fcn.00410d53
cmp esi, 1
pop esi
ja 0x419470
mov eax, dword [ebp + 8]
sub eax, 0x45
je 0x41944b
dec eax
sub eax, 1
je 0x419442
sub eax, 0xb
je 0x41942b
sub eax, 5
jne 0x419454
push eax
push 0x8807
jmp 0x419432
push 0
push 0x8805
push 0x111
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x419472
push 0
push 0x8808
jmp 0x419432
push 0
push 0x8806
jmp 0x419432
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x419470
cmp dword [ebp + 8], 0x2e
jne 0x419470
push 0
push 0x8803
jmp 0x419432
xor eax, eax
pop edi
leave
ret 4