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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0x94fd]
mov eax, dword [esi + 0x94f9]
add eax, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], eax
cmp ecx, eax
jae 0x384d9b5d
lea eax, [ecx + 0x400]
mov dword [ebp - 0x10], eax
cmp eax, dword [esi + 0xdc14]
ja 0x384d9b5d
push 0x400
lea eax, [esi + 0x1400]
push eax
push ecx
push esi
call 0x37e827f0
add esp, 0x10
cmp eax, 0x400
jne 0x384d9b5d
lea ecx, [esi + 0x1801]
xor eax, eax
mov dword [ebp - 0x14], ecx
mov ebx, 0x100
lea ecx, [esi + 0x1880]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
lea eax, [esi + 0x1800]
lea ecx, [esi + 0x1300]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], ecx
lea esp, [esp]
lea esi, [ecx + ebx]
mov edi, eax
mov eax, dword [ebp - 0x14]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
mov edx, 0x7a60b91
mov esi, 0x40
lea esp, [esp]
movzx ecx, byte [edx - 1]
lea edx, [edx + 4]
xor byte [eax - 1], cl
lea eax, [eax + 4]
movzx ecx, byte [edx - 4]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 2]
xor byte [eax - 2], cl
sub esi, 1
jne 0x384d9ac0
mov ecx, dword [ebp - 0xc]
mov esi, 0x7c
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x384d9b23
add ecx, 4
add edx, 4
sub esi, 4
jae 0x384d9af2
mov esi, dword [ebp + 8]
mov ecx, 0x20
mov edi, dword [ebp + 0xc]
add esi, 0x1800
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc dword [ebp - 4]
inc ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp ebx, 0x400
jb 0x384d9aa0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add ecx, 0x300
add eax, 0x300
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
cmp ecx, dword [ebp - 0x20]
jae 0x384d9b5d
mov esi, dword [ebp + 8]
jmp 0x384d9a41
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x384d9b70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
cmp esi, 0x100
jbe 0x384d9c41
mov edi, dword [ebp + 8]
lea eax, [edi + 0x1400]
mov edi, edi
push 0x100
push eax
push esi
push edi
call 0x37e827f0
add esp, 0x10
cmp eax, 0x100
jne 0x384d9c56
mov edx, dword [ebp + 0xc]
lea eax, [edi + 0x1480]
add edx, 2
mov ebx, 0x20
lea esp, [esp]
movzx ecx, byte [edx - 2]
lea edx, [edx + 4]
xor byte [eax - 0x80], cl
lea eax, [eax + 4]
movzx ecx, byte [edx - 6]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 5]
xor byte [eax - 0x83], cl
movzx ecx, byte [edx - 5]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 4]
xor byte [eax - 0x82], cl
movzx ecx, byte [edx - 4]
xor byte [eax - 2], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 0x81], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 1], cl
sub ebx, 1
jne 0x384d9bc0
push 0x100
lea eax, [edi + 0x1400]
push eax
push 0xd
push 0x7a60c90
push edi
call 0x37e96b30
add esp, 0x14
test eax, eax
jne 0x384d9c48
add esi, 0xffffff80
lea eax, [edi + 0x1400]
cmp esi, 0x100
ja 0x384d9b90
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
sub eax, edi
add eax, 0xffffec00
pop edi
add eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
mov eax, 0xc
pop ebx
pop ebp
ret

Function at 0x384d9c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
add ecx, ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 8]
lea eax, [ecx + esi]
cmp eax, dword [edi + 0xdc14]
ja 0x384d9cc6
push esi
lea eax, [edi + 0x1400]
push eax
push ecx
push edi
call 0x37e827f0
add esp, 0x10
cmp eax, esi
jne 0x384d9cc6
xor cl, cl
test esi, esi
je 0x384d9cbf
xor edx, edx
add bl, byte [ebp + 0x14]
mov edi, dword [ebp + 0x10]
lea eax, [ecx + ebx]
and eax, 0x7f
inc cl
mov al, byte [eax + edi]
mov edi, dword [ebp + 8]
xor byte [edx + edi + 0x1400], al
movzx edx, cl
cmp edx, esi
jb 0x384d9ca0
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret
Function at 0x384de380
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
push 0x10000
push esi
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call 0x37fcfc60
add esp, 8
test eax, eax
jne 0x384de404
push esi
call 0x37fd0be0
add esp, 4
test eax, eax
jne 0x384de404
lea eax, [ebp - 4]
push eax
push esi
call 0x37fd0b70
add esp, 8
test eax, eax
jne 0x384de404
nop
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x88], 0
je 0x384de3f3
cmp dword [ecx + 0x8c], 4
jb 0x384de3f3
push ecx
push esi
call fcn.384de350
add esp, 8
test eax, eax
jne 0x384de40b
lea eax, [ebp - 4]
push eax
push esi
call 0x37fd0b70
add esp, 8
test eax, eax
je 0x384de3d0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 2
lea eax, [ebp - 0xc]
push eax
push dword [ecx + 0x84]
push esi
call 0x37e827f0
add esp, 0x10
cmp eax, 2
jne 0x384de404
mov eax, 0x5a4d
cmp word [ebp - 0xc], ax
jne 0x384de404
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x84]
add eax, 0x3c
mov dword [ebp - 8], eax
mov ecx, dword [ecx + 0x84]
lea eax, [ecx + 0x40]
cmp eax, dword [esi + 0xdc14]
ja 0x384de404
push 4
lea eax, [ebp - 8]
push eax
lea eax, [ecx + 0x3c]
push eax
push esi
call 0x37e827f0
add esp, 0x10
cmp eax, 4
jne 0x384de404
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0x84]
mov dword [ebp - 8], ecx
lea eax, [ecx + 4]
cmp eax, dword [esi + 0xdc14]
ja 0x384de404
push 4
lea eax, [ebp - 0x10]
push eax
push ecx
push esi
call 0x37e827f0
add esp, 0x10
cmp eax, 4
jne 0x384de404
cmp dword [ebp - 0x10], 0x4550
jne 0x384de404
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
pop esi
mov ecx, dword [edx + 0x84]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [edx + 0x8c]
mov dword [eax], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x384e07a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
cmp ebx, 0xcec0
jg 0x384e081e
test bl, 1
jne 0x384e081e
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov edx, dword [ecx + 0xdc18]
add edx, ebx
lea eax, [edi - 0xcec0]
add eax, edx
cmp eax, dword [ecx + 0xdc14]
ja 0x384e081e
push edi
lea esi, [ecx + 0x1400]
push esi
lea eax, [edx - 0xcec0]
push eax
push ecx
call 0x37e827f0
add esp, 0x10
cmp eax, edi
jne 0x384e081e
test edi, edi
je 0x384e0817
mov edx, dword [ebp + 0x14]
lea ecx, [edi - 1]
shr ecx, 1
inc ecx
lea ecx, [ecx]
mov eax, ebx
lea esi, [esi + 2]
shr eax, 1
add ebx, 2
inc eax
imul eax, edx
xor word [esi - 2], ax
sub ecx, 1
jne 0x384e0800
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret
Function at 0x384e0830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x7076dbc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x200
push 0
lea ebx, [esi + 0x1400]
mov dword [ebp - 0x110], eax
push ebx
mov dword [ebp - 0x114], ebx
call 0x37ada010
movzx edi, byte [ebp + 0x14]
lea edx, [esi + 0x1500]
mov ecx, dword [esi + 0xdc18]
add esp, 0xc
lea eax, [edi - 0xd000]
add eax, ecx
cmp eax, dword [esi + 0xdc14]
ja 0x384e096d
push edi
push edx
lea eax, [ecx - 0xd000]
push eax
push esi
call 0x37e827f0
add esp, 0x10
cmp eax, edi
jne 0x384e096d
mov eax, dword [esi + 0xdc18]
push 0xf9
push ebx
sub eax, 0xceea
push eax
push esi
call 0x37e827f0
add esp, 0x10
cmp eax, 0xf9
jne 0x384e096d
push 0x102
lea eax, [ebp - 0x108]
push 0
push eax
call 0x37ada010
push edi
lea eax, [esi + 0x1500]
push eax
lea eax, [ebp - 0x108]
push eax
call 0x37eba9a0
push 0xf9
lea eax, [ebp - 0x108]
push ebx
push eax
call 0x37ebaa00
lea ecx, [ebx + 0x28]
add esp, 0x24
mov bh, bl
mov dword [ebp - 0x10c], ecx
sub bh, cl
mov bl, 0
sub bh, 7
je 0x384e0948
mov di, word [ebp + 0xc]
mov al, bl
movzx esi, bl
add esi, ecx
shr al, 1
movzx ecx, di
add bl, 2
movzx edx, al
imul edx, ecx
mov ecx, dword [ebp - 0x10c]
xor word [esi], dx
cmp bl, bh
jb 0x384e0926
mov eax, dword [ebp - 0x110]
mov ecx, dword [ecx + 0xa]
pop edi
pop esi
mov dword [eax], ecx
mov eax, dword [ebp - 0x114]
pop ebx
mov eax, dword [eax + 0x36]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call 0x37ad9614
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call 0x37ad9614
mov esp, ebp
pop ebp
ret
Function at 0x384f3890
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
imul eax, dword [ecx], 0x8088405
inc eax
mov dword [ecx], eax
mul dword [ebp + 8]
mov eax, edx
pop ebp
ret

