joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4efed0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [ecx + 4]
sub esp, 0x44
test edx, edx
jne 0x4efee3
or eax, 0xffffffff
add esp, 0x44
ret 4
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
lea eax, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x54]
push eax
push 0
push ecx
push edx
mov dword [esp + 0x1c], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 8]
pop edi
add esp, 0x44
ret 4

Function at 0x4eff30
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, ecx
mov eax, dword [edx + 4]
test eax, eax
jne 0x4eff43
mov eax, 0x63b90c
pop ecx
ret 4
push edi
mov ecx, 0x100
xor eax, eax
mov edi, 0x63c66c
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x10]
push 0x63c66c
push ecx
mov ecx, dword [edx + 4]
push 0
push eax
push ecx
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x63c66c
pop edi
pop ecx
ret 4

Function at 0x4eff90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5bcf4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4effe0
mov esi, dword [esp + 0x24]
push 0x63b90c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
push ebp
mov ebp, dword [esp + 0x30]
push edi
push ebp
call sub.MFC42.DLL_operatornew
mov ecx, ebp
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x30]
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [ebx + 4]
push esi
push ecx
push 0
push edx
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_3
mov edi, 1
push esi
mov dword [esp + 0x28], edi
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x30]
add esp, 4
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], edi
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc

Function at 0x4f00a0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [edx + 4]
push esi
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 8
Function at 0x4f0120
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x60], eax
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
mov dword [ecx + 0x14], 0xc3d2e1f0
mov byte [ecx + 0x64], al
mov byte [ecx + 0x65], al
ret
Function at 0x4f0550
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5bcfc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [esi + 8]
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_1
lea edi, [esi + 0x10]
mov byte [esp + 0x18], 2
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 6
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 0x2c], 0x5d6854
mov dword [esi + 0x30], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
push 0x62b230
mov ecx, edi
mov byte [esp + 0x1c], 8
mov dword [esi], 0x5d683c
call sub.MFC42.DLL_CString::operator
push 0x4c
mov ecx, esi
call fcn.004f09a0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4f14b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bd230
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x4f150f
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 1
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0x400
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
mov dword [esi + 0x2c], eax
jne 0x4f1562
push str.Not_enough_memory
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
lea edi, [esi + 0x18]
push 0x3f
push 1
push ebx
mov ecx, edi
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CAsyncSocket::Create
test eax, eax
jne 0x4f1597
push str.Unable_to_create_the_socket
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi + 0x2c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x2c], ebx
jmp 0x4f1540
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004f1490
mov ebx, dword [eax]
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004f1a70
push eax
push ebx
mov ecx, edi
call sub.MFC42.DLL_CAsyncSocket::Connect
test eax, eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4f15e3
push str.Unable_to_connect_to_server
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x18]
jmp 0x4f1644
push 1
mov ecx, esi
call fcn.004f1fc0
test eax, eax
jne 0x4f15ff
push str.Server_didnt_respond
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator
jmp 0x4f163d
lea ecx, [ebp - 0x6c]
push 0x50
push ecx
call sub.WSOCK32.dll_gethostname
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x14]
push edx
push str.HELO__s__r_n
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x14]
mov edx, dword [edi]
add esp, 0xc
mov ecx, dword [eax - 8]
push 0
push ecx
push eax
mov ecx, edi
call dword [edx + 0x20]
push 0
mov ecx, esi
call fcn.004f1fc0
test eax, eax
jne 0x4f165c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
mov eax, dword [esi + 0x2c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x2c], 0
jmp 0x4f1540
lea ecx, [ebp - 0x14]
mov dword [esi + 8], 1
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f2bf0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x10
xor eax, eax
mov dword [esp], eax
mov word [esp], 2
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4f2c42
push eax
call sub.WSOCK32.dll_htonl
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], eax
push ecx
call sub.WSOCK32.dll_htons
mov word [esp + 2], ax
mov eax, dword [esp + 0x14]
lea edx, [esp]
push 0x10
push edx
push eax
call sub.WSOCK32.dll_bind
add esp, 0x10
ret
push eax
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x4f2c1a
push 0x2726
call sub.WSOCK32.dll_WSASetLastError
xor eax, eax
add esp, 0x10
ret
Function at 0x4f31e0
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
sub esp, 0x174
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
push 0x63cac0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push str.CERT
push 0xb2
push 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov dword [esp + 0x1c], eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push str.CERT
push 0xb1
push 0
mov dword [esp + 0x24], eax
call edi
mov esi, eax
push esi
push 0
call ebp
push esi
push 0
mov ebp, eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0x63cac0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esp + 0x80]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x7f], 0x5c
je 0x4f329f
mov byte [esp + ecx + 0x80], 0x5c
mov byte [esp + ecx + 0x81], 0
mov edi, str.RootCert.pem
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x1c], al
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x188]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x18
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18c]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x8c]
push 0
push eax
push ebp
push ebx
push ecx
push edx
call sub.SSLEAY32.dll_Ordinal_341
mov ecx, dword [esp + 0x34]
push eax
call sym.ETermProxy.exe_public:_int___thiscall_CSslClientSocket::SockConnect_struct_ssl_method_st___char___int__char___int__char___char___char_const___unsigned_int__char__
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret 8
Function at 0x4f33a0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
lea edi, [ecx + 0x23]
mov ecx, 0xe
or eax, 0xffffffff
mov ebp, dword [esp + 0x58]
xor edx, edx
rep stosd dword es:[edi], eax
mov ecx, 0x10
or eax, 0xffffffff
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
xor edi, edi
mov al, byte [edi + ebp]
lea esi, [edx + 1]
mov byte [esp + 0x58], al
xor eax, eax
mov bl, byte [esp + 0x58]
mov cl, 7
sub cl, al
shr bl, cl
and bl, 1
mov byte [esp + edx + 0x14], bl
inc edx
inc esi
mov ecx, esi
and ecx, 0x80000007
jns 0x4f33fc
dec ecx
or ecx, 0xfffffff8
inc ecx
jne 0x4f3400
inc edx
inc esi
inc eax
cmp eax, 8
jl 0x4f33da
inc edi
cmp edi, 7
jl 0x4f33ce
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
movsx edx, byte [eax + 0x5d69c4]
mov ecx, dword [esp]
mov dl, byte [esp + edx + 3]
add ecx, 0x23
mov byte [ecx + eax], dl
inc eax
cmp eax, 0x38
jl 0x4f3412
mov eax, dword [esp]
lea ecx, [eax + 0x23]
lea edx, [eax + 0x3f]
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], edx
add esp, 0x44
ret 4

