joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44af5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44af94]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44af75
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44af84
or bl, 4
test esi, 0x20000000
je 0x44af8f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x451658
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45166a
add esp, 0xfffffff0
call fcn.00403f80
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b978
mov eax, dword [0x49013c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4519fc
mov eax, dword [0x490148]
mov dword [eax + 4], ebx
mov dword [eax], 0x451a08
mov eax, ebx
call fcn.00451a14
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412b54]
call fcn.00403c18
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412b54]
call fcn.00403c18
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412b54]
call fcn.00403c18
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412b54]
call fcn.00403c18
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412b54]
call fcn.00403c18
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, 0x44de2c
push eax
push 0
push 0
mov eax, dword [0x4902ac]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41daec]
call fcn.0041f284
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41daec]
call fcn.0041f284
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41daec]
call fcn.0041f284
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00451e64
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451d2c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451d2c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451d2c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4517a7
call fcn.00403fd8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x451b10
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 0x451cbb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x451c9c
mov dl, 1
mov eax, dword [0x4130fc]
call fcn.00403c18
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a58
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x451c8b
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.0043fa78
test al, al
je 0x451c7e
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, 0x451ccc
lea eax, [ebp - 0x254]
call fcn.00409aa0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x451c7e
xor eax, eax
push ebp
push 0x451c77
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 0x451d04
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x451c60
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cc8
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 0x451c60
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451c7e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x451b81
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004175f4
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 0x451cc2
lea eax, [ebp - 0x260]
call fcn.00404a58
ret

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

Disassembly:
push ecx
mov eax, dword [0x491be4]
cmp byte [eax + 0xa5], 0
jne 0x452675
cmp dword [0x491bfc], 0
jne 0x452636
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4525c0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x491bfc], eax
cmp dword [0x491bf8], 0
jne 0x452651
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x491bf8], eax
cmp dword [0x491c00], 0
jne 0x452675
push esp
push 0
push 0
push 0x452564
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x491c00], eax
pop edx
ret
Function at 0x452d08
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x491be4]
cmp dword [eax + 0x30], 0
je 0x452db2
cmp dword [ebx + 0x94], 0
jne 0x452dac
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x452c98
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452dac
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 0x452d72
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452dac
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.004151e0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452d81
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453910
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 0x453945
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.00404b48
jmp 0x453952
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404aac
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454978
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4549b9
mov eax, esi
call fcn.0043b138
test al, al
je 0x4549b9
mov eax, dword [ebx + 0x84]
call fcn.0043ae60
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4549b9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ae60
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x455cc8
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404f08
xor eax, eax
push ebp
push 0x455d46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404f18
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x455d11
mov eax, dword [ebx + 4]
call fcn.00404f18
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455d4d
lea eax, [ebp - 4]
call fcn.00404a58
ret
Function at 0x456d48
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x456ee5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402ea4
cmp word [ebx + 0xa2], 0
je 0x456d91
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x456da5
lea esi, [ebp - 8]
jmp 0x456da7
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x456db4
xor edi, edi
jmp 0x456dc1
mov eax, dword [ebx + 0x80]
call fcn.00404f18
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00404f18
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00456480
mov eax, dword [ebp - 0x14]
call fcn.00404f18
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00404f18
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404f18
push eax
mov eax, ebx
call fcn.004565b4
push eax
mov eax, ebx
call fcn.00456588
push eax
mov eax, ebx
call fcn.0045653c
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0045634c
mov eax, dword [ebp - 0x18]
call fcn.00404f18
push eax
mov eax, dword [ebx + 8]
call fcn.00404f18
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x456e4a
call fcn.0040dc50
xor edx, edx
push ebp
push 0x456ec3
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x456e88
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x456e7e
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x456eac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456eca
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x456ef4
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x456f20
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404f18
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x456f45
call fcn.0040dc50
xor eax, eax
push ebp
push 0x456f7c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x456f65
call fcn.0040dc50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456f83
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x459530
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
and edx, edx
je 0x45954e
and ecx, ecx
jle 0x45954e
push ebx
xor al, byte [edx]
imul eax, eax, 0x8088405
inc eax
mov ebx, eax
shr ebx, 0x18
mov byte [edx], bl
inc edx
dec ecx
jne 0x459539
pop ebx
ret

Function at 0x459594
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x4595b9
and ecx, ecx
jle 0x4595b9
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x4595bb]
mov bl, byte [edx]
xor bl, al
shr ax, 8
xor ax, word [edi + ebx*2]
inc edx
dec ecx
jne 0x4595a7
pop edi
pop ebx
ret

Function at 0x4597bc
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x4597df
and ecx, ecx
jle 0x4597df
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x4597e5]
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0x4597cf
pop edi
pop ebx
ret

Function at 0x45c17c
Capabilities:
Hash data using ripemd320
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403490
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 0x60], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0x64], 0x10325476
mov eax, dword [ebp - 4]
mov dword [eax + 0x68], 0xc3d2e1f0
mov eax, dword [ebp - 4]
mov dword [eax + 0x6c], 0x76543210
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 0xfedcba98
mov eax, dword [ebp - 4]
mov dword [eax + 0x74], 0x89abcdef
mov eax, dword [ebp - 4]
mov dword [eax + 0x78], 0x1234567
mov eax, dword [ebp - 4]
mov dword [eax + 0x7c], 0x3c2d1e0f
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0045b2e8
pop ecx
pop ebp
ret
Function at 0x46790c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0x1c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
lea edx, [eax + 0x20]
mov eax, dword [ebp - 8]
mov ecx, 0x20
call fcn.00402c98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
dec eax
test eax, eax
jb 0x467a7f
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x10
jae 0x467a19
mov eax, dword [ebp - 0x10]
add eax, eax
mov edx, dword [ebp - 0xc]
shr edx, 1
and edx, 1
add eax, edx
shl eax, 7
lea eax, [eax*8 + 0x47a09c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
and eax, 0xff
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
inc eax
and eax, 0xf
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
xor dword [eax + edx*4], ecx
mov eax, dword [ebp - 0xc]
add eax, 0xf
and eax, 0xf
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
xor dword [eax + edx*4], ecx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
and eax, 0xff
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
inc eax
and eax, 0xf
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
xor dword [eax + edx*4], ecx
mov eax, dword [ebp - 0xc]
add eax, 0xf
and eax, 0xf
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
xor dword [eax + edx*4], ecx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
jb 0x467963
mov eax, dword [ebp - 0x14]
mov eax, dword [eax*4 + 0x4815a8]
mov dword [ebp - 0x18], eax
mov eax, 0x20
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
shr eax, cl
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0xc]
mov edx, dword [edx + ebx*4]
shl edx, cl
or eax, edx
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [edx + ecx*4], eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
jne 0x467a36
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jne 0x467954
inc dword [ebp - 0x10]
dec dword [ebp - 0x28]
jne 0x46794f
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, 0xf
sub eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
xor dword [edx + ecx*4], eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x467a84
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46ced0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov ebx, dword [0x490454]
mov ebx, dword [ebx]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call ebx
mov dword [ebp - 4], eax
movzx eax, word [ebp - 2]
mov dword [ebp - 0x1c], eax
movzx eax, word [ebp - 4]
mov dword [ebp - 0x20], eax
mov ebx, dword [0x490454]
mov ebx, dword [ebx]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
call ebx
mov dword [ebp - 4], eax
movzx eax, word [ebp - 2]
mov dword [ebp - 0x24], eax
movzx eax, word [ebp - 4]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
movzx edx, word [eax]
mov eax, dword [ebp - 0x1c]
call fcn.0046cea0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 2]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 4]
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
movzx edx, word [eax + 6]
mov eax, dword [ebp - 0x28]
call fcn.0046cea0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
movzx edx, word [eax + 8]
mov eax, dword [ebp - 0x18]
call fcn.0046cea0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx edx, word [eax + 0xa]
mov eax, dword [ebp - 0x14]
call fcn.0046cea0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
add dword [ebp - 0x10], 0xc
inc dword [ebp - 4]
cmp dword [ebp - 4], 8
jne 0x46cf26
mov eax, dword [ebp - 0x10]
movzx edx, word [eax]
mov eax, dword [ebp - 0x1c]
call fcn.0046cea0
mov word [ebp - 2], ax
mov ax, word [ebp - 0x24]
mov edx, dword [ebp - 0x10]
add ax, word [edx + 2]
mov word [ebp - 4], ax
mov ebx, dword [0x490454]
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call ebx
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov ax, word [ebp - 0x20]
mov edx, dword [ebp - 0x10]
add ax, word [edx + 4]
mov word [ebp - 2], ax
mov eax, dword [ebp - 0x10]
movzx edx, word [eax + 6]
mov eax, dword [ebp - 0x28]
call fcn.0046cea0
mov word [ebp - 4], ax
mov ebx, dword [0x490454]
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call ebx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46db48
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
add eax, 0x100
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 1
xor eax, eax
mov dword [ebp - 4], eax
mov al, byte [ebp - 8]
and al, 0xff
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov eax, dword [ebp - 8]
and eax, 0xff
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 4]
mov byte [edx + eax], cl
mov eax, dword [ebp - 8]
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
mov ecx, 0x101
cdq
idiv ecx
mov dword [ebp - 8], edx
inc dword [ebp - 0xc]
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x100
jne 0x46db77
mov esp, ebp
pop ebp
ret
Function at 0x46ff40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
and eax, 0xff
imul eax, eax, 0x1010101
mov dword [ebp - 0xc], 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 eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x40
jne 0x46ff65
mov esp, ebp
pop ebp
ret

Function at 0x46ff88
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
mov edx, 0x484604
lea eax, [ebp - 0x108]
call fcn.0046ff40
pop ecx
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x18]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0x108]
movzx eax, byte [eax + 0x484604]
xor eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x484804]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x46ffbb
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 8
mov edx, 0x484704
lea eax, [ebp - 0x108]
call fcn.0046ff40
pop ecx
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x17]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0x108]
movzx eax, byte [eax + 0x484604]
xor eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x484c04]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx*4 + 0x400], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x47001c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x10
mov edx, 0x484604
lea eax, [ebp - 0x108]
call fcn.0046ff40
pop ecx
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x16]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0x108]
movzx eax, byte [eax + 0x484704]
xor eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x485004]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx*4 + 0x800], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x470081
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x18
mov edx, 0x484704
lea eax, [ebp - 0x108]
call fcn.0046ff40
pop ecx
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x15]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0x108]
movzx eax, byte [eax + 0x484704]
xor eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x485404]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x20]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx*4 + 0xc00], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x4700e6
mov esp, ebp
pop ebp
ret