joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469af4
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 0x469c9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x469c80
mov dl, 1
mov eax, dword [0x41871c]
call fcn.00403e04
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404e14
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x469c6f
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.0045a8c8
test al, al
je 0x469c62
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, 0x469cb0
lea eax, [ebp - 0x254]
call fcn.0040b644
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x469c62
xor eax, eax
push ebp
push 0x469c5b
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 0x469ce8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x469c44
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405084
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 0x469c44
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405084
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469c62
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x469b65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041d0ec
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 0x469ca6
lea eax, [ebp - 0x260]
call fcn.00404e14
ret

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

Disassembly:
push ecx
mov eax, dword [0x5c4cd4]
cmp byte [eax + 0xad], 0
jne 0x46a689
cmp dword [0x5c4cf0], 0
jne 0x46a64a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46a5d4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5c4cf0], eax
cmp dword [0x5c4cec], 0
jne 0x46a665
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5c4cec], eax
cmp dword [0x5c4cf4], 0
jne 0x46a689
push esp
push 0
push 0
push 0x46a578
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5c4cf4], eax
pop edx
ret
Function at 0x46a8b8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46a8cf
add esp, 0xfffffff0
call fcn.00404158
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004219e0
mov eax, dword [0x5befc0]
cmp word [eax + 2], 0
jne 0x46a8f7
mov eax, dword [0x5befc0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046c618
mov eax, dword [0x5bf1c8]
cmp word [eax + 2], 0
jne 0x46a911
mov eax, dword [0x5bf1c8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046c824
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4180b0]
call fcn.00403e04
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4180b0]
call fcn.00403e04
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4180b0]
call fcn.00403e04
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x429484]
call fcn.0043170c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46aac8
mov eax, dword [0x5bed6c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00431ae0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46cee8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5bed6c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040f578
test eax, eax
je 0x46aa18
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040ac0c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f5ac
test eax, eax
je 0x46aa2c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405084
mov byte [ebx + 0xd4], 0
push ebx
push 0x46c08c
call fcn.00422b5c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x5be990]
cmp byte [eax], 0
jne 0x46aa7d
mov eax, ebx
call fcn.0046ac0c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0046d0fc
mov eax, ebx
call fcn.0046dc60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46aabd
call fcn.004041b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46ae8c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46af2b
cmp dword [ebx + 0x94], 0
jne 0x46af25
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46ae14
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46af25
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 0x46aeeb
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46af25
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.0041a6f8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46aefa
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5c4cd4]
cmp dword [eax + 0x30], 0
je 0x46b2a1
test bl, bl
jne 0x46b1f2
cmp dword [esi + 0x9c], 0
jne 0x46b1e7
mov eax, esi
call fcn.0046dadc
push eax
push 0x46b070
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46b1b8
mov eax, dword [0x5c4cd4]
call fcn.0046e1bc
test al, al
je 0x46b1b8
mov eax, dword [0x5c4cf8]
call fcn.00406260
mov edi, eax
cmp edi, 0
jl 0x46b1b8
push 0
mov eax, dword [0x5c4cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46b1a2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46b1e7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a6f8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46b1c7
inc dword [esi + 0x9c]
jmp 0x46b2a1
cmp dword [esi + 0x9c], 0
jle 0x46b2a1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46b2a1
cmp dword [esi + 0x44], 0
je 0x46b24d
mov eax, dword [0x5c4cd4]
call fcn.0046e1bc
test al, al
je 0x46b24d
mov eax, dword [0x5c4cf8]
call fcn.00406260
mov edi, eax
cmp edi, 0
jl 0x46b24d
push 5
mov eax, dword [0x5c4cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46b237
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46b27c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a6f8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46b25c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x5c4cf8
mov ecx, 1
mov edx, dword [0x46b050]
call fcn.00406414
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46bd88
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x46bdf2
mov eax, ebx
call fcn.0046e1bc
test al, al
jne 0x46bdf2
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.00404f04
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46bddf
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46bdff
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404e68
jmp 0x46bdff
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404e68
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46d2e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46d34e
mov eax, esi
call fcn.0045546c
test al, al
je 0x46d34e
mov eax, dword [ebx + 0x84]
call fcn.004550cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46d34e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46d342
push 0
mov eax, dword [ebx + 0x84]
call fcn.004550cc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044cecc
jmp 0x46d34e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046d11c
pop esi
pop ebx
ret

Function at 0x4711f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47121e
mov eax, ebx
call fcn.00471ca4
cmp dword [ebx + 0x40], 0
je 0x471217
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47128f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x471281
cmp dword [ebx + 8], 0
je 0x471240
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 0x471252
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x471281
cmp dword [ebx + 8], 0
je 0x471233
cmp eax, 3
je 0x471265
dec eax
jne 0x471233
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 0x471233
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x471233
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4712ad
cmp dword [ebx + 0x14], 0xcc
je 0x4712ad
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.004712b8
pop ebx
ret
Function at 0x488394
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x4883c7
movzx eax, byte [ebx]
mov edx, dword [0x5b9268]
cmp al, byte [edx]
jne 0x4883c7
cmp dword [ebp + 8], 0x38
je 0x4883d1
mov eax, 0xfffffffa
jmp 0x488597
lea eax, [esi + 0x18]
call fcn.00404e14
cmp dword [esi + 0x20], 0
jne 0x4883eb
mov dword [esi + 0x20], 0x4882a4
xor eax, eax
mov dword [esi + 0x28], eax
cmp dword [esi + 0x24], 0
jne 0x4883f8
mov dword [esi + 0x24], 0x48829c
cmp dword [ebp - 4], 0xffffffff
jne 0x488405
mov dword [ebp - 4], 6
test edi, edi
jge 0x488412
mov dword [ebp - 0xc], 1
neg edi
cmp dword [ebp + 0x14], 1
jl 0x488446
cmp dword [ebp + 0x14], 9
jg 0x488446
cmp dword [ebp - 8], 8
jne 0x488446
cmp edi, 8
jl 0x488446
cmp edi, 0xf
jg 0x488446
cmp dword [ebp - 4], 0
jl 0x488446
cmp dword [ebp - 4], 9
jg 0x488446
cmp dword [ebp + 0x10], 0
jl 0x488446
cmp dword [ebp + 0x10], 2
jle 0x488450
mov eax, 0xfffffffe
jmp 0x488597
mov eax, esi
mov ecx, 0x16bc
mov edx, 1
call fcn.004882b0
mov ebx, eax
test ebx, ebx
jne 0x488471
mov eax, 0xfffffffc
jmp 0x488597
mov dword [esi + 0x1c], ebx
mov dword [ebx], esi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov eax, edi
mov dword [ebx + 0x28], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x24], edx
dec edx
mov dword [ebx + 0x2c], edx
mov eax, dword [ebp + 0x14]
add eax, 7
mov dword [ebx + 0x48], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x44], edx
dec edx
mov dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x48]
add eax, 3
dec eax
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebx + 0x50], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.004882b0
mov dword [ebx + 0x30], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.004882b0
mov dword [ebx + 0x38], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x44]
call fcn.004882b0
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp + 0x14]
add ecx, 6
mov edi, 1
shl edi, cl
mov dword [ebx + 0x1690], edi
mov eax, esi
mov ecx, 4
mov edx, edi
call fcn.004882b0
mov dword [ebx + 8], eax
mov edx, dword [ebx + 0x1690]
add edx, edx
add edx, edx
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0x30], 0
je 0x48853c
cmp dword [ebx + 0x38], 0
je 0x48853c
cmp dword [ebx + 0x3c], 0
je 0x48853c
cmp dword [ebx + 8], 0
jne 0x488557
lea eax, [esi + 0x18]
mov edx, 0x5b92f0
call fcn.00405078
mov eax, esi
call fcn.00488944
mov eax, 0xfffffffc
jmp 0x488597
mov edx, dword [ebx + 0x1690]
shr edx, 1
lea eax, [eax + edx*2]
mov dword [ebx + 0x1698], eax
mov eax, dword [ebx + 0x1690]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [ebx + 0x168c], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x7c], eax
movzx eax, byte [ebp - 8]
mov byte [ebx + 0x1d], al
mov eax, esi
call fcn.004885c8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x488c48
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
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 0x488c71
cmp dword [ebx + 0x64], 0
jne 0x488c71
cmp dword [ebx + 0x6c], 0
jne 0x488c71
mov esi, edi
jmp 0x488cfd
cmp esi, 0xffffffff
jne 0x488c7c
dec esi
jmp 0x488cfd
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x488cfd
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ecx, edi
call fcn.0048828c
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], edi
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x488cc5
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x488cca
mov word [edx], 0
dec eax
test eax, eax
jne 0x488cab
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x488cf1
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x488cf6
mov word [edx], 0
dec eax
test eax, eax
jne 0x488cd7
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x488d5b
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.004889c0
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x488d46
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 0x488d5b
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x488c51
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x48dadc
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5c5e90
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x48dafe
shr eax, 1
xor eax, 0xedb88320
jmp 0x48db00
shr eax, 1
dec edx
jne 0x48daec
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x48dae5
mov byte [0x5c6290], 1
pop esi
pop ebx
ret

Function at 0x48db1c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5c6290], 0
jne 0x48db33
call fcn.0048dadc
mov eax, edi
dec eax
test eax, eax
jl 0x48db5b
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5c5e90]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x48db3d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x490578
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x490612.0
jmp dword [ecx*4 + 0x4905ab]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4905dd
sub dl, 8
je 0x4905ec
jmp case.0x490612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x490224
jmp case.0x490612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49027c
jmp case.0x490612.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x490612.0
movzx ecx, byte [ecx + 0x490619]
jmp dword [ecx*4 + 0x49062a]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x490328
jmp case.0x490612.0
cmp dl, 3
jne 0x490657
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49037c
jmp case.0x490612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x490338
jmp case.0x490612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4903c0
jmp case.0x490612.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x490682
sub dl, 8
je 0x49068e
jmp case.0x490612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4903ec
jmp case.0x490612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x490458
jmp case.0x490612.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4906ad
sub dl, 8
je 0x4906b9
jmp case.0x490612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x490514
jmp case.0x490612.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x49053c
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
mov esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0x10], esi
mov esi, ecx
test esi, esi
jb 0x49075d
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0048f7b8
test eax, eax
je 0x49075d
mov eax, ebx
call fcn.00490768
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x4906f6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x490768
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x490799
dec al
je 0x4907d4
dec al
je 0x490819
dec al
je 0x490882
jmp 0x49090c
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x49090c
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4907a9
jmp 0x49090c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49090c
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4907e4
jmp 0x49090c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49090c
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x490848
xor ebp, ebp
jmp 0x490858
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x490861
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x490829
jmp 0x49090c
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49090c
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4908db
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0048db64
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x490896
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret