joyce8/EMBER2024-capa huggingface dataset:
Function at 0x268aec7d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 4]
push eax
push 0x17
push 0
call esi
cmp dword [ebp - 4], 0
jne 0x268aeca2
lea eax, [ebp - 4]
push eax
push 2
push 0
call esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x26911198
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_wcscat]
pop ecx
pop ecx
pop esi
leave
ret

Function at 0x268af387
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [esi + 8]
push ebx
xor ebx, ebx
cmp ecx, ebx
jne 0x268af39e
xor eax, eax
jmp 0x268af43a
push edi
push dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
neg eax
sbb eax, eax
push ebx
and eax, 0xf001b
push ebx
add eax, 4
push eax
push ecx
call edi
cmp eax, ebx
mov dword [esi + 0xc], eax
je 0x268af3db
push 0x1c
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jbe 0x268af3db
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
cmp dword [esi + 0xc], ebx
je 0x268af42a
mov eax, dword [esi + 0x22c]
push 0x54
push ebx
push ebx
push 0xf001f
push eax
call edi
mov edi, eax
cmp edi, ebx
mov dword [esi + 0x230], edi
je 0x268af42a
cmp dword [esi + 0x238], ebx
je 0x268af418
push 0x15
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x230]
mov byte [eax], 1
jmp 0x268af42a
cmp byte [edi], 1
jbe 0x268af42a
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0x230], ebx
mov eax, esi
call fcn.268af4a5
xor eax, eax
cmp dword [esi + 0xc], ebx
pop edi
setne al
pop ebx
leave
ret

Function at 0x268af4b2
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [ebp - 0x20c]
push str._MTX
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esi + 0x234], eax
je 0x268af515
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x268af512
mov eax, esi
call fcn.268af491
jmp 0x268af515
xor eax, eax
inc eax
leave
ret 8
Function at 0x268af7e5
Capabilities:
Create thread

Disassembly:
mov eax, 0x268ecc90
call fcn.268eb4dc
sub esp, 0x420
push ebx
push esi
push edi
push 0x2692a860
mov esi, ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x2692aedc], 0
jne 0x268af85c
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
push esi
mov dword [ebp - 0x10], eax
call dword [ecx + 0x3c]
mov ebx, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push 0xc
push ebx
call dword [eax + 0x164]
test eax, eax
je 0x268af8c5
mov eax, dword [esi]
mov ebx, dword [ebx]
push esi
call dword [eax + 0x3c]
push eax
push 0
push 0
push 0xc
push dword [ebp - 0x14]
call dword [ebx + 0x15c]
test eax, eax
mov dword [0x2692aedc], eax
je 0x268af8c5
push 0x2692a860
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x30
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x268af881
call fcn.268658fe
jmp 0x268af883
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [edi + 0x23c], eax
mov eax, dword [esi + 4]
mov ebx, dword [eax]
mov eax, dword [esi]
push 0
push 0xc
push esi
call dword [eax + 0x3c]
mov esi, dword [edi + 0x23c]
push eax
push dword [ebp + 8]
xor ecx, ecx
mov eax, ebx
call fcn.268cbc0a
test eax, eax
jne 0x268af8cc
mov edi, dword [edi + 0x23c]
test edi, edi
je 0x268af8c5
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
xor eax, eax
jmp 0x268af9e0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ebx, [edi + 0x1c]
call esi
push eax
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_swprintf]
lea eax, [ebp - 0x220]
push str._s_SEMN_d
push eax
call ebx
add esp, 0x10
call esi
push eax
lea esi, [edi + 0x1c]
push esi
lea eax, [ebp - 0x42c]
push str._s_SEMF_d
push eax
call ebx
add esp, 0x10
push 1
xor ebx, ebx
push ebx
push dword [edi + 0x228]
lea eax, [ebp - 0x220]
push eax
lea eax, [edi + 0x240]
push eax
call fcn.268e5be8
push 1
push 1
push dword [edi + 0x228]
lea eax, [ebp - 0x42c]
push eax
lea eax, [edi + 0x244]
push eax
call fcn.268e5be8
push 0x2692a860
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x2692b4a0], ebx
mov dword [ebp + 8], ebx
jbe 0x268af983
mov eax, dword [0x2692b4b0]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
add eax, 0x1c
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x268af996
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [0x2692b4a0]
jb 0x268af959
lea eax, [ebp + 8]
push eax
mov ebx, 0x2692b498
mov dword [ebp + 8], edi
call fcn.268e0c07
xor ebx, ebx
cmp dword [0x2692aed4], ebx
jne 0x268af9c5
push ebx
push ebx
push ebx
push 0x268aeedb
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
xor ecx, ecx
add esp, 0x18
cmp ecx, eax
mov dword [0x2692aed8], eax
sbb eax, eax
neg eax
mov dword [0x2692aed4], eax
je 0x268af9d3
mov eax, edi
call fcn.268af56f
test eax, eax
je 0x268af9d3
xor ebx, ebx
inc ebx
push 0x2692a860
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x268b16a8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x268ec40e
call fcn.268eb4dc
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ecx + 4], edx
mov dword [ecx + 0x14], edx
mov dword [ebp - 4], edx
mov dword [ecx + 0x18], 0x26915d60
mov dword [ecx], 0x26915d54
mov dword [ecx + 8], 0x26915d48
mov dword [ecx + 0xc], 0x26915c88
mov dword [ecx + 0x10], 0x26915c18
mov dword [ecx + 0x18], 0x26915bb0
mov dword [ecx + 0x1c], edx
mov byte [ebp - 4], 1
mov dword [ecx + 0x20], edx
mov byte [ebp - 4], 2
mov dword [ecx + 0x24], edx
mov byte [ebp - 4], 3
mov dword [ecx + 0x28], edx
mov dword [ecx + 0x2c], edx
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], edx
mov dword [ecx + 0x38], edx
mov dword [ecx + 0x3c], edx
mov dword [ecx + 0x40], edx
mov byte [ebp - 4], 4
lea eax, [ecx + 0x44]
call fcn.268df6d1
mov byte [ebp - 4], 5
lea eax, [ecx + 0x50]
call fcn.2689f46c
mov byte [ebp - 4], 6
mov dword [ecx + 0x60], edx
or dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4

