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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4626bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4626a0
mov dl, 1
mov eax, dword [0x417b0c]
call fcn.00403c3c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a54
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46268f
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.00450158
test al, al
je 0x462682
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4626d0
lea eax, [ebp - 0x254]
call fcn.0040a1a0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x462682
xor eax, eax
push ebp
push 0x46267b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x462708
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x462664
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cc4
mov edx, dword [ebp - 0x260]
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 0x462664
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462682
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x462585
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c278
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 0x4626c6
lea eax, [ebp - 0x260]
call fcn.00404a54
ret

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

Disassembly:
push ecx
mov eax, dword [0x4e7bdc]
cmp byte [eax + 0xa5], 0
jne 0x463079
cmp dword [0x4e7bf4], 0
jne 0x46303a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x462fc4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4e7bf4], eax
cmp dword [0x4e7bf0], 0
jne 0x463055
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4e7bf0], eax
cmp dword [0x4e7bf8], 0
jne 0x463079
push esp
push 0
push 0
push 0x462f68
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4e7bf8], eax
pop edx
ret
Function at 0x46370c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4e7bdc]
cmp dword [eax + 0x30], 0
je 0x4637b6
cmp dword [ebx + 0x94], 0
jne 0x4637b0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46369c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4637b0
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_GetWindowLongA
test al, 8
je 0x463776
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4637b0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419e70
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x463785
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x464314
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x464349
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404b44
jmp 0x464356
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404aa8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x465520
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x465561
mov eax, esi
call fcn.0044b740
test al, al
je 0x465561
mov eax, dword [ebx + 0x84]
call fcn.0044b43c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x465561
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044b43c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x471854
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
lea eax, [ebx + 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
sub eax, dword [ebx + 8]
sbb edx, dword [ebx + 0xc]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
pop ebx
ret

Function at 0x4864b8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x486632
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x123], 0x12
mov eax, ebx
call fcn.0048968c
test byte [eax + 0x2f4], 8
jne 0x486614
cmp word [ebx + 0x1ba], 0
je 0x48651d
mov byte [ebp - 1], 1
lea ecx, [ebp - 1]
mov edx, ebx
mov eax, dword [ebx + 0x1bc]
call dword [ebx + 0x1b8]
cmp byte [ebp - 1], 0
je 0x486614
mov eax, ebx
call fcn.0048968c
test eax, eax
je 0x486614
mov al, byte [ebx + 0x50]
cmp al, 4
je 0x486609
mov byte [ebx + 0x99], al
mov byte [ebx + 0x50], 4
cmp byte [ebx + 0x51], 0
jne 0x486575
mov al, byte [ebx + 0x99]
cmp al, 2
je 0x486575
cmp al, 1
je 0x486575
cmp al, 3
je 0x486575
mov eax, ebx
call fcn.0048968c
lea edx, [ebp - 0x14]
call fcn.004445ec
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x89]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebx + 0x64], 0
je 0x4865bd
lea edx, [ebp - 0x18]
mov eax, dword [0x4e6e18]
mov eax, dword [eax]
call fcn.00464314
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0xb4]
mov ecx, 0x3f
call fcn.00409bb4
mov eax, dword [0x4e6e18]
mov eax, dword [eax]
call fcn.00464128
push 0
mov eax, dword [0x4e6e18]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
jmp 0x4865f9
mov eax, ebx
call fcn.0048968c
test eax, eax
je 0x4865ea
mov eax, ebx
call fcn.0048968c
lea edx, [ebp - 0x1c]
call fcn.00444c4c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0xb4]
mov ecx, 0x3f
call fcn.00409bb4
push 0
mov eax, ebx
call fcn.004896b0
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebx + 0x9c]
push eax
push 0
call sub.shell32.dll_Shell_NotifyIconA
jmp 0x486610
mov eax, ebx
call fcn.00485e2c
mov byte [ebx + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486639
lea eax, [ebp - 0x1c]
call fcn.00404a54
lea eax, [ebp - 0x18]
call fcn.00404a54
ret
Function at 0x48d88c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x48d8b3
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x48d8c5
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x48d8d1
add word [ebp - 6], 0x8000
mov byte [ebp - 0xd], 0
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.0048d71c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48d91e
xor eax, eax
push ebp
push 0x48d917
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 4]
xor edx, edx
call fcn.0048d74c
pop ecx
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d91e
ret
cmp byte [ebp - 0xd], 2
je 0x48d8d1
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x497240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x49726a
cmp dword [ebx + 0x64], 0
jne 0x49726a
cmp dword [ebx + 0x6c], 0
jne 0x49726a
mov esi, edi
jmp 0x497302
cmp esi, 0xffffffff
jne 0x497275
dec esi
jmp 0x497302
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x497302
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.00496754
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x4972c2
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x4972ca
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x4972a9
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x4972f3
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x4972fb
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x4972da
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x497360
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.00496f64
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x49734b
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x497360
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x49724a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a29fc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
mov dword [ebx + 0x5c], edx
test byte [ebx + 0x1c], 0x10
je 0x4a2a27
mov esi, dword [ebx + 0x58]
test esi, esi
je 0x4a2a20
mov eax, dword [esi + 0x30]
call fcn.0041ac80
test eax, eax
jne 0x4a2a27
mov dword [ebx + 0x5c], 0xffffffff
test byte [ebx + 0x1c], 1
jne 0x4a2a64
test byte [ebx + 0x1c], 0x10
je 0x4a2a64
cmp dword [ebx + 0x5c], 0xffffffff
jne 0x4a2a64
mov eax, dword [ebx + 0x30]
call fcn.0049cb2c
test eax, eax
jle 0x4a2b68
mov eax, ebx
call fcn.004a2664
mov eax, dword [ebx + 0x30]
call fcn.0049c6d4
mov eax, ebx
call fcn.004a26c0
jmp 0x4a2b68
mov esi, dword [ebx + 0x58]
test esi, esi
je 0x4a2b68
mov eax, dword [esi + 0x30]
call fcn.0041ac80
test eax, eax
jle 0x4a2b68
cmp dword [ebx + 0x5c], 0
jl 0x4a2b68
cmp dword [ebx + 0x5c], 0
jge 0x4a2a94
xor eax, eax
mov dword [ebx + 0x5c], eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x30]
call fcn.0041ac80
dec eax
cmp eax, dword [ebx + 0x5c]
jg 0x4a2ab4
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x30]
call fcn.0041ac80
dec eax
mov dword [ebx + 0x5c], eax
mov edx, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x30]
call fcn.004a2dc8
mov eax, dword [eax + 0xc]
call fcn.0049cb2c
test eax, eax
jle 0x4a2b68
mov dl, 1
mov eax, dword [0x417dfc]
call fcn.00403c3c
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4a2b61
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x30]
call fcn.004a2dc8
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov si, 0xffee
call fcn.00403e74
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0041c348
mov eax, dword [ebx + 0x30]
mov byte [eax + 0x50], 1
mov eax, ebx
call fcn.004a2664
mov eax, dword [ebx + 0x30]
mov edx, dword [ebp - 4]
mov si, 0xffef
call fcn.00403e74
mov eax, dword [ebx + 0x30]
mov byte [eax + 0x50], 0
mov edx, dword [ebx + 0x38]
call fcn.0049cb34
mov eax, ebx
call fcn.004a26c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2b68
mov eax, dword [ebp - 4]
call fcn.00403c6c
ret
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4abce0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4abd0e
mov eax, ebx
call fcn.004ac794
cmp dword [ebx + 0x40], 0
je 0x4abd07
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4abd7f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4abd71
cmp dword [ebx + 8], 0
je 0x4abd30
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 0x4abd42
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4abd71
cmp dword [ebx + 8], 0
je 0x4abd23
cmp eax, 3
je 0x4abd55
dec eax
jne 0x4abd23
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 0x4abd23
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4abd23
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4abd9d
cmp dword [ebx + 0x14], 0xcc
je 0x4abd9d
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.004abda8
pop ebx
ret

Function at 0x4bcd9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4bcdd4]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4bcdb2
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4bcdc1
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4bcdd0
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4be1e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4e6e18]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4be206
push 0
mov eax, dword [0x4e6e18]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4bf1a0
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x4e3b44]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x4bf1dc
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4bf1f4
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4bf1ed
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.004034f8
xor edx, edx
mov eax, 0x4e3d44
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4bf25e
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4bf212
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4bf49c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4bf4b5
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4bf4ae
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4bf4c7
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4bf4c0
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004bf090
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4bf4e1
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004bf1a0
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4bf566
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4bf583
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004bf120
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4bf5ac
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4bf5c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4bf5dd
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4bf5d6
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4bf5f1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004bef88
test bl, bl
jne 0x4bf6c4
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4fc850
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4bf628
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4bf63c
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004bf49c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4bf66e
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4bf61d
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4bf691
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4bf6a2
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4bf6b6
jmp 0x4bf77f
cmp bl, 1
jne 0x4bf77f
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4fc8aa
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4bf6e4
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4bf6f8
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004bf49c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4bf72a
sub ebx, 6
inc dword [ebp - 8]
jne 0x4bf6d9
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4bf751
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4bf762
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4bf776
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004bf00c
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4c02bc
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
push ecx
mov ebx, 0x4e3dd0
test edx, edx
jne 0x4c02cf
xor eax, eax
jmp 0x4c03e4
mov dword [esp], 1
cmp byte [esp], 0
je 0x4c02ec
push ecx
push edx
push eax
call fcn.004c03e8
add esp, 0xc
jmp 0x4c03e4
push ecx
push edx
push eax
call fcn.004c06ec
add esp, 0xc
jmp 0x4c03e4
pop edx
pop esi
pop ebx
ret
Function at 0x4c1ff0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x74]
sub eax, dword [ebx + 0x6c]
mov dword [ebp - 8], eax
jmp 0x4c202b
mov edx, dword [ebx + 0x2c]
sub edx, 0x106
add edx, esi
cmp edx, dword [ebx + 0x6c]
ja 0x4c20ac
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov edi, esi
add edx, edi
push edx
push eax
call fcn.004bfed0
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], edi
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x4c2079
mov cx, word [ebp - 4]
sub cx, si
jmp 0x4c207b
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4c2062
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x4c20a1
mov cx, word [ebp - 4]
sub cx, si
jmp 0x4c20a3
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4c208a
add dword [ebp - 8], esi
mov edi, dword [ebx]
cmp dword [edi + 4], 0
je 0x4c210e
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebx + 0x38]
add edx, dword [ebx + 0x6c]
add edx, dword [ebx + 0x74]
push edx
push edi
call fcn.004c1cbc
add esp, 0xc
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4c20f9
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4c210e
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4c1fff
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret