joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401720
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x48ce5c]
and eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x40173d
mov eax, dword [sym.imp.GDI32.dll_GetClipRgn]
ret 0x10
mov edx, dword [esp + 0x10]
test edx, edx
je 0x40174d
mov eax, dword [sym.imp.GDI32.dll_GetPath]
ret 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40175d
mov eax, dword [sym.imp.KERNEL32.DLL_OpenWaitableTimerA]
ret 0x10
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x40176d
mov eax, dword [sym.imp.GDI32.dll_FillPath]
ret 0x10
mov edx, dword [esp + 0x10]
test edx, edx
je 0x40177d
mov eax, dword [sym.imp.KERNEL32.DLL_TransactNamedPipe]
ret 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40178d
mov eax, dword [sym.imp.KERNEL32.DLL_IsWow64Process]
ret 0x10
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x40179d
mov eax, dword [sym.imp.KERNEL32.DLL_CreateTimerQueue]
ret 0x10
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4017ad
mov eax, dword [sym.imp.GDI32.dll_WidenPath]
ret 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4017bd
mov eax, dword [sym.imp.GDI32.dll_PtVisible]
ret 0x10
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4017cd
mov eax, dword [sym.imp.KERNEL32.DLL_WaitNamedPipeA]
ret 0x10
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4017dd
mov eax, dword [sym.imp.KERNEL32.DLL_CreateNamedPipeA]
ret 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4017ed
mov eax, dword [sym.imp.GDI32.dll_Rectangle]
ret 0x10
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4017fd
mov eax, dword [sym.imp.GDI32.dll_StrokeAndFillPath]
ret 0x10
mov edx, dword [esp + 0x10]
test edx, edx
je 0x40180d
mov eax, dword [sym.imp.KERNEL32.DLL_HeapCompact]
ret 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40181d
mov eax, dword [sym.imp.GDI32.dll_FlattenPath]
ret 0x10
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x40182d
mov eax, dword [sym.imp.KERNEL32.DLL_DeleteTimerQueueTimer]
ret 0x10
mov edx, dword [esp + 0x10]
test edx, edx
je 0x40183d
mov eax, dword [sym.imp.KERNEL32.DLL_IsProcessInJob]
ret 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40184d
mov eax, dword [sym.imp.SHELL32.dll_SHFileOperationA]
ret 0x10
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x40185d
mov eax, dword [sym.imp.KERNEL32.DLL_VirtualFreeEx]
ret 0x10
mov edx, dword [esp + 0x10]
test edx, edx
je 0x40186d
mov eax, dword [sym.imp.KERNEL32.DLL_SetNamedPipeHandleState]
ret 0x10
push 0x8001
call dword [sym.imp.KERNEL32.DLL_SetErrorMode]
push 1
call fcn.00401080
mov eax, dword [sym.imp.msvcrt.dll___argv]
mov ecx, dword [eax]
mov edx, dword [sym.imp.msvcrt.dll___argc]
mov eax, dword [edx]
push ecx
push eax
call fcn.004018c0
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x403f00
Capabilities:
Read file via mapping
Set environment variable

Disassembly:
sub esp, 0x40
push 0
push 0x10
push 0
push 0x8000040
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffff
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
mov dword [0x48ce58], eax
test eax, eax
je 0x403fdb
push esi
push edi
push 0x10
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov edi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push 2
push 1
push 0
push esi
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xffffffff
call edi
push eax
call edi
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
cmp dword [esi], 0xffffffff
je 0x403fbc
mov ecx, dword [0x48ce58]
push ecx
push 0x40f5b0
lea edx, [esp + 0x1c]
push 0x32
push edx
call dword [sym.imp.msvcrt.dll__snprintf]
add esp, 0x10
test eax, eax
jle 0x403fbc
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableA]
pop edi
mov eax, esi
pop esi
add esp, 0x40
ret
mov edx, dword [0x48ce58]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
mov dword [0x48ce58], 0
xor eax, eax
pop esi
add esp, 0x40
ret
xor eax, eax
add esp, 0x40
ret

Function at 0x403ff0
Capabilities:
Query environment variable
Read file via mapping

