joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ec594
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x5ec776
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x5e9a84]
call fcn.005062c4
mov esi, eax
mov eax, dword [ebp - 4]
add eax, 9
mov dword [ebx], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
cmp byte [eax], 0x3e
je 0x5ec666
mov eax, dword [ebx]
movzx eax, byte [eax]
movzx eax, al
bt dword [0x5ec784], eax
jae 0x5ec65f
cmp dword [esi + 0x14], 0
jne 0x5ec65f
lea ecx, [ebp - 8]
mov eax, dword [ebx]
mov edx, 0x5ec7a4
call fcn.005ea3f4
mov edx, dword [ebx]
lea eax, [esi + 0x14]
mov ecx, dword [ebp - 8]
call fcn.005ea3a4
mov eax, dword [ebp - 8]
mov dword [ebx], eax
mov eax, dword [ebx]
inc eax
mov dl, 0x3e
call fcn.005ea078
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5ec649
lea eax, [esi + 0x1c]
mov edx, dword [ebx]
mov ecx, 0
call fcn.0040abf4
mov eax, dword [ebx]
call fcn.00425a94
mov dword [ebx], eax
jmp 0x5ec666
mov ecx, dword [ebp - 8]
dec ecx
mov edx, dword [ebx]
inc edx
lea eax, [esi + 0x1c]
call fcn.005ea3a4
mov eax, dword [ebp - 8]
mov dword [ebx], eax
jmp 0x5ec666
inc dword [ebx]
jmp 0x5ec5d9
lea ecx, [ebp - 0x24]
mov edx, 0x5ec7a4
mov eax, dword [esi + 0x1c]
call fcn.005ea08c
mov edx, dword [ebp - 0x24]
lea eax, [esi + 0x1c]
call fcn.0040a8f4
lea edx, [esi + 0x1c]
mov eax, edi
call fcn.005ed5d4
mov eax, dword [esi + 0x1c]
mov edx, 0x5ec7d0
call fcn.0040aed4
jne 0x5ec6a0
mov byte [esi + 0x18], 0
jmp 0x5ec70f
mov eax, dword [esi + 0x1c]
mov edx, 0x5ec7e4
call fcn.0040aed4
jne 0x5ec6b5
mov byte [esi + 0x18], 1
jmp 0x5ec70f
lea eax, [ebp - 0x28]
push eax
mov ecx, 8
mov edx, 1
mov eax, dword [esi + 0x1c]
call fcn.0040af6c
mov eax, dword [ebp - 0x28]
mov edx, 0x5ec7f4
call fcn.0040aed4
jne 0x5ec6e0
mov byte [esi + 0x18], 3
jmp 0x5ec70f
lea eax, [ebp - 0x2c]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [esi + 0x1c]
call fcn.0040af6c
mov eax, dword [ebp - 0x2c]
mov edx, 0x5ec80c
call fcn.0040aed4
jne 0x5ec70b
mov byte [esi + 0x18], 2
jmp 0x5ec70f
mov byte [esi + 0x18], 1
mov eax, dword [edi + 0x30]
mov edx, dword [esi + 0x14]
call fcn.005edc88
test eax, eax
je 0x5ec730
mov edx, dword [edi + 0x30]
xchg edx, eax
call fcn.004ace04
mov edx, dword [edi + 0x30]
xchg edx, eax
call fcn.004acc10
mov eax, dword [edi + 0x30]
mov edx, esi
call fcn.005edd54
mov eax, dword [ebx]
mov dl, 0x3e
call fcn.005ea3d8
mov dword [ebx], eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x14], esi
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x20]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec77d
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040a500
ret
Function at 0x5f4b7c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0x82aa5c
mov eax, ebx
mov edx, 8
test al, 1
je 0x5f4b98
shr eax, 1
xor eax, 0xedb88320
jmp 0x5f4b9a
shr eax, 1
dec edx
jne 0x5f4b8b
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x5f4b84
pop ebx
ret

Function at 0x5f4bb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
mov edx, ecx
dec edx
test edx, edx
jl 0x5f4bd7
inc edx
mov ecx, dword [eax]
xor cl, byte [esi]
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x82aa5c]
mov ebx, dword [eax]
shr ebx, 8
xor ecx, ebx
mov dword [eax], ecx
inc esi
dec edx
jne 0x5f4bbc
pop esi
pop ebx
ret

Function at 0x5f9528
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0xa
jne 0x5f95b7
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0x28
jne 0x5f95b7
mov edi, eax
dec edi
test edi, edi
jl 0x5f9667
inc edi
movzx eax, byte [esi]
movzx eax, byte [ebx + eax*4 + 2]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x7b8ed0]
movzx eax, byte [esi]
movzx eax, byte [ebx + eax*4 + 1]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x7b8ecc]
faddp st(1)
movzx eax, byte [esi]
movzx eax, byte [ebx + eax*4]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x7b8ec8]
faddp st(1)
call fcn.0040748c
mov edx, dword [ebp - 4]
mov byte [edx], al
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x24]
add esi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
add dword [ebp - 4], eax
dec edi
jne 0x5f9555
jmp 0x5f9667
mov edi, eax
dec edi
test edi, edi
jl 0x5f9667
inc edi
lea ecx, [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov eax, esi
call fcn.005f8108
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebx + eax*4 + 3]
shl eax, 8
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebx + eax*4 + 2]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x7b8ed0]
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebx + eax*4 + 1]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x7b8ecc]
faddp st(1)
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebx + eax*4]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x7b8ec8]
faddp st(1)
call fcn.0040748c
mov ecx, eax
movzx eax, cx
mov edx, eax
shl eax, 0x10
sub eax, edx
mov ecx, 0xff
xor edx, edx
div ecx
mov word [ebp - 6], ax
movzx eax, word [ebp - 0xe]
push eax
lea ecx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.005f7c50
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x24]
add esi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
add dword [ebp - 4], eax
dec edi
jne 0x5f95c3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5fa590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov byte [ebp - 0xc], al
mov ecx, edx
mov byte [ebp - 0xb], cl
movzx eax, byte [ebp - 0xc]
add eax, eax
lea eax, [eax + eax*2]
movzx edx, cl
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 0xa], al
movzx eax, byte [ebp - 0xc]
lea eax, [eax + eax*4]
movzx edx, byte [ebp - 0xb]
add edx, edx
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 9], al
movzx eax, byte [ebp - 0xc]
add eax, eax
add eax, eax
movzx edx, byte [ebp - 0xb]
lea edx, [edx + edx*2]
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 8], al
movzx eax, byte [ebp - 0xc]
lea eax, [eax + eax*2]
movzx edx, byte [ebp - 0xb]
add edx, edx
add edx, edx
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 7], al
movzx eax, byte [ebp - 0xc]
add eax, eax
movzx edx, byte [ebp - 0xb]
lea edx, [edx + edx*4]
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 6], al
movzx eax, byte [ebp - 0xc]
movzx edx, byte [ebp - 0xb]
add edx, edx
lea edx, [edx + edx*2]
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 5], al
mov dword [ebp - 0x10], 0x10
mov esi, dword [ebp - 4]
add esi, 2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0x7fffffff
xor edi, edi
lea ebx, [ebp - 0xc]
movzx eax, byte [ebx]
movzx edx, byte [esi]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0x14]
jge 0x5fa690
mov dword [ebp - 0x14], eax
mov eax, edi
mov byte [ecx], al
inc edi
inc ebx
cmp edi, 8
jne 0x5fa677
inc ecx
add esi, 8
dec dword [ebp - 0x10]
jne 0x5fa66b
movzx eax, byte [ebp - 0x23]
add eax, eax
add eax, eax
add eax, eax
or al, byte [ebp - 0x24]
movzx edx, byte [ebp - 0x22]
and dl, 3
shl edx, 6
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx], al
movzx eax, byte [ebp - 0x22]
and al, 4
movzx eax, al
shr eax, 2
movzx edx, byte [ebp - 0x21]
add edx, edx
or al, dl
movzx edx, byte [ebp - 0x20]
shl edx, 4
or al, dl
movzx edx, byte [ebp - 0x1f]
and dl, 1
shl edx, 7
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx + 1], al
movzx eax, byte [ebp - 0x1f]
and al, 6
movzx eax, al
shr eax, 1
movzx edx, byte [ebp - 0x1e]
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [ebp - 0x1d]
shl edx, 5
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx + 2], al
movzx eax, byte [ebp - 0x1b]
add eax, eax
add eax, eax
add eax, eax
or al, byte [ebp - 0x1c]
movzx edx, byte [ebp - 0x1a]
and dl, 3
shl edx, 6
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx + 3], al
movzx eax, byte [ebp - 0x1a]
and al, 4
movzx eax, al
shr eax, 2
movzx edx, byte [ebp - 0x19]
add edx, edx
or al, dl
movzx edx, byte [ebp - 0x18]
shl edx, 4
or al, dl
movzx edx, byte [ebp - 0x17]
and dl, 1
shl edx, 7
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx + 4], al
movzx eax, byte [ebp - 0x17]
and al, 6
movzx eax, al
shr eax, 1
movzx edx, byte [ebp - 0x16]
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [ebp - 0x15]
shl edx, 5
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx + 5], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x607f5c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1a8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 1
jne 0x607f8d
mov dword [ebp - 0x1c], 0x1fe
mov eax, dword [ebp - 8]
mov byte [eax + 0x1c], 1
jmp 0x607f99
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov byte [eax + 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
push eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
add ecx, 0x100
mov edx, 1
mov eax, dword [ebp - 4]
call dword [ebx + 8]
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
dec eax
test eax, eax
jl 0x6080b9
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4 + 0x20]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
je 0x608012
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x10]
add dword [eax + edx*4], 0xff
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0xc], eax
xor esi, esi
mov eax, dword [ebp - 0x14]
dec eax
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00607e20
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jge 0x608056
inc esi
mov eax, dword [ebp - 0x14]
dec eax
push eax
mov ecx, esi
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00607e20
mov edi, eax
cmp edi, ebx
jl 0x60803d
mov eax, esi
imul byte [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov byte [edx + ebx], al
inc ebx
cmp ebx, 0x100
jne 0x608039
cmp dword [ebp - 0x1c], 0
je 0x6080ad
mov eax, dword [ebp - 0xc]
sub eax, 0xff
mov ebx, 1
mov edx, 0xff
sub edx, ebx
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [ecx]
mov byte [eax + edx], cl
lea edx, [ebx + 0xff]
mov ecx, dword [ebp - 0xc]
add ecx, edx
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + 0xff]
mov byte [ecx], dl
inc ebx
cmp ebx, 0x100
jne 0x60807d
inc dword [ebp - 0x10]
dec dword [ebp - 0x20]
jne 0x607fe3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6096a8
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, eax
cmp dword [edi + 0x14], 0xca
jne 0x6096db
mov eax, edi
call fcn.0060966c
cmp byte [edi + 0x40], 0
je 0x6096d4
mov dword [edi + 0x14], 0xcf
mov bl, 1
jmp 0x609770
mov dword [edi + 0x14], 0xcb
mov eax, dword [edi + 0x14]
cmp eax, 0xcb
jne 0x609752
mov eax, dword [edi + 0x190]
cmp byte [eax + 0x10], 0
je 0x609747
cmp dword [edi + 8], 0
je 0x6096fe
mov ebx, dword [edi + 8]
mov eax, edi
call dword [ebx]
mov ebx, dword [edi + 0x190]
mov eax, edi
call dword [ebx]
mov esi, eax
test esi, esi
jne 0x609712
xor ebx, ebx
jmp 0x609770
cmp esi, 2
je 0x609747
cmp dword [edi + 8], 0
je 0x6096f1
cmp esi, 3
je 0x609725
dec esi
jne 0x6096f1
mov eax, dword [edi + 8]
inc dword [eax + 4]
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
mov edx, dword [edi + 8]
cmp eax, dword [edx + 8]
jl 0x6096f1
mov eax, dword [edi + 8]
mov edx, dword [edi + 0x11c]
add dword [eax + 8], edx
jmp 0x6096f1
mov eax, dword [edi + 0x7c]
mov dword [edi + 0x84], eax
jmp 0x609767
cmp eax, 0xcc
je 0x609767
mov ecx, eax
mov edx, 0x14
mov eax, edi
call fcn.005fe1c4
mov eax, edi
call fcn.00609778
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x609778
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x14], 0xcc
je 0x609804
mov esi, dword [ebx + 0x180]
mov eax, ebx
call dword [esi]
xor eax, eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x14], 0xcc
jmp 0x609804
mov esi, dword [ebx + 8]
test esi, esi
je 0x6097bc
mov eax, dword [ebx + 0x78]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0x60]
mov dword [esi + 8], eax
mov eax, ebx
call dword [esi]
mov eax, dword [ebx + 0x78]
mov dword [ebp - 8], eax
push 0
lea ecx, [ebx + 0x78]
mov esi, dword [ebx + 0x184]
xor edx, edx
mov eax, ebx
call dword [esi + 4]
mov eax, dword [ebx + 0x78]
cmp eax, dword [ebp - 8]
jne 0x6097e2
mov byte [ebp - 1], 0
jmp 0x60982a
mov eax, dword [ebx + 0x78]
cmp eax, dword [ebx + 0x60]
jb 0x6097a5
mov esi, dword [ebx + 0x180]
mov eax, ebx
call dword [esi + 4]
mov esi, dword [ebx + 0x180]
mov eax, ebx
call dword [esi]
xor eax, eax
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x180]
cmp byte [eax + 8], 0
jne 0x6097e2
cmp byte [ebx + 0x41], 0
je 0x60981f
mov dword [ebx + 0x14], 0xce
jmp 0x609826
mov dword [ebx + 0x14], 0xcd
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x615788
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 8], eax
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x6157b9
cmp dword [ebx + 0x64], 0
jne 0x6157b9
cmp dword [ebx + 0x6c], 0
jne 0x6157b9
mov esi, dword [ebp - 8]
jmp 0x615863
cmp esi, 0xffffffff
jne 0x6157c4
dec esi
jmp 0x615863
mov eax, dword [ebx + 0x64]
mov edx, dword [ebp - 8]
sub edx, 0x106
add edx, dword [ebp - 8]
cmp eax, edx
jb 0x615863
mov eax, dword [ebx + 0x30]
mov edx, dword [ebp - 8]
lea edx, [eax + edx]
mov ecx, dword [ebp - 8]
call fcn.00610e04
mov eax, dword [ebp - 8]
sub dword [ebx + 0x68], eax
mov eax, dword [ebp - 8]
sub dword [ebx + 0x64], eax
mov eax, dword [ebp - 8]
sub dword [ebx + 0x54], eax
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
jb 0x615825
movzx ecx, word [ebp - 4]
sub cx, word [ebp - 8]
mov word [edx], cx
jmp 0x61582a
mov word [edx], 0
dec eax
test eax, eax
jne 0x615807
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
jb 0x615856
movzx ecx, word [ebp - 4]
sub cx, word [ebp - 8]
mov word [edx], cx
jmp 0x61585b
mov word [edx], 0
dec eax
test eax, eax
jne 0x615838
add esi, dword [ebp - 8]
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x6158c1
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.00615528
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x6158ac
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x6158c1
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x615798
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x62003c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x14
call fcn.00407aac
mov dword [ebp - 0x14], 0x7fffffff
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
lea esi, [eax - 0x18]
lea ebx, [ebp - 0x28]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [esi]
push eax
movzx eax, byte [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0061fdf4
pop ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax - 4]
dec ecx
test ecx, ecx
jl 0x6200ac
inc ecx
xor edi, edi
mov eax, dword [esi]
movsx eax, byte [eax + edi]
cdq
xor eax, edx
sub eax, edx
add dword [ebx], eax
inc edi
dec ecx
jne 0x62009b
mov eax, dword [ebx]
cmp eax, dword [ebp - 0x14]
jge 0x6200bf
movzx edx, byte [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov byte [ecx], dl
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x10]
add ebx, 4
add esi, 4
cmp dword [ebp - 0x10], 5
jne 0x620072
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + eax*4 - 0x18]
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx - 4]
mov edx, dword [ebp + 8]
call fcn.00406cc8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x648fdc
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
jne 0x64900e
push ebx
call fcn.00649af4
pop ecx
mov dl, byte [ebx + 0x40]
test dl, dl
je 0x649007
mov dword [ebx + 0x14], 0xcf
mov al, 1
pop ebx
pop ebp
ret
mov dword [ebx + 0x14], 0xcb
mov edx, dword [ebx + 0x14]
cmp edx, 0xcb
jne 0x649084
mov ecx, dword [ebx + 0x190]
mov al, byte [ecx + 0x10]
test al, al
je 0x649079
mov edx, dword [ebx + 8]
test edx, edx
je 0x649034
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx]
pop ecx
push ebx
mov eax, dword [ebx + 0x190]
call dword [eax]
pop ecx
test eax, eax
jne 0x649047
xor eax, eax
pop ebx
pop ebp
ret
cmp eax, 2
je 0x649079
mov edx, dword [ebx + 8]
test edx, edx
je 0x649026
cmp eax, 3
je 0x64905b
dec eax
jne 0x649026
mov ecx, dword [ebx + 8]
inc dword [ecx + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 8]
cmp edx, ecx
jl 0x649026
mov edx, dword [ebx + 0x11c]
add dword [eax + 8], edx
jmp 0x649026
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x84], eax
jmp 0x6490a4
mov ecx, dword [ebx + 0x14]
cmp ecx, 0xcc
je 0x6490a4
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
push ebx
mov ecx, dword [ebx]
call dword [ecx]
pop ecx
push ebx
call fcn.006490b0
pop ecx
pop ebx
pop ebp
ret

Function at 0x6490b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
cmp eax, 0xcc
je 0x64913a
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
xor ecx, ecx
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x14], 0xcc
jmp 0x64913a
mov eax, dword [ebx + 8]
test eax, eax
je 0x6490f3
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x60]
mov dword [eax + 8], edx
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx]
pop ecx
mov esi, dword [ebx + 0x78]
lea eax, [ebx + 0x78]
push 0
push eax
push 0
push ebx
mov edx, dword [ebx + 0x184]
call dword [edx + 4]
add esp, 0x10
mov ecx, dword [ebx + 0x78]
cmp esi, ecx
jne 0x649116
xor eax, eax
jmp 0x649159
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x60]
cmp edx, ecx
jb 0x6490dc
push ebx
mov eax, dword [ebx + 0x180]
call dword [eax + 4]
pop ecx
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
xor ecx, ecx
mov dword [ebx + 0x78], ecx
mov eax, dword [ebx + 0x180]
mov dl, byte [eax + 8]
test dl, dl
jne 0x649116
mov ecx, 0xce
mov al, byte [ebx + 0x41]
test al, al
jne 0x649154
dec ecx
mov dword [ebx + 0x14], ecx
mov al, 1
pop esi
pop ebx
pop ebp
ret
Function at 0x6553f8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x24]
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x6c]
sub eax, edx
mov ecx, dword [ebx + 0x64]
sub eax, ecx
mov dword [ebp - 8], eax
jmp 0x65543c
mov edx, dword [ebx + 0x24]
sub edx, 0x106
add edx, esi
mov ecx, dword [ebx + 0x64]
cmp edx, ecx
ja 0x6554c7
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov edi, esi
add edx, edi
push edx
push eax
call fcn.0063e9d4
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], edi
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
mov ecx, dword [ebx + 0x3c]
add edx, ecx
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp esi, ecx
ja 0x655490
mov cx, word [ebp - 4]
sub cx, si
jmp 0x655492
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x655477
mov eax, esi
mov edx, eax
add edx, edx
mov ecx, dword [ebx + 0x38]
add edx, ecx
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp esi, ecx
ja 0x6554bc
mov cx, word [ebp - 4]
sub cx, si
jmp 0x6554be
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x6554a3
add dword [ebp - 8], esi
mov edi, dword [ebx]
mov eax, dword [edi + 4]
test eax, eax
je 0x655534
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x64]
add ecx, eax
mov edx, dword [ebx + 0x6c]
add ecx, edx
push ecx
push edi
call fcn.006550b4
add esp, 0xc
add dword [ebx + 0x6c], eax
mov ecx, dword [ebx + 0x6c]
cmp ecx, 3
jb 0x65551d
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
mov edx, dword [ebx + 0x4c]
and eax, edx
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x6c]
cmp eax, 0x106
jae 0x655534
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x655407
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x6880b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, edx
xor ecx, ecx
test eax, eax
je 0x6881bb
test ebx, ebx
je 0x6881bb
mov edx, ebx
mov ecx, ebx
shr edx, 2
je 0x68812b
and ecx, 0xfffffffc
mov dword [ebp - 0x10], ecx
neg edx
mov ecx, ebx
mov dword [ebp - 0x14], eax
lea ebx, [eax + 3]
mov dword [ebp - 0x18], ecx
nop dword [eax]
movzx edi, byte [ebx - 2]
shl edi, 8
movzx esi, byte [ebx - 3]
or esi, edi
add esi, ecx
movzx ecx, byte [ebx]
shl ecx, 8
movzx edi, byte [ebx - 1]
or edi, ecx
shl edi, 0xb
xor edi, esi
shl esi, 0x10
xor edi, esi
mov ecx, edi
shr ecx, 0xb
add ecx, edi
add ebx, 4
inc edx
jne 0x6880f0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
and bl, 3
je 0x68818f
cmp bl, 1
je 0x688156
cmp bl, 2
jne 0x68816a
movzx edx, byte [eax + 1]
shl edx, 8
movzx eax, byte [eax]
or eax, edx
add eax, ecx
mov edx, eax
shl edx, 0xb
xor edx, eax
mov ecx, edx
shr ecx, 0x11
jmp 0x68818d
movzx eax, byte [eax]
add ecx, eax
mov eax, ecx
shl eax, 0xa
xor eax, ecx
mov ecx, eax
shr ecx, 1
add ecx, eax
jmp 0x68818f
movzx edx, byte [eax + 1]
shl edx, 8
movzx esi, byte [eax]
or esi, edx
add esi, ecx
mov edx, esi
shl edx, 0x10
movzx eax, byte [eax + 2]
shl eax, 0x12
xor edx, esi
xor edx, eax
mov ecx, edx
shr ecx, 0xb
add ecx, edx
lea eax, [ecx*8]
xor eax, ecx
mov ecx, eax
shr ecx, 5
add ecx, eax
mov eax, ecx
shl eax, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
add ecx, eax
mov eax, ecx
shl eax, 0x19
xor eax, ecx
mov ecx, eax
shr ecx, 6
add ecx, eax
mov eax, ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret