joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406620
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
lea esi, [eax + 0x18]
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
lock sub dword [ebx + 0xc], 1
je 0x406660
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [edx + 4], eax
mov edx, dword [ebx]
mov dword [eax], edx
mov eax, dword [ebx + 0x18]
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x1c]
sub esp, 4
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x20]
sub esp, 4
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x24]
sub esp, 4
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x406645
Function at 0x4066e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x80]
cmp dword [ebx + 0x80], eax
je 0x406717
mov dword [esp + 8], 0x92
mov dword [esp + 4], str..._wine_programs_services_services.c
mov dword [esp], str.list_empty_entry__handles_
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [ebx + 0x30]
mov edi, dword fs:[0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebx + 0x10]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x40]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x4c]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x44]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x50]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x54]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x5c]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x60]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x64]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x68]
sub esp, 0xc
test eax, eax
je 0x406847
mov dword [esp], eax
call fcn.00406620
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x406890
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + 8]
lea esi, [edi + 0x18]
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
lock sub dword [ebx + 0xc], 1
jne 0x4068bc
mov eax, dword [ebx + 0x74]
test eax, eax
jne 0x4068d0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x10]
mov dword [esp + 4], eax
mov eax, dword [edi]
mov dword [esp], eax
call sub.advapi32.dll_RegDeleteTreeW
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
sub esp, 8
mov dword [edx + 4], eax
mov edx, dword [ebx]
mov dword [eax], edx
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov dword [esp], ebx
call fcn.004066e0
jmp 0x4068bc
Function at 0x4074f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov edi, dword [esi + 8]
lea eax, [edi + 0x18]
add edi, 0x10
mov dword [ebp - 0x1c], eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [esp + 4], 0
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov ebx, dword [edi]
sub esp, 8
cmp edi, ebx
jne 0x40753e
jmp 0x407563
mov ebx, dword [ebx]
cmp ebx, edi
je 0x407563
cmp dword [ebx + 0x68], esi
jne 0x407538
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x68], 0
sub dword [esi + 0x10], 1
mov dword [esp], esi
call fcn.00406620
mov ebx, dword [ebx]
cmp ebx, edi
jne 0x40753e
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4092e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x409358
cmp word [ebx], 0
je 0x409360
mov eax, ebx
lea esi, [esi]
lea edi, [edi]
add eax, 2
cmp word [eax], 0
jne 0x409300
sub eax, ebx
add eax, 2
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x409358
xor edx, edx
lea esi, [esi]
movzx ecx, word [ebx + edx]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x409340
mov ebx, dword [ebp - 4]
leave
ret
mov ebx, dword [ebp - 4]
xor eax, eax
leave
ret
mov eax, 2
jmp 0x40930e
Function at 0x409610
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x20]
lea esi, [ebp - 0x1c]
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], edi
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExW
sub esp, 0x18
test eax, eax
je 0x4096a0
mov ebx, eax
xor ecx, ecx
cmp eax, 2
je 0x409798
test byte [0x418080], 2
jne 0x4096c4
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x1c]
cmp eax, 7
je 0x409708
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x4096b4
cmp eax, 1
je 0x409708
mov ebx, 0x70c
xor ecx, ecx
test byte [0x418080], 2
je 0x40966f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
call fcn.004090c0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.Error__d_while_reading_value__s_n
mov dword [esp + 8], str.load_reg_multisz
mov dword [esp + 4], 0x418080
mov dword [esp], 1
call fcn.00408fd0
mov ecx, dword [ebp - 0x2c]
jmp 0x40966f
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
add eax, 4
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], edi
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExW
mov ecx, dword [ebp - 0x2c]
sub esp, 0x18
test eax, eax
mov ebx, eax
jne 0x409666
mov eax, dword [ebp - 0x20]
xor edx, edx
xor esi, esi
and eax, 0xfffffffe
mov word [ecx + eax], dx
mov eax, dword [ebp - 0x20]
and eax, 0xfffffffe
mov word [ecx + eax + 2], si
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 2
xor ebx, ebx
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp + 0x14]
sub esp, 0xc
mov dword [edx], eax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4097e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea edx, [ebp - 0x10]
sub esp, 0x30
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], 4
mov dword [eax], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], edx
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExW
sub esp, 0x18
mov ebx, eax
test eax, eax
je 0x409888
cmp eax, 2
je 0x4098b0
test byte [0x418080], 2
jne 0x409848
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov eax, esi
call fcn.004090c0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.Error__d_while_reading_value__s_n
mov dword [esp + 8], str.load_reg_dword
mov dword [esp + 4], 0x418080
mov dword [esp], 1
call fcn.00408fd0
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebp - 0xc]
sub eax, 3
cmp eax, 1
ja 0x409899
cmp dword [ebp - 0x10], 4
je 0x40983b
mov ebx, 0x70c
test byte [0x418080], 2
je 0x40983b
jmp 0x409848
lea esp, [ebp - 8]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x4162c0
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_narrow_argv
call sub.ucrtbase.dll__initialize_narrow_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___argv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00416ed0
mov dword [esp], eax
call 0x416330
jmp dword [sym.imp.ucrtbase.dll_exit]
Function at 0x4663cc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4151cc]
call fcn.004049a0
xor eax, eax
push ebp
push 0x466510
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4db44c], 0
jne 0x46641f
mov ecx, dword [0x4e69f4]
mov dl, 1
mov eax, dword [0x40746c]
call fcn.0040c194
call fcn.004039a4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402bec
mov eax, ebx
call fcn.00404850
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x466520
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405af4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404860
test eax, eax
jle 0x4664b7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4664b0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404294
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040427c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040833c
test eax, eax
jne 0x4664b0
mov ebx, 0x15
jmp 0x4664bc
mov ebx, 0x10
jmp 0x4664bc
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4db44c]
call fcn.00466324
mov eax, dword [ebp - 8]
call fcn.00466324
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405b0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466517
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404030
lea eax, [ebp - 0x10]
mov edx, dword [0x4151cc]
call fcn.00404a70
ret

Function at 0x46f79c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46f7ca
mov eax, ebx
call fcn.00470250
cmp dword [ebx + 0x40], 0
je 0x46f7c3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46f83b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46f82d
cmp dword [ebx + 8], 0
je 0x46f7ec
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46f7fe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46f82d
cmp dword [ebx + 8], 0
je 0x46f7df
cmp eax, 3
je 0x46f811
dec eax
jne 0x46f7df
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46f7df
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46f7df
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46f859
cmp dword [ebx + 0x14], 0xcc
je 0x46f859
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046f864
pop ebx
ret
Function at 0x48011c
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00480cec
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x480be8
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x40
jle 0x480c2d
lea eax, [ebp - 0x60]
call fcn.0048011c
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.00480144
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.00480214
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x480c2f
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x480c56
mov bl, byte [esi]
xor bl, 0x36
mov byte [eax], bl
mov bl, byte [esi]
xor bl, 0x5c
mov byte [edx], bl
inc esi
jmp 0x480c5c
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x480c3d
lea eax, [ebp - 0x60]
call fcn.0048011c
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.00480144
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.00480ac8
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.00480214
lea eax, [ebp - 0x60]
call fcn.0048011c
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.00480144
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.00480144
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.00480214
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x486e50
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
xor esi, esi
mov ebx, dword [esp]
jmp 0x486e64
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x486e63
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
shl eax, 2
mov ebx, eax
mov eax, edi
mov edx, ebx
call fcn.00404658
xor ebx, ebx
cmp esi, dword [esp]
jge 0x486fcd
inc ebx
mov eax, edi
call fcn.00404524
mov dl, byte [ebp + esi]
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov dl, byte [edx + 0x4dbfe0]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x486f85
inc ebx
mov eax, edi
call fcn.00404524
mov dl, byte [ebp + esi]
and dl, 3
and edx, 0xff
shl edx, 4
mov cl, byte [ebp + esi + 1]
and cl, 0xf0
and ecx, 0xff
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x4dbfe0]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x486f54
inc ebx
mov eax, edi
call fcn.00404524
mov dl, byte [ebp + esi + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov cl, byte [ebp + esi + 2]
and cl, 0xc0
and ecx, 0xff
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x4dbfe0]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404524
mov dl, byte [ebp + esi + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x4dbfe0]
mov byte [eax + ebx - 1], dl
jmp 0x486fc1
inc ebx
mov eax, edi
call fcn.00404524
mov dl, byte [ebp + esi + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov dl, byte [edx + 0x4dbfe0]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404524
mov byte [eax + ebx - 1], 0x3d
jmp 0x486fc1
inc ebx
mov eax, edi
call fcn.00404524
mov dl, byte [ebp + esi]
and dl, 3
and edx, 0xff
shl edx, 4
mov dl, byte [edx + 0x4dbfe0]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404524
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00404524
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x486e95
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4887e0
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x4dc140
mov ecx, dword [esp]
lea edx, [esp + 0xc]
xor ebx, ebx
mov bl, byte [edi]
mov bl, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x4887ff
mov esi, 1
mov edx, 0x4dc248
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
shl ecx, 2
xor ebx, ebx
mov bl, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
xor ebx, ebx
mov bl, byte [esp + eax + 0x11]
add edi, ebx
xor ebx, ebx
mov bl, byte [esp + eax + 0xd]
shl ebx, 3
movzx ebp, byte [esp + eax + 0xe]
shl ebp, 2
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x488879
dec ebx
je 0x48889d
dec ebx
je 0x4888c1
dec ebx
je 0x4888e4
jmp 0x4888fd
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 8
and ebx, 0xff
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4888fd
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 4
and ebx, 0xff
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4888fd
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 2
and ebx, 0xff
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4888fd
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x488866
inc esi
add edx, 0x40
cmp esi, 9
jne 0x48881b
mov esi, 0x20
mov eax, 0x4dc170
mov edx, dword [esp + 4]
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x488922
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x48895c
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
xor eax, eax
mov al, dl
mov bl, byte [eax + 0x4dc1f7]
test bl, bl
jbe 0x48898d
lea eax, [esi + 0x3e0]
call fcn.0048893c
lea eax, [esi + 0x3fc]
call fcn.0048893c
dec bl
jne 0x488973
mov cl, 0x30
mov edi, 0x4dc1c8
mov eax, dword [esp]
mov dl, byte [edi]
cmp dl, 0x1c
ja 0x4889af
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x4889be
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x488997
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4889cc
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.00488774
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4889e8
mov bl, 0x1c
mov esi, 0x4dc190
lea edi, [ebp - 0x41]
mov dl, byte [esi]
mov eax, dword [ebp - 8]
call fcn.00488774
mov byte [edi], al
mov dl, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.00488774
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x488a04
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.0048895c
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x488a2c
mov bl, 1
mov eax, 0x4dc0c0
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x488a65
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x488a72
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x488a51
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x488a9c
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.004887e0
jmp 0x488ac4
xor eax, eax
mov al, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.004887e0
mov bl, 0x20
lea eax, [ebp - 0xa1]
mov dl, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x488acc
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x488a84
mov bl, 0x40
mov esi, 0x4dc100
lea eax, [ebp - 0x3e1]
mov dl, byte [esi]
cmp dl, 0x20
ja 0x488b32
and edx, 0xff
mov dl, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x488b41
and edx, 0xff
mov dl, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x488b1a
mov bl, 1
lea esi, [ebp - 0x3e1]
mov cl, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.0048879c
inc ebx
inc esi
cmp bl, 0x41
jne 0x488b4f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4