Function at 0x268b2319
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x268ef156
call fcn.268eb4dc
sub esp, 0x29c
push ebx
push 0x105
lea eax, [ebp - 0x2a8]
push eax
xor ebx, ebx
push ebx
push ebx
push 5
push edi
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
lea eax, [ebp - 0x2a8]
push eax
lea eax, [esi + 0x1c]
call fcn.26873a49
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x14]
push ecx
push dword [eax + 8]
mov ecx, dword [eax + 4]
call fcn.268b22a2
pop ecx
pop ecx
lea eax, [ebp - 0x14]
call fcn.268e3147
push eax
lea eax, [esi + 0x24]
call fcn.26873a49
push 0x105
lea eax, [ebp - 0x2a8]
push eax
push ebx
push 1
push 5
push edi
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
lea eax, [ebp - 0x2a8]
push eax
lea eax, [esi + 0x20]
call fcn.26873a49
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.CRYPT32.dll_CryptAcquireCertificatePrivateKey]
test eax, eax
je 0x268b23cb
test byte [ebp - 0x18], 3
je 0x268b23cb
xor eax, eax
inc eax
jmp 0x268b23cd
xor eax, eax
cmp dword [ebp - 0x10], ebx
mov dword [esi + 0x38], eax
je 0x268b23e2
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [ebp - 0x10], ebx
mov eax, dword [edi + 0xc]
lea ecx, [esi + 0x28]
add eax, 0x20
push ecx
push eax
call fcn.268b182a
mov eax, dword [edi + 0xc]
lea ecx, [esi + 0x30]
add eax, 0x28
push ecx
push eax
call fcn.268b182a
push dword [ebp + 8]
mov eax, edi
mov ecx, esi
call fcn.268b1fc7
lea eax, [ebp - 0x9c]
push eax
call fcn.26878e4c
mov byte [ebp - 4], 1
lea eax, [ebp - 0x9c]
push eax
mov eax, esi
call fcn.268b1d82
mov dword [esi + 0x3c], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x9c]
call fcn.26878e29
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.268e3036
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x268b2ee7
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push 1
push dword [eax + 0x10]
call dword [sym.imp.ADVAPI32.dll_ControlService]
leave
ret 4

Function at 0x268b3eeb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
cmp dword [0x269282d0], 2
jl 0x268b3f02
xor eax, eax
inc eax
leave
ret
push esi
push edi
mov edi, 0x80
push edi
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea esi, [ebp - 0x100]
call fcn.268b3e9e
test eax, eax
jne 0x268b3f35
push edi
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
call fcn.268b3e9e
mov eax, dword [0x2692a8a8]
test eax, eax
pop edi
pop esi
je 0x268b3f7e
push str.DSM_Entry
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x2692a88c], eax
je 0x268b3f69
push 2
pop eax
mov dword [0x2692a8ac], 1
call fcn.268b4df1
jmp 0x268b3f85
push dword [0x2692a8a8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [0x2692a8a8], 0
jmp 0x268b3f85
and dword [0x2692a88c], 0
xor eax, eax
cmp dword [0x269282d0], 2
setge al
leave
ret

Function at 0x268b6979
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
lea ecx, [ebp - 4]
push ecx
lea ebx, [esi + 8]
push ebx
xor eax, eax
lea ecx, [ebp - 8]
push ecx
push eax
push eax
push 3
push 0x30
push dword [esi]
mov dword [ebp - 4], eax
call edi
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_malloc]
and dword [ebp - 4], 0
pop ecx
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 8]
mov dword [esi + 0xc], eax
push eax
push 3
push 0x30
push dword [esi]
call edi
mov edi, eax
test edi, edi
jne 0x268b69da
push dword [esi + 0xc]
call dword [sym.imp.MSVCRT.dll_free]
and dword [esi + 0xc], edi
pop ecx
mov eax, edi
pop edi
pop ebx
leave
ret

Function at 0x268b6a71
Capabilities:
Create service

Disassembly:
mov eax, 0x268ebe6c
call fcn.268eb4dc
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 0x10]
neg eax
push 1
sbb eax, eax
add eax, 3
push eax
push 0x10
push 0xf01ff
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, eax
cmp ebx, edi
jne 0x268b6ab6
xor eax, eax
jmp 0x268b6aef
push 0x24
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x268b6ada
push dword [ebp + 8]
mov eax, esi
mov esi, dword [ebp + 0x14]
push ebx
call fcn.268b2dab
mov esi, eax
jmp 0x268b6adc
xor esi, esi
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x18], edi
je 0x268b6aed
push 1
push esi
call fcn.268b69e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x268b748c
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.MSVCRT.dll__beginthread]
push edi
push 0xa
pop ebp
mov ebx, 0x10000
mov edi, 0x268b7456
jmp 0x268b74b2
test ebp, ebp
je 0x268b74cc
push 0x28
dec ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esp + 0x14]
push ebx
push edi
call esi
add esp, 0xc
cmp eax, 0xffffffff
je 0x268b74a5
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
xor eax, eax
jmp 0x268b74c5

Function at 0x268c7293
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
push 0x47
pop ecx
xor eax, eax
lea edi, [ebp - 0x11c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x118], 6
pop edi
sbb eax, eax
inc eax
leave
ret

Function at 0x268c72ce
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x1c], edi
mov esi, ecx
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x440
jne 0x268c72f3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
movzx eax, word [eax + 0x30]
neg esi
sbb esi, esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
and esi, str.runas
push eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, edi
pop edi
pop esi
je 0x268c734c
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
leave
ret
Function at 0x268c734e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
xor eax, eax
push 0x11
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x14], 0
mov dword [ebp - 0x58], 0x44
mov word [ebp - 0x28], 1
call fcn.268c7293
test eax, eax
je 0x268c73a9
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.268c72ce
add esp, 0x18
jmp 0x268c7440
push dword [ebp + 8]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
call esi
push dword [ebp + 0xc]
mov edi, eax
call esi
add edi, eax
lea eax, [edi + edi + 4]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.268eb500
mov edi, dword [sym.imp.MSVCRT.dll_wcscpy]
mov dword [ebp - 4], esp
push dword [ebp + 8]
push dword [ebp - 4]
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_wcscat]
push 0x26912b60
push dword [ebp - 4]
call ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call ebx
push dword [ebp + 0x10]
call esi
lea eax, [eax + eax + 2]
add eax, 3
add esp, 0x1c
and eax, 0xfffffffc
call fcn.268eb500
mov esi, esp
push dword [ebp + 0x10]
push esi
call edi
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x10], esi
je 0x268c7440
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x268cdcd2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor esi, esi
cmp dword [ebp + 0x10], esi
mov edi, ecx
mov dword [ebp - 0x10], edi
je 0x268cdcef
push dword [ebp + 0x10]
mov eax, dword [edi]
call dword [eax + 8]
xor eax, eax
cmp dword [ebp + 0xc], 8
mov dword [ebp + 0x10], esi
jb 0x268cdd9d
mov edx, dword [ebp + 8]
mov dword [ebp - 8], 8
sub dword [ebp - 8], edx
mov ecx, dword [edx]
xor ecx, eax
mov eax, dword [edx + 4]
xor eax, esi
mov esi, dword [edi + 0x1c]
add eax, dword [esi]
mov esi, dword [esi + 4]
add esi, ecx
mov ecx, dword [edi + 0x18]
cmp ecx, 1
jl 0x268cdd77
mov ebx, dword [edi + 0x1c]
add ebx, 8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], esi
and dword [ebp - 4], 0x1f
mov edi, esi
xor edi, eax
push 0x20
pop ecx
sub ecx, dword [ebp - 4]
mov eax, edi
shr eax, cl
mov ecx, dword [ebp - 4]
shl edi, cl
push 0x20
pop ecx
or eax, edi
add eax, dword [ebx]
add ebx, 8
mov dword [ebp - 4], eax
and dword [ebp - 4], 0x1f
sub ecx, dword [ebp - 4]
xor esi, eax
mov edi, esi
shr edi, cl
mov ecx, dword [ebp - 4]
shl esi, cl
or edi, esi
add edi, dword [ebx - 4]
dec dword [ebp - 0xc]
mov esi, edi
jne 0x268cdd2f
mov edi, dword [ebp - 0x10]
add dword [ebp + 0x10], 8
xor ecx, ecx
or ecx, esi
xor ebx, ebx
or eax, ebx
mov esi, eax
mov dword [edx], ecx
mov eax, ecx
mov ecx, dword [ebp - 8]
mov dword [edx + 4], esi
add edx, 8
add ecx, edx
cmp ecx, dword [ebp + 0xc]
jbe 0x268cdd0b
mov esi, dword [ebp + 0x10]
jmp 0x268cde3d
mov ecx, dword [ebp + 8]
add esi, ecx
mov cl, byte [esi]
xor cl, al
mov byte [esi], cl
mov edx, dword [edi + 0x1c]
mov al, cl
shr al, 4
add al, byte [edx]
mov dl, byte [edx + 4]
add dl, cl
mov ecx, dword [edi + 0x18]
and dl, 0xf
and al, 0xf
cmp ecx, 1
mov dword [ebp - 0x14], esi
mov byte [ebp - 8], dl
jl 0x268cde2f
mov esi, dword [edi + 0x1c]
add esi, 8
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 8]
and ecx, 3
mov dword [ebp - 0xc], ecx
mov bl, dl
xor bl, al
mov al, bl
mov cl, 4
sub cl, byte [ebp - 0xc]
shr al, cl
mov ecx, dword [ebp - 0xc]
shl bl, cl
mov cl, 4
or al, bl
add al, byte [esi]
add esi, 8
and al, 0xf
mov byte [ebp - 0x10], al
mov ebx, dword [ebp - 0x10]
and ebx, 3
sub cl, bl
mov dword [ebp - 0xc], ebx
xor dl, al
mov bl, dl
shr bl, cl
mov ecx, dword [ebp - 0xc]
shl dl, cl
or bl, dl
add bl, byte [esi - 4]
and bl, 0xf
dec dword [ebp - 4]
mov dl, bl
mov byte [ebp - 8], dl
jne 0x268cdddb
mov esi, dword [ebp - 0x14]
shl al, 4
add al, dl
mov byte [esi], al
mov esi, dword [ebp + 0x10]
inc esi
mov dword [ebp + 0x10], esi
cmp esi, dword [ebp + 0xc]
jb 0x268cdda5
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x268cde4d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor esi, esi
cmp dword [ebp + 0x10], esi
mov edi, ecx
mov dword [ebp - 0x14], edi
je 0x268cde6a
push dword [ebp + 0x10]
mov eax, dword [edi]
call dword [eax + 8]
push 8
pop ecx
cmp dword [ebp + 0xc], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
jb 0x268cdf2c
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
sub dword [ebp - 0xc], eax
mov ecx, dword [edi + 0x18]
test ecx, ecx
mov edx, dword [eax]
mov ebx, dword [eax + 4]
jle 0x268cdeec
mov esi, dword [edi + 0x1c]
lea esi, [esi + ecx*8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
sub edx, dword [ecx + 4]
mov dword [ebp + 0x10], ebx
and dword [ebp + 0x10], 0x1f
push 0x20
pop ecx
sub ecx, dword [ebp + 0x10]
mov esi, edx
shl esi, cl
mov ecx, dword [ebp + 0x10]
shr edx, cl
mov ecx, dword [ebp - 8]
sub dword [ebp - 8], 8
push 0x20
or esi, edx
xor esi, ebx
mov edx, esi
mov esi, ebx
sub esi, dword [ecx]
mov dword [ebp + 0x10], edx
and dword [ebp + 0x10], 0x1f
pop ecx
sub ecx, dword [ebp + 0x10]
mov ebx, esi
shl ebx, cl
mov ecx, dword [ebp + 0x10]
shr esi, cl
or ebx, esi
xor ebx, edx
dec dword [ebp - 0x10]
jne 0x268cdea0
mov edi, dword [edi + 0x1c]
sub edx, dword [edi + 4]
sub ebx, dword [edi]
add dword [ebp - 4], 8
mov edi, dword [ebp - 0x14]
mov ecx, edx
xor edx, edx
or ecx, edx
xor ecx, dword [ebp - 0x1c]
mov edx, dword [eax]
xor esi, esi
or esi, ebx
xor esi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], esi
add eax, 8
add ecx, eax
cmp ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
jbe 0x268cde88
mov al, byte [ebp - 0x1c]
mov esi, dword [ebp - 4]
mov byte [ebp + 0x13], al
jmp 0x268cdfd7
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x18]
add esi, eax
mov al, byte [esi]
mov dl, al
shr dl, 4
and al, 0xf
test ecx, ecx
jle 0x268cdfb4
mov ebx, dword [edi + 0x1c]
lea ebx, [ebx + ecx*8]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
sub al, byte [ecx + 4]
xor ebx, ebx
mov bl, dl
push 4
and al, 0xf
pop ecx
push 4
and ebx, 3
sub ecx, ebx
mov bl, al
shl bl, cl
mov cl, dl
and cl, 3
shr al, cl
mov ecx, dword [ebp - 8]
sub dword [ebp - 8], 8
or bl, al
xor bl, dl
sub dl, byte [ecx]
and bl, 0xf
mov al, bl
xor ebx, ebx
mov bl, al
and dl, 0xf
pop ecx
and ebx, 3
sub ecx, ebx
mov bl, dl
shl bl, cl
mov cl, al
and cl, 3
shr dl, cl
or bl, dl
xor bl, al
and bl, 0xf
dec dword [ebp - 0x14]
mov dl, bl
jne 0x268cdf5b
mov ecx, dword [edi + 0x1c]
sub dl, byte [ecx]
sub al, byte [ecx + 4]
mov cl, byte [esi]
and dl, 0xf
and al, 0xf
shl dl, 4
add al, dl
xor al, byte [ebp + 0x13]
mov byte [ebp + 0x13], cl
mov byte [esi], al
mov esi, dword [ebp - 4]
inc esi
mov dword [ebp - 4], esi
cmp esi, dword [ebp + 0xc]
jb 0x268cdf3a
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x268ce191
Capabilities:
Encrypt data using rc6

Disassembly:
sub esp, 0x14
fld qword [0x2691d630]
push ebp
push esi
push edi
push ecx
push ecx
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
call fcn.268eb5c8
mov ebp, dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
shl esi, 2
push esi
mov dword [esp + 0x28], eax
call ebp
mov ecx, esi
mov edx, eax
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
lea esi, [ebx + 8]
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
add esp, 0xc
test eax, eax
lea esi, [esi + esi + 2]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
je 0x268ce1fd
push eax
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov eax, esi
shl eax, 2
push eax
call ebp
test eax, eax
pop ecx
mov dword [ebx + 0x1c], eax
je 0x268ce2c2
xor ecx, ecx
inc ecx
cmp esi, ecx
mov dword [eax], 0xb7e15163
jbe 0x268ce234
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edx, dword [eax - 4]
sub edx, 0x61c88647
inc ecx
cmp ecx, esi
mov dword [eax], edx
jb 0x268ce21e
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*2]
xor ebp, ebp
xor edi, edi
xor ecx, ecx
xor esi, esi
test eax, eax
jbe 0x268ce2b4
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
lea eax, [eax + edi*4]
mov edx, dword [eax]
add edx, ecx
add esi, edx
mov edx, esi
shr edx, 0x1d
shl esi, 3
or edx, esi
mov dword [eax], edx
mov eax, dword [ebx + 0x1c]
mov esi, dword [eax + edi*4]
mov edx, dword [esp + 0xc]
mov edx, dword [edx + ebp*4]
add edx, ecx
lea eax, [ecx + esi]
and eax, 0x1f
mov dword [esp + 0x18], eax
add edx, esi
push 0x20
pop ecx
sub ecx, eax
mov eax, edx
shr eax, cl
mov ecx, dword [esp + 0x18]
shl edx, cl
mov ecx, dword [esp + 0xc]
or eax, edx
mov dword [ecx + ebp*4], eax
mov ecx, eax
xor edx, edx
lea eax, [edi + 1]
div dword [esp + 0x10]
lea eax, [ebp + 1]
mov edi, edx
xor edx, edx
div dword [esp + 0x1c]
dec dword [esp + 0x14]
mov ebp, edx
jne 0x268ce24b
push dword [esp + 0xc]
call dword [sym.imp.MSVCRT.dll_free]
xor eax, eax
pop ecx
inc eax
pop edi
pop esi
pop ebp
add esp, 0x14
ret