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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x499be4]
cmp byte [eax + 0xc], 0
je 0x45a159
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45a152
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49aba4], 0
jne 0x45a040
push 0x45a160
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45a168
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49aba4], eax
cmp dword [0x498e50], 0
jne 0x45a13b
push 0x45a178
call sub.kernel32.dll_LoadLibraryA
mov dword [0x498e50], eax
cmp dword [0x498e50], 0
je 0x45a13b
push 0x45a184
mov eax, dword [0x498e50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49aba8], eax
push 0x45a194
mov eax, dword [0x498e50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49abac], eax
push 0x45a1a8
mov eax, dword [0x498e50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49abb0], eax
push 0x45a1c0
mov eax, dword [0x498e50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49abb4], eax
push 0x45a1d8
mov eax, dword [0x498e50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49abb8], eax
push 0x45a1ec
mov eax, dword [0x498e50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49abbc], eax
push 0x45a204
mov eax, dword [0x498e50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49abc0], eax
push 0x45a21c
mov eax, dword [0x498e50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49abc4], eax
push 0x45a238
mov eax, dword [0x498e50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49abc8], eax
push 0x45a244
mov eax, dword [0x498e50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49abcc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a159
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45e1f8
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.004043c8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45e247
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.00404638
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4659a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4659f0]
test si, 4
je 0x4659b4
or bl, 1
test si, 8
je 0x4659be
or bl, 4
test si, 1
je 0x4659c8
or bl, 8
test si, 2
je 0x4659d2
or bl, 0x10
test si, 0x10
je 0x4659dc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4659eb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4659f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x465a2c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x465a0d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x465a1c
or bl, 4
test esi, 0x20000000
je 0x465a27
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46c0d4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46c0e6
add esp, 0xfffffff0
call fcn.0040389c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424a7c
mov eax, dword [0x4997bc]
mov dword [eax + 4], ebx
mov dword [eax], 0x46c478
mov eax, dword [0x4997cc]
mov dword [eax + 4], ebx
mov dword [eax], 0x46c484
mov eax, ebx
call fcn.0046c490
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4194a8]
call fcn.00403508
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4194a8]
call fcn.00403508
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4194a8]
call fcn.00403508
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4194a8]
call fcn.00403508
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4194a8]
call fcn.00403508
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, 0x4688ac
push eax
push 0
push 0
mov eax, dword [0x499974]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4264d8]
call fcn.00427c4c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4264d8]
call fcn.00427c4c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4264d8]
call fcn.00427c4c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046c8b0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46c78c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46c78c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46c78c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46c223
call fcn.004038f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46c570
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 0x46c71b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46c6fc
mov dl, 1
mov eax, dword [0x419cb8]
call fcn.00403508
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004043c8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46c6eb
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.0045a34c
test al, al
je 0x46c6de
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, 0x46c72c
lea eax, [ebp - 0x254]
call fcn.00409894
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46c6de
xor eax, eax
push ebp
push 0x46c6d7
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 0x46c764
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46c6c0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404638
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 0x46c6c0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404638
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c6de
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46c5e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041e94c
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 0x46c722
lea eax, [ebp - 0x260]
call fcn.004043c8
ret

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

Disassembly:
push ecx
mov eax, dword [0x49abf0]
cmp byte [eax + 0xa5], 0
jne 0x46d0c1
cmp dword [0x49ac08], 0
jne 0x46d082
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46d00c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49ac08], eax
cmp dword [0x49ac04], 0
jne 0x46d09d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49ac04], eax
cmp dword [0x49ac0c], 0
jne 0x46d0c1
push esp
push 0
push 0
push 0x46cfb0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x49ac0c], eax
pop edx
ret
Function at 0x46d1b8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46d1cf
add esp, 0xfffffff0
call fcn.0040389c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424a7c
mov eax, dword [0x49995c]
cmp word [eax + 2], 0
jne 0x46d1f7
mov eax, dword [0x49995c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046e938
mov eax, dword [0x499a38]
cmp word [eax + 2], 0
jne 0x46d211
mov eax, dword [0x499a38]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046eb30
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4194a8]
call fcn.00403508
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4194a8]
call fcn.00403508
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 [0x426fb8]
call fcn.0042e45c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46d398
mov eax, dword [0x499838]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e82c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46f0e0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x499838]
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.0040d0b0
test eax, eax
je 0x46d306
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040924c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d0d8
test eax, eax
je 0x46d31a
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.00404638
mov eax, dword [0x4996cc]
cmp byte [eax], 0
jne 0x46d34e
mov eax, ebx
call fcn.0046d4c0
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.0046f2bc
mov eax, ebx
call fcn.0046fc80
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46d38e
call fcn.004038f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d740
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49abf0]
cmp dword [eax + 0x30], 0
je 0x46d7ea
cmp dword [ebx + 0x94], 0
jne 0x46d7e4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46d6d0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46d7e4
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 0x46d7aa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46d7e4
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.0041bf7c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46d7b9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46e34c
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 0x46e381
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.004044b8
jmp 0x46e38e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040441c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46f498
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46f4d9
mov eax, esi
call fcn.004558d0
test al, al
je 0x46f4d9
mov eax, dword [ebx + 0x84]
call fcn.004555cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46f4d9
push 0
mov eax, dword [ebx + 0x84]
call fcn.004555cc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46fda8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404878
xor eax, eax
push ebp
push 0x46fdf4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x46fdde
mov eax, dword [ebp - 4]
call fcn.00404888
push eax
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fdfb
lea eax, [ebp - 4]
call fcn.004043c8
ret
Function at 0x48616c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404888
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4861bd
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040624c
pop ecx
mov dword [ebp - 0x14], eax
jmp 0x4861c2
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x486271
xor eax, eax
push ebp
push 0x48626a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404888
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x486252
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x486284
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x486252
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.004074c8
movzx eax, ax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
call fcn.004074c8
movzx eax, ax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0xc]
mov dword [ebp - 0x20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486271
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040625c
pop ecx
ret
mov eax, dword [ebp - 8]
mov edi, eax
lea esi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48c0a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
jmp 0x48c2ad
push esi
push eax
push ebx
push ecx
mov esi, edx
mov ax, ax
mov ecx, ecx
or ecx, ecx
je 0x48c2d3
movzx ebx, ah
xor bl, byte [esi]
inc esi
shl ebx, 1
add ebx, 0x48c0ad
shl ax, 8
xor ax, word [ebx]
loop 0x48c2bc
mov word [ebp - 2], ax
pop ecx
pop ebx
pop eax
pop esi
mov ax, word [ebp - 2]
pop ecx
pop ebp
ret

Function at 0x492ea4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
dec eax
test eax, eax
jl 0x492ee9
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x492ec6
mov esp, ebp
pop ebp
ret 4
Function at 0x493364
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
shr eax, 0x18
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0xc], 0x100
jne 0x49341b
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x499580]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x499480]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 8
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x499480]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 0x10
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x499580]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
shr edx, 0x18
xor eax, edx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0xc], 0xc0
jl 0x493493
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x499580]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x499580]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
shr edx, 8
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x499480]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
shr edx, 0x10
and edx, 0xff
xor eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x499480]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
shr edx, 0x18
xor eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x499480]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
and edx, 0xff
xor eax, edx
movzx eax, byte [eax + 0x499480]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
and edx, 0xff
xor eax, edx
mov eax, dword [eax*4 + 0x49ad34]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0x499580]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 4]
shr ecx, 8
and ecx, 0xff
xor edx, ecx
movzx edx, byte [edx + 0x499480]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
shr ecx, 8
and ecx, 0xff
xor edx, ecx
xor eax, dword [edx*4 + 0x49b134]
mov edx, dword [ebp - 0x1c]
movzx edx, byte [edx + 0x499480]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 4]
shr ecx, 0x10
and ecx, 0xff
xor edx, ecx
movzx edx, byte [edx + 0x499580]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
shr ecx, 0x10
and ecx, 0xff
xor edx, ecx
xor eax, dword [edx*4 + 0x49b534]
mov edx, dword [ebp - 0x20]
movzx edx, byte [edx + 0x499580]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 4]
shr ecx, 0x18
xor edx, ecx
movzx edx, byte [edx + 0x499580]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
shr ecx, 0x18
xor edx, ecx
xor eax, dword [edx*4 + 0x49b934]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x493b68
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
xor edx, edx
mov dl, byte [ebp - 9]
imul edx, edx, 0x1010101
xor eax, edx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x40
jne 0x493b7c
mov esp, ebp
pop ebp
ret

Function at 0x494d70
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
jmp 0x494e39
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x499480]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00493238
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.00493258
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 0x499580]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00493238
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00493258
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
shl edx, 8
or eax, edx
mov edx, dword [ebp - 0x14]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp - 0x14]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx*4 + 0x49ad34], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
shl edx, 8
or eax, edx
mov edx, dword [ebp - 0x10]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp - 8]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx*4 + 0x49b134], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
shl edx, 8
or eax, edx
mov edx, dword [ebp - 4]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp - 0x14]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx*4 + 0x49b534], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
shl edx, 8
or eax, edx
mov edx, dword [ebp - 0x18]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp - 0x10]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx*4 + 0x49b934], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x100
jne 0x494e3e
mov esp, ebp
pop ebp
ret