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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f87e0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5c
mov eax, dword [0x90cf34]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ax, word [0x8d333c]
xorps xmm0, xmm0
mov esi, dword [ebx + 8]
xor edx, edx
mov word [ebp - 0x68], ax
mov al, byte [0x8d333e]
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x66], al
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x6c], edx
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x6c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x32
xor byte [ebp + edx - 0x68], cl
inc edx
mov dword [ebp - 0x6c], edx
cmp edx, 3
jl 0x443fd2
push dword [ebx + 0xc]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x34]
push 0x20
push eax
call dword [0x8106dc]
mov ecx, esi
mov dword [ebp - 0x54], 0
add esp, 0x10
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x444030
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.00405af0
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x1807f18
call fcn.00404b40
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], 0
mov esi, eax
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x444072
sub ecx, edx
lea eax, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00405af0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00404b40
mov esi, eax
cmp dword [esi + 8], 8
je 0x4440ad
mov ecx, esi
call fcn.00404f80
mov dword [esi + 8], 8
mov al, byte [ebx + 0x10]
mov byte [esi], al
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x4440e2
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4440d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x444143
push edx
push ecx
call fcn.0059982b
add esp, 8
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp edx, 0x10
jb 0x444124
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44411a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x444148
push edx
push ecx
call fcn.0059982b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059961f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.006a6ec9
call fcn.006a6ec9
int3
Function at 0x5d0f39
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x5d0f67
cmp eax, edi
jge 0x5d0f5b
push esi
call fcn.005cc5ab
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x5d0f8a
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x5d0f70
mov dword [esi + 8], edx
jmp 0x5d0f9f
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x5d0f95
xor dl, dl
jmp 0x5d0f9a
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x5d0f8a
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x5d0fd7
push str.zlib_corrupt
call fcn.005cc4d0
pop ecx
jmp 0x5d1017
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x5d0fe7
push str.read_past_buffer
jmp 0x5d0fcf
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x5d1001
push edi
push ecx
push esi
call fcn.005d420a
add esp, 0xc
test eax, eax
je 0x5d1017
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.006a3890
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x602899
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x1801bfb], 0
jne 0x602948
push esi
push 0x849c80
call fcn.0060cdab
mov dword [esp], 0x849afc
call fcn.0060cdab
mov dword [esp], 0x849d78
call fcn.0060cdab
mov dword [esp], 0x849d9c
call fcn.0060cdab
mov dword [esp], 0x849ca4
call fcn.0060cdab
mov esi, 0x849b60
push esi
call fcn.00616f4d
push esi
call fcn.00616f4d
push 0x849b80
call fcn.00616f4d
push 0x849ba0
call fcn.00616f4d
push 0x849cc8
call fcn.00616f4d
push 0x849b20
call fcn.00616f4d
push 0x849b40
call fcn.00616f4d
push 0x849d20
call fcn.00616f4d
push 0x849d40
call fcn.00616f4d
add esp, 0x28
mov byte [0x1801bfb], 1
pop esi
jmp 0x61f29d
ret
xor edx, edx
push esi
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x61f2a5
mov dword [edx*4 + 0x1808140], ecx
inc edx
cmp edx, 0x100
jb 0x61f2a0
mov esi, 0x800
jmp 0x61f2ed
mov ecx, dword [edx*4 + 0x1807d40]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x1808140]
mov dword [edx*4 + 0x1808140], ecx
inc edx
cmp edx, esi
jb 0x61f2d1
mov eax, 0x7f5510
mov esi, 0x7f5430
mov dword [0x1808124], eax
mov dword [0x180811c], eax
mov dword [0x1808120], esi
call fcn.00636ca9
mov ecx, dword [0x180811c]
test eax, eax
cmove ecx, esi
mov dword [0x180811c], ecx
pop esi
ret
Function at 0x612bd6
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7faeb0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x90cf34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x30]
mov dword [esi], 0x84b1f0
push 0x90d074
push eax
mov dword [esi + 4], 0x84b208
mov dword [esi + 8], 0x84b21c
mov dword [esi + 0xc], 0x84b230
mov dword [esi + 0x10], 0x84b248
mov dword [esi + 0x14], 0x84b260
mov dword [esi + 0x18], 0x84b274
call fcn.00630192
push dword [esi + 0x24]
call fcn.004680d8
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x612c55
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x619b1f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
and dword [edi + 0x2cb0], 0
cmp dword [edi + 0x2cb8], 2
jne 0x619b65
push 1
lea ecx, [edi + 0x38]
call fcn.00619a99
test eax, eax
je 0x619b5e
push dword [edi + 0x80]
mov ecx, edi
push dword [edi + 0x7c]
call fcn.0061930c
jmp 0x619d23
and dword [edi + 0x2cb8], 0
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
push ebx
push 8
pop ecx
sub ecx, edx
mov dword [ebp - 0x10], edx
shr eax, cl
shr eax, 0x10
cmp dword [edi + 0x2ca0], 0x25
movzx eax, al
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x2cac]
jae 0x619ba1
test eax, eax
mov ebx, 0x84b628
mov ecx, 0x84b618
mov eax, 0x84b658
jmp 0x619bb2
test eax, eax
mov ebx, 0x84b648
mov ecx, 0x84b638
mov eax, 0x84b694
cmove ebx, ecx
mov dword [ebp - 4], eax
mov eax, dword [eax]
mov edx, 0xff
xor eax, dword [ebp - 8]
push esi
mov cl, byte [ebx]
xor esi, esi
sar edx, cl
not edx
test eax, edx
je 0x619bec
mov edi, dword [ebp - 4]
inc esi
mov edx, 0xff
mov cl, byte [esi + ebx]
mov eax, dword [edi + esi*4]
xor eax, dword [ebp - 8]
sar edx, cl
not edx
test eax, edx
jne 0x619bd2
mov edi, dword [ebp - 0xc]
movzx eax, byte [esi + ebx]
lea ebx, [edi + 0x38]
add eax, dword [ebp - 0x10]
mov ecx, ebx
mov dword [ebx], eax
call fcn.00619a0e
cmp esi, 9
jb 0x619ca2
jne 0x619c1e
push dword [edi + 0x80]
inc dword [edi + 0x2cb8]
push dword [edi + 0x7c]
jmp 0x619d1a
and dword [edi + 0x2cb8], 0
mov ecx, edi
cmp esi, 0xe
jne 0x619c51
push 0x84b4d4
call fcn.006193a4
push 0xf
mov ecx, ebx
lea esi, [eax + 5]
call fcn.00619a99
add eax, 0x7fff
push esi
mov dword [edi + 0x7c], eax
push eax
jmp 0x619d14
mov eax, dword [edi + 0x78]
sub eax, esi
inc eax
and eax, 3
push 0x84b49c
mov ebx, dword [edi + eax*4 + 0x68]
call fcn.006193a4
add eax, 2
cmp eax, 0x101
jne 0x619c85
cmp esi, 0xa
jne 0x619c85
xor dword [edi + 0x2cac], 1
xor eax, eax
jmp 0x619d21
cmp ebx, 0x100
lea ecx, [eax + 1]
cmovb ecx, eax
mov eax, dword [edi + 0x2cc8]
dec eax
cmp ebx, eax
lea esi, [ecx + 1]
cmovb esi, ecx
jmp 0x619cfe
mov ecx, dword [edi + 0x2ca0]
and dword [edi + 0x2cb8], 0
add ecx, esi
mov eax, ecx
shr eax, 4
sub ecx, eax
mov dword [edi + 0x2ca0], ecx
mov ecx, edi
push 0x84b57c
call fcn.006193a4
movzx ecx, al
mov ebx, dword [edi + ecx*4 + 0x494]
test al, al
je 0x619cfb
dec dword [edi + ebx*4 + 0x1494]
mov eax, dword [edi + ecx*4 + 0x490]
inc dword [edi + eax*4 + 0x1494]
mov dword [edi + ecx*4 + 0x494], eax
mov dword [edi + ecx*4 + 0x490], ebx
add esi, 2
mov eax, dword [edi + 0x78]
push esi
push ebx
mov dword [edi + eax*4 + 0x68], ebx
mov eax, dword [edi + 0x78]
inc eax
mov dword [edi + 0x7c], ebx
and eax, 3
mov dword [edi + 0x78], eax
mov dword [edi + 0x80], esi
mov ecx, edi
call fcn.0061930c
pop esi
pop ebx
pop edi
leave
ret
Function at 0x61f3fe
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
or dword [edi], 0xffffffff
cmp dword [eax], 0x23170f69
jne 0x61f4d9
mov ecx, 0x40c1
cmp word [eax + 4], cx
jne 0x61f4d9
mov ebx, dword [ebp + 0x14]
mov edx, 0x2790
mov byte [ebx], 1
movzx ecx, word [eax + 6]
cmp cx, dx
jne 0x61f442
mov byte [ebx], 0
jmp 0x61f450
mov edx, 0x2791
cmp cx, dx
jne 0x61f4d9
mov ecx, dword [eax + 8]
xor esi, esi
mov eax, dword [eax + 0xc]
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
cmp dword [0x1802038], esi
jbe 0x61f4d9
mov ch, byte [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [esi*4 + 0x1802040]
cmp eax, dword [edx + 8]
jne 0x61f4af
mov edi, dword [ebp - 4]
cmp edi, dword [edx + 0xc]
mov edi, dword [ebp + 0x18]
jne 0x61f4af
xor eax, eax
cmp byte [ebx], al
je 0x61f48e
cmp dword [edx + 4], eax
jmp 0x61f490
cmp dword [edx], eax
sete al
test eax, eax
jne 0x61f4ac
mov cl, byte [edx + 0x18]
test ch, ch
je 0x61f4a5
test cl, cl
sete al
jmp 0x61f4a8
movzx eax, cl
test eax, eax
je 0x61f4ba
mov eax, dword [ebp + 8]
inc esi
cmp esi, dword [0x1802038]
jb 0x61f46c
jmp 0x61f4d9
movzx eax, byte [ebp + 0xc]
movzx ecx, byte [ebp + 0xc]
xor eax, 1
cmp dword [edx + 0x14], 1
cmove eax, ecx
test eax, eax
je 0x61f4d7
mov eax, 0x80004002
jmp 0x61f4db
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x621391
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 8
jb 0x6213bb
push edi
mov edi, esi
shr edi, 3
mov eax, dword [ecx + 4]
sub esi, 8
xor eax, dword [ecx]
add ecx, 8
xor edx, eax
sub edi, 1
jne 0x6213a8
pop edi
cmp esi, 4
jb 0x6213c5
xor edx, dword [ecx]
add ecx, 4
and esi, 3
cmp esi, 2
jbe 0x6213d6
movzx eax, byte [ecx]
shl eax, 0x10
xor edx, eax
inc ecx
cmp esi, 1
jbe 0x6213e4
movzx eax, byte [ecx]
shl eax, 8
xor edx, eax
inc ecx
test esi, esi
pop esi
je 0x6213ee
movzx ecx, byte [ecx]
xor edx, ecx
mov eax, edx
pop ebp
ret

Function at 0x622a14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov dword [ebp + 8], eax
cmp eax, 3
jae 0x622a33
push edi
call fcn.00623787
jmp 0x622a8b
mov ecx, dword [edi]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 1]
mov ecx, dword [edi + 0x24]
xor edx, dword [edi + eax*4 + 0x60]
mov eax, dword [edi + 4]
movzx edx, dx
mov esi, dword [ecx + edx*4]
mov dword [ecx + edx*4], eax
push dword [edi + 0x30]
push dword [edi + 0x18]
push dword [edi + 0x14]
push dword [edi + 0x28]
push dword [edi]
push dword [edi + 4]
push esi
push dword [ebp + 8]
call fcn.00623906
add esp, 0x20
inc dword [edi + 0x14]
inc dword [edi]
inc dword [edi + 4]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jne 0x622a8c
push edi
call fcn.00623410
pop ecx
sub ebx, 1
jne 0x622a20
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x62348a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
push edi
mov dword [eax + 0x34], ecx
lea esi, [eax + 0x60]
mov word [eax + 0x1e], cx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x30], 0x20
mov byte [eax + 0x1d], 1
mov dword [eax + 0x48], 4
push 8
mov edx, ecx
pop edi
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor edx, eax
sub edi, 1
jne 0x6234b8
mov dword [esi], edx
inc ecx
add esi, 4
cmp ecx, 0x100
jb 0x6234b3
pop edi
pop esi
pop ebp
ret

Function at 0x623be5
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [edi + 0x1c]
shr edi, 2
mov eax, edi
mov dword [ebp - 0xc], ecx
shr eax, 1
add eax, 3
mov dword [ebx], eax
add ebx, 0x10
test edi, edi
je 0x623c1b
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x623c0e
cmp esi, ecx
jae 0x623cfe
mov eax, esi
sub eax, edi
lea eax, [ebx + eax*4]
mov dword [ebp - 4], eax
xor edx, edx
mov ecx, dword [ebx + esi*4 - 4]
mov eax, esi
mov dword [ebp + 8], ecx
div edi
mov dword [ebp - 8], eax
test edx, edx
jne 0x623c94
movzx ecx, cl
movzx edx, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
shl edx, 8
movzx eax, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
or edx, eax
mov eax, ecx
shl edx, 8
shr eax, 0x10
movzx eax, al
shr ecx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, cl
shl edx, 8
movzx ecx, byte [eax + str.cw]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x84bb90]
xor ecx, eax
or ecx, edx
jmp 0x623ce4
cmp edi, 6
jbe 0x623ce4
cmp edx, 4
jne 0x623ce4
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
add edx, 4
xor eax, ecx
mov dword [ebp - 4], edx
mov dword [ebx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x623c2d
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x62482b
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x62c5ef
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edx + 4]
mov ecx, dword [edx]
add esi, 2
lea esi, [edx + esi*4]
mov dword [ebp - 8], esi
test edi, edi
je 0x62c68d
push ebx
mov ebx, dword [ebp + 0xc]
cmp ecx, 0x10
je 0x62c62b
mov al, byte [esi + ecx]
xor byte [ebx], al
inc ecx
inc ebx
sub edi, 1
je 0x62c628
cmp ecx, 0x10
jne 0x62c617
mov dword [ebp + 0x10], edi
lea eax, [esi + 0x10]
mov dword [ebp - 4], eax
cmp edi, 0x10
jb 0x62c658
mov esi, edi
mov edx, ebx
shr esi, 4
mov ecx, eax
push esi
call dword [0x1808110]
shl esi, 4
add ebx, esi
sub edi, esi
mov esi, dword [ebp - 8]
push 0x10
mov dword [ebp + 0x10], edi
pop ecx
jmp 0x62c65b
mov dword [ebp - 4], eax
test edi, edi
je 0x62c687
mov ecx, dword [ebp - 4]
xor eax, eax
mov edi, esi
mov edx, esi
push 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [0x1808110]
mov edx, dword [ebp + 0x10]
xor ecx, ecx
sub esi, ebx
mov al, byte [esi + ebx]
xor byte [ebx], al
inc ecx
inc ebx
sub edx, 1
jne 0x62c67b
mov eax, dword [ebp + 8]
pop ebx
mov dword [eax], ecx
pop edi
pop esi
leave
ret

Function at 0x62cc15
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x90cf34]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x40
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.006a3e10
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
add esp, 0xc
xor edx, edx
sub esi, eax
lea ecx, [ebp - 0x44]
add ecx, edx
mov al, byte [esi + ecx]
xor byte [ecx], al
inc edx
cmp edx, 0x14
jb 0x62cc4a
lea eax, [ebp - 0xa4]
push eax
call fcn.00640589
push 0x40
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.006405bb
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.0063fc71
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
call fcn.0059961f
leave
ret
Function at 0x62e579
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov edx, dword [edx]
and edx, 7
cmp eax, 5
jae 0x62e597
xor eax, eax
jmp 0x62e6bd
add dword [ebp + 0x10], 5
lea ecx, [eax - 4]
push ebx
mov ebx, dword [ebp + 8]
add ecx, ebx
push esi
mov dword [ebp + 0xc], ecx
lea esi, [edi + ebx]
jmp 0x62e5b6
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x62e5ba
inc esi
cmp esi, ecx
jb 0x62e5ad
mov ecx, esi
sub ecx, edi
mov edi, esi
sub ecx, ebx
sub edi, ebx
cmp esi, dword [ebp + 0xc]
jae 0x62e6aa
cmp ecx, 2
jbe 0x62e644
xor edx, edx
movzx ecx, byte [esi + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x62e69e
movzx eax, byte [esi + 3]
mov ebx, dword [ebp + 0x10]
shl ecx, 8
add ebx, edi
or ecx, eax
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
add ecx, ebx
sub eax, ebx
cmp dword [ebp + 0x18], 0
cmove ecx, eax
mov dword [ebp - 4], ecx
mov ebx, ecx
test edx, edx
je 0x62e678
and edx, 6
mov eax, ecx
shl edx, 2
mov ecx, edx
shr eax, cl
inc eax
test al, 0xfe
jne 0x62e676
mov eax, dword [ebp + 0x10]
mov ebx, 0x100
shl ebx, cl
add eax, edi
dec ebx
xor ebx, dword [ebp - 4]
cmp dword [ebp + 0x18], 0
je 0x62e674
add ebx, eax
jmp 0x62e676
shr edx, cl
test edx, edx
je 0x62e5d4
cmp edx, 4
ja 0x62e666
cmp edx, 3
je 0x62e666
mov eax, edx
shr eax, 1
movzx eax, byte [eax + esi + 1]
inc eax
test al, 0xfe
jne 0x62e5d4
or edx, 8
shr edx, 1
inc edi
mov ecx, dword [ebp + 0xc]
jmp 0x62e5a8
sub ebx, eax
xor edx, edx
mov eax, ebx
mov byte [esi + 1], bl
shr eax, 8
mov byte [esi + 2], al
mov eax, ebx
shr ebx, 0x18
shr eax, 0x10
and bl, 1
neg bl
mov byte [esi + 3], al
push 5
mov byte [esi + 4], bl
mov ebx, dword [ebp + 8]
pop eax
jmp 0x62e6a6
or edx, 8
xor eax, eax
shr edx, 1
inc eax
add edi, eax
jmp 0x62e66c
xor eax, eax
shr edx, cl
cmp ecx, 2
pop esi
cmova edx, eax
mov eax, dword [ebp + 0x14]
pop ebx
mov dword [eax], edx
mov eax, edi
pop edi
leave
ret
Function at 0x632271
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x100
or esi, edi
mov eax, esi
add ebx, ebx
shr eax, 7
mov ecx, edi
and eax, 1
and ecx, ebx
push eax
mov eax, esi
add ecx, edi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax*2]
push eax
push dword [ebp + 8]
call fcn.006334e3
add esi, esi
add esp, 0xc
mov eax, esi
xor eax, ebx
not eax
and edi, eax
cmp esi, 0x10000
jb 0x632284
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x6322c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
or esi, 0x100
mov ecx, dword [ebp + 8]
mov eax, esi
shr eax, 8
movzx edx, word [ecx + eax*2]
mov ecx, esi
shr ecx, 7
add esi, esi
and ecx, 1
shr edx, 4
neg ecx
sar ecx, 4
and ecx, 0x7f
xor edx, ecx
add edi, dword [ebx + edx*4]
cmp esi, 0x10000
jb 0x6322d9
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x63230e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov esi, 0x100
xor edi, edi
or edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0x14]
add edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x632323
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x633628
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
bts esi, eax
xor edi, edi
cmp esi, 1
je 0x633667
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add edi, dword [eax + ecx*4]
cmp esi, 1
jne 0x633644
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x6336ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
xor esi, esi
inc edi
test ebx, ebx
je 0x6336f2
mov eax, dword [ebp + 0x10]
mov edx, eax
shr eax, 1
and edx, 1
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edi*2]
mov eax, edx
neg eax
shr ecx, 4
sar eax, 4
add edi, edi
and eax, 0x7f
or edi, edx
xor ecx, eax
mov eax, dword [ebp + 0x14]
add esi, dword [eax + ecx*4]
sub ebx, 1
jne 0x6336c0
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret