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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, eax
mov byte [esp], 0
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, 1
jmp 0x4ac025
inc edi
mov eax, esi
call fcn.00404f10
cmp edi, eax
jg 0x4ac037
cmp byte [esi + edi - 1], 0x20
je 0x4ac024
mov eax, esi
test eax, eax
je 0x4ac042
sub eax, 4
mov eax, dword [eax]
cmp eax, edi
jl 0x4ac104
cmp byte [esi + edi - 1], 0x2e
je 0x4ac128
jmp 0x4ac104
cmp byte [esi + edi - 1], 0x2e
jne 0x4ac0ac
inc dword [esp + 4]
cmp dword [esp + 4], 3
jg 0x4ac128
cmp dword [esp + 8], 0xff
jg 0x4ac128
xor eax, eax
mov dword [esp + 8], eax
mov ebp, esi
test ebp, ebp
je 0x4ac090
sub ebp, 4
mov ebp, dword [ebp]
cmp ebp, edi
jg 0x4ac098
mov bl, 1
jmp 0x4ac0a6
movzx eax, byte [esi + edi]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x4ac128
jmp 0x4ac103
movzx eax, byte [esi + edi - 1]
add al, 0xd0
sub al, 0xa
jae 0x4ac0d1
mov eax, dword [esp + 8]
add eax, eax
lea eax, [eax + eax*4]
movzx edx, byte [esi + edi - 1]
add eax, edx
sub eax, 0x30
mov dword [esp + 8], eax
jmp 0x4ac103
inc edi
mov eax, esi
call fcn.00404f10
cmp edi, eax
jg 0x4ac0e3
cmp byte [esi + edi - 1], 0x20
je 0x4ac0d0
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], 0
je 0x4ac0fb
mov eax, dword [esp + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp edi, dword [esp + 0xc]
jle 0x4ac128
jmp 0x4ac113
inc edi
mov eax, esi
call fcn.00404f10
cmp edi, eax
jle 0x4ac05a
cmp dword [esp + 4], 3
jne 0x4ac128
cmp dword [esp + 8], 0xff
jg 0x4ac128
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4b613c
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x5a72b8
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x4b615b
mov esi, 1
mov edx, 0x5a73c0
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
add ecx, ecx
add ecx, ecx
movzx ebx, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x11]
add edi, ebx
movzx ebx, byte [esp + eax + 0xd]
add ebx, ebx
add ebx, ebx
add ebx, ebx
movzx ebp, byte [esp + eax + 0xe]
add ebp, ebp
add ebp, ebp
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x4b61d4
dec ebx
je 0x4b61f6
dec ebx
je 0x4b6218
dec ebx
je 0x4b6239
jmp 0x4b6253
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4b6253
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4b6253
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4b6253
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x4b61c4
inc esi
add edx, 0x40
cmp esi, 9
jne 0x4b6177
mov esi, 0x20
mov eax, 0x5a72e8
mov edx, dword [esp + 4]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x4b6278
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4b62b4
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x5a736f]
test bl, bl
jbe 0x4b62e5
lea eax, [esi + 0x3e0]
call fcn.004b6290
lea eax, [esi + 0x3fc]
call fcn.004b6290
dec bl
jne 0x4b62cb
mov cl, 0x30
mov edi, 0x5a7340
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x4b6306
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x4b6313
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x4b62ef
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4b6320
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.004b60d4
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4b633c
mov bl, 0x1c
mov esi, 0x5a7308
lea edi, [ebp - 0x41]
movzx edx, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004b60d4
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004b60d4
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x4b6358
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004b62b4
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x4b6382
mov bl, 1
mov eax, 0x5a7238
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4b63bb
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4b63c8
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x4b63a7
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x4b63f2
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.004b613c
jmp 0x4b6419
movzx eax, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.004b613c
mov bl, 0x20
lea eax, [ebp - 0xa1]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x4b6421
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x4b63da
mov bl, 0x40
mov esi, 0x5a7278
lea eax, [ebp - 0x3e1]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x4b6487
movzx edx, dl
movzx edx, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x4b6494
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x4b6470
mov bl, 1
lea esi, [ebp - 0x3e1]
movzx ecx, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004b60fc
inc ebx
inc esi
cmp bl, 0x41
jne 0x4b64a2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b65d4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov dword [esp], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
movzx eax, byte [esi + 4]
add eax, eax
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
movzx eax, byte [esi + 5]
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov edi, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x4b6685
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x4b6680
mov eax, ebp
mov edx, 8
call fcn.00405370
push 1
mov eax, ebp
call fcn.00405140
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.004b6320
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c0398
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x4c], edx
mov dl, 1
mov eax, dword [0x4be704]
call fcn.004be760
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4c04a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4c0d14
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], 0x4c0fe4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x18], 0x4c146c
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x30], 1
mov eax, dword [ebp - 0xc]
call fcn.00402ed8
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
call fcn.004030c8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
xor eax, eax
push ebp
push 0x4c0476
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.004be790
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c0487
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.00402ef4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c04af
mov eax, dword [ebp - 0x14]
call fcn.00403cdc
ret

Function at 0x4c2a54
Capabilities:
Hash data with md5

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff70
mov ebx, ecx
mov edi, edx
mov dword [esp], eax
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
mov eax, edi
add eax, eax
add eax, eax
add eax, eax
xor edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [esp + 0x10]
xor ecx, ecx
mov edx, 0x80
call fcn.004035fc
mov esi, edi
and esi, 0x3f
mov eax, 0x38
sub eax, esi
test eax, eax
jg 0x4c2abb
mov ebp, 0x78
sub ebp, esi
jmp 0x4c2ac2
mov ebp, 0x38
sub ebp, esi
mov byte [esp + esi + 0x10], 0x80
lea edx, [esp + 0x10]
mov eax, dword [esp]
add eax, edi
sub eax, esi
mov ecx, esi
call fcn.004030c8
lea edx, [esp + 8]
mov edx, dword [edx]
lea eax, [esi + ebp]
lea ecx, [esp + eax + 0x10]
mov dword [ecx], edx
lea edx, [esp + 8]
add edx, 4
mov edx, dword [edx]
lea eax, [esp + eax + 0x14]
mov dword [eax], edx
xor esi, esi
lea eax, [esi + 0x40]
cmp edi, eax
jb 0x4c2b07
mov eax, dword [esp]
add eax, esi
jmp 0x4c2b15
cmp edi, esi
jb 0x4c2b11
lea eax, [esp + 0x10]
jmp 0x4c2b15
lea eax, [esp + 0x50]
lea edx, [ebx + 8]
push edx
lea edx, [ebx + 0xc]
push edx
lea ecx, [ebx + 4]
mov edx, ebx
call fcn.004c1e30
add esi, 0x40
lea eax, [ebp + edi + 8]
cmp esi, eax
jne 0x4c2af9
add esp, 0x90
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c2d58
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffcc
mov esi, edx
mov dword [esp], eax
lea edx, [esp + 4]
mov eax, dword [esp]
add eax, 0x2c
mov ecx, 0x10
call fcn.004030c8
lea edx, [esp + 0x14]
mov eax, esi
mov ecx, 0x10
call fcn.004030c8
xor ecx, ecx
mov eax, dword [esp]
add eax, 0x2c
movzx edx, byte [esi + ecx]
xor dl, byte [eax]
lea ebx, [ecx + 0x20]
mov byte [esp + ebx + 4], dl
inc ecx
inc eax
cmp ecx, 0x10
jne 0x4c2d8f
xor edx, edx
xor ecx, ecx
mov edi, 0x30
lea eax, [esp + 4]
movzx edx, byte [edx + str._.C]
xor byte [eax], dl
movzx edx, byte [eax]
inc eax
dec edi
jne 0x4c2db0
lea eax, [ecx + edx]
and eax, 0xff
mov edx, eax
inc ecx
cmp ecx, 0x12
jne 0x4c2da7
mov edx, dword [esp]
add edx, 0x2c
lea eax, [esp + 4]
mov ecx, 0x10
call fcn.004030c8
mov edx, dword [esp]
movzx edx, byte [edx + 0x17]
xor ecx, ecx
mov eax, dword [esp]
add eax, 8
movzx ebx, byte [esi + ecx]
xor edx, ebx
movzx edx, byte [edx + str._.C]
xor byte [eax], dl
movzx edx, byte [eax]
inc ecx
inc eax
cmp ecx, 0x10
jne 0x4c2df3
add esp, 0x34
pop edi
pop esi
pop ebx
ret
Function at 0x4cafd4
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffef4
mov esi, eax
mov dword [esp + 0x10], edx
lea eax, [esp + 0x94]
xor ecx, ecx
mov edx, 0x78
call fcn.004035fc
lea eax, [esp + 0x14]
xor ecx, ecx
mov edx, 0x80
call fcn.004035fc
lea eax, [esp + 0x94]
mov dword [esp], eax
mov eax, dword [esp]
add eax, 0x38
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x38
mov dword [esp + 8], eax
xor ecx, ecx
mov eax, 0x5a9a88
movzx ebx, byte [eax]
dec ebx
mov edx, ebx
and edx, 7
shr ebx, 3
movzx ebx, byte [esi + ebx]
and ebx, dword [edx*4 + 0x5a9af0]
jbe 0x4cb04f
mov edx, dword [esp]
mov byte [edx + ecx], 1
jmp 0x4cb056
mov edx, dword [esp]
mov byte [edx + ecx], 0
inc ecx
inc eax
cmp ecx, 0x38
jne 0x4cb02d
xor eax, eax
mov dword [esp + 0xc], eax
mov edi, 0x5a9b10
mov eax, dword [esp + 8]
xor ecx, ecx
mov edx, 8
call fcn.004035fc
xor ecx, ecx
cmp ecx, 0x1c
jae 0x4cb086
mov eax, 0x1c
jmp 0x4cb08b
mov eax, 0x38
movzx ebx, byte [edi]
add ebx, ecx
cmp eax, ebx
jbe 0x4cb098
mov eax, ebx
jmp 0x4cb09d
mov eax, ebx
sub eax, 0x1c
mov edx, dword [esp]
movzx eax, byte [edx + eax]
mov edx, dword [esp + 4]
mov byte [edx + ecx], al
inc ecx
cmp ecx, 0x38
jne 0x4cb07a
xor ecx, ecx
mov esi, 0x5a9ac0
movzx eax, byte [esi]
mov edx, dword [esp + 4]
cmp byte [edx + eax - 1], 0
jbe 0x4cb0f3
mov eax, ecx
mov ebx, 6
xor edx, edx
div ebx
mov ebx, edx
mov eax, ecx
mov ebp, 6
xor edx, edx
div ebp
mov edx, dword [esp + 8]
lea eax, [edx + eax]
push eax
mov eax, dword [ebx*4 + 0x5a9af0]
shr eax, 2
pop edx
or byte [edx], al
inc ecx
inc esi
cmp ecx, 0x30
jne 0x4cb0b8
mov edx, dword [esp + 8]
movzx edx, byte [edx]
shl edx, 0x18
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 2]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 4]
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 6]
or edx, ecx
mov eax, dword [esp + 0xc]
add eax, eax
mov dword [esp + eax*4 + 0x14], edx
mov edx, dword [esp + 8]
movzx edx, byte [edx + 1]
shl edx, 0x18
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 3]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 5]
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 7]
or edx, ecx
mov dword [esp + eax*4 + 0x18], edx
inc dword [esp + 0xc]
inc edi
cmp dword [esp + 0xc], 0x10
jne 0x4cb068
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
mov ecx, 0x80
call fcn.004030c8
add esp, 0x10c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4cb194
Capabilities:
Encrypt data using des
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffef4
mov esi, eax
mov dword [esp + 0x10], edx
lea eax, [esp + 0x94]
xor ecx, ecx
mov edx, 0x78
call fcn.004035fc
lea eax, [esp + 0x14]
xor ecx, ecx
mov edx, 0x80
call fcn.004035fc
lea eax, [esp + 0x94]
mov dword [esp], eax
mov eax, dword [esp]
add eax, 0x38
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x38
mov dword [esp + 8], eax
xor ecx, ecx
mov eax, 0x5a9a88
movzx ebx, byte [eax]
dec ebx
mov edx, ebx
and edx, 7
shr ebx, 3
movzx ebx, byte [esi + ebx]
and ebx, dword [edx*4 + 0x5a9af0]
jbe 0x4cb20f
mov edx, dword [esp]
mov byte [edx + ecx], 1
jmp 0x4cb216
mov edx, dword [esp]
mov byte [edx + ecx], 0
inc ecx
inc eax
cmp ecx, 0x38
jne 0x4cb1ed
xor eax, eax
mov dword [esp + 0xc], eax
mov edi, 0x5a9b10
mov eax, dword [esp + 8]
xor ecx, ecx
mov edx, 8
call fcn.004035fc
xor ecx, ecx
cmp ecx, 0x1c
jae 0x4cb246
mov eax, 0x1c
jmp 0x4cb24b
mov eax, 0x38
movzx ebx, byte [edi]
add ebx, ecx
cmp eax, ebx
jbe 0x4cb258
mov eax, ebx
jmp 0x4cb25d
mov eax, ebx
sub eax, 0x1c
mov edx, dword [esp]
movzx eax, byte [edx + eax]
mov edx, dword [esp + 4]
mov byte [edx + ecx], al
inc ecx
cmp ecx, 0x38
jne 0x4cb23a
xor ecx, ecx
mov esi, 0x5a9ac0
movzx eax, byte [esi]
mov edx, dword [esp + 4]
cmp byte [edx + eax - 1], 0
jbe 0x4cb2b3
mov eax, ecx
mov ebx, 6
xor edx, edx
div ebx
mov ebx, edx
mov eax, ecx
mov ebp, 6
xor edx, edx
div ebp
mov edx, dword [esp + 8]
lea eax, [edx + eax]
push eax
mov eax, dword [ebx*4 + 0x5a9af0]
shr eax, 2
pop edx
or byte [edx], al
inc ecx
inc esi
cmp ecx, 0x30
jne 0x4cb278
mov edx, dword [esp + 8]
movzx edx, byte [edx]
shl edx, 0x18
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 2]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 4]
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 6]
or edx, ecx
mov eax, dword [esp + 0xc]
add eax, eax
mov dword [esp + eax*4 + 0x14], edx
mov edx, dword [esp + 8]
movzx edx, byte [edx + 1]
shl edx, 0x18
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 3]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 5]
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 7]
or edx, ecx
mov dword [esp + eax*4 + 0x18], edx
inc dword [esp + 0xc]
inc edi
cmp dword [esp + 0xc], 0x10
jne 0x4cb228
xor ecx, ecx
mov eax, ecx
add eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov eax, dword [esp + eax*4 + 0x14]
mov edx, 0x1e
sub edx, dword [esp + 0xc]
mov ebx, dword [esp + edx*4 + 0x14]
mov esi, dword [esp + 0xc]
mov dword [esp + esi*4 + 0x14], ebx
mov dword [esp + edx*4 + 0x14], eax
mov eax, dword [esp + 0xc]
mov eax, dword [esp + eax*4 + 0x18]
mov edx, 0x1f
sub edx, dword [esp + 0xc]
mov ebx, dword [esp + edx*4 + 0x14]
mov esi, dword [esp + 0xc]
mov dword [esp + esi*4 + 0x18], ebx
mov dword [esp + edx*4 + 0x14], eax
inc ecx
cmp ecx, 8
jne 0x4cb337
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
mov ecx, 0x80
call fcn.004030c8
add esp, 0x10c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4cb58c
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov dword [esp + 4], edx
mov dword [esp], eax
mov ebx, 0x5a9b20
mov eax, ecx
mov esi, dword [esp]
mov esi, dword [esi]
mov edi, dword [esp + 4]
mov edi, dword [edi]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dx, 4
mov eax, edi
call fcn.004cb3c0
mov edx, dword [esp + 0xc]
add edx, edx
add edx, edx
mov ecx, dword [esp + 8]
xor eax, dword [ecx + edx*4]
mov edx, eax
and edx, 0x3f
xor esi, dword [ebx + edx*4 + 0x600]
mov edx, eax
shr edx, 8
and edx, 0x3f
xor esi, dword [ebx + edx*4 + 0x400]
mov edx, eax
shr edx, 0x10
and edx, 0x3f
xor esi, dword [ebx + edx*4 + 0x200]
shr eax, 0x18
and eax, 0x3f
xor esi, dword [ebx + eax*4]
mov eax, dword [esp + 0xc]
add eax, eax
add eax, eax
mov edx, dword [esp + 8]
mov eax, dword [edx + eax*4 + 4]
xor eax, edi
mov edx, eax
and edx, 0x3f
xor esi, dword [ebx + edx*4 + 0x700]
mov edx, eax
shr edx, 8
and edx, 0x3f
xor esi, dword [ebx + edx*4 + 0x500]
mov edx, eax
shr edx, 0x10
and edx, 0x3f
xor esi, dword [ebx + edx*4 + 0x300]
shr eax, 0x18
and eax, 0x3f
xor esi, dword [ebx + eax*4 + 0x100]
mov dx, 4
mov eax, esi
call fcn.004cb3c0
mov edx, dword [esp + 0xc]
add edx, edx
add edx, edx
mov ecx, dword [esp + 8]
xor eax, dword [ecx + edx*4 + 8]
mov edx, eax
and edx, 0x3f
xor edi, dword [ebx + edx*4 + 0x600]
mov edx, eax
shr edx, 8
and edx, 0x3f
xor edi, dword [ebx + edx*4 + 0x400]
mov edx, eax
shr edx, 0x10
and edx, 0x3f
xor edi, dword [ebx + edx*4 + 0x200]
shr eax, 0x18
and eax, 0x3f
xor edi, dword [ebx + eax*4]
mov eax, dword [esp + 0xc]
add eax, eax
add eax, eax
mov edx, dword [esp + 8]
mov eax, dword [edx + eax*4 + 0xc]
xor eax, esi
mov edx, eax
and edx, 0x3f
xor edi, dword [ebx + edx*4 + 0x700]
mov edx, eax
shr edx, 8
and edx, 0x3f
xor edi, dword [ebx + edx*4 + 0x500]
mov edx, eax
shr edx, 0x10
and edx, 0x3f
xor edi, dword [ebx + edx*4 + 0x300]
shr eax, 0x18
and eax, 0x3f
xor edi, dword [ebx + eax*4 + 0x100]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 8
jne 0x4cb5b5
mov eax, dword [esp]
mov dword [eax], esi
mov eax, dword [esp + 4]
mov dword [eax], edi
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4cb704
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov esi, 0x5a9b20
mov dword [esp], ecx
mov edi, edx
lea ecx, [esp + 8]
lea edx, [esp + 4]
call fcn.004cb40c
lea edx, [esp + 8]
lea eax, [esp + 4]
call fcn.004cb44c
xor ebx, ebx
mov dx, 4
mov eax, dword [esp + 8]
call fcn.004cb3c0
movzx edx, bx
add edx, edx
add edx, edx
xor eax, dword [edi + edx*4]
mov edx, eax
and edx, 0x3f
mov edx, dword [esi + edx*4 + 0x600]
xor edx, dword [esp + 4]
mov ecx, eax
shr ecx, 8
and ecx, 0x3f
xor edx, dword [esi + ecx*4 + 0x400]
mov ecx, eax
shr ecx, 0x10
and ecx, 0x3f
xor edx, dword [esi + ecx*4 + 0x200]
shr eax, 0x18
and eax, 0x3f
xor edx, dword [esi + eax*4]
mov dword [esp + 4], edx
movzx eax, bx
add eax, eax
add eax, eax
mov eax, dword [edi + eax*4 + 4]
xor eax, dword [esp + 8]
mov edx, eax
and edx, 0x3f
mov edx, dword [esi + edx*4 + 0x700]
xor edx, dword [esp + 4]
mov ecx, eax
shr ecx, 8
and ecx, 0x3f
xor edx, dword [esi + ecx*4 + 0x500]
mov ecx, eax
shr ecx, 0x10
and ecx, 0x3f
xor edx, dword [esi + ecx*4 + 0x300]
shr eax, 0x18
and eax, 0x3f
xor edx, dword [esi + eax*4 + 0x100]
mov dword [esp + 4], edx
mov dx, 4
mov eax, dword [esp + 4]
call fcn.004cb3c0
movzx edx, bx
add edx, edx
add edx, edx
xor eax, dword [edi + edx*4 + 8]
mov edx, eax
and edx, 0x3f
mov edx, dword [esi + edx*4 + 0x600]
xor edx, dword [esp + 8]
mov ecx, eax
shr ecx, 8
and ecx, 0x3f
xor edx, dword [esi + ecx*4 + 0x400]
mov ecx, eax
shr ecx, 0x10
and ecx, 0x3f
xor edx, dword [esi + ecx*4 + 0x200]
shr eax, 0x18
and eax, 0x3f
xor edx, dword [esi + eax*4]
mov dword [esp + 8], edx
movzx eax, bx
add eax, eax
add eax, eax
mov eax, dword [edi + eax*4 + 0xc]
xor eax, dword [esp + 4]
mov edx, eax
and edx, 0x3f
mov edx, dword [esi + edx*4 + 0x700]
xor edx, dword [esp + 8]
mov ecx, eax
shr ecx, 8
and ecx, 0x3f
xor edx, dword [esi + ecx*4 + 0x500]
mov ecx, eax
shr ecx, 0x10
and ecx, 0x3f
xor edx, dword [esi + ecx*4 + 0x300]
shr eax, 0x18
and eax, 0x3f
xor edx, dword [esi + eax*4 + 0x100]
mov dword [esp + 8], edx
inc ebx
cmp bx, 8
jne 0x4cb730
lea edx, [esp + 8]
lea eax, [esp + 4]
call fcn.004cb4ec
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
call fcn.004cb42c
add esp, 0xc
pop edi
pop esi
pop ebx
ret