joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442a40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xd0]
push ecx
push 0
push 0x2001f
push 0
push 0x4dab4c
push 0
push str.SoftwarePRONTOSettings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x442bda
cmp dword [ebp + 8], eax
jne 0x442ac5
mov eax, 0x50b278
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442a96
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0xd0]
push edx
push 0x50b278
push 1
push 0
push str.host_list
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x4fac14]
cmp eax, 0x3e7
je 0x442ae3
cmp eax, 0x3e6
je 0x442ae3
cmp eax, 0x3e5
jne 0x442bcd
movsx ecx, byte [0x50b274]
cmp eax, ecx
je 0x442bcd
mov byte [0x50b274], al
cmp eax, 0x3e5
jne 0x442b11
mov al, byte [0x4cfcb0]
mov edx, dword [str.ssh_]
mov byte [ebp - 0xc8], al
jmp 0x442b5c
cmp eax, 0x3e6
jne 0x442b4b
mov ecx, dword [str.ssltelnet_]
mov edx, dword [0x4cfca4]
mov ax, word [0x4cfca8]
mov dword [ebp - 0xcc], ecx
mov cl, byte [0x4cfcaa]
mov dword [ebp - 0xc8], edx
mov word [ebp - 0xc4], ax
mov byte [ebp - 0xc2], cl
jmp 0x442b62
mov eax, dword [0x4cfcb8]
mov edx, dword [str.telnet_]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xcc], edx
mov eax, 0x50eab0
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x442b70
push esi
push edi
lea edi, [ebp - 0xcc]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x442b82
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0xcc]
pop edi
lea edx, [eax + 1]
pop esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x442ba5
sub eax, edx
mov edx, dword [ebp - 0xd0]
inc eax
push eax
lea ecx, [ebp - 0xcc]
push ecx
push 1
push 0
push 0x4cfc94
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0xd0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x444180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x848
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x83c]
push eax
push 0x20019
push 0
push str.SoftwarePRONTOSettings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x444363
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea ecx, [ebp - 0x844]
push ecx
lea edx, [ebp - 0x838]
push edx
lea eax, [ebp - 0x848]
push eax
mov eax, dword [ebp - 0x83c]
xor esi, esi
push esi
lea ecx, [ebp - 0x840]
push ecx
lea edx, [ebp - 0x68]
push edx
push esi
push eax
mov dword [ebp - 0x840], 0x64
mov dword [ebp - 0x844], 0x7d0
call edi
test eax, eax
jne 0x44427d
jmp 0x444210
xor ecx, ecx
xor edx, edx
cmp dword [ebp - 0x848], 1
mov word [ebp - 6], cx
mov word [ebp - 0x6a], dx
jne 0x444238
lea eax, [ebp - 0x838]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.00443710
add esp, 8
lea edx, [ebp - 0x844]
push edx
lea eax, [ebp - 0x838]
push eax
lea ecx, [ebp - 0x848]
push ecx
mov ecx, dword [ebp - 0x83c]
push 0
lea edx, [ebp - 0x840]
push edx
lea eax, [ebp - 0x68]
push eax
inc esi
push esi
push ecx
mov dword [ebp - 0x840], 0x64
mov dword [ebp - 0x844], 0x7d0
call edi
test eax, eax
je 0x444210
mov edx, dword [ebp - 0x83c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
mov ecx, 0x50ac88
call fcn.00441ba0
mov ecx, 0x50aa04
call fcn.00440880
cmp dword [0x4fac14], 0x3e6
mov edi, dword [sym.imp.MSVCR100.dll__access]
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [0x50aa00], 1
jne 0x44432c
cmp byte [0x50f048], 0
je 0x4442f7
push 0
push 0x50f048
call edi
add esp, 8
test eax, eax
jns 0x4442ed
push 0x30
push 0x4fabe8
push str.SSL_Certificate_file_not_found_
push 0
call esi
jmp 0x4442f7
mov dword [0x50ccf0], 0x50f048
cmp byte [0x50ea58], 0
je 0x44432c
push 0
push 0x50ea58
call edi
add esp, 8
test eax, eax
jns 0x444322
push 0x30
push 0x4fabe8
push str.SSL_Certificate_key_file_not_found_
push 0
call esi
jmp 0x44432c
mov dword [0x50ccf4], 0x50ea58
cmp dword [0x4fac14], 0x3e5
jne 0x444361
cmp byte [0x50ebd0], 0
je 0x444361
push 0
push 0x50ebd0
call edi
add esp, 8
test eax, eax
jns 0x444361
push 0x30
push 0x4fabe8
push str.SSH_authentication_key_file_not_found_
push 0
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x445750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push eax
lea ecx, [ebp - 0x40]
push 0x4d731c
push ecx
xor esi, esi
call dword [sym.imp.MSVCR100.dll__swprintf]
mov eax, dword [0x501864]
add esp, 0xc
push 2
lea edx, [ebp - 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44580d
mov ecx, dword [0x501864]
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_GetDC]
lea edx, [ebp - 0x44]
push edx
push esi
mov edi, eax
call fcn.00445660
add esp, 8
mov dword [ebx], eax
test eax, eax
je 0x4457d9
push 0
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp - 0x44]
push 0
push esi
lea ecx, [esi + eax*4]
add ecx, dword [esi]
push ecx
push 4
push esi
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push edi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [ebx], esi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7f56
mov esp, ebp
pop ebp
ret

Function at 0x44cdc0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov esi, ecx
call fcn.0044cd50
mov edi, eax
test edi, edi
je 0x44ce72
mov esi, dword [esi + 0x8c]
movsx ecx, word [esi + 0x56]
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ecx
mov ecx, dword [ebp + 0xc]
jne 0x44ce08
movsx edx, word [esi + 0x58]
cmp ecx, edx
je 0x44ce5a
test eax, eax
jle 0x44ce5a
test ecx, ecx
jle 0x44ce5a
push ecx
push eax
lea eax, [ebp - 0x68]
push 0x4d2e2c
push eax
call dword [sym.imp.MSVCR100.dll__swprintf]
lea eax, [ebp - 0x68]
add esp, 0x10
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44ce30
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x68]
push edx
push 1
push 0
push 0x4d87c4
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x44ce62
push 0x4d87c4
push edi
call ebx
push str.WindowSize
push edi
call ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b7f56
mov esp, ebp
pop ebp
ret 8
Function at 0x4550f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x455144
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0xffffffffffffffff
push ecx
call fcn.0040d5d0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.MSVCR100.dll_remove]
add esp, 0x14
mov dword [esi], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
xor edx, edx
cmp eax, 2
setne dl
push 0
dec edx
and edx, 0x80
push edx
xor edx, edx
cmp eax, 2
setne dl
add edx, 2
push edx
lea edx, [eax - 2]
neg edx
sbb edx, edx
sub eax, 2
and edx, 3
neg eax
sbb eax, eax
push 0
and eax, 0x40000000
push edx
add eax, 0x40000000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi], eax
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x455510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 1
call fcn.004551b0
mov esi, eax
cmp esi, 0xffffffff
je 0x45559a
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x408]
push eax
push 0x400
lea ecx, [ebp - 0x404]
push ecx
push esi
call edi
test eax, eax
je 0x455593
lea esp, [esp]
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x455593
push eax
lea edx, [ebp - 0x404]
push edx
call ebx
add esp, 8
push 0
lea eax, [ebp - 0x408]
push eax
push 0x400
lea ecx, [ebp - 0x404]
push ecx
push esi
call edi
test eax, eax
jne 0x455560
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7f56
mov esp, ebp
pop ebp
ret

