joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c76c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x60971c]
cmp byte [eax + 0xc], 0
je 0x46c8d9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46c8d2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x60ac14], 0
jne 0x46c7c0
push 0x46c8e0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x46c8e8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60ac14], eax
cmp dword [0x5dafe0], 0
jne 0x46c8bb
push 0x46c8f8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5dafe0], eax
cmp dword [0x5dafe0], 0
je 0x46c8bb
push 0x46c904
mov eax, dword [0x5dafe0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60ac18], eax
push 0x46c914
mov eax, dword [0x5dafe0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60ac1c], eax
push 0x46c928
mov eax, dword [0x5dafe0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60ac20], eax
push 0x46c940
mov eax, dword [0x5dafe0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60ac24], eax
push 0x46c958
mov eax, dword [0x5dafe0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60ac28], eax
push 0x46c96c
mov eax, dword [0x5dafe0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60ac2c], eax
push 0x46c984
mov eax, dword [0x5dafe0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60ac30], eax
push 0x46c99c
mov eax, dword [0x5dafe0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60ac34], eax
push 0x46c9b8
mov eax, dword [0x5dafe0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60ac38], eax
push 0x46c9c4
mov eax, dword [0x5dafe0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x60ac3c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c8d9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x470868
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404cf8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4708b7
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00404f68
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4780b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x478108]
test si, 4
je 0x4780cc
or bl, 1
test si, 8
je 0x4780d6
or bl, 4
test si, 1
je 0x4780e0
or bl, 8
test si, 2
je 0x4780ea
or bl, 0x10
test si, 0x10
je 0x4780f4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x478103
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x47810c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x478144]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x478125
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x478134
or bl, 4
test esi, 0x20000000
je 0x47813f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x47e80c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47e81e
add esp, 0xfffffff0
call fcn.004041cc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00427870
mov eax, dword [0x609108]
mov dword [eax + 4], ebx
mov dword [eax], 0x47ebb0
mov eax, dword [0x609118]
mov dword [eax + 4], ebx
mov dword [eax], 0x47ebbc
mov eax, ebx
call fcn.0047ebc8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41bc48]
call fcn.00403e38
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41bc48]
call fcn.00403e38
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41bc48]
call fcn.00403e38
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41bc48]
call fcn.00403e38
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41bc48]
call fcn.00403e38
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x47afe4
push eax
push 0
push 0
mov eax, dword [0x609340]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42933c]
call fcn.0042ab50
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42933c]
call fcn.0042ab50
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42933c]
call fcn.0042ab50
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0047efe8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47eec4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47eec4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47eec4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47e95b
call fcn.00404224
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47eca8
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 0x47ee53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47ee34
mov dl, 1
mov eax, dword [0x41c458]
call fcn.00403e38
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404cf8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47ee23
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.0046cacc
test al, al
je 0x47ee16
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, 0x47ee64
lea eax, [ebp - 0x254]
call fcn.0040aa00
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47ee16
xor eax, eax
push ebp
push 0x47ee0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x47ee9c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47edf8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404f68
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 0x47edf8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404f68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ee16
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47ed19
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00421664
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 0x47ee5a
lea eax, [ebp - 0x260]
call fcn.00404cf8
ret

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

Disassembly:
push ecx
mov eax, dword [0x60ac60]
cmp byte [eax + 0xa5], 0
jne 0x47f7f9
cmp dword [0x60ac78], 0
jne 0x47f7ba
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47f744
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x60ac78], eax
cmp dword [0x60ac74], 0
jne 0x47f7d5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x60ac74], eax
cmp dword [0x60ac7c], 0
jne 0x47f7f9
push esp
push 0
push 0
push 0x47f6e8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x60ac7c], eax
pop edx
ret
Function at 0x47f8f0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x47f907
add esp, 0xfffffff0
call fcn.004041cc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00427870
mov eax, dword [0x609318]
cmp word [eax + 2], 0
jne 0x47f92f
mov eax, dword [0x609318]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00481070
mov eax, dword [0x60946c]
cmp word [eax + 2], 0
jne 0x47f949
mov eax, dword [0x60946c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00481268
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41bc48]
call fcn.00403e38
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41bc48]
call fcn.00403e38
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x429ebc]
call fcn.00431e78
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x47fad0
mov eax, dword [0x6091b8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00432248
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x481818
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x6091b8]
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.0040e884
test eax, eax
je 0x47fa3e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a3e0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e8ac
test eax, eax
je 0x47fa52
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00404f68
mov eax, dword [0x608f70]
cmp byte [eax], 0
jne 0x47fa86
mov eax, ebx
call fcn.0047fbf8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004819f4
mov eax, ebx
call fcn.004823b8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47fac6
call fcn.00404224
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47fe78
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x60ac60]
cmp dword [eax + 0x30], 0
je 0x47ff22
cmp dword [ebx + 0x94], 0
jne 0x47ff1c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47fe08
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47ff1c
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 0x47fee2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47ff1c
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.0041e750
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47fef1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x480a84
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 0x480ab9
push 0x100
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.00404de8
jmp 0x480ac6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404d4c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x481bd0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x481c11
mov eax, esi
call fcn.00468050
test al, al
je 0x481c11
mov eax, dword [ebx + 0x84]
call fcn.00467d4c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x481c11
push 0
mov eax, dword [ebx + 0x84]
call fcn.00467d4c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x483c98
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004051a8
xor eax, eax
push ebp
push 0x483dc6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x483d99
xor eax, eax
push ebp
push 0x483d92
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404fb8
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x483d67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x483d56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404fb8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004051b8
mov edx, ebx
pop ecx
call fcn.00402ac0
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483d5d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x609024]
mov dl, 1
mov eax, dword [0x4086f0]
call fcn.0040da78
call fcn.004046f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483dcd
lea eax, [ebp - 4]
call fcn.00404cf8
ret
Function at 0x483dd4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x483f85
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004053a8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x483f9c
call fcn.00405004
mov eax, ebx
call fcn.00427e94
mov edi, eax
dec edi
test edi, edi
jl 0x483e8c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00427e68
mov edx, dword [0x452fe0]
call fcn.00403ff4
test al, al
je 0x483e88
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00427e68
lea edx, [ebp - 0x14]
call fcn.0046152c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004053a8
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405078
inc esi
dec edi
jne 0x483e3a
mov al, byte [0x483fa0]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x483fac
mov eax, dword [ebp - 0xc]
call fcn.0040f228
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404d90
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0046152c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x483f9c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0046152c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x483f9c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x483f9c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x483fb8
call fcn.0040aa80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483f8c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404d1c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404d1c
lea eax, [ebp - 0x14]
call fcn.00404cf8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404d1c
ret

Function at 0x48e5f8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
or ecx, 0xffffffff
dec edx
test edx, edx
jb 0x48e629
inc edx
xor ebx, ebx
mov esi, ecx
and esi, 0xff
mov edi, eax
add edi, ebx
movzx edi, byte [edi]
xor esi, edi
mov esi, dword [esi*4 + 0x5db4e0]
shr ecx, 8
xor esi, ecx
mov ecx, esi
inc ebx
dec edx
jne 0x48e606
xor ecx, 0xffffffff
mov eax, ecx
pop edi
pop esi
pop ebx
ret
Function at 0x48ecf4
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0x60addc
mov eax, ebx
mov edx, 8
test al, 1
je 0x48ed10
shr eax, 1
xor eax, 0xedb88320
jmp 0x48ed12
shr eax, 1
dec edx
jne 0x48ed03
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x48ecfc
pop ebx
ret

Function at 0x48ed28
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
mov edx, ecx
dec edx
test edx, edx
jl 0x48ed52
inc edx
mov ecx, dword [eax]
xor cl, byte [esi]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x60addc]
mov ebx, dword [eax]
shr ebx, 8
xor ecx, ebx
mov dword [eax], ecx
inc esi
dec edx
jne 0x48ed34
pop esi
pop ebx
ret
Function at 0x4940c8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov byte [ebp - 0xc], al
mov ecx, edx
mov byte [ebp - 0xb], cl
xor eax, eax
mov al, byte [ebp - 0xc]
add eax, eax
lea eax, [eax + eax*2]
xor edx, edx
mov dl, cl
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 0xa], al
xor eax, eax
mov al, byte [ebp - 0xc]
lea eax, [eax + eax*4]
xor edx, edx
mov dl, byte [ebp - 0xb]
add edx, edx
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 9], al
xor eax, eax
mov al, byte [ebp - 0xc]
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 0xb]
lea edx, [edx + edx*2]
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 8], al
xor eax, eax
mov al, byte [ebp - 0xc]
lea eax, [eax + eax*2]
xor edx, edx
mov dl, byte [ebp - 0xb]
shl edx, 2
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 7], al
xor eax, eax
mov al, byte [ebp - 0xc]
add eax, eax
xor edx, edx
mov dl, byte [ebp - 0xb]
lea edx, [edx + edx*4]
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 6], al
xor eax, eax
mov al, byte [ebp - 0xc]
xor edx, edx
mov dl, byte [ebp - 0xb]
add edx, edx
lea edx, [edx + edx*2]
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 5], al
mov dword [ebp - 0x10], 0x10
mov esi, dword [ebp - 4]
add esi, 2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0x7fffffff
xor edi, edi
lea ebx, [ebp - 0xc]
xor eax, eax
mov al, byte [ebx]
xor edx, edx
mov dl, byte [esi]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0x14]
jge 0x4941d4
mov dword [ebp - 0x14], eax
mov eax, edi
mov byte [ecx], al
inc edi
inc ebx
cmp edi, 8
jne 0x4941b9
inc ecx
add esi, 8
dec dword [ebp - 0x10]
jne 0x4941ad
mov al, byte [ebp - 0x23]
shl eax, 3
or al, byte [ebp - 0x24]
mov dl, byte [ebp - 0x22]
and dl, 3
shl edx, 6
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx], al
mov al, byte [ebp - 0x22]
and al, 4
and eax, 0xff
shr eax, 2
mov dl, byte [ebp - 0x21]
add edx, edx
or al, dl
mov dl, byte [ebp - 0x20]
shl edx, 4
or al, dl
mov dl, byte [ebp - 0x1f]
and dl, 1
shl edx, 7
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx + 1], al
mov al, byte [ebp - 0x1f]
and al, 6
and eax, 0xff
shr eax, 1
mov dl, byte [ebp - 0x1e]
shl edx, 2
or al, dl
mov dl, byte [ebp - 0x1d]
shl edx, 5
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx + 2], al
mov al, byte [ebp - 0x1b]
shl eax, 3
or al, byte [ebp - 0x1c]
mov dl, byte [ebp - 0x1a]
and dl, 3
shl edx, 6
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx + 3], al
mov al, byte [ebp - 0x1a]
and al, 4
and eax, 0xff
shr eax, 2
mov dl, byte [ebp - 0x19]
add edx, edx
or al, dl
mov dl, byte [ebp - 0x18]
shl edx, 4
or al, dl
mov dl, byte [ebp - 0x17]
and dl, 1
shl edx, 7
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx + 4], al
mov al, byte [ebp - 0x17]
and al, 6
and eax, 0xff
shr eax, 1
mov dl, byte [ebp - 0x16]
shl edx, 2
or al, dl
mov dl, byte [ebp - 0x15]
shl edx, 5
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx + 5], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49467c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jns 0x494697
add eax, 3
sar eax, 2
dec eax
test eax, eax
jl 0x4947bb
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
test eax, eax
jns 0x4946b8
add eax, 3
sar eax, 2
dec eax
test eax, eax
jl 0x4947af
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
xor ecx, ecx
mov edx, 4
call fcn.0040326c
xor ebx, ebx
xor esi, esi
xor eax, eax
mov edx, dword [ebp - 0x14]
shl edx, 2
add edx, esi
imul edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl ecx, 2
add edx, ecx
add edx, eax
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx]
mov byte [ebp + ebx - 0x3c], dl
and edx, 0xff
add dword [ebp - 0x1c], edx
inc ebx
inc eax
cmp eax, 4
jne 0x4946f3
inc esi
cmp esi, 4
jne 0x4946f1
mov eax, dword [ebp - 0x1c]
test eax, eax
jns 0x494733
add eax, 0xf
sar eax, 4
mov dword [ebp - 0x1c], eax
xor ebx, ebx
xor esi, esi
lea eax, [ebp - 0x3c]
xor edx, edx
mov dl, byte [eax]
cmp edx, dword [ebp - 0x1c]
jle 0x49475c
add dword [ebp - 0x24], edx
inc ebx
mov ecx, esi
mov dx, 1
shl dx, cl
or word [ebp - 0x16], dx
jmp 0x49475f
add dword [ebp - 0x20], edx
inc esi
inc eax
cmp esi, 0x10
jne 0x494740
test ebx, ebx
jle 0x49477a
mov eax, dword [ebp - 0x24]
cdq
idiv ebx
call fcn.0048e934
mov byte [ebp - 0x17], al
jmp 0x49477e
mov byte [ebp - 0x17], 0
mov eax, 0x10
sub eax, ebx
push eax
mov eax, dword [ebp - 0x20]
pop edx
mov ecx, edx
cdq
idiv ecx
call fcn.0048e934
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
add dword [ebp - 8], 4
inc dword [ebp - 0x10]
dec dword [ebp - 0x2c]
jne 0x4946cf
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x4946ae
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4