joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f9b0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46fb5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46fb3e
mov dl, 1
mov eax, dword [0x4200b0]
call fcn.00424e60
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
xor edx, edx
call fcn.00405c3c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46fb2d
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045f824
test al, al
je 0x46fb20
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x46fb6c
lea eax, [ebp - 0x394]
call fcn.0040dad4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x46fb20
xor eax, eax
push ebp
push 0x46fb19
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x46fbdc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x46fb02
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00405e24
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x46fb02
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00405e24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fb20
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46fa23
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00424c4c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fb64
lea eax, [ebp - 0x3a0]
call fcn.00405c2c
ret

Function at 0x47054c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4e1374]
cmp byte [eax + 0xa9], 0
jne 0x4705be
cmp dword [0x4e138c], 0
jne 0x47057e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4d5a48]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4e138c], eax
cmp dword [0x4e1388], 0
jne 0x470599
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4e1388], eax
cmp dword [0x4e1390], 0
jne 0x4705be
push esp
push 0
push 0
mov eax, dword [0x4d5a44]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4e1390], eax
pop edx
ret
Function at 0x4707d4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4707eb
add esp, 0xfffffff0
call fcn.00404124
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00429fa4
mov eax, dword [0x4da9b0]
cmp byte [eax], 0
jne 0x470818
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4dad94]
cmp word [eax + 2], 0
jne 0x470832
mov eax, dword [0x4dad94]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004724ac
mov eax, dword [0x4daeec]
cmp word [eax + 2], 0
jne 0x47084c
mov eax, dword [0x4daeec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004726bc
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x42f8e0]
call fcn.00431360
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x472b40
mov dl, 1
mov eax, dword [0x41fbcc]
call fcn.00403cbc
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x41fbcc]
call fcn.00403cbc
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x430138]
call fcn.00436dc4
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x470a28
mov eax, dword [0x4dabc8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004371c8
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x472df0
mov dl, 1
mov eax, dword [0x41fbcc]
call fcn.00403cbc
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4dabc8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040d4dc
test eax, eax
je 0x47095a
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040d18c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040d4c4
test eax, eax
je 0x470972
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00405e24
push ebx
push 0x472104
call fcn.00466f3c
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x4da9b0]
cmp byte [eax], 0
jne 0x4709c3
mov eax, ebx
call fcn.00470b9c
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.00473018
mov eax, ebx
call fcn.00473bdc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x470a20
call fcn.0040417c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470e70
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x470f12
cmp dword [ebx + 0x90], 0
jne 0x470f0c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x470dbc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x470f0c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x470ed2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x470f0c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.00422378
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x470ee1
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x471130
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4e1374]
cmp dword [eax + 0x170], 0
je 0x471295
test bl, bl
jne 0x4711e3
cmp dword [esi + 0x98], 0
jne 0x4711d8
mov eax, esi
call fcn.00473a2c
push eax
push 0x47103c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x4711a9
mov eax, dword [0x4e1374]
cmp byte [eax + 0xcf], 0
je 0x4711a9
mov eax, dword [esi + 0xd4]
call fcn.004073c0
mov edi, eax
cmp edi, 0
jl 0x4711a9
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x471192
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4711d8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00422378
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4711b8
inc dword [esi + 0x98]
jmp 0x471295
cmp dword [esi + 0x98], 0
jle 0x471295
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x471295
cmp dword [esi + 0x40], 0
je 0x471240
mov eax, dword [0x4e1374]
cmp byte [eax + 0xcf], 0
je 0x471240
mov eax, dword [esi + 0xd4]
call fcn.004073c0
mov edi, eax
cmp edi, 0
jl 0x471240
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x471229
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47126f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.00422378
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47124f
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x466944]
call fcn.00407580
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x471e50
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x471ebb
cmp byte [ebx + 0xcf], 0
jne 0x471ebb
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405d78
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x471ea8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x471ec8
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405c3c
jmp 0x471ec8
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405c3c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4731ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x47325a
mov eax, esi
call fcn.0045a2c4
test al, al
je 0x47325a
mov eax, dword [ebx + 0x80]
call fcn.00459fbc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47325a
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x47324e
push 0
mov eax, dword [ebx + 0x80]
call fcn.00459fbc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.0045173c
jmp 0x47325a
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.00473038
pop esi
pop ebx
ret

Function at 0x476804
Capabilities:
Hash data with md5

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

Function at 0x4772b8
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 0x4772fd
lea eax, [ebp - 0x60]
call fcn.00476804
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.0047682c
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.00476900
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x4772ff
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x477328
movzx ebx, byte [esi]
xor bl, 0x36
mov byte [eax], bl
movzx ebx, byte [esi]
xor bl, 0x5c
mov byte [edx], bl
inc esi
jmp 0x47732e
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x47730d
lea eax, [ebp - 0x60]
call fcn.00476804
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.0047682c
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.004771a0
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.00476900
lea eax, [ebp - 0x60]
call fcn.00476804
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.0047682c
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.0047682c
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.00476900
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x482204
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x48220d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4823d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00482568
xor eax, eax
push ebp
push 0x4823a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x48225d
call fcn.004047bc
jmp 0x4823ab
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x482332
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x4822b2
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4822b2
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004820d8
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004061dc
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x4822f1
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004820d8
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004061dc
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
call fcn.00405cc8
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x48238e
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004820d8
push dword [ebp - 0x24]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
push 0x4823f0
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004061dc
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004820f8
jmp 0x48238e
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x482355
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x482355
push ebx
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x48236b
mov eax, ebx
call fcn.00405cc8
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x48238e
lea eax, [ebp - 0x28]
mov ecx, 0x4823f0
mov edx, ebx
call fcn.004060f8
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004820f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4823ab
mov eax, dword [ebp - 4]
call fcn.00482570
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4823da
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00405c34
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00405c34
ret
Function at 0x48673c
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 0x486750
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x48674f
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
mov ebx, eax
mov eax, edi
xor ecx, ecx
mov edx, ebx
call fcn.00405814
xor ebx, ebx
cmp esi, dword [esp]
jge 0x4868b4
inc ebx
mov eax, edi
call fcn.004057a8
movzx edx, byte [ebp + esi]
and dl, 0xfc
movzx edx, dl
shr edx, 2
movzx edx, byte [edx + 0x4d9478]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x48686d
inc ebx
mov eax, edi
call fcn.004057a8
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [ebp + esi + 1]
and cl, 0xf0
movzx ecx, cl
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + 0x4d9478]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x48683c
inc ebx
mov eax, edi
call fcn.004057a8
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [ebp + esi + 2]
and cl, 0xc0
movzx ecx, cl
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + 0x4d9478]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.004057a8
movzx edx, byte [ebp + esi + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + 0x4d9478]
mov byte [eax + ebx - 1], dl
jmp 0x4868a8
inc ebx
mov eax, edi
call fcn.004057a8
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx edx, byte [edx + 0x4d9478]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.004057a8
mov byte [eax + ebx - 1], 0x3d
jmp 0x4868a8
inc ebx
mov eax, edi
call fcn.004057a8
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edx, byte [edx + 0x4d9478]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.004057a8
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.004057a8
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x486784
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x487af0
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, 0x4d95d4
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x487b0f
mov esi, 1
mov edx, 0x4d96dc
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
add ecx, ecx
add ecx, ecx
movzx ebx, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x11]
add edi, ebx
movzx ebx, byte [esp + eax + 0xd]
add ebx, ebx
add ebx, ebx
add ebx, ebx
movzx ebp, byte [esp + eax + 0xe]
add ebp, ebp
add ebp, ebp
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 0x487b88
dec ebx
je 0x487baa
dec ebx
je 0x487bcc
dec ebx
je 0x487bed
jmp 0x487c07
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x487c07
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x487c07
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x487c07
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x487b78
inc esi
add edx, 0x40
cmp esi, 9
jne 0x487b2b
mov esi, 0x20
mov eax, 0x4d9604
mov edx, dword [esp + 4]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x487c2c
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x487c68
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x4d968b]
test bl, bl
jbe 0x487c99
lea eax, [esi + 0x3e0]
call fcn.00487c44
lea eax, [esi + 0x3fc]
call fcn.00487c44
dec bl
jne 0x487c7f
mov cl, 0x30
mov edi, 0x4d965c
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x487cba
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x487cc7
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x487ca3
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x487cd4
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.00487a88
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x487cf0
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x41]
movzx edx, byte [esi]
mov eax, dword [ebp - 8]
call fcn.00487a88
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.00487a88
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x487d0c
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.00487c68
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x487d36
mov bl, 1
mov eax, 0x4d9554
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x487d6f
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x487d7c
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x487d5b
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x487da6
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.00487af0
jmp 0x487dcd
movzx eax, 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.00487af0
mov bl, 0x20
lea eax, [ebp - 0xa1]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x487dd5
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 0x487d8e
mov bl, 0x40
mov esi, 0x4d9594
lea eax, [ebp - 0x3e1]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x487e3b
movzx edx, dl
movzx edx, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x487e48
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x487e24
mov bl, 1
lea esi, [ebp - 0x3e1]
movzx ecx, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.00487ab0
inc ebx
inc esi
cmp bl, 0x41
jne 0x487e56
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4889b4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, ecx
mov dword [esp], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
movzx eax, byte [esi + 4]
add eax, eax
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
movzx eax, byte [esi + 5]
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov ebp, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x488a65
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec ebp
jne 0x488a60
mov eax, edi
xor ecx, ecx
mov edx, 8
call fcn.00405814
push 1
mov eax, edi
call fcn.004057a8
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.00487cd4
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret