joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e840
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4934d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
lea eax, [esp + 0xc]
push eax
push 0x20006
push edi
push str.SYSTEMCurrentControlSetServices360bpsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x40e8eb
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push 8
lea eax, [esp + 0x10]
push eax
push 0xb
push edi
push 0x4a6ae8
mov dword [esp + 0x2c], edi
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40e8f7
mov dword [esp + 0x24], 0xffffffff
cmp esi, edi
je 0x40e8e7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
xor eax, eax
jmp 0x40e913
mov dword [esp + 0x24], 0xffffffff
xor eax, eax
jmp 0x40e913
mov dword [esp + 0x24], 0xffffffff
cmp esi, edi
je 0x40e90e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, 1
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x40e930
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4934d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
lea eax, [esp + 0xc]
push eax
push 0x20019
push edi
push str.SYSTEMCurrentControlSetServices360bpsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x40e9e0
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x30]
push edx
lea eax, [esp + 0x18]
push eax
push edi
push ecx
mov dword [esp + 0x2c], edi
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x40e9c5
cmp dword [esp + 0x10], 4
je 0x40e9ec
mov dword [esp + 0x24], 0xffffffff
cmp esi, edi
je 0x40e9dc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
xor eax, eax
jmp 0x40ea08
mov dword [esp + 0x24], 0xffffffff
xor eax, eax
jmp 0x40ea08
mov dword [esp + 0x24], 0xffffffff
cmp esi, edi
je 0x40ea03
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, 1
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x40ea20
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4934d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
lea eax, [esp + 0xc]
push eax
push 0x20019
push edi
push str.SYSTEMCurrentControlSetServices360bpsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x40ead0
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
push edx
lea eax, [esp + 0x18]
push eax
push edi
push 0x4a6ae8
mov dword [esp + 0x2c], edi
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x40eab5
cmp dword [esp + 0x10], 0xb
je 0x40eadc
mov dword [esp + 0x24], 0xffffffff
cmp esi, edi
je 0x40eacc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
xor eax, eax
jmp 0x40eaf8
mov dword [esp + 0x24], 0xffffffff
xor eax, eax
jmp 0x40eaf8
mov dword [esp + 0x24], 0xffffffff
cmp esi, edi
je 0x40eaf3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, 1
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x40eef0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push str.SYSTEMCurrentControlSet_services360bpsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40ef3a
mov edx, dword [esp]
push 4
lea ecx, [esp + 8]
push ecx
push 4
push str.DelayedAutostart
push eax
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret
Function at 0x40ef40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xdc
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0xd4], eax
push esi
push edi
lea eax, [esp + 8]
push eax
mov edi, 1
mov esi, ecx
push edi
push 0
mov edx, str.Software360360se6Chrome
mov ecx, SysReAllocString
mov dword [esp + 0x14], 0
call fcn.0040ed90
add esp, 0xc
test eax, eax
je 0x40ef9c
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.00471eba
add esp, 0xdc
ret
push 0xc8
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.00476ef0
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x4a5b14
push ecx
mov dword [esp + 0x24], 0xc6
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40efdc
xor edi, edi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40eff0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00402bd0
mov ecx, dword [esp + 0xdc]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00471eba
add esp, 0xdc
ret

Function at 0x40f030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x494d48
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4bd450]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
cmp dword [esp + 0x30], 0
mov edi, 8
je 0x40f0cb
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], edi
jae 0x40f074
lea eax, [esp + 0x20]
mov ecx, dword [str.360secore]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push ecx
push eax
call esi
test eax, eax
je 0x40f0a4
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], edi
jae 0x40f096
lea eax, [esp + 0x20]
mov edx, dword [str.360secore3]
push edx
push eax
call esi
test eax, eax
jne 0x40f0cb
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x34], edi
jb 0x40f0bf
mov eax, dword [esp + 0x20]
push eax
call fcn.00471eaf
add esp, 4
xor ecx, ecx
mov word [esp + 0x20], cx
lea eax, [ecx + 1]
jmp 0x40f0ed
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x34], edi
jb 0x40f0e6
mov edx, dword [esp + 0x20]
push edx
call fcn.00471eaf
add esp, 4
xor eax, eax
mov word [esp + 0x20], ax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 7
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
Function at 0x40f290
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
push esi
add eax, eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
push 0
mov dword [edi], 0
mov ecx, dword [eax]
push str.Path
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40f2fe
mov eax, dword [esp + 8]
cmp eax, 1
je 0x40f2cf
cmp eax, 2
jne 0x40f2ea
mov eax, dword [esp]
test esi, esi
je 0x40f2f8
test eax, eax
je 0x40f2f3
test al, 1
jne 0x40f2ea
mov edx, eax
shr edx, 1
cmp word [esi + edx*2 - 2], 0
je 0x40f2f8
mov eax, 0xd
pop ecx
ret 4
xor ecx, ecx
mov word [esi], cx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 4

Function at 0x40f410
Capabilities:
Get logon sessions

Disassembly:
sub esp, 0xc
push ebp
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
or ebp, 0xffffffff
call sub.Secur32.dll_LsaEnumerateLogonSessions
test eax, eax
je 0x40f441
or eax, ebp
pop ebp
add esp, 0xc
ret
push esi
xor esi, esi
mov dword [esp + 8], 0
cmp dword [esp + 0xc], esi
jbe 0x40f494
mov eax, dword [esp + 0x10]
lea edx, [esp + 8]
push edx
lea ecx, [eax + esi*8]
push ecx
call sub.Secur32.dll_LsaGetLogonSessionData
test eax, eax
mov eax, dword [esp + 8]
jne 0x40f47e
cmp dword [eax + 0x24], 2
je 0x40f487
push eax
call sub.Secur32.dll_LsaFreeReturnBuffer
xor eax, eax
mov dword [esp + 8], eax
inc esi
cmp esi, dword [esp + 0xc]
jb 0x40f452
jmp 0x40f48a
mov ebp, dword [eax + 0x28]
test eax, eax
je 0x40f494
push eax
call sub.Secur32.dll_LsaFreeReturnBuffer
mov edx, dword [esp + 0x10]
push edx
call sub.Secur32.dll_LsaFreeReturnBuffer
pop esi
mov eax, ebp
pop ebp
add esp, 0xc
ret
Function at 0x41b760
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
test eax, eax
je 0x41b90e
test edx, edx
je 0x41b90e
mov dword [edx + 0xf0], 0xa
movzx ecx, byte [eax]
push esi
movzx esi, byte [eax + 1]
shl ecx, 8
xor ecx, esi
movzx esi, byte [eax + 2]
push edi
shl ecx, 8
xor ecx, esi
movzx esi, byte [eax + 3]
shl ecx, 8
xor ecx, esi
mov dword [edx], ecx
movzx esi, byte [eax + 4]
movzx edi, byte [eax + 5]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 6]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 7]
shl esi, 8
xor esi, edi
mov dword [edx + 4], esi
movzx esi, byte [eax + 8]
movzx edi, byte [eax + 9]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xa]
lea ecx, [edx + 4]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xb]
shl esi, 8
xor esi, edi
mov dword [edx + 8], esi
movzx esi, byte [eax + 0xc]
movzx edi, byte [eax + 0xd]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl esi, 8
xor esi, edi
shl esi, 8
xor esi, eax
mov dword [edx + 0xc], esi
mov eax, esi
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4a3cc8]
xor eax, 0x1000000
mov edi, esi
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x4a40c8]
and edi, 0xff0000
and eax, 0xff000000
xor eax, edi
mov edi, esi
shr edi, 0x18
movzx edi, byte [edi*4 + 0x4a38c8]
xor eax, edi
mov edi, esi
and edi, 0xff
mov edi, dword [edi*4 + 0x4a34c8]
and edi, 0xff00
xor eax, edi
xor eax, dword [edx]
mov edi, dword [ecx]
xor edi, eax
mov dword [edx + 0x10], eax
mov eax, dword [edx + 8]
xor eax, edi
mov dword [edx + 0x18], eax
xor eax, esi
mov dword [edx + 0x14], edi
mov dword [edx + 0x1c], eax
mov esi, 0x4a55cc
mov edi, edi
mov edx, dword [ecx + 0x18]
add ecx, 0x10
mov eax, edx
shr eax, 8
mov edi, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x4a40c8]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x4a3cc8]
and eax, 0xff0000
and edi, 0xff000000
xor eax, edi
mov edi, edx
and edx, 0xff
mov edx, dword [edx*4 + 0x4a34c8]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x4a38c8]
xor eax, edi
and edx, 0xff00
xor eax, edx
xor eax, dword [ecx - 4]
add esi, 4
xor eax, dword [esi - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ecx]
xor edx, eax
mov dword [ecx + 0x10], edx
mov eax, dword [ecx + 4]
xor eax, edx
mov dword [ecx + 0x14], eax
mov edx, dword [ecx + 8]
xor edx, eax
mov dword [ecx + 0x18], edx
cmp esi, 0x4a55f0
jne 0x41b880
pop edi
xor eax, eax
pop esi
ret
or eax, 0xffffffff
ret
Function at 0x41b920
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov edx, ebx
call fcn.0041b760
test eax, eax
jl 0x41bb58
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
push edi
test edx, edx
jle 0x41b98d
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
mov edi, edi
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x41b950
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x41bb54
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x4a38c8]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4a38c8]
and esi, 0xff
mov esi, dword [esi*4 + 0x4a44c8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4a4cc8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4a38c8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4a50c8]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x4a38c8]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4a48c8]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x4a38c8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4a38c8]
and esi, 0xff
mov esi, dword [esi*4 + 0x4a44c8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4a4cc8]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x4a38c8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4a48c8]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4a38c8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4a50c8]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x4a38c8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4a38c8]
and esi, 0xff
mov esi, dword [esi*4 + 0x4a44c8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4a4cc8]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x4a38c8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4a48c8]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4a38c8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4a50c8]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x4a38c8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4a38c8]
and esi, 0xff
mov esi, dword [esi*4 + 0x4a44c8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4a4cc8]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x4a38c8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4a38c8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4a48c8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4a50c8]
inc edx
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x41b9a1
pop edi
xor eax, eax
pop esi
pop ebx
ret
Function at 0x41c700
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [esp + 0x30]
mov esi, ecx
mov ebp, eax
cmp ebx, 0x10
jb 0x41c76e
shr ebx, 4
mov dword [esp + 0x10], ebx
mov ecx, edi
sub ebp, esi
mov eax, esi
sub ecx, esi
mov edx, 4
mov edi, edi
mov ebx, dword [eax + ebp]
xor ebx, dword [eax]
add eax, 4
sub edx, 1
mov dword [ecx + eax - 4], ebx
jne 0x41c730
mov eax, dword [esp + 0x2c]
push eax
push edi
push edi
call fcn.0041bb60
mov ebx, dword [esp + 0x34]
mov ebp, edi
sub ebx, 0x10
add esp, 0xc
add esi, 0x10
add edi, 0x10
sub dword [esp + 0x10], 1
mov dword [esp + 0x28], ebx
jne 0x41c721
mov eax, dword [esp + 0x30]
test ebx, ebx
je 0x41c86d
mov ecx, edi
sub ecx, esi
mov dword [esp + 0x14], ecx
mov ecx, 1
sub ecx, esi
mov dword [esp + 0x18], ecx
mov ecx, 2
sub ecx, esi
mov dword [esp + 0x1c], ecx
mov edx, ebp
sub edx, esi
mov ecx, 3
xor eax, eax
sub ecx, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ecx
jmp 0x41c7b4
mov edx, dword [esp + 0x10]
cmp eax, ebx
jae 0x41c822
mov ebx, dword [esp + 0x14]
lea ecx, [eax + esi]
mov dl, byte [edx + ecx]
xor dl, byte [ecx]
mov byte [ebx + ecx], dl
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
add edx, ecx
cmp edx, ebx
jae 0x41c817
mov dl, byte [eax + ebp + 1]
xor dl, byte [eax + esi + 1]
mov byte [eax + edi + 1], dl
mov edx, dword [esp + 0x1c]
add edx, ecx
cmp edx, ebx
jae 0x41c81a
mov dl, byte [eax + esi + 2]
xor dl, byte [eax + ebp + 2]
mov byte [eax + edi + 2], dl
mov edx, dword [esp + 0x20]
add edx, ecx
cmp edx, ebx
jae 0x41c81f
mov cl, byte [eax + ebp + 3]
xor cl, byte [eax + esi + 3]
add eax, 4
mov byte [eax + edi - 1], cl
cmp eax, 0x10
jb 0x41c7b0
jmp 0x41c83e
inc eax
jmp 0x41c822
add eax, 2
jmp 0x41c822
add eax, 3
cmp eax, 0x10
jae 0x41c83e
mov edx, 0x10
sub ebp, edi
lea ecx, [eax + edi]
sub edx, eax
mov al, byte [ecx + ebp]
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x41c833
mov ecx, dword [esp + 0x2c]
push ecx
push edi
push edi
call fcn.0041bb60
add esp, 0xc
mov ebp, edi
cmp ebx, 0x10
jbe 0x41c869
sub ebx, 0x10
add esi, 0x10
add edi, 0x10
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x41c776
mov eax, dword [esp + 0x30]
mov edx, dword [ebp]
mov dword [eax], edx
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
pop edi
mov dword [eax + 8], edx
mov ecx, dword [ebp + 0xc]
pop esi
pop ebp
mov dword [eax + 0xc], ecx
pop ebx
add esp, 0x14
ret
Function at 0x41cff0
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor eax, eax
push 0x1000
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [ebx + 0x90]
push 0x4a24c8
mov ecx, 0x12
mov esi, 0x4a2480
mov edi, ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00478590
add esp, 0xc
xor edi, edi
mov esi, 2
jmp 0x41d040
xor edx, edx
lea eax, [esi - 2]
mov ecx, 0x38
div ecx
lea eax, [esi - 1]
inc edi
movzx ecx, byte [edx + ebp]
xor edx, edx
mov ebp, 0x38
div ebp
mov eax, dword [esp + 0x20]
shl ecx, 8
movzx edx, byte [edx + eax]
or ecx, edx
xor edx, edx
mov eax, esi
div ebp
mov eax, dword [esp + 0x20]
shl ecx, 8
movzx edx, byte [edx + eax]
or ecx, edx
lea eax, [esi + 1]
xor edx, edx
div ebp
mov ebp, dword [esp + 0x20]
shl ecx, 8
add esi, 4
movzx eax, byte [edx + ebp]
or ecx, eax
xor dword [ebx + edi*4 - 4], ecx
cmp edi, 0x12
jb 0x41d040
push ebx
lea ecx, [esp + 0x14]
mov eax, ebx
call fcn.0041cdb0
add esp, 4
mov ecx, ebx
mov edi, 8
lea esi, [ecx + 8]
push esi
mov eax, ebx
call fcn.0041cdb0
add esp, 4
sub edi, 1
mov ecx, esi
jne 0x41d0b3
lea esi, [ebx + 0x90]
push esi
lea ecx, [ebx + 0x40]
mov eax, ebx
call fcn.0041cdb0
add esp, 4
mov ecx, esi
mov edi, 0x1ff
lea esi, [ecx + 8]
push esi
mov eax, ebx
call fcn.0041cdb0
add esp, 4
sub edi, 1
mov ecx, esi
jne 0x41d0e3
xor eax, eax
lea ecx, [ebx + 0x8c]
mov edx, dword [ebx + eax*4]
mov dword [ecx], edx
inc eax
sub ecx, 4
cmp eax, 0x12
jb 0x41d100
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x41d380
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov esi, eax
test dl, 7
je 0x41d39d
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [0x4ebeb8]
mov ecx, dword [0x4ebebc]
xor edi, edi
shr edx, 3
xor ebx, ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edx
jb 0x41d407
ja 0x41d3bf
test edx, edx
jbe 0x41d407
xor dword [esi], eax
xor dword [esi + 4], ecx
push 1
push esi
mov eax, ebp
mov edx, esi
call fcn.0041d120
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, eax
xor edx, dword [0x4ebec0]
add esp, 8
mov dword [esi], edx
mov edx, ecx
xor edx, dword [0x4ebec4]
add esi, 8
add dword [esp + 0x10], 1
mov dword [esi - 4], edx
adc edi, ebx
cmp edi, ebx
jb 0x41d3bf
ja 0x41d407
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x10], edx
jb 0x41d3bf
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret

Function at 0x41d4a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
xor eax, eax
push edi
mov edi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
push edi
mov eax, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0041ddf0
lea esi, [esp + 0xc]
lea ecx, [esp + 0x68]
call fcn.0041de90
movzx eax, byte [esp + 0x68]
movzx ecx, byte [esp + 0x69]
movzx edx, byte [esp + 0x6a]
mov byte [0x512155], al
movzx eax, byte [esp + 0x6b]
mov byte [0x512156], cl
movzx ecx, byte [esp + 0x6c]
mov byte [0x512158], dl
movzx edx, byte [esp + 0x6d]
mov byte [0x51215b], al
movzx eax, byte [esp + 0x6e]
mov byte [0x51215d], cl
movzx ecx, byte [esp + 0x6f]
mov byte [0x51215e], dl
movzx edx, byte [esp + 0x70]
mov byte [0x512161], al
movzx eax, byte [esp + 0x71]
mov byte [0x512163], cl
movzx ecx, byte [esp + 0x72]
mov byte [0x512166], dl
movzx edx, byte [esp + 0x73]
mov byte [0x512169], al
movzx eax, byte [esp + 0x74]
mov byte [0x51216d], cl
movzx ecx, byte [esp + 0x75]
mov byte [0x51216f], dl
movzx edx, byte [esp + 0x76]
mov byte [0x512175], al
movzx eax, byte [esp + 0x77]
push 0x512154
add edi, 0x10
push edi
mov byte [0x51217b], cl
mov byte [0x512183], dl
mov byte [0x512188], al
call fcn.0041cff0
mov ecx, dword [esp + 0x80]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.00471eba
mov esp, ebp
pop ebp
ret

Function at 0x41d6e0
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret