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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x5d3f8c]
cmp byte [eax + 0xc], 0
je 0x4709b1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4709aa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5d4bc0], 0
jne 0x470898
push 0x4709b8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4709c0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5d4bc0], eax
cmp dword [0x5d1014], 0
jne 0x470993
push 0x4709d0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5d1014], eax
cmp dword [0x5d1014], 0
je 0x470993
push 0x4709dc
mov eax, dword [0x5d1014]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5d4bc4], eax
push 0x4709ec
mov eax, dword [0x5d1014]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5d4bc8], eax
push 0x470a00
mov eax, dword [0x5d1014]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5d4bcc], eax
push 0x470a18
mov eax, dword [0x5d1014]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5d4bd0], eax
push 0x470a30
mov eax, dword [0x5d1014]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5d4bd4], eax
push 0x470a44
mov eax, dword [0x5d1014]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5d4bd8], eax
push 0x470a5c
mov eax, dword [0x5d1014]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5d4bdc], eax
push 0x470a74
mov eax, dword [0x5d1014]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5d4be0], eax
push 0x470a90
mov eax, dword [0x5d1014]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5d4be4], eax
push 0x470a9c
mov eax, dword [0x5d1014]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5d4be8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4709b1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x474dac
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.00404414
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x474dfb
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404684
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47c608
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x47c658]
test si, 4
je 0x47c61c
or bl, 1
test si, 8
je 0x47c626
or bl, 4
test si, 1
je 0x47c630
or bl, 8
test si, 2
je 0x47c63a
or bl, 0x10
test si, 0x10
je 0x47c644
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47c653
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x47c65c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x47c694]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47c675
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47c684
or bl, 4
test esi, 0x20000000
je 0x47c68f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x482d3c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x482d4e
add esp, 0xfffffff0
call fcn.00403948
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004228a0
mov eax, dword [0x5d34f0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4830e0
mov eax, dword [0x5d350c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4830ec
mov eax, ebx
call fcn.004830f8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417304]
call fcn.004035b4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417304]
call fcn.004035b4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417304]
call fcn.004035b4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417304]
call fcn.004035b4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417304]
call fcn.004035b4
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, 0x47f514
push eax
push 0
push 0
mov eax, dword [0x5d38d8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4243dc]
call fcn.00425b74
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4243dc]
call fcn.00425b74
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4243dc]
call fcn.00425b74
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00483560
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48343c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48343c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48343c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x482e8b
call fcn.004039a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x483220
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 0x4833cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4833ac
mov dl, 1
mov eax, dword [0x4178ac]
call fcn.004035b4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404414
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x48339b
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.00470ba4
test al, al
je 0x48338e
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, 0x4833dc
lea eax, [ebp - 0x254]
call fcn.00409d48
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48338e
xor eax, eax
push ebp
push 0x483387
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 0x483414
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x483370
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404684
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 0x483370
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404684
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48338e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x483291
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c298
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 0x4833d2
lea eax, [ebp - 0x260]
call fcn.00404414
ret

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

Disassembly:
push ecx
mov eax, dword [0x5d4c0c]
cmp byte [eax + 0xa5], 0
jne 0x483d71
cmp dword [0x5d4c24], 0
jne 0x483d32
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x483cbc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5d4c24], eax
cmp dword [0x5d4c20], 0
jne 0x483d4d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5d4c20], eax
cmp dword [0x5d4c28], 0
jne 0x483d71
push esp
push 0
push 0
push 0x483c60
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5d4c28], eax
pop edx
ret
Function at 0x483e98
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x483eaf
add esp, 0xfffffff0
call fcn.00403948
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004228a0
mov eax, dword [0x5d3880]
cmp word [eax + 2], 0
jne 0x483ed7
mov eax, dword [0x5d3880]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00485618
mov eax, dword [0x5d3ae4]
cmp word [eax + 2], 0
jne 0x483ef1
mov eax, dword [0x5d3ae4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00485810
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417304]
call fcn.004035b4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417304]
call fcn.004035b4
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 [0x424ebc]
call fcn.0042cdc4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x484078
mov eax, dword [0x5d35f0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042d194
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x485dc0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5d35f0]
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.0040da6c
test eax, eax
je 0x483fe6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040970c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040da94
test eax, eax
je 0x483ffa
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, pe_nt_image_headers32
call fcn.00404684
mov eax, dword [0x5d322c]
cmp byte [eax], 0
jne 0x48402e
mov eax, ebx
call fcn.004841a0
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.00485f9c
mov eax, ebx
call fcn.004869b0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48406e
call fcn.004039a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484420
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5d4c0c]
cmp dword [eax + 0x30], 0
je 0x4844ca
cmp dword [ebx + 0x94], 0
jne 0x4844c4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4843b0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4844c4
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 0x48448a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4844c4
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.00419afc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x484499
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x48502c
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 0x485061
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.00404504
jmp 0x48506e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404468
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x486178
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4861b9
mov eax, esi
call fcn.0046c128
test al, al
je 0x4861b9
mov eax, dword [ebx + 0x84]
call fcn.0046be24
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4861b9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0046be24
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x487ee8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488148
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x487f4b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004879b0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d5a8
cmp al, 1
jne 0x487f4b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00487cc8
test al, al
je 0x4880d7
cmp dword [ebp - 8], 0
jge 0x487f69
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004879b0
mov eax, dword [ebp - 0x210]
call fcn.004046d4
cmp ebx, eax
jge 0x487fb3
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004879b0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5d3f54]
and eax, 0xff
bt dword [edx], eax
jae 0x487fb3
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x487fc7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00487ec4
cmp ebx, dword [ebp - 8]
je 0x4880c9
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x487ff3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004037e0
and eax, 0x7f
movzx eax, word [eax*2 + 0x5d1260]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4880b6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004037e0
and eax, 0x7f
movzx eax, word [eax*2 + 0x5d1260]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0046be24
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004037e0
and eax, 0x7f
movzx eax, word [eax*2 + 0x5d1260]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0046be24
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4880bd
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x48812a
cmp dword [ebp - 8], 0
jge 0x4880e2
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004879b0
mov eax, dword [ebp - 0x218]
call fcn.004046d4
cmp eax, dword [ebp - 8]
jg 0x48811c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004879b0
mov eax, dword [ebp - 0x21c]
call fcn.004046d4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00487ec4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48814f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404438
ret
Function at 0x492b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x492bb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 0xd
mov eax, esi
call fcn.00404414
lea eax, [ebp - 8]
mov edx, 0x492bcc
call fcn.004044ac
lea eax, [ebp - 8]
call fcn.0040492c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004046d4
mov edi, eax
test edi, edi
jle 0x492b9b
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dl, byte [edx]
xor dl, bl
call fcn.004045fc
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.004046dc
dec ebx
inc dword [ebp - 4]
dec edi
jne 0x492b7b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492bbd
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404438
ret

Function at 0x493c54
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 + 0x5d17bc]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x493c90
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 0x493ca8
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x493ca1
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.00402e10
xor edx, edx
mov eax, 0x5d19bc
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 0x493d12
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 0x493cc6
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x493f50
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 0x493f69
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x493f62
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x493f7b
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x493f74
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.00493b44
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 0x493f95
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.00493c54
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x49401a
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 0x494037
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00493bd4
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 0x494060
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x494078
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 0x494091
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x49408a
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 0x4940a5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00493a3c
test bl, bl
jne 0x494178
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x5d4c40
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 0x4940dc
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 0x4940f0
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.00493f50
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 0x494122
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4940d1
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 0x494145
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x494156
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 0x49416a
jmp 0x494233
cmp bl, 1
jne 0x494233
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x5d4c9a
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 0x494198
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 0x4941ac
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.00493f50
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 0x4941de
sub ebx, 6
inc dword [ebp - 8]
jne 0x49418d
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 0x494205
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x494216
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 0x49422a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00493ac0
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8