joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47232e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xc8]
call edx
test eax, eax
je 0x47243b
lea ebx, [esi + 0x144]
call fcn.0043d46e
mov eax, dword [esi + 0x44]
cmp eax, 3
jne 0x472423
push edi
xor edi, edi
mov dword [esi + 0x44], edi
mov dword [ebx], edi
mov edx, dword [esi]
mov eax, dword [edx + 0xcc]
mov ecx, esi
call eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
xor edx, edx
mov word [ebp - 0x20], cx
push eax
mov word [ebp - 0x3c], dx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push esi
lea edx, [ebp - 0x3c]
mov dword [esi + 8], 1
mov dword [esi + 0xc], 5
mov dword [esi + 0x10], edi
mov dword [ebp - 4], edi
call fcn.0047251e
test eax, eax
je 0x472489
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0x20]
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.00478d7e
test eax, eax
je 0x47247a
mov ebx, dword [0x101371a0]
push edi
call ebx
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov edx, dword [edx + 0x90]
push eax
mov ecx, esi
call edx
cmp eax, 2
je 0x472462
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x20]
call fcn.0047270e
test eax, eax
je 0x472453
lea ecx, [esi + 0x38]
push ecx
push edi
push esi
push 0x1003c1a0
push edi
push edi
call fcn.00552e4f
add esp, 0x18
mov dword [esi + 0x34], eax
cmp eax, edi
je 0x472445
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x10dd
mov dword [esi + 0x3c], 1
call dword [0x101371a0]
mov dword [ebx], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov dword [esi + 0x3c], 8
push 0x65f
jmp 0x47249d
call dword [0x10137328]
mov dword [esi + 0x3c], 0xb
jmp 0x47249c
call dword [0x101371a4]
cmp eax, edi
jne 0x472471
mov eax, 0x4c7
mov dword [esi + 0x3c], 5
jmp 0x47249c
call dword [0x10137328]
mov dword [esi + 0x3c], 4
jmp 0x472496
call dword [0x10137328]
mov dword [esi + 0x3c], 3
mov ebx, dword [0x101371a0]
push eax
call ebx
mov dword [esi + 8], edi
mov dword [esi + 0xc], 5
mov dword [esi + 0x10], edi
call dword [0x101371a4]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
push edi
call ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x473c3e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
jbe 0x473d87
push esi
push edi
push 0
push 0
push ebx
push 0x1003e7a0
push 0
push 0
call fcn.00552e4f
mov edi, eax
add esp, 0x18
mov dword [ebp - 4], edi
test edi, edi
je 0x473d6a
mov eax, dword [ebx + 0x68]
lea esi, [ebx + 0x64]
lea ecx, [ebp - 4]
cmp ecx, eax
jae 0x473cf4
mov edx, dword [esi]
cmp edx, ecx
ja 0x473cf4
mov edi, ecx
mov ecx, dword [esi + 8]
sub edi, edx
sar edi, 2
cmp eax, ecx
jne 0x473ce4
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x473d60
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x473ce4
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x473cd3
xor ecx, ecx
jmp 0x473cd5
add ecx, edx
cmp ecx, eax
jae 0x473cdb
mov ecx, eax
push ecx
call fcn.00471fee
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x473d40
mov edx, dword [esi]
mov ecx, dword [edx + edi*4]
mov dword [eax], ecx
jmp 0x473d40
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0x473d37
mov edx, dword [esi]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x473d60
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x473d37
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x473d26
xor ecx, ecx
jmp 0x473d28
add ecx, edx
cmp ecx, eax
jae 0x473d2e
mov ecx, eax
push ecx
call fcn.00471fee
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x473d40
mov dword [eax], edi
mov eax, dword [ebp - 8]
add dword [esi + 4], 4
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebx + 0x10]
jb 0x473c62
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x101894b0
call fcn.00550ff9
call dword [0x101371a4]
push eax
mov dword [ebx + 0x60], 8
call dword [0x101371a0]
pop edi
mov dword [ebp - 0xc], 0
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47a54e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
jbe 0x47a6a0
push esi
push edi
push 0
push 0
push ebx
push 0x10045350
push 0
push 0
call fcn.00552e4f
mov edi, eax
add esp, 0x18
mov dword [ebp - 4], edi
test edi, edi
je 0x47a680
mov eax, dword [ebx + 0x138]
lea esi, [ebx + 0x134]
lea ecx, [ebp - 4]
cmp ecx, eax
jae 0x47a60a
mov edx, dword [esi]
cmp edx, ecx
ja 0x47a60a
mov edi, ecx
mov ecx, dword [esi + 8]
sub edi, edx
sar edi, 2
cmp eax, ecx
jne 0x47a5fa
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x47a676
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x47a5fa
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x47a5e9
xor ecx, ecx
jmp 0x47a5eb
add ecx, edx
cmp ecx, eax
jae 0x47a5f1
mov ecx, eax
push ecx
call fcn.00471fee
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x47a656
mov edx, dword [esi]
mov ecx, dword [edx + edi*4]
mov dword [eax], ecx
jmp 0x47a656
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0x47a64d
mov edx, dword [esi]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x47a676
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x47a64d
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x47a63c
xor ecx, ecx
jmp 0x47a63e
add ecx, edx
cmp ecx, eax
jae 0x47a644
mov ecx, eax
push ecx
call fcn.00471fee
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x47a656
mov dword [eax], edi
mov eax, dword [ebp - 8]
add dword [esi + 4], 4
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebx + 0x10]
jb 0x47a572
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x101894b0
call fcn.00550ff9
call dword [0x101371a4]
push eax
mov dword [ebx + 0x130], 8
call dword [0x101371a0]
pop edi
mov dword [ebp - 0xc], 0
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b718e
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
xor cl, cl
test edi, edi
je 0x4b71b3
sub esi, eax
push ebx
mov dl, byte [esi + eax]
mov bl, byte [eax]
xor dl, bl
or cl, dl
inc eax
dec edi
jne 0x4b71a5
pop ebx
pop edi
movzx eax, cl
pop esi
ret
Function at 0x4ccb6e
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
lea eax, [ecx + 1]
ret
Function at 0x4eaace
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, edi
mov ecx, ebp
cmp edi, 4
jb 0x4eaaf6
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4eaafa
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x4eaae2
test esi, esi
je 0x4eab54
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x4eab35
cmp esi, 1
jbe 0x4eab54
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x4eab35
cmp esi, 2
jbe 0x4eab54
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x4eab35
cmp esi, 3
jbe 0x4eab54
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jle 0x4eab54
push 0x159
push 0x10160d24
push 0x10160cf4
call fcn.004b715e
add esp, 0xc
mov ebx, dword [esp + 0x10]
xor edx, edx
test edi, edi
jle 0x4eab71
mov esi, ebx
mov eax, ebp
sub esi, ebp
mov cl, byte [esi + eax]
cmp cl, byte [eax]
jne 0x4eab71
inc edx
inc eax
cmp edx, edi
jl 0x4eab64
lea eax, [edi - 1]
test eax, eax
js 0x4eab8e
mov esi, ebx
lea ecx, [eax + ebp]
sub esi, ebp
cmp byte [ecx + esi], 0
jne 0x4eab8e
cmp byte [ecx], 0xff
jne 0x4eab8e
dec ecx
dec eax
jns 0x4eab7f
cmp edx, eax
jl 0x4eac06
jle 0x4eab9f
pop esi
pop ebp
lea eax, [edx*8]
pop ebx
ret
mov cl, byte [edx + ebx]
mov bl, byte [edx + ebp]
mov al, bl
xor al, cl
mov byte [esp + 0x10], cl
movzx ecx, al
dec ecx
cmp ecx, 0x7e
ja 0x4eac06
movzx ecx, byte [ecx + 0x100b45d0]
jmp dword [ecx*4 + 0x100b45b0]
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x508cee
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.00554e1e
mov eax, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, edx
push ebp
mov esi, 1
push eax
mov ebx, ecx
shl esi, cl
mov dword [esp + 0x18], edi
call fcn.004c670e
add esp, 8
test eax, eax
jne 0x508d29
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp ebx, 3
jg 0x508d8b
xor ebx, ebx
test ebp, ebp
jle 0x508eee
lea ebx, [ebx]
xor edx, edx
xor ecx, ecx
test esi, esi
jle 0x508d6d
mov eax, ecx
xor eax, dword [esp + 0x44]
inc ecx
lea ebp, [eax - 1]
shr ebp, 0x1f
not eax
shr eax, 0x1f
and ebp, eax
mov eax, dword [edi + ecx*4 - 4]
neg ebp
and ebp, 1
neg ebp
and ebp, eax
or edx, ebp
cmp ecx, esi
jl 0x508d46
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [eax + ebx*4], edx
lea eax, [esi*4]
inc ebx
add edi, eax
cmp ebx, dword [esp + 0x40]
jl 0x508d3e
jmp 0x508eee
mov edx, dword [esp + 0x44]
lea ecx, [ebx - 2]
mov eax, edx
sar eax, cl
mov edi, 1
shl edi, cl
lea ebx, [eax - 1]
shr ebx, 0x1f
lea ecx, [edi - 1]
and edx, ecx
mov dword [esp + 0x44], edx
mov edx, eax
not edx
shr edx, 0x1f
and ebx, edx
mov ecx, eax
xor ecx, 1
lea edx, [ecx - 1]
not ecx
shr ecx, 0x1f
shr edx, 0x1f
and edx, ecx
mov ecx, eax
xor ecx, 2
lea ebp, [ecx - 1]
not ecx
shr ecx, 0x1f
shr ebp, 0x1f
and ebp, ecx
xor eax, 3
lea ecx, [eax - 1]
shr ecx, 0x1f
not eax
shr eax, 0x1f
and ecx, eax
neg ebx
neg edx
neg ebp
neg ecx
and ebx, 1
and edx, 1
and ebp, 1
and ecx, 1
xor eax, eax
neg edx
neg ebp
neg ecx
neg ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], eax
jle 0x508eee
lea edx, [esi*4]
mov dword [esp + 0x34], edx
mov edi, edi
xor esi, esi
mov dword [esp + 0x20], esi
cmp edi, esi
jle 0x508eca
mov eax, dword [esp + 0x10]
lea edx, [eax + edi*4]
mov dword [esp + 0x1c], edx
lea edx, [eax + edi*8]
mov dword [esp + 0x18], edx
lea edx, [edi + edi*2]
lea eax, [eax + edx*4]
mov dword [esp + 0x14], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
and edx, ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
and ecx, ebp
or ecx, edx
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
and edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
or edx, ecx
mov eax, esi
xor eax, dword [esp + 0x44]
inc esi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + esi*4 - 4]
neg ecx
and ecx, 1
and eax, ebx
neg ecx
or eax, edx
and ecx, eax
or dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov eax, 4
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
cmp esi, edi
jl 0x508e5e
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov edx, dword [edx]
mov esi, dword [esp + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [esp + 0x34]
add dword [esp + 0x10], edx
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x40]
jl 0x508e2e
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [ecx + 4], eax
mov eax, 1
pop ebx
add esp, 0x28
ret
Function at 0x544cc5
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.00554e1e
mov eax, dword [0x101af070]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
test eax, eax
je 0x544e28
push ebx
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
movzx ecx, byte [esi + 2]
movzx edx, byte [esi + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [esi + 4]
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [esi + 5]
shl edx, 0x18
or ebx, edx
movzx edx, byte [esi + 6]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 7]
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
add esi, 8
mov byte [edi], dl
mov byte [ebp], al
call fcn.004e539e
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.004e541e
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004e1eee
push ebp
call fcn.004e539e
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.004e541e
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.004e1eee
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ebx
shr edx, 0x10
mov byte [eax + 2], dl
mov edx, dword [esp + 0x44]
shr ebx, 0x18
mov byte [eax + 3], bl
mov ebx, edx
add esp, 0x30
mov byte [eax + 4], dl
shr ebx, 8
mov byte [eax + 5], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax + 6], bl
mov byte [eax + 7], dl
mov eax, ebp
mov byte [eax], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 2], dl
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr edx, 8
mov byte [eax + 4], cl
mov byte [eax + 5], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 0x18
dec dword [esp + 0x18]
mov byte [eax + 6], dl
mov byte [eax + 7], cl
jne 0x544ce1
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.00551072
add esp, 0xa0
ret
Function at 0x647620
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, 0x365
cmp eax, edx
ja 0x64775b
je 0x64774d
add edx, 0xfffffff4
cmp eax, edx
ja 0x6476d1
je 0x6476c6
sub eax, 0x1b5
je 0x6476bb
sub eax, 0x10f
je 0x6476b0
sub eax, 0x1d
je 0x6476a5
sub eax, 0x26
je 0x64769a
sub eax, 0x4b
je 0x64768f
dec eax
dec eax
je 0x647684
sub eax, 3
jne 0x647840
mov ecx, dword [ecx + 0x4c]
and ecx, 0x2000000
xor eax, eax
or eax, ecx
jmp 0x647839
mov ecx, dword [ecx + 0x4c]
and ecx, 0x4000000
jmp 0x64767b
mov ecx, dword [ecx + 0x4c]
and ecx, 0x40000000
jmp 0x64767b
mov ecx, dword [ecx + 0x4c]
and ecx, 0x8000000
jmp 0x64767b
mov ecx, dword [ecx + 0x4c]
and ecx, 0x10000000
jmp 0x64767b
mov ecx, dword [ecx + 0x4c]
and ecx, 0x20000000
jmp 0x64767b
mov ecx, dword [ecx + 0x4c]
and ecx, 0x80000000
jmp 0x64767b
mov ecx, dword [ecx + 0x4c]
and ecx, 0x1000000
jmp 0x64767b
sub eax, 0x35c
je 0x64773f
dec eax
je 0x647731
dec eax
je 0x647723
dec eax
je 0x647715
dec eax
je 0x647707
dec eax
je 0x6476f9
dec eax
jne 0x647840
mov ecx, dword [ecx + 0x4c]
and ecx, 0x20000
jmp 0x64767b
mov ecx, dword [ecx + 0x4c]
and ecx, 0x40000
jmp 0x64767b
mov ecx, dword [ecx + 0x4c]
and ecx, 0x80000
jmp 0x64767b
mov ecx, dword [ecx + 0x4c]
and ecx, 0x100000
jmp 0x64767b
mov ecx, dword [ecx + 0x4c]
and ecx, 0x200000
jmp 0x64767b
mov ecx, dword [ecx + 0x4c]
and ecx, 0x400000
jmp 0x64767b
mov ecx, dword [ecx + 0x4c]
and ecx, 0x800000
jmp 0x64767b
mov ecx, dword [ecx + 0x4c]
and ecx, 0x10000
jmp 0x64767b
mov edx, 0x4e4
cmp eax, edx
ja 0x6477e9
je 0x6477e1
sub eax, 0x36a
je 0x6477d6
sub eax, 0x3a
je 0x6477cb
sub eax, 4
je 0x6477c0
sub eax, 0xd
je 0x6477b5
dec eax
je 0x6477a7
sub eax, 0x12c
je 0x64779c
dec eax
jne 0x647840
mov ecx, dword [ecx + 0x48]
and ecx, 4
jmp 0x647835
mov ecx, dword [ecx + 0x48]
and ecx, 2
jmp 0x647835
mov ecx, dword [ecx + 0x48]
and ecx, 0x100000
jmp 0x647835
mov ecx, dword [ecx + 0x48]
and ecx, 0x80000
jmp 0x647835
mov ecx, dword [ecx + 0x48]
and ecx, 0x40000
jmp 0x647835
mov ecx, dword [ecx + 0x48]
and ecx, 0x20000
jmp 0x647835
mov ecx, dword [ecx + 0x48]
and ecx, 0x10000
jmp 0x647835
mov ecx, dword [ecx + 0x48]
and ecx, 1
jmp 0x647835
sub eax, 0x4e5
je 0x64782f
dec eax
je 0x647827
dec eax
je 0x64781f
dec eax
je 0x647817
dec eax
je 0x64780c
sub eax, 0x68
jne 0x647840
mov ecx, dword [ecx + 0x48]
and ecx, 0x200000
jmp 0x647835
mov ecx, dword [ecx + 0x48]
and ecx, 0x80
jmp 0x647835
mov ecx, dword [ecx + 0x48]
and ecx, 0x40
jmp 0x647835
mov ecx, dword [ecx + 0x48]
and ecx, 0x20
jmp 0x647835
mov ecx, dword [ecx + 0x48]
and ecx, 0x10
jmp 0x647835
mov ecx, dword [ecx + 0x48]
and ecx, 8
xor eax, eax
or ecx, eax
je 0x647840
xor eax, eax
inc eax
jmp 0x647842
xor eax, eax
pop ebp
ret 4

Function at 0x666ebd
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
mov dword [ebp + 8], ecx
push 9
lea ecx, [eax + 2]
mov ax, word [ebp + 8]
pop edx
xor ax, word [ecx]
inc ecx
inc ecx
dec edx
test edx, edx
jg 0x666ed5
pop ebp
ret 4
Function at 0x6d1a15
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
sub esp, 0x6c
xor ecx, ecx
and al, 2
cmp al, 2
sete cl
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov edi, ecx
cmp esi, ebx
je 0x6d1a44
mov eax, edi
neg eax
sbb eax, eax
and eax, 0x16
add eax, esi
jmp 0x6d1a46
xor eax, eax
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
push eax
mov eax, edi
neg eax
sbb eax, eax
and eax, 0x16
sub ecx, eax
push ecx
push dword [ebp + 8]
call fcn.006d18b6
mov dword [ebp + 0x18], eax
cmp eax, ebx
je 0x6d1b99
cmp edi, ebx
je 0x6d1b99
add dword [ebp + 0x18], 0x16
cmp esi, ebx
je 0x6d1b99
lea eax, [ebp - 0x6c]
mov byte [esi], 0xd7
mov byte [esi + 1], 0xcd
mov byte [esi + 2], 0xc6
mov byte [esi + 3], 0x9a
push eax
mov byte [esi + 4], bl
mov byte [esi + 5], bl
push 0x6c
push dword [ebp + 8]
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov byte [esi + 0x12], bl
mov byte [esi + 0x13], bl
call fcn.007392e7
test eax, eax
je 0x6d1b5b
fild dword [ebp - 0x24]
fidiv dword [ebp - 0x1c]
fld qword [0x25cb2b00]
fdiv st(1), st(0)
fild dword [ebp - 0x20]
faddp st(2)
fild dword [ebp - 0x18]
fdivp st(2)
fdivp st(1)
fmul qword [0x25cb15c0]
fstp dword [ebp + 8]
fild dword [ebp - 0x54]
fld dword [ebp + 8]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.0069bc4b
fild dword [ebp - 0x50]
movzx eax, ax
fld st(1)
mov byte [esi + 6], al
shr eax, 8
fmulp st(1)
mov byte [esi + 7], al
call fcn.0069bc4b
movzx eax, ax
fild dword [ebp - 0x4c]
fld st(1)
mov byte [esi + 8], al
shr eax, 8
fmulp st(1)
mov byte [esi + 9], al
call fcn.0069bc4b
movzx eax, ax
fild dword [ebp - 0x48]
fld st(1)
mov byte [esi + 0xa], al
shr eax, 8
fmulp st(1)
mov byte [esi + 0xb], al
call fcn.0069bc4b
movzx eax, ax
fmul qword [0x25cb31f8]
mov byte [esi + 0xc], al
shr eax, 8
mov byte [esi + 0xd], al
call fcn.0069bc4b
movzx eax, ax
mov byte [esi + 0xe], al
shr eax, 8
mov byte [esi + 0xf], al
jmp 0x6d1b7e
mov byte [esi + 6], bl
mov byte [esi + 7], bl
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov byte [esi + 0xa], 0xd0
mov byte [esi + 0xb], 7
mov byte [esi + 0xc], 0xd0
mov byte [esi + 0xd], 7
mov byte [esi + 0xe], 0x60
mov byte [esi + 0xf], bl
lea edx, [esi + 0x14]
mov ecx, esi
mov dword [ebp + 8], ebx
mov ax, bx
cmp esi, edx
jae 0x6d1b96
xor ax, word [ecx]
inc ecx
inc ecx
cmp ecx, edx
jb 0x6d1b8d
mov word [ecx], ax
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x6f02c2
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
mov dword [ebp - 4], 0x100
push edi
mov eax, dword [ebp + 0x10]
shr eax, 8
movzx eax, al
lea ecx, [edx + eax*2]
mov di, word [ecx]
movzx eax, byte [ebp + 0x10]
shl di, 8
movzx edi, di
or edi, eax
mov dword [ebp + 8], eax
lea eax, [edx + edi*2]
mov di, word [eax]
xor di, word [ebp + 0xc]
mov ebx, 0x3ff
and di, bx
xor word [eax], di
mov ax, word [ecx]
shl ax, 8
movzx eax, ax
or eax, dword [ebp + 8]
mov edi, ebx
lea eax, [edx + eax*2]
mov cx, word [eax]
xor cx, word [ebp + 0xc]
and cx, di
xor cx, word [ebp + 0xc]
inc dword [ebp + 0x10]
dec dword [ebp - 4]
mov word [eax], cx
jne 0x6f02d4
pop edi
pop ebx
leave
ret 0xc
Function at 0x6f6d9a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push esi
movzx esi, byte [eax]
lea ecx, [eax + 1]
movzx eax, byte [ecx]
xor edx, edx
shl esi, 8
push edi
mov edi, dword [0x25e2369c]
inc edx
add esi, eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
cmp edi, edx
jb 0x6f6f48
mov eax, dword [0x25e23690]
push ebx
mov ecx, dword [ebp - 8]
add ecx, edi
shr ecx, 1
movzx edx, byte [eax + ecx*8 - 8]
movzx ebx, byte [eax + ecx*8 - 7]
shl edx, 8
add edx, ebx
cmp edx, esi
jae 0x6f6df6
lea edx, [ecx + 1]
mov dword [ebp - 8], edx
jmp 0x6f6dfb
jbe 0x6f6e00
lea edi, [ecx - 1]
cmp edi, dword [ebp - 8]
jae 0x6f6dd4
cmp edi, dword [ebp - 8]
jb 0x6f6f47
mov ebx, dword [ebp - 0xc]
lea ecx, [eax + ecx*8]
mov esi, dword [ecx - 4]
mov edi, dword [ecx + 4]
add esi, eax
add edi, eax
mov al, byte [ebx]
mov dword [ebp - 8], 0xffff
mov dword [ebp - 0x10], 1
mov byte [ebp - 1], al
jmp 0x6f6f3f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp ebx, ecx
jae 0x6f6f47
jmp 0x6f6ead
mov al, byte [ebp - 1]
mov edx, dword [ebp - 8]
and al, 0x7f
movzx ax, al
inc edx
imul ax, dx
inc dword [ebp - 0x10]
movzx eax, ax
mov dword [ebp - 8], eax
movzx eax, byte [ebp - 1]
inc ebx
cmp dword [eax*4 + 0x25e1f970], 2
mov al, byte [ebx]
mov byte [ebp - 1], al
jl 0x6f6ead
test al, al
je 0x6f6eb3
cmp ebx, ecx
jae 0x6f6eb3
movzx eax, al
mov eax, dword [eax*4 + 0x25e1f970]
and eax, 0x80000001
jns 0x6f6e8c
dec eax
or eax, 0xfffffffe
inc eax
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jne 0x6f6ead
lea eax, [ecx - 2]
cmp ebx, eax
ja 0x6f6eb3
cmp byte [ebx + 1], 0xec
je 0x6f6ead
cmp ebx, eax
je 0x6f6eb3
cmp byte [ebx + 2], 0xec
jne 0x6f6eb3
cmp byte [ebp - 1], 0x7f
ja 0x6f6e40
cmp esi, edi
jae 0x6f6f32
mov ecx, dword [ebp - 0x10]
push 2
pop edx
movzx eax, word [esi]
cmp cx, ax
je 0x6f6ee3
jb 0x6f6f32
cmp esi, edi
jae 0x6f6f32
cmp byte [esi], 2
jne 0x6f6ed4
add esi, edx
jmp 0x6f6edd
add esi, edx
movzx eax, word [esi]
lea esi, [esi + eax*2 + 2]
cmp esi, edi
jb 0x6f6ebd
jmp 0x6f6f32
add esi, edx
cmp cx, dx
jne 0x6f6ef5
push edx
push dword [ebp + 0xc]
call fcn.006f612a
jmp 0x6f6f32
movzx eax, word [esi]
add esi, edx
mov dword [ebp - 0xc], eax
test ax, ax
jbe 0x6f6f32
movzx eax, word [esi]
cmp word [ebp - 8], ax
je 0x6f6f1f
jbe 0x6f6f2b
add dword [ebp - 0xc], 0xffff
inc esi
inc esi
cmp word [ebp - 0xc], 0
ja 0x6f6f02
jmp 0x6f6f32
movzx eax, cx
push eax
push dword [ebp + 0xc]
call fcn.006f612a
movzx eax, word [ebp - 0xc]
lea esi, [esi + eax*2]
cmp byte [ebp - 1], 0x80
jb 0x6f6f47
mov eax, dword [ebp + 8]
cmp ebx, dword [eax]
ja 0x6f6f47
cmp esi, edi
jb 0x6f6e31
pop ebx
pop edi
pop esi
leave
ret 8