Disassembly:
sub esp, 0x34
push 0x32
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
test eax, eax
jbe 0x40402e
lea edx, [esp]
push edx
call dword [sym.imp.msvcrt.dll_atoi]
add esp, 4
mov dword [0x48ce58], eax
test eax, eax
je 0x40402e
push 0x10
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
add esp, 0x34
ret
xor eax, eax
add esp, 0x34
ret
Function at 0x404530
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x1c]
push esi
push ebx
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x40454b
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push ebp
push edi
push ebx
push esi
push eax
push ecx
call fcn.004099e0
add esp, 0x10
test eax, eax
je 0x4045be
mov ebp, dword [esp + 0x18]
push 0
push 0x80
push 1
push 0
push 7
push 0xc0000000
push ebp
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4045be
push 0
lea edx, [esp + 0x14]
push edx
push ebx
push esi
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x4045b7
push esi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
xor esi, esi
cmp dword [esp + 0x10], ebx
je 0x4045d4
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x4045cc
push esi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push edi
call dword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret
Function at 0x40d138
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x487988
call fcn.0040d554
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x48d560
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_InterlockedCompareExchange]
test eax, eax
je 0x40cef9
cmp eax, esi
jne 0x40ceec
xor esi, esi
inc esi
mov ebx, esi
jmp 0x40cefc
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x40ced3
xor esi, esi
inc esi
mov eax, dword [0x48d55c]
cmp eax, esi
jne 0x40cf0f
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x40cf3e
mov eax, dword [0x48d55c]
test eax, eax
jne 0x40cf38
mov dword [0x48d55c], esi
push 0x40f3e0
push 0x40f3d0
call fcn.0040ce42
pop ecx
pop ecx
test eax, eax
je 0x40cf3e
jmp 0x40d066
mov dword [0x48d220], esi
mov eax, dword [0x48d55c]
cmp eax, esi
jne 0x40cf62
push 0x40f3cc
push 0x40f234
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x48d55c], 2
test ebx, ebx
jne 0x40cf6e
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp dword [0x48d564], 0
je 0x40cf92
push 0x48d564
call fcn.0040d3b4
pop ecx
test eax, eax
je 0x40cf92
push 0
push 2
push 0
call dword [0x48d564]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x40cfee
test al, al
je 0x40cfac
cmp dword [ebp - 0x1c], 0
jne 0x40cfee
mov al, byte [esi]
test al, al
je 0x40cfbc
cmp al, 0x20
ja 0x40cfbc
inc esi
mov dword [ebp - 0x20], esi
jmp 0x40cfac
test byte [ebp - 0x3c], 1
je 0x40cfc8
movzx eax, word [ebp - 0x38]
jmp 0x40cfcb
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x48d21c], eax
cmp dword [0x48d210], 0
jne 0x40d042
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x40cffd
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x40d010
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x40cf99
cmp dword [0x48d220], 0
jne 0x40d051
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x48d21c]
jmp 0x40d072
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0040d599
ret
call fcn.0040d683
jmp 0x40ce99
Function at 0x401b15
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401b6b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401b6b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x401b5d
cmp esi, ecx
jae 0x401b6b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x401b4b
cmp esi, ecx
jae 0x401b6b
cmp word [esi], 0
je 0x401b6b
mov eax, esi
jmp 0x401b6d
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x401f8f
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
lea ebx, [ecx + 4]
push edi
mov edi, edx
test ebx, ebx
je 0x401fc5
lea esi, [edi + 4]
test esi, esi
je 0x401fc5
call fcn.00401ef1
test al, al
je 0x401fc5
mov ecx, edi
call fcn.00401ef1
test al, al
je 0x401fc5
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
jmp 0x401fc7
xor al, al
pop edi
pop esi
pop ebx
ret
Function at 0x40f9ae
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x84], edi
jne 0x40fa4b
push edi
xor ebx, ebx
mov dword [esi + 0x84], 2
inc ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x40fa4b
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x40fa4b
push 4
push 0xffffffffffffffff
push esi
push 0x410165
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x40fa4b
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x40fa16
mov eax, dword [eax]
push dword [esi + 0x38]
push edi
push 0x40
push 0x40
push ebx
push 6
push 0x40080003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x40fa4b
push dword [esi + 0x9c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x40fa51
mov dword [esi + 0x84], ebx
xor al, al
pop edi
pop esi
pop ebx
ret
mov al, bl
jmp 0x40fa4d

Function at 0x40fb5d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x2c
push ebx
mov dword [ebp - 8], ebx
lea esi, [edi + 0xa0]
push esi
call fcn.00417a50
add esp, 0xc
lea eax, [edi + 0x8c]
push eax
lea eax, [ebp - 8]
push eax
push 0x2c
push esi
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne cl
mov byte [ebp - 1], cl
test eax, eax
jne 0x40fbac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov cl, byte [ebp - 1]
mov ebx, eax
test cl, cl
jne 0x40fbc3
cmp ebx, 0x3e5
je 0x40fbc3
push 0xa
mov ecx, edi
call fcn.0040fdee
jmp 0x40fbcd
mov dword [edi + 0x84], 5
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41100b
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
push es
Function at 0x413574
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
xor ebx, ebx
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.00417a50
add esp, 0xc
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x4135d8
push ecx
lea ecx, [ebp - 0x204]
call fcn.00404f0f
pop ecx
test al, al
je 0x4135d8
mov al, 1
jmp 0x41361d
push esi
lea eax, [ebp - 0x208]
mov dword [ebp - 0x208], ebx
push eax
push 0x64
push ebx
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov esi, dword [ebp - 0x208]
test eax, eax
jne 0x413613
cmp dword [esi + 8], ebx
je 0x413613
push 0x43da4c
push dword [esi + 8]
call fcn.00426894
pop ecx
pop ecx
test eax, eax
jne 0x413613
mov bl, 1
push esi
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov al, bl
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00416ed9
leave
ret

Function at 0x4159c7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x442c1c
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x442c1c
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
and dword [esi + 0x18], 0
and dword [esi + 0x1c], 0
mov dword [ebp + 8], eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 8], 0
jne 0x415a09
test ebx, ebx
je 0x415a67
lea ebx, [edi + 0x1c]
mov ecx, edi
push ebx
push str.Counts
call fcn.0041599e
test al, al
je 0x415a67
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.0040542a
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x10]
xor edi, edi
mov edx, esi
push eax
mov ecx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.00415c90
mov eax, dword [ebp + 8]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
pop ecx
push 8
push eax
push 3
push edi
push esi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.004015ce
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x3000adb6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x30001dbc]
jne 0x3000ba21
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x30011a50], eax
mov dword [0x30011a4c], ecx
mov dword [0x30011a48], edx
mov dword [0x30011a44], ebx
mov dword [0x30011a40], esi
mov dword [0x30011a3c], edi
mov word [0x30011a68], ss
mov word [0x30011a5c], cs
mov word [0x30011a38], ds
mov word [0x30011a34], es
mov word [0x30011a30], fs
mov word [0x30011a2c], gs
pushfd
pop dword [0x30011a60]
mov eax, dword [ebp]
mov dword [0x30011a54], eax
mov eax, dword [ebp + 4]
mov dword [0x30011a58], eax
lea eax, [ebp + 8]
mov dword [0x30011a64], eax
mov eax, dword [ebp - 0x320]
mov dword [0x300119a0], 0x10001
mov eax, dword [0x30011a58]
mov dword [0x30011954], eax
mov dword [0x30011948], 0xc0000409
mov dword [0x3001194c], 1
mov eax, dword [0x30001dbc]
mov dword [ebp - 0x328], eax
mov eax, dword [0x3001150c]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x30011998], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x30002138
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x30011998], 0
jne 0x3000bb11
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
invalid
invalid
fcom dword [eax]
invalid

Function at 0x3000adce
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x30001e08
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x3000ae26
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push 0
push 0
push 0x30001e00
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x3000ae26
mov al, 1
jmp 0x3000ae28
xor al, al
leave
ret 8
Function at 0x402d28
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x12a5008], 0x8088405
inc edx
mov dword [ebx + 0x12a5008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x42ec60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42ec8d
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x42ec7e
and ecx, 3
je 0x42eca5
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x42ec92
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x42ecb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x42ece9
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x42ecd1
pop esi
and esi, 3
je 0x42ed0e
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x42ecef
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x42ed18
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42ed44
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x42ed35
and ecx, 3
je 0x42ed5c
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x42ed49
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x42ed64
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
shr ecx, 1
lea edi, [eax + ecx*8]
lea edx, [edx + ecx*8]
neg ecx
mov ebx, dword [edx + ecx*8]
mov eax, dword [edx + ecx*8 + 4]
xor dword [edi + ecx*8], ebx
xor dword [edi + ecx*8 + 4], eax
inc ecx
jne 0x42ed70
pop edi
pop ebx
ret
Function at 0x42f68c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0042f2e4
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x11c17cb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x42f73a
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00402910
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042ed64
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.00402910
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042ed64
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x42f6e7
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x42f788
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00402910
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042ed64
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.00402910
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x42f7b2
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x42f7b2
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x42f7a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x11c17d2
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0042f480
ret

Function at 0x43df94
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x43dfe8
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x12a5814]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x12a5c14]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x12a6014]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x12a6414]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x43dfa3
pop edi
pop esi
pop ebx
ret