Function at 0x384f3d80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x18]
movzx eax, byte [esi + 4]
push eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
push eax
push dword [ebp + 8]
call ebx
mov byte [edi + 4], al
mov eax, dword [esi + 4]
shr eax, 8
push eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 1]
push eax
push dword [ebp + 8]
call ebx
sub al, byte [edi + 4]
mov byte [edi + 5], al
movzx eax, byte [esi + 6]
push eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 2]
push eax
push dword [ebp + 8]
call ebx
mov cl, byte [edi + 5]
add esp, 0x24
add cl, cl
add cl, byte [edi + 4]
cmp al, cl
jne 0x384f3eeb
movzx eax, byte [esi + 7]
push eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 3]
push eax
push dword [ebp + 8]
call ebx
mov cl, byte [edi + 5]
add esp, 0xc
mov dl, cl
add cl, cl
add dl, cl
add dl, byte [edi + 4]
cmp al, dl
jne 0x384f3eeb
xor eax, eax
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 4], eax
cmp cx, word [esi + 2]
jae 0x384f3e5f
jmp 0x384f3e20
movzx eax, byte [edi + 5]
movzx ecx, bl
imul ecx, eax
add cl, byte [edi + 4]
movzx eax, cl
push eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [ebx + eax]
push eax
push dword [ebp + 8]
call dword [ebp + 0x14]
push dword [ebp - 4]
mov byte [ebp + 0x1b], al
lea eax, [ebp + 0x1b]
push 1
push eax
call 0x37ebe960
movzx ecx, word [esi + 2]
inc ebx
add esp, 0x18
mov dword [ebp - 4], eax
cmp ebx, ecx
jb 0x384f3e20
cmp eax, dword [esi + 8]
jne 0x384f3eeb
mov bl, byte [edi + 5]
movzx ecx, byte [esi]
movzx eax, bl
imul ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [edi], eax
movzx eax, bl
sub byte [edi + 4], cl
movzx edx, byte [esi + 0xc]
movzx ecx, word [esi + 0xc]
imul edx, eax
movzx eax, word [esi]
sub ecx, eax
mov eax, dword [ebp + 0xc]
add dl, byte [edi + 4]
movzx esi, word [ecx + eax]
add bl, dl
movzx eax, bl
push eax
mov eax, esi
mov byte [ebp - 4], dl
shr eax, 8
push eax
push dword [ebp + 8]
call dword [ebp + 0x14]
push dword [ebp - 4]
mov bl, al
push esi
push dword [ebp + 8]
call dword [ebp + 0x14]
movzx edx, al
add esp, 0x18
movzx ecx, bl
mov eax, 0x100
imul ecx, eax
add dx, cx
mov ecx, dword [ebp + 0x10]
movzx eax, dx
mov cx, word [ecx + 0xe]
xor cx, ax
mov eax, 1
mov word [edi + 6], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x384f5600
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x10000
push esi
call 0x37fcfc60
add esp, 8
test eax, eax
jne 0x384f568f
push esi
call 0x37fd0be0
add esp, 4
test eax, eax
jne 0x384f568f
lea eax, [ebp - 4]
push eax
push esi
call 0x37fd0b70
add esp, 8
test eax, eax
jne 0x384f568f
lea esp, [esp]
mov edx, dword [ebp - 4]
cmp dword [edx + 0x88], 0
je 0x384f567e
cmp dword [edx + 0x8c], 0x8400
jne 0x384f567e
push edx
push esi
call fcn.384f55c0
add esp, 8
cmp eax, 1
jne 0x384f567e
mov eax, dword [edx + 0x84]
test eax, eax
je 0x384f567e
add eax, 0x8400
cmp eax, dword [esi + 0xdc14]
jbe 0x384f5697
lea eax, [ebp - 4]
push eax
push esi
call 0x37fd0b70
add esp, 8
test eax, eax
je 0x384f5640
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x200
lea edi, [esi + 0x1400]
push edi
push dword [edx + 0x84]
push esi
call 0x37e827f0
add esp, 0x10
cmp eax, 0x200
jne 0x384f568f
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x384f568f
add esi, 0x1500
cmp dword [esi], 0x4550
jne 0x384f568f
push 0
push 0x30
push esi
call 0x37ebe960
add esp, 0xc
cmp eax, 0xeaf7eef9
jne 0x384f568f
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov ecx, dword [edx + 0x84]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [edx + 0x8c]
mov dword [eax], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x384f9800
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov eax, edx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
or ecx, 0xffffffff
push edi
xor esi, esi
mov dword [ebp - 8], eax
xor edi, edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], esi
test edx, edx
je 0x384f98d7
lea esp, [esp]
cmp ecx, 0xffffffff
jne 0x384f98d7
lea ebx, [esi + eax]
mov al, byte [ebx]
cmp al, 0xc2
je 0x384f996d
cmp al, 0xc3
je 0x384f996d
cmp al, 0xcc
je 0x384f996d
push 0x20
push 0x20
push ebx
push dword [ebp - 0x10]
call 0x37eba100
mov edx, eax
add esp, 0x10
cmp edx, 0xffffffff
je 0x384f996d
cmp edx, 2
jne 0x384f9892
mov cx, word [ebx]
mov eax, 0xf0ff
and cx, ax
mov eax, 0xe0ff
cmp cx, ax
jne 0x384f98b0
mov ecx, esi
mov dword [ebp - 4], ecx
jmp 0x384f98b3
cmp edx, 5
jne 0x384f98b0
cmp byte [ebx], 0xe9
jne 0x384f98b0
mov ecx, dword [ebx + 1]
test ecx, ecx
jle 0x384f98b0
lea eax, [ecx + 5]
cmp eax, dword [ebp + 8]
jae 0x384f98b0
add esi, ecx
lea edi, [esi + 5]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
add esi, edx
mov edx, dword [ebp + 8]
inc ebx
mov eax, edx
mov dword [ebp - 0xc], ebx
shl eax, 0xa
cmp ebx, eax
ja 0x384f996d
mov eax, dword [ebp - 8]
cmp esi, edx
jb 0x384f9830
or ebx, 0xffffffff
cmp ecx, ebx
je 0x384f996d
cmp edi, edx
jae 0x384f996d
cmp edi, ecx
jge 0x384f996d
push 0x20
lea esi, [edi + eax]
push 0x20
push esi
push dword [ebp - 0x10]
call 0x37eba100
mov edx, eax
add esp, 0x10
mov dword [ebp + 8], edx
cmp edx, 5
jne 0x384f9918
cmp byte [esi], 0xe8
jne 0x384f9951
mov ebx, edi
jmp 0x384f9951
cmp ebx, 0xffffffff
je 0x384f9951
cmp edx, 6
jne 0x384f9951
cmp byte [esi], 0x81
jne 0x384f9951
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx ecx, byte [esi + 1]
and ecx, 0x3f
movzx eax, byte [eax + edx + 1]
mov edx, dword [ebp + 8]
xor eax, ecx
test al, 7
jne 0x384f9951
mov eax, dword [esi + 2]
shr ecx, 3
test ecx, ecx
je 0x384f995f
cmp ecx, 5
je 0x384f995d
add edi, edx
cmp edi, dword [ebp - 4]
jge 0x384f996d
mov eax, dword [ebp - 8]
jmp 0x384f98f2
neg eax
pop edi
add eax, 5
pop esi
add eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x384f9b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, edx
mov edx, dword [ebp + 0x10]
mov ebx, edx
sar ebx, 8
test esi, esi
jle 0x384f9ba2
mov ecx, edx
sub edi, eax
and ecx, 0xffff0000
cmp ecx, 0x10000
jne 0x384f9b90
lea esp, [esp]
mov cl, byte [edi + eax]
lea eax, [eax + 1]
sub cl, dl
add dl, bl
mov byte [eax - 1], cl
sub esi, 1
jne 0x384f9b70
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, dl
add dl, bl
mov byte [eax - 1], cl
sub esi, 1
jne 0x384f9b90
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x384fb0b0
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
xor eax, eax
shr ecx, 2
mov dword [ebp + 0x10], ecx
mov dword [ebp - 4], eax
test ecx, ecx
je 0x384fb14f
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, 0xc6ef3720
mov ecx, 0x20
lea edx, [esi + 4]
lea edx, [edx + eax*4]
lea eax, [esi + eax*4]
mov dword [ebp - 8], edx
mov esi, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [edx]
dec ecx
mov edx, esi
mov dword [ebp - 0x10], ecx
mov ecx, esi
shr ecx, 5
add ecx, dword [ebx + 0xc]
shl edx, 4
add edx, dword [ebx + 8]
xor edx, ecx
lea ecx, [esi + edi]
xor edx, ecx
mov ecx, dword [ebp - 8]
sub eax, edx
mov edx, eax
shr edx, 5
mov dword [ecx], eax
mov ecx, eax
add edx, dword [ebx + 4]
shl ecx, 4
add ecx, dword [ebx]
xor edx, ecx
lea ecx, [eax + edi]
xor edx, ecx
lea edi, [edi + 0x61c88647]
mov ecx, dword [ebp - 0xc]
sub esi, edx
mov dword [ecx], esi
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x384fb0f2
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0x10]
jb 0x384fb0d2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x384fe500
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret
Function at 0x384ff200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x1c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
lea ecx, [eax + 0x80]
mov dword [ebp + 0x14], ecx
lea esi, [eax + 0x100]
mov dword [ebp - 4], esi
and edi, 7
jne 0x384ff2ad
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push edi
mov dword [edi], eax
mov dword [edi + 4], ecx
mov eax, dword [edx + 4]
mov ebx, dword [edx]
push edi
push esi
mov dword [ebp - 4], eax
call fcn.384ff6a0
push dword [ebp + 0x14]
push edi
push edi
push esi
call fcn.384ff390
push dword [ebp + 0x1c]
push edi
push edi
push esi
call fcn.384ff6a0
mov ecx, dword [ebp + 0x18]
add esp, 0x30
movzx eax, byte [ecx]
xor byte [edi], al
movzx eax, byte [ecx + 1]
xor byte [edi + 1], al
movzx eax, byte [ecx + 2]
xor byte [edi + 2], al
movzx eax, byte [ecx + 3]
xor byte [edi + 3], al
movzx eax, byte [ecx + 4]
xor byte [edi + 4], al
movzx eax, byte [ecx + 5]
xor byte [edi + 5], al
movzx eax, byte [ecx + 6]
xor byte [edi + 6], al
movzx eax, byte [ecx + 7]
xor byte [edi + 7], al
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [ecx], ebx
mov dword [ecx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
push eax
push ebx
push ebx
push esi
call fcn.384ff390
push dword [ebp + 0x14]
push ebx
push ebx
push esi
call fcn.384ff6a0
push dword [ebp - 4]
push ebx
push ebx
push esi
call fcn.384ff390
mov esi, dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
push esi
call 0x37ad9ff0
add esp, 0x3c
test edi, edi
je 0x384ff2fe
sub ebx, esi
jmp 0x384ff2f0
mov al, byte [ebx + esi]
lea esi, [esi + 1]
xor byte [esi - 1], al
sub edi, 1
jne 0x384ff2f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x384ff9f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov eax, esi
and eax, 7
mov dword [ebp - 0x14], eax
je 0x384ffa07
sub esi, eax
shr esi, 3
xor ebx, ebx
mov dword [ebp + 0x14], ebx
test esi, esi
je 0x384ffadc
mov eax, dword [ebp + 0x1c]
push edi
lea ecx, [eax + 0x80]
add eax, 0x100
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0x10]
add ecx, 2
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
lea edi, [ecx - 2]
push dword [ebp - 8]
push edi
mov eax, dword [edx + ebx*8]
mov ecx, dword [edx + ebx*8 + 4]
mov dword [edi], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 4], ecx
mov ebx, dword [edx + ebx*8]
push edi
mov eax, dword [edx + eax*8 + 4]
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.384ff6a0
push dword [ebp - 0xc]
push edi
push edi
push dword [ebp + 8]
call fcn.384ff390
push dword [ebp + 0x1c]
push edi
push edi
push dword [ebp + 8]
call fcn.384ff6a0
mov edx, dword [ebp + 0x18]
add esp, 0x30
mov ecx, dword [ebp - 4]
movzx eax, byte [edx]
xor byte [edi], al
movzx eax, byte [edx + 1]
xor byte [ecx - 1], al
movzx eax, byte [edx + 2]
xor byte [ecx], al
movzx eax, byte [edx + 3]
xor byte [ecx + 1], al
movzx eax, byte [edx + 4]
xor byte [ecx + 2], al
movzx eax, byte [edx + 5]
xor byte [ecx + 3], al
movzx eax, byte [edx + 6]
xor byte [ecx + 4], al
movzx eax, byte [edx + 7]
xor byte [ecx + 5], al
add ecx, 8
mov eax, dword [ebp - 0x10]
mov dword [edx], ebx
mov ebx, dword [ebp + 0x14]
inc ebx
mov dword [edx + 4], eax
mov dword [ebp + 0x14], ebx
mov dword [ebp - 4], ecx
cmp ebx, esi
jb 0x384ffa35
mov eax, dword [ebp - 0x14]
pop edi
jmp 0x384ffadf
mov edx, dword [ebp + 0x18]
test eax, eax
je 0x384ffb01
push dword [ebp + 0x1c]
push edx
push eax
mov eax, dword [ebp + 0x10]
lea eax, [eax + ebx*8]
push eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + ebx*8]
push eax
push dword [ebp + 8]
call fcn.384ff200
add esp, 0x18
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x38508bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
cmp ebx, 0xcec0
jg 0x38508c4e
test bl, 1
jne 0x38508c4e
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov edx, dword [ecx + 0xdc18]
add edx, ebx
lea eax, [edi - 0xcec0]
add eax, edx
cmp eax, dword [ecx + 0xdc14]
ja 0x38508c4e
push edi
lea esi, [ecx + 0x1400]
push esi
lea eax, [edx - 0xcec0]
push eax
push ecx
call 0x37e7d7f0
add esp, 0x10
cmp eax, edi
jne 0x38508c4e
test edi, edi
je 0x38508c47
mov edx, dword [ebp + 0x14]
lea ecx, [edi - 1]
shr ecx, 1
inc ecx
lea ecx, [ecx]
mov eax, ebx
lea esi, [esi + 2]
shr eax, 1
add ebx, 2
inc eax
imul eax, edx
xor word [esi - 2], ax
sub ecx, 1
jne 0x38508c30
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret
Function at 0x38508c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x7076dbc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x200
push 0
lea ebx, [esi + 0x1400]
mov dword [ebp - 0x110], eax
push ebx
mov dword [ebp - 0x114], ebx
call 0x37ad5010
movzx edi, byte [ebp + 0x14]
lea edx, [esi + 0x1500]
mov ecx, dword [esi + 0xdc18]
add esp, 0xc
lea eax, [edi - 0xd000]
add eax, ecx
cmp eax, dword [esi + 0xdc14]
ja 0x38508d8a
push edi
push edx
lea eax, [ecx - 0xd000]
push eax
push esi
call 0x37e7d7f0
add esp, 0x10
cmp eax, edi
jne 0x38508d8a
mov eax, dword [esi + 0xdc18]
push 0xf9
push ebx
sub eax, 0xceea
push eax
push esi
call 0x37e7d7f0
add esp, 0x10
cmp eax, 0xf9
jne 0x38508d8a
push edi
lea eax, [esi + 0x1500]
push eax
lea eax, [ebp - 0x108]
push eax
call 0x37eb59a0
push 0xf9
lea eax, [ebp - 0x108]
push ebx
push eax
call 0x37eb5a00
lea ecx, [ebx + 0x28]
add esp, 0x18
mov bh, bl
mov dword [ebp - 0x10c], ecx
sub bh, cl
mov bl, 0
sub bh, 7
je 0x38508d65
mov di, word [ebp + 0xc]
mov al, bl
movzx esi, bl
add esi, ecx
shr al, 1
movzx ecx, di
add bl, 2
movzx edx, al
imul edx, ecx
mov ecx, dword [ebp - 0x10c]
xor word [esi], dx
cmp bl, bh
jb 0x38508d43
mov eax, dword [ebp - 0x110]
mov ecx, dword [ecx + 0xa]
pop edi
pop esi
mov dword [eax], ecx
mov eax, dword [ebp - 0x114]
pop ebx
mov eax, dword [eax + 0x36]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call 0x37ad4614
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call 0x37ad4614
mov esp, ebp
pop ebp
ret

Function at 0x38511400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 4
jb 0x38511433
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
add eax, 0x13fc
add eax, esi
add esi, 0xfffffffd
lea esp, [esp]
mov ecx, dword [edx]
lea eax, [eax - 1]
xor dword [eax + 1], ecx
mov ecx, dword [edx]
ror ecx, 1
mov dword [edx], ecx
sub esi, 1
jne 0x38511420
pop esi
pop ebp
ret