Function at 0x4555b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, 2
call fcn.004551b0
mov esi, eax
cmp esi, 0xffffffff
je 0x4555e3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x467e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov edi, edx
mov ebx, dword [edi + 0x3d4]
mov eax, dword [edi + 0x3c8]
mov edx, dword [edi + 0x3d0]
mov esi, ecx
mov ecx, dword [edi + 0x3cc]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 8], ebx
jle 0x468000
mov edi, dword [ebp + 8]
dec edi
shr edi, 4
add esi, 2
inc edi
mov dword [ebp - 0x18], edi
lea ecx, [ecx]
movzx edi, byte [esi - 2]
movzx ebx, byte [esi - 1]
shl edi, 8
or edi, ebx
movzx ebx, byte [esi]
shl edi, 8
or edi, ebx
movzx ebx, byte [esi + 1]
shl edi, 8
or edi, ebx
xor eax, edi
movzx edi, byte [esi + 3]
mov dword [ebp - 0x14], eax
movzx eax, byte [esi + 2]
shl eax, 8
or eax, edi
movzx edi, byte [esi + 4]
shl eax, 8
or eax, edi
movzx edi, byte [esi + 5]
shl eax, 8
or eax, edi
xor ecx, eax
movzx eax, byte [esi + 7]
mov dword [ebp - 0x10], ecx
movzx ecx, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
mov edi, dword [ebp - 0x1c]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xc]
xor edx, ecx
movzx ecx, byte [esi + 0xa]
shl ecx, 8
mov dword [ebp - 0xc], edx
movzx edx, byte [esi + 0xb]
or ecx, edx
movzx edx, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, edx
xor dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
mov eax, edi
call fcn.00467e70
mov eax, dword [ebp - 0x14]
mov ecx, eax
shr ecx, 0x18
mov byte [esi - 2], cl
mov ecx, eax
shr ecx, 8
mov edx, eax
shr edx, 0x10
mov byte [esi - 1], dl
mov byte [esi], cl
mov ecx, dword [ebp - 0x10]
mov edx, ecx
shr edx, 0x18
mov byte [esi + 2], dl
mov edx, ecx
shr edx, 0x10
mov byte [esi + 3], dl
mov edx, ecx
shr edx, 8
mov byte [esi + 4], dl
mov edx, dword [ebp - 0xc]
mov ebx, edx
shr ebx, 0x18
mov byte [esi + 6], bl
mov ebx, edx
shr ebx, 0x10
mov byte [esi + 7], bl
mov byte [esi + 1], al
mov byte [esi + 5], cl
mov ebx, edx
shr ebx, 8
mov byte [esi + 8], bl
mov ebx, dword [ebp - 8]
shr ebx, 0x18
mov byte [esi + 0xa], bl
mov ebx, dword [ebp - 8]
shr ebx, 0x10
mov byte [esi + 0xb], bl
mov ebx, dword [ebp - 8]
shr ebx, 8
mov byte [esi + 0xc], bl
mov bl, byte [ebp - 8]
mov byte [esi + 9], dl
mov byte [esi + 0xd], bl
add esi, 0x10
dec dword [ebp - 0x18]
jne 0x467ee0
mov dword [edi + 0x3c8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x3cc], ecx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x3d0], edx
mov dword [edi + 0x3d4], eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x468030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, dword [edx + 0x3c8]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0x3cc]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edx + 0x3d0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 0x3d4]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 8], ecx
test eax, eax
jle 0x468187
dec eax
shr eax, 4
add esi, 3
push ebx
inc eax
push edi
mov dword [ebp - 0x38], eax
movzx eax, byte [esi - 3]
movzx ecx, byte [esi - 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi - 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 2]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], eax
movzx eax, byte [esi + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 3]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 4]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 6]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], eax
movzx eax, byte [esi + 5]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 7]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 8]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 0xa]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
movzx eax, byte [esi + 9]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 0xb]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 0xc]
shl eax, 8
or eax, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
mov eax, edx
call fcn.00467e80
lea eax, [esi - 1]
xor edi, edi
mov ecx, dword [ebp + edi - 0x24]
mov edx, dword [ebp + edi - 0x14]
shr edx, 0x18
mov ebx, ecx
shr ebx, 0x18
xor dl, bl
mov byte [eax - 2], dl
mov edx, dword [ebp + edi - 0x14]
shr edx, 0x10
mov ebx, ecx
shr ebx, 0x10
xor dl, bl
mov byte [eax - 1], dl
mov edx, dword [ebp + edi - 0x14]
shr ecx, 8
shr edx, 8
xor dl, cl
mov cl, byte [ebp + edi - 0x14]
xor cl, byte [ebp + edi - 0x24]
mov byte [eax], dl
mov edx, dword [ebp + edi - 0x34]
mov dword [ebp + edi - 0x14], edx
mov byte [eax + 1], cl
add edi, 4
add eax, 4
cmp edi, 0x10
jl 0x468124
mov edx, dword [ebp - 0x3c]
add esi, 0x10
dec dword [ebp - 0x38]
jne 0x468082
pop edi
pop ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [edx + 0x3c8], eax
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x3cc], ecx
mov ecx, dword [ebp - 8]
mov dword [edx + 0x3d0], eax
mov dword [edx + 0x3d4], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x4685b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
mov cl, byte [esi]
mov dl, byte [esi + 1]
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x468620
push ebx
push edi
jmp 0x4685ce
mov dl, byte [ebp - 1]
mov cl, byte [ebp + 0xb]
inc cl
mov byte [ebp + 0xb], cl
movzx ecx, cl
lea edi, [ecx + esi + 2]
mov cl, byte [edi]
add dl, cl
mov byte [ebp - 1], dl
movzx edx, dl
mov bl, byte [edx + esi + 2]
lea edx, [edx + esi + 2]
mov byte [edi], bl
mov byte [edx], cl
movzx edx, byte [edi]
movzx ecx, cl
add edx, ecx
mov ecx, dword [ebp + 0xc]
and edx, 0xff
mov dl, byte [edx + esi + 2]
xor byte [eax + ecx], dl
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x4685c8
mov al, byte [ebp + 0xb]
mov cl, byte [ebp - 1]
pop edi
pop ebx
mov byte [esi], al
mov byte [esi + 1], cl
pop esi
mov esp, ebp
pop ebp
ret
mov byte [esi], cl
mov byte [esi + 1], dl
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x468630
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ecx, ecx
lea esi, [eax + 2]
mov word [eax], cx
mov ebx, esi
lea eax, [ebp - 0x104]
push edi
sub ebx, eax
jmp 0x468660
xor edx, edx
mov eax, ecx
div dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea edi, [ebp + ecx - 0x104]
mov byte [ebx + edi], cl
inc ecx
mov dl, byte [edx + eax]
mov byte [edi], dl
cmp ecx, 0x100
jb 0x468660
lea edi, [ebp - 0x104]
xor eax, eax
sub edi, esi
mov ecx, esi
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x108], 0x100
jmp 0x4686a6
mov edi, dword [ebp - 0x10c]
mov dl, byte [ecx]
movzx edi, byte [edi + ecx]
movzx ebx, dl
add eax, edi
add eax, ebx
and eax, 0xff
mov bl, byte [eax + esi]
mov byte [ecx], bl
inc ecx
dec dword [ebp - 0x108]
mov byte [eax + esi], dl
jne 0x4686a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x4690a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x104c]
sub esp, 0xc
push esi
mov esi, dword [eax + 0x1048]
test ecx, ecx
jle 0x469169
push ebx
push edi
mov edi, dword [ebp + 8]
dec ecx
shr ecx, 3
add edi, 2
inc ecx
mov dword [ebp - 4], ecx
mov edi, edi
movzx ecx, byte [edi + 5]
movzx ebx, byte [edi + 4]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [edi + 3]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [edi + 2]
shl ecx, 8
or ecx, ebx
xor ecx, edx
movzx edx, byte [edi + 1]
push ecx
movzx ecx, byte [edi]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi - 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi - 2]
shl edx, 8
or edx, ecx
xor edx, esi
lea esi, [ebp - 0xc]
call fcn.00468780
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov ebx, eax
mov byte [edi - 2], al
shr ebx, 8
mov esi, eax
mov byte [edi - 1], bl
mov ebx, eax
shr eax, 0x18
mov byte [edi + 1], al
mov eax, ecx
shr eax, 8
mov byte [edi + 3], al
mov eax, ecx
mov byte [edi + 2], cl
shr eax, 0x10
mov edx, ecx
shr ebx, 0x10
shr ecx, 0x18
mov byte [edi + 4], al
mov eax, dword [ebp + 0xc]
mov byte [edi], bl
mov byte [edi + 5], cl
add esp, 4
add edi, 8
dec dword [ebp - 4]
jne 0x4690d0
pop edi
pop ebx
mov dword [eax + 0x1048], esi
mov dword [eax + 0x104c], edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x469180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x1048]
push esi
mov esi, dword [eax + 0x104c]
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
test ecx, ecx
jle 0x46926f
push ebx
push edi
mov edi, dword [ebp + 8]
dec ecx
shr ecx, 3
add edi, 2
inc ecx
mov dword [ebp - 0xc], ecx
movzx ebx, byte [edi + 1]
movzx ecx, byte [edi]
movzx edx, byte [edi - 1]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [edi - 2]
shl ebx, 8
or ebx, edx
movzx edx, byte [edi + 4]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [edi + 5]
shl ecx, 8
or ecx, edx
movzx edx, byte [edi + 3]
shl ecx, 8
or ecx, edx
movzx edx, byte [edi + 2]
shl ecx, 8
or ecx, edx
push ecx
lea esi, [ebp - 0x18]
mov edx, ebx
mov dword [ebp - 0x10], ecx
call fcn.00468c10
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0x14]
mov edx, eax
shr edx, 8
mov byte [edi - 2], al
mov byte [edi - 1], dl
mov edx, eax
shr eax, 0x18
shr edx, 0x10
mov byte [edi + 1], al
mov byte [edi], dl
mov eax, ecx
shr eax, 8
mov edx, ecx
mov byte [edi + 2], cl
mov byte [edi + 3], al
mov eax, dword [ebp - 0x10]
shr edx, 0x10
shr ecx, 0x18
mov byte [edi + 4], dl
mov byte [edi + 5], cl
add esp, 4
add edi, 8
dec dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
jne 0x4691b4
mov edx, dword [ebp - 8]
pop edi
mov ecx, ebx
pop ebx
mov dword [eax + 0x1048], ecx
mov dword [eax + 0x104c], edx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [eax + 0x104c], esi
mov dword [eax + 0x1048], edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x469280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x104c]
sub esp, 0xc
push esi
mov esi, dword [eax + 0x1048]
test edx, edx
jle 0x46934b
push ebx
push edi
mov edi, dword [ebp + 8]
dec edx
shr edx, 3
add edi, 2
inc edx
mov dword [ebp - 4], edx
mov edi, edi
movzx edx, byte [edi + 2]
movzx ebx, byte [edi + 3]
shl edx, 8
or edx, ebx
movzx ebx, byte [edi + 4]
shl edx, 8
or edx, ebx
movzx ebx, byte [edi + 5]
shl edx, 8
or edx, ebx
xor edx, ecx
movzx ecx, byte [edi - 1]
push edx
movzx edx, byte [edi - 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
xor edx, esi
lea esi, [ebp - 0xc]
call fcn.00468780
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, eax
shr edx, 0x18
mov byte [edi - 2], dl
mov edx, eax
shr edx, 0x10
mov byte [edi - 1], dl
mov edx, eax
mov byte [edi + 1], al
mov esi, eax
shr edx, 8
mov eax, ecx
shr eax, 0x18
mov byte [edi + 2], al
mov byte [edi], dl
mov edx, ecx
mov eax, ecx
shr eax, 8
shr edx, 0x10
mov byte [edi + 4], al
mov eax, dword [ebp + 0xc]
mov byte [edi + 3], dl
mov byte [edi + 5], cl
add esp, 4
add edi, 8
dec dword [ebp - 4]
jne 0x4692b0
pop edi
pop ebx
mov dword [eax + 0x1048], esi
mov dword [eax + 0x104c], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x469360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x1048]
push esi
mov esi, dword [eax + 0x104c]
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
test ecx, ecx
jle 0x469450
push ebx
push edi
mov edi, dword [ebp + 8]
dec ecx
shr ecx, 3
add edi, 2
inc ecx
mov dword [ebp - 0xc], ecx
movzx ebx, byte [edi - 2]
movzx ecx, byte [edi - 1]
movzx edx, byte [edi]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [edi + 1]
shl ebx, 8
or ebx, edx
movzx edx, byte [edi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [edi + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [edi + 4]
shl ecx, 8
or ecx, edx
movzx edx, byte [edi + 5]
shl ecx, 8
or ecx, edx
push ecx
lea esi, [ebp - 0x18]
mov edx, ebx
mov dword [ebp - 0x10], ecx
call fcn.00468c10
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0x14]
mov edx, eax
shr edx, 0x18
mov byte [edi - 2], dl
mov edx, eax
shr edx, 0x10
mov byte [edi - 1], dl
mov edx, eax
mov byte [edi + 1], al
shr edx, 8
mov eax, ecx
shr eax, 0x18
mov byte [edi + 2], al
mov byte [edi], dl
mov edx, ecx
mov eax, ecx
shr eax, 8
shr edx, 0x10
mov byte [edi + 4], al
mov eax, dword [ebp + 0xc]
mov byte [edi + 5], cl
mov ecx, dword [ebp - 0x10]
mov byte [edi + 3], dl
add esp, 4
add edi, 8
dec dword [ebp - 0xc]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
jne 0x469394
pop edi
mov edx, ebx
pop ebx
mov dword [eax + 0x104c], ecx
mov dword [eax + 0x1048], edx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [eax + 0x104c], esi
mov dword [eax + 0x1048], edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46ae30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x46ae5f
push esi
push edi
movzx esi, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, esi
shr eax, 8
xor eax, dword [edi*4 + 0x4e1b10]
inc edx
dec ecx
jne 0x46ae42
pop edi
pop esi
pop ebp
ret

Function at 0x46b2b0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea edx, [ebp - 0x10]
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
push edx
mov eax, 0x1c
mov ecx, 0x4e1f90
call fcn.0046b260
mov edi, eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x1c
mov ecx, 0x4e2000
call fcn.0046b260
mov ebx, eax
mov eax, dword [ebp + 8]
mov esi, 0x4e2170
add esp, 8
sub eax, esi
mov dword [ebp - 4], eax
lea esp, [esp]
mov eax, dword [esi]
mov edx, edi
mov ecx, 0x1c
sub ecx, eax
shr edx, cl
mov dword [ebp - 8], ecx
mov ecx, eax
shl edi, cl
mov ecx, dword [ebp - 8]
or edi, edx
mov edx, ebx
shr edx, cl
mov ecx, eax
shl ebx, cl
lea eax, [ebp - 0x10]
push eax
and edi, 0xfffffff
or ebx, edx
and ebx, 0xfffffff
mov eax, 0x20
mov ecx, 0x4e2070
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edi
call fcn.0046b260
mov ecx, dword [ebp - 4]
mov dword [ecx + esi], eax
lea edx, [ebp - 0x10]
push edx
mov eax, 0x20
mov ecx, 0x4e20f0
call fcn.0046b260
mov ecx, dword [ebp - 4]
mov dword [ecx + esi + 0x40], eax
add esi, 4
add esp, 8
cmp esi, 0x4e21b0
jl 0x46b300
mov eax, dword [ebp + 8]
pop edi
xor ecx, ecx
pop esi
mov dword [eax + 0x84], ecx
mov dword [eax + 0x80], ecx
pop ebx
mov esp, ebp
pop ebp
ret