Function at 0x4f3450
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x10
or eax, 0xffffffff
lea edi, [esp + 0x14]
mov dword [esp + 0x10], ebp
add ebp, 0x64
rep stosd dword es:[edi], eax
mov ecx, 0xe
or eax, 0xffffffff
mov edi, ebp
xor esi, esi
rep stosd dword es:[edi], eax
xor edi, edi
mov eax, dword [esp + 0x58]
mov dl, byte [edi + eax]
xor eax, eax
mov cl, 7
mov bl, dl
sub cl, al
shr bl, cl
and bl, 1
mov byte [esp + esi + 0x14], bl
inc esi
inc eax
cmp eax, 8
jl 0x4f3487
inc edi
cmp edi, 8
jl 0x4f347e
xor eax, eax
movsx ecx, byte [eax + 0x5d68f4]
inc eax
mov dl, byte [esp + ecx + 0x13]
cmp eax, 0x40
mov byte [eax + ebp - 1], dl
jl 0x4f34a5
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax + 0xa4], ebp
lea ecx, [eax + 0x84]
pop ebp
mov dword [eax + 0xa8], ecx
pop ebx
add esp, 0x44
ret 4

Function at 0x4f3560
Capabilities:
Encrypt data using des

Disassembly:
xor eax, eax
movsx edx, byte [eax + 0x5d69fc]
inc eax
mov dl, byte [edx + ecx + 0x22]
cmp eax, 0x30
mov byte [ecx + eax + 0xab], dl
jl 0x4f3562
ret

Function at 0x4f3580
Capabilities:
Encrypt data using des

Disassembly:
mov edx, ecx
push esi
push edi
mov ecx, 0xc
lea esi, [edx + 0xdc]
or eax, 0xffffffff
mov edi, esi
rep stosd dword es:[edi], eax
xor eax, eax
movsx ecx, byte [eax + 0x5d6974]
mov edi, dword [edx + 0xa8]
inc eax
cmp eax, 0x30
mov cl, byte [ecx + edi - 1]
mov byte [esi + eax - 1], cl
jl 0x4f3598
pop edi
pop esi
ret

Function at 0x4f35c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xffffff24
push ebx
lea eax, [ecx + 0xdc]
sub edx, ecx
mov cl, byte [eax - 0x30]
mov bl, byte [eax]
xor bl, cl
mov byte [eax], bl
inc eax
lea ecx, [edx + eax]
cmp ecx, 0x30
jl 0x4f35ce
pop ebx
ret

Function at 0x4f3660
Capabilities:
Encrypt data using des

Disassembly:
xor eax, eax
movsx edx, byte [eax + 0x5d69a4]
inc eax
mov dl, byte [edx + ecx + 0x10b]
cmp eax, 0x20
mov byte [ecx + eax + 0x12b], dl
jl 0x4f3662
ret
Function at 0x4f3680
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, ecx
mov ecx, 8
or eax, 0xffffffff
push ebx
push esi
push edi
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov al, byte [esp + 0x30]
test al, al
je 0x4f36f4
mov esi, dword [edx + 0xa4]
xor eax, eax
mov cl, byte [edx + eax + 0x12c]
mov bl, byte [esi + eax]
xor cl, bl
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x20
jl 0x4f36a6
xor eax, eax
mov ecx, dword [edx + 0xa8]
mov esi, dword [edx + 0xa4]
mov cl, byte [ecx + eax]
mov byte [esi + eax], cl
inc eax
cmp eax, 0x20
jl 0x4f36be
xor eax, eax
mov ecx, dword [edx + 0xa8]
mov bl, byte [esp + eax + 0xc]
mov byte [ecx + eax], bl
inc eax
cmp eax, 0x20
jl 0x4f36d8
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4
xor eax, eax
mov ecx, dword [edx + 0xa4]
mov bl, byte [ecx + eax]
lea esi, [ecx + eax]
mov cl, byte [edx + eax + 0x12c]
xor bl, cl
inc eax
cmp eax, 0x20
mov byte [esi], bl
jl 0x4f36f6
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4

Function at 0x4f3720
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x40
xor eax, eax
movsx edx, byte [eax + 0x5d6934]
inc eax
mov dl, byte [edx + ecx + 0x63]
cmp eax, 0x40
mov byte [esp + eax - 1], dl
jl 0x4f3725
push esi
push edi
lea edi, [ecx + 0x64]
mov ecx, 0x10
lea esi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
add esp, 0x40
ret
Function at 0x4f5800
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x78
push esi
mov esi, ecx
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x41]
mov byte [esp + 0x40], 0
push 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x88]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, esi
call fcn.004f5f60
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
movsx edx, byte [eax + 0x5d6f8c]
inc eax
mov cl, byte [esp + edx + 0x3f]
cmp eax, 0x38
mov byte [esp + eax + 7], cl
jl 0x4f5849
mov edx, dword [esp + 0x88]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
call fcn.004f5880
pop edi
pop esi
add esp, 0x78
ret 8
Function at 0x4f5880
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xb0
push ebx
push ebp
push esi
mov edx, ecx
push edi
xor ebx, ebx
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0xc4]
mov ecx, 7
mov esi, eax
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x1c]
mov ecx, 7
lea edi, [esp + 0x6c]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x10], eax
lea ecx, [ecx + ecx*2]
shl ecx, 8
add ecx, edx
mov dword [esp + 0x14], ecx
movsx eax, byte [eax + 0x5d6ff4]
mov edx, eax
lea edi, [esp + 0x34]
neg edx
lea esi, [esp + eax + 0x50]
lea ebp, [edx + 0x1c]
mov ecx, ebp
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
lea esi, [esp + 0x50]
mov ebx, ecx
lea edi, [esp + edx + 0x50]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
lea esi, [esp + eax + 0x6c]
mov ebx, ecx
lea edi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
lea esi, [esp + 0x6c]
lea edi, [esp + edx + 0x34]
mov edx, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0xd
lea edi, [esp + 0x89]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
lea esi, [esp + 0x34]
lea edi, [esp + 0x88]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 7
lea esi, [esp + 0x18]
lea edi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
movsx ecx, byte [eax + 0x5d6fc4]
inc eax
mov cl, byte [esp + ecx + 0x87]
cmp eax, 0x30
mov byte [edx + eax - 1], cl
jl 0x4f599a
mov eax, dword [esp + 0x10]
mov ecx, 7
lea esi, [esp + 0x34]
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
inc eax
mov ecx, 7
lea esi, [esp + 0x18]
lea edi, [esp + 0x6c]
add edx, 0x30
cmp eax, 0x10
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x4f58f1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 8
Function at 0x4f5a00
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x100
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x91]
mov byte [esp + 0x90], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xd1]
push 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x118]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x94]
push eax
push ecx
mov ecx, ebp
call fcn.004f5f60
lea edx, [esp + 0x50]
lea eax, [esp + 0x90]
push edx
push eax
mov ecx, ebp
call fcn.004f5de0
mov ecx, 8
lea esi, [esp + 0x50]
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x70]
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x118]
xor esi, esi
push edi
lea ecx, [esp + 0x14]
push esi
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, ebp
call fcn.004f5ca0
inc esi
cmp esi, 0x10
jl 0x4f5acb
mov ecx, 8
lea esi, [esp + 0x10]
lea edi, [esp + 0xd0]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x30]
lea edi, [esp + 0xf0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 0x600]
movsx edx, byte [eax + 0x5d7294]
inc eax
mov dl, byte [esp + edx + 0xcf]
cmp eax, 0x40
mov byte [ecx + eax - 1], dl
jl 0x4f5b10
push 0x40
lea eax, [ebp + 0x680]
push ecx
push eax
mov ecx, ebp
call fcn.004f5fa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 8
Function at 0x4f5b50
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x100
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x91]
mov byte [esp + 0x90], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xd1]
push 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x118]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x94]
push eax
push ecx
mov ecx, ebp
call fcn.004f5f60
lea edx, [esp + 0x50]
lea eax, [esp + 0x90]
push edx
push eax
mov ecx, ebp
call fcn.004f5de0
mov ecx, 8
lea esi, [esp + 0x50]
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x70]
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x118]
xor esi, esi
mov ecx, 0xf
push edi
sub ecx, esi
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, ebp
call fcn.004f5ca0
inc esi
cmp esi, 0x10
jl 0x4f5c1b
mov ecx, 8
lea esi, [esp + 0x10]
lea edi, [esp + 0xd0]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x30]
lea edi, [esp + 0xf0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 0x640]
movsx edx, byte [eax + 0x5d7294]
inc eax
mov dl, byte [esp + edx + 0xcf]
cmp eax, 0x40
mov byte [ecx + eax - 1], dl
jl 0x4f5c67
push 0x40
lea eax, [ebp + 0x688]
push ecx
push eax
mov ecx, ebp
call fcn.004f5fa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 8

Function at 0x4f5de0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
mov ecx, 0x5d7004
push edi
mov edi, dword [esp + 0xc]
sub ecx, eax
mov esi, 0x40
movsx edx, byte [ecx + eax]
inc eax
dec esi
mov dl, byte [edx + edi - 1]
mov byte [eax - 1], dl
jne 0x4f5df6
pop edi
pop esi
ret 8

Function at 0x4f5e10
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
mov ecx, 0x5d7044
push edi
mov edi, dword [esp + 0xc]
sub ecx, eax
mov esi, 0x30
movsx edx, byte [ecx + eax]
inc eax
dec esi
mov dl, byte [edx + edi - 1]
mov byte [eax - 1], dl
jne 0x4f5e26
pop edi
pop esi
ret 8

Function at 0x4f5e40
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jbe 0x4f5e6b
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x1c]
sub ecx, eax
sub esi, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor dl, bl
mov byte [esi + eax], dl
inc eax
dec edi
jne 0x4f5e5b
pop esi
pop ebx
pop edi
ret 0x10