joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f09b4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
cmp eax, ecx
mov dword [ebp - 8], edi
jb 0x5f0a41
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.0073dbe0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x5f0a01
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x5f0a23
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x5f0aff
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 8]
cmp ecx, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
jbe 0x5f0a69
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
test edx, edx
jne 0x5f0a74
xor eax, eax
jmp 0x5f0ac0
sub ecx, edx
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp ecx, 1
jne 0x5f0a91
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.005ef9ac
jmp 0x5f0aa1
cmp ecx, 2
jne 0x5f0aaa
push edx
push dword [edi]
push dword [edi + 0x30]
call fcn.005efea0
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
add esp, 0xc
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.0073dbe0
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x5f0aeb
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x5f0aff
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x5f09bf
pop edi
pop ebx
leave
ret
Function at 0x5f55a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, ecx
push edi
push dword [esi]
lea ecx, [ebp - 0xc]
call 0x53a47c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi]
mov ecx, dword [eax + 0xa30]
push 0x3025030c
call fcn.005feecb
and dword [ebp - 4], 0
push 0xa
push dword [ebp - 4]
call 0x598767
mov edi, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
pop ecx
pop ecx
mov ecx, dword [eax + 0x81c]
push edi
call fcn.00613586
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x81c]
push edi
call fcn.0061371b
push edi
mov ebx, eax
call fcn.0073d705
test ebx, ebx
pop ecx
je 0x5f56f8
mov ecx, dword [ebx + 0xa0]
lea eax, [ebp - 8]
push eax
push dword [esi]
mov dword [ebp - 8], 2
call fcn.00613dd3
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x10], 0
lea ecx, [ebp - 8]
je 0x5f565e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call 0x56ab38
mov ecx, eax
call 0x53aa39
test al, al
jne 0x5f56f2
jmp 0x5f56ca
call 0x56abb7
mov edi, eax
push edi
call fcn.0073df20
pop ecx
xor ecx, ecx
test eax, eax
jle 0x5f5688
mov dl, byte [ecx + edi]
movzx ebx, dl
mov bl, byte [ebx + 0x30242c28]
xor bl, dl
mov byte [ecx + edi], bl
inc ecx
cmp ecx, eax
jl 0x5f5672
and dword [ebp - 0x14], 0
cmp dword [0x30250300], 0
je 0x5f56bd
mov eax, 0x30250300
mov ebx, eax
push dword [eax]
push edi
call fcn.0053a007
test eax, eax
pop ecx
pop ecx
jne 0x5f56b6
add ebx, 4
cmp dword [ebx], 0
mov eax, ebx
jne 0x5f569c
jmp 0x5f56bd
mov dword [ebp - 0x14], 1
push edi
call fcn.0073d705
cmp dword [ebp - 0x14], 0
pop ecx
je 0x5f56dc
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x270f
jl 0x5f55db
jmp 0x5f56f8
lea eax, [ebp - 8]
push eax
mov eax, dword [esi]
mov ecx, dword [eax + 0xa30]
push 0x3025030c
call fcn.005fe41a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
push 0xa
push dword [ebp - 0x10]
call 0x598767
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x602496
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [eax + 0xbf4]
mov eax, dword [esi]
push edi
mov edi, dword [ebp + 8]
push edi
mov ecx, esi
call dword [eax + 0x30]
test al, al
je 0x602646
cmp byte [ebp + 0xc], 0
je 0x602646
push 0x30250ca8
mov ecx, edi
call fcn.00538d60
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x40]
test al, al
jne 0x6024e8
mov ecx, edi
call 0x538b87
jmp 0x602646
push ebx
push edi
lea ecx, [ebp - 0x24]
call fcn.005389e2
lea ecx, [ebp - 0x34]
call fcn.00538af8
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, esi
mov bl, 1
mov byte [ebp + 0x13], 0
call dword [eax + 0x24]
mov edi, eax
test edi, edi
je 0x602565
test bl, bl
je 0x602553
cmp dword [ebp - 0x38], 1
jne 0x602533
lea ecx, [ebp - 0x34]
call fcn.00538adb
push eax
call fcn.00527094
cmp eax, 8
pop ecx
je 0x602543
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
push ecx
push edi
mov ecx, esi
call dword [eax + 0x28]
mov bl, al
jmp 0x602515
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
mov byte [ebp + 0x13], 1
call 0x538d41
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x2c]
cmp byte [ebp + 0x13], 0
jne 0x602635
lea eax, [ebp - 8]
push 8
push eax
mov byte [ebp - 0x58], 0x41
mov byte [ebp - 0x57], 0x42
mov byte [ebp - 0x56], 0x43
mov byte [ebp - 0x55], 0x44
mov byte [ebp - 0x54], 0x45
mov byte [ebp - 0x53], 0x46
mov byte [ebp - 0x52], 0x47
mov byte [ebp - 0x51], 0x48
mov byte [ebp - 0x50], 0x4a
mov byte [ebp - 0x4f], 0x4b
mov byte [ebp - 0x4e], 0x4c
mov byte [ebp - 0x4d], 0x4d
mov byte [ebp - 0x4c], 0x4e
mov byte [ebp - 0x4b], 0x50
mov byte [ebp - 0x4a], 0x51
mov byte [ebp - 0x49], 0x52
mov byte [ebp - 0x48], 0x53
mov byte [ebp - 0x47], 0x54
mov byte [ebp - 0x46], 0x55
mov byte [ebp - 0x45], 0x56
mov byte [ebp - 0x44], 0x57
mov byte [ebp - 0x43], 0x58
mov byte [ebp - 0x42], 0x59
mov byte [ebp - 0x41], 0x5a
mov byte [ebp - 0x40], 0x32
mov byte [ebp - 0x3f], 0x33
mov byte [ebp - 0x3e], 0x34
mov byte [ebp - 0x3d], 0x35
mov byte [ebp - 0x3c], 0x36
mov byte [ebp - 0x3b], 0x37
mov byte [ebp - 0x3a], 0x38
mov byte [ebp - 0x39], 0x39
call fcn.005e3854
test al, al
pop ecx
pop ecx
je 0x60262d
xor eax, eax
xor ecx, ecx
mov cl, byte [ebp + eax - 8]
and ecx, 0x1f
mov cl, byte [ebp + ecx - 0x58]
mov byte [ebp + eax - 0x14], cl
inc eax
cmp eax, 8
jl 0x6025f8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0xc], 0
call fcn.00538d60
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
test al, al
jne 0x602635
mov ecx, dword [ebp + 8]
call 0x538b87
lea ecx, [ebp - 0x34]
call fcn.0053895d
lea ecx, [ebp - 0x24]
call fcn.0053895d
pop ebx
pop edi
pop esi
leave
ret
Function at 0x614ed9
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
mov eax, dword [esi + 0x28]
push edi
xor edi, edi
cmp eax, edi
mov dword [ebp - 8], edi
jne 0x614ef6
xor eax, eax
jmp 0x615016
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x18]
push edx
lea ecx, [esi + 0xc]
push ecx
push 0x20000013
push eax
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x14], edi
call dword [0x3023f604]
test eax, eax
je 0x615013
push edi
push edi
lea eax, [ebp - 4]
push eax
push dword [esi + 0x28]
mov dword [ebp - 4], edi
call dword [0x302b90fc]
test eax, eax
je 0x614fb2
push ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x614fb1
and dword [ebp - 0xc], 0
lea eax, [edi + eax + 1]
push eax
call fcn.0073d6aa
mov ebx, eax
test ebx, ebx
pop ecx
mov dword [ebp - 0x10], ebx
je 0x614fb1
test edi, edi
jbe 0x614f67
push edi
push dword [esi + 0x10]
push ebx
call fcn.0073dbe0
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
add ebx, edi
push ebx
push dword [esi + 0x28]
call dword [0x302b9100]
test eax, eax
je 0x614f93
mov eax, dword [ebp - 4]
push dword [ebp - 0x10]
lea ecx, [esi + 0x10]
mov byte [ebx + eax], 0
call 0x5398a4
add edi, dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0073d705
pop ecx
push 0
push 0
lea eax, [ebp - 4]
push eax
push dword [esi + 0x28]
call dword [0x302b90fc]
test eax, eax
jne 0x614f37
pop ebx
mov ecx, dword [esi + 0xc]
cmp ecx, 0x197
je 0x614fec
cmp ecx, 0x191
je 0x614fec
cmp ecx, 0x12c
mov eax, 0x190
jb 0x614fdf
cmp ecx, eax
jae 0x614fe1
mov dword [ebp - 8], 2
jmp 0x615013
cmp ecx, eax
jbe 0x615013
mov dword [ebp - 8], 1
jmp 0x615013
push 0
push 7
push 0x2eee
push dword [esi + 0x28]
call dword [0x3023f4ac]
push eax
call dword [0x302b9108]
xor ecx, ecx
cmp eax, 0x2f00
sete cl
inc ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret
Function at 0x64c5e1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
cmp eax, 3
push ebx
push esi
push edi
mov edi, 0x9e3779b9
mov dword [ebp - 4], eax
mov ebx, edi
mov esi, ecx
jb 0x64c692
push 3
xor edx, edx
pop ecx
div ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
add edi, dword [eax + 4]
add esi, dword [eax + 8]
mov ecx, dword [eax]
sub ecx, esi
sub ecx, edi
add ecx, ebx
mov edx, esi
shr edx, 0xd
xor ecx, edx
mov edx, edi
sub edx, esi
sub edx, ecx
mov edi, ecx
shl edi, 8
xor edx, edi
sub esi, edx
sub esi, ecx
mov edi, edx
shr edi, 0xd
xor esi, edi
sub ecx, esi
sub ecx, edx
mov edi, esi
shr edi, 0xc
xor ecx, edi
sub edx, esi
sub edx, ecx
mov edi, ecx
shl edi, 0x10
xor edx, edi
sub esi, edx
sub esi, ecx
sub dword [ebp - 4], 3
mov edi, edx
shr edi, 5
xor esi, edi
sub ecx, esi
sub ecx, edx
mov edi, esi
shr edi, 3
xor ecx, edi
sub edx, esi
mov ebx, ecx
shl ecx, 0xa
sub edx, ebx
xor edx, ecx
mov edi, edx
sub esi, edi
mov ecx, edi
sub esi, ebx
shr ecx, 0xf
add eax, 0xc
xor esi, ecx
dec dword [ebp - 8]
mov dword [ebp + 8], eax
jne 0x64c60b
mov eax, dword [ebp - 4]
add esi, dword [ebp + 0xc]
dec eax
je 0x64c6a4
dec eax
jne 0x64c6a9
mov eax, dword [ebp + 8]
add edi, dword [eax + 4]
mov eax, dword [ebp + 8]
add ebx, dword [eax]
sub ebx, esi
sub ebx, edi
sub edi, esi
mov eax, esi
shr eax, 0xd
xor ebx, eax
sub edi, ebx
mov eax, ebx
shl eax, 8
xor edi, eax
sub esi, edi
sub esi, ebx
mov eax, edi
shr eax, 0xd
xor esi, eax
sub ebx, esi
sub ebx, edi
sub edi, esi
mov eax, esi
shr eax, 0xc
xor ebx, eax
sub edi, ebx
mov eax, ebx
shl eax, 0x10
xor edi, eax
sub esi, edi
mov eax, edi
sub esi, ebx
shr eax, 5
xor esi, eax
mov eax, esi
sub ebx, eax
sub ebx, edi
mov ecx, eax
shr ecx, 3
xor ebx, ecx
sub edi, eax
sub edi, ebx
mov ecx, ebx
shl ecx, 0xa
xor edi, ecx
sub eax, edi
sub eax, ebx
shr edi, 0xf
xor eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x65f560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x2c]
add edx, edx
add esi, esi
test ecx, ecx
mov dword [esp + 0xc], edx
jle 0x65f6f9
mov eax, dword [esp + 0x28]
sub eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
sub eax, edx
mov edx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
push ebp
mov eax, ebx
sub eax, esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x28]
lea edx, [edx + eax*4]
mov ebp, edi
sub ebp, esi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
add eax, ecx
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
jmp 0x65f5d1
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [edx*4 + 0x30259ff0]
lea eax, [edi + esi*2]
push eax
lea edx, [esi + edi]
push edx
push edi
push ebp
mov dword [esp + 0x30], ecx
call fcn.0065f1b0
lea eax, [edi + esi*2 + 0x10]
push eax
lea ecx, [esi + edi + 0x10]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [edi + 0x10]
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.0065f1b0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
lea eax, [ebx + esi*2]
push eax
add ebp, 0x20
lea ecx, [esi + ebx]
push ecx
mov dword [esp + 0x48], ebp
mov ebp, dword [edx*4 + 0x30259ff0]
mov edx, dword [esp + 0x60]
push ebx
push edx
mov ecx, ebp
add edi, 0x20
call fcn.0065f1b0
lea eax, [ebx + esi*2 + 0x10]
push eax
mov eax, dword [esp + 0x6c]
lea ecx, [esi + ebx + 0x10]
push ecx
lea edx, [ebx + 0x10]
push edx
add eax, 0x10
push eax
mov ecx, ebp
call fcn.0065f1b0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x58]
add eax, 0x20
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x70]
lea edx, [eax + ecx*2]
add esp, 0x40
push edx
add ecx, eax
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
mov ecx, ebp
add ebx, 0x20
call fcn.0065f1b0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx*2]
push edx
add ecx, eax
push ecx
push eax
mov eax, dword [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.0065f1b0
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov eax, 0x10
add ebp, eax
add esp, 0x20
mov dword [esp + 0x30], ebp
add edx, eax
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x50]
add ecx, eax
add ebp, eax
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov eax, 4
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jne 0x65f5cd
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x14
ret
Function at 0x662b90
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, eax
push edi
push esi
xor ebx, ebx
call dword [0x3037c3a4]
mov ecx, eax
add ecx, 0x20
add esp, 8
sar ecx, 6
mov dword [esp + 0xc], 2
movzx eax, byte [esi + 7]
sub eax, ecx
cdq
mov ebp, eax
xor ebp, edx
movzx eax, byte [esi + 6]
sub eax, ecx
sub ebp, edx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 5]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 4]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 3]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 2]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 1]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add eax, ebx
lea ebx, [eax + ebp]
movzx eax, byte [esi + edi + 7]
sub eax, ecx
cdq
mov ebp, eax
movzx eax, byte [esi + edi + 6]
add esi, edi
sub eax, ecx
xor ebp, edx
sub ebp, edx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 5]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 4]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 3]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 2]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 1]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add eax, ebx
lea ebx, [eax + ebp]
movzx eax, byte [esi + edi + 7]
sub eax, ecx
cdq
mov ebp, eax
movzx eax, byte [esi + edi + 6]
sub eax, ecx
xor ebp, edx
add esi, edi
sub ebp, edx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 5]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 4]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 3]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 2]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 1]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add eax, ebx
lea ebx, [eax + ebp]
movzx eax, byte [esi + edi + 7]
add esi, edi
sub eax, ecx
cdq
mov ebp, eax
movzx eax, byte [esi + 6]
xor ebp, edx
sub eax, ecx
sub ebp, edx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 5]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 4]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 3]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 2]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi + 1]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movzx eax, byte [esi]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add eax, ebx
lea ebx, [eax + ebp]
mov eax, dword [esp + 0xc]
add esi, edi
dec eax
mov dword [esp + 0xc], eax
jne 0x662bb3
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x66a7b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebp, ecx
mov eax, dword [ebp + 0x358]
mov ecx, dword [ebp + 0x350]
lea ebx, [esi*4]
lea edx, [ebx + 4]
push edi
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
call fcn.0073dbc3
add esp, 4
test eax, eax
je 0x66a801
mov dword [eax], esi
lea edx, [eax + 4]
lea eax, [esi - 1]
test eax, eax
jl 0x66a7fd
lea ecx, [eax + 1]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, edx
jmp 0x66a803
xor edi, edi
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov dword [ebp + 0x358], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [ebp + 0x350], esi
dec esi
cmp ecx, eax
mov dword [ebp + 0x348], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], eax
jle 0x66a956
mov edi, edi
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + eax*4]
cmp edi, 1
jbe 0x66a941
mov edx, dword [edi + 0x10]
and dl, 3
cmp dl, 2
jb 0x66a862
mov ecx, edi
call fcn.0066ee20
mov edx, dword [edi + 8]
mov ecx, dword [edi + 0xc]
and edx, 0x7fffffff
add ecx, 8
xor eax, eax
test edx, edx
je 0x66a88c
mov esi, eax
shl eax, 4
sar esi, 0x1c
xor esi, eax
movzx eax, word [ecx]
xor eax, esi
add ecx, 2
dec edx
jne 0x66a877
mov esi, dword [esp + 0x20]
mov ebx, dword [ebp + 0x358]
and eax, esi
and eax, 0x7fffffff
mov esi, eax
cmp dword [ebx + esi*4], 0
mov eax, 7
je 0x66a8c0
mov ecx, ebx
lea esp, [esp]
mov edx, dword [esp + 0x20]
add esi, eax
and esi, edx
mov edx, dword [ecx + esi*4]
inc eax
test edx, edx
jne 0x66a8b0
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x66a906
cmp eax, 1
je 0x66a906
mov ecx, dword [eax + 4]
test ecx, 0x40000000
jne 0x66a906
test ecx, ecx
je 0x66a906
mov edx, ecx
and edx, 0xff
dec edx
je 0x66a906
dec ecx
mov dword [eax + 4], ecx
and ecx, 0xff
dec ecx
jne 0x66a906
push eax
and eax, 0xfffff000
mov ecx, dword [eax]
add ecx, 0x354
call fcn.006b9b10
mov dword [ebx + esi*4], edi
mov eax, dword [edi + 4]
test eax, 0x40000000
jne 0x66a941
test eax, eax
je 0x66a941
inc eax
cmp al, 0xff
mov dword [edi + 4], eax
jne 0x66a929
or eax, 0x40000000
mov dword [edi + 4], eax
jmp 0x66a941
test eax, eax
jns 0x66a941
push edi
and edi, 0xfffff000
mov ecx, dword [edi]
add ecx, 0x354
call fcn.006b8e00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x66a840
mov ecx, dword [esp + 0x18]
test ecx, ecx
pop edi
pop esi
pop ebp
pop ebx
je 0x66a972
add esp, 0xc
mov dword [esp + 4], 3
jmp fcn.00668a70
add esp, 0xc
ret 4
Function at 0x66b760
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x344]
mov eax, dword [esi + 0x348]
lea eax, [eax + ecx + 1]
push edi
mov edi, dword [esi + 0x350]
lea edx, [eax + eax*4]
lea eax, [edi*4]
cmp edx, eax
jle 0x66b79d
add ecx, ecx
cmp ecx, edi
mov ecx, esi
jle 0x66b797
shl edi, 1
push edi
call fcn.0066a7b0
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
xor eax, eax
test edx, edx
mov ecx, ebx
je 0x66b7c5
lea ecx, [ecx]
mov ebp, eax
shl eax, 4
sar ebp, 0x1c
xor ebp, eax
movzx eax, word [ecx]
xor eax, ebp
add ecx, 2
dec edx
jne 0x66b7b0
mov ecx, dword [esi + 0x348]
dec edi
and eax, edi
and eax, 0x7fffffff
test ecx, ecx
mov ebp, 7
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
jne 0x66b84b
mov edi, dword [esi + 0x358]
lea ebx, [ebx]
mov edx, dword [edi + eax*4]
test edx, edx
je 0x66b8d6
mov ecx, dword [edx + 8]
mov esi, dword [esp + 0x20]
and ecx, 0x7fffffff
cmp esi, ecx
jne 0x66b840
mov esi, dword [edx + 0xc]
add esi, 8
test ecx, ecx
je 0x66b8d6
lea edx, [ebx + ecx*2]
sub esi, ebx
nop
mov bx, word [esi + edx - 2]
sub edx, 2
dec ecx
cmp bx, word [edx]
jne 0x66b83c
test ecx, ecx
jne 0x66b820
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add eax, ebp
and eax, edx
inc ebp
jmp 0x66b7f0
mov ebx, dword [esi + 0x358]
or edi, 0xffffffff
mov edx, dword [ebx + eax*4]
test edx, edx
je 0x66b8cf
cmp edx, 1
jne 0x66b876
cmp edi, 0xffffffff
jne 0x66b8c0
mov edx, dword [esp + 0x10]
mov edi, eax
add eax, ebp
and eax, edx
inc ebp
mov dword [esp + 0x14], ebp
jmp 0x66b854
mov ecx, dword [edx + 8]
mov esi, dword [esp + 0x20]
and ecx, 0x7fffffff
cmp esi, ecx
jne 0x66b8c0
mov esi, dword [edx + 0xc]
add esi, 8
test ecx, ecx
je 0x66b8d6
mov ebp, dword [esp + 0x1c]
lea edx, [ebp + ecx*2]
sub esi, ebp
jmp 0x66b8a0
mov bp, word [esi + edx - 2]
sub edx, 2
dec ecx
cmp bp, word [edx]
jne 0x66b8bc
test ecx, ecx
jne 0x66b8a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add eax, ebp
and eax, edx
inc ebp
mov dword [esp + 0x14], ebp
jmp 0x66b854
cmp edi, 0xffffffff
je 0x66b8d6
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x66f4a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x18
push ebx
push ebp
push edi
mov ebx, ecx
mov edi, dword [ebx + 8]
push 4
mov eax, ebx
and eax, 0xfffff000
mov ecx, dword [eax]
push 0xf
push 0x14
mov dword [esp + 0x2c], ebx
and edi, 0x7fffffff
call fcn.006b8500
test eax, eax
je 0x66f4dd
push edi
mov ecx, eax
call fcn.0066ec30
mov ebp, eax
mov dword [esp + 0x14], ebp
jmp 0x66f4e9
mov dword [esp + 0x14], 0
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
and cl, 3
cmp cl, 2
mov byte [esp + 0xf], 0
jb 0x66f500
mov ecx, ebp
call fcn.0066ee20
mov edx, dword [ebx + 0x10]
push esi
mov esi, dword [ebp + 0xc]
add esi, 8
and dl, 3
cmp dl, 2
mov dword [esp + 0x14], esi
jb 0x66f51d
mov ecx, ebx
call fcn.0066ee20
mov ecx, dword [ebx + 0xc]
add ecx, 8
lea edi, [ecx + edi*2]
cmp ecx, edi
mov dword [esp + 0x20], edi
jae 0x66f5dd
xor edx, edx
mov dx, word [ecx]
cmp dx, 0xff
jae 0x66f568
movzx eax, dx
movzx ax, byte [eax + 0x3025b088]
xor eax, edx
cmp ax, dx
je 0x66f555
mov byte [esp + 0x13], 1
mov word [esi], ax
add ecx, 2
add esi, 2
cmp ecx, edi
jb 0x66f532
mov dword [esp + 0x14], esi
jmp 0x66f5dd
cmp ecx, edi
mov dword [esp + 0x14], esi
jae 0x66f5dd
xor ebx, ebx
mov bx, word [ecx]
xor esi, esi
mov edi, 0x2de
movzx ebp, bx
mov dword [esp + 0x1c], ebx
lea eax, [edi + esi]
sar eax, 1
movzx edx, word [eax*2 + 0x3025b288]
cmp ebp, edx
je 0x66f5a8
jge 0x66f59b
lea edi, [eax - 1]
jmp 0x66f59e
lea esi, [eax + 1]
cmp esi, edi
jle 0x66f583
mov eax, dword [esp + 0x1c]
jmp 0x66f5ba
mov ax, word [eax*2 + 0x3025b848]
cmp ax, bx
je 0x66f5ba
mov byte [esp + 0x13], 1
mov edx, dword [esp + 0x14]
mov word [edx], ax
mov eax, dword [esp + 0x20]
add edx, 2
add ecx, 2
cmp ecx, eax
mov dword [esp + 0x14], edx
jb 0x66f570
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov esi, edx
mov al, byte [esp + 0x13]
mov word [esi], 0
test al, al
pop esi
mov eax, ebp
jne 0x66f5ef
mov eax, ebx
pop edi
pop ebp
pop ebx
add esp, 0x18
ret