joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4048a3
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push 1
push eax
push 0x40e228
push str.http:__www.free.fr
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

Function at 0x404e25
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 0xc]
xor ecx, ecx
cmp dword [esp + 8], ecx
not eax
jbe 0x404e5a
push esi
mov edx, dword [esp + 8]
mov esi, eax
and esi, 0xff
movzx edx, byte [ecx + edx]
xor edx, esi
shr eax, 8
mov edx, dword [edx*4 + 0x40d474]
xor eax, edx
inc ecx
cmp ecx, dword [esp + 0xc]
jb 0x404e34
pop esi
not eax
ret

Function at 0x405e19
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x678
push esi
lea eax, [ebp - 0x678]
push edi
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0040646b
pop ecx
lea eax, [ebp - 0x678]
push eax
push 0x4065c2
push esi
push 0x75
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push 1
pop ecx
cmp eax, ecx
jne 0x405fb8
mov edi, 0x40d3e8
push str..exe
lea eax, [ebp - 0x364]
push edi
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0040641b
lea eax, [ebp - 0x364]
push eax
call fcn.004061be
add esp, 0x14
test eax, eax
je 0x405fbf
lea eax, [ebp - 0x260]
push eax
call fcn.00405fc6
test eax, eax
pop ecx
je 0x405fbf
cmp dword [ebp - 0x46c], esi
push ebx
mov ebx, str.Connexion
je 0x405eff
lea eax, [ebp - 0x570]
push eax
call fcn.004061be
test eax, eax
pop ecx
je 0x405eff
push str..lnk
lea eax, [ebp - 0x570]
push edi
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0040641b
lea eax, [ebp - 0x364]
push ebx
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x260]
push esi
push eax
call fcn.0040631e
add esp, 0x24
cmp dword [ebp - 0x574], esi
je 0x405f3f
push str..lnk
lea eax, [ebp - 0x678]
push edi
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0040641b
lea eax, [ebp - 0x364]
push ebx
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x260]
push esi
push eax
call fcn.0040631e
add esp, 0x24
lea eax, [ebp - 0x678]
push eax
call fcn.00406b2c
pop ecx
pop ebx
test eax, eax
je 0x405fbf
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x15c]
push str.__s_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
push 0x44
lea eax, [ebp - 0x58]
pop edi
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x14]
mov dword [ebp - 0x58], edi
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push 0x30
push esi
push esi
lea eax, [ebp - 0x15c]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x405fbf
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov dword [ebp - 4], 1
jmp 0x405fbf
cmp eax, esi
jne 0x405fbf
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x4061be
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
push 0x102
push dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
xor ebx, ebx
add esp, 0xc
cmp byte [ebp - 0x108], bl
mov byte [ebp - 6], bl
je 0x406220
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strlen
cmp byte [ebp + eax - 0x109], 0x5c
pop ecx
je 0x406220
lea eax, [ebp - 0x108]
push 0x40d184
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x208]
push ebx
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
lea eax, [ebp + 8]
lea esi, [ebp - 0x208]
push eax
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x20
cmp byte [ebp - 0x108], bl
mov edi, eax
jne 0x4062c0
cmp byte [ebp - 0x208], 0x5c
jne 0x4062c0
cmp byte [ebp - 0x207], 0x5c
jne 0x4062c0
mov al, byte [ebp - 0x206]
push 2
cmp al, bl
mov byte [ebp - 0x108], 0x5c
mov byte [ebp - 0x107], 0x5c
mov byte [ebp - 0x106], bl
lea esi, [ebp - 0x206]
pop edi
je 0x4062c0
lea ecx, [ebp - 0x106]
lea edx, [ebp - 0x206]
sub ecx, edx
cmp al, 0x5c
je 0x4062c0
mov byte [ecx + esi], al
mov al, byte [esi + 1]
inc edi
inc esi
cmp al, bl
jne 0x4062b0
mov al, byte [esi]
cmp al, 0x5c
jne 0x406316
inc esi
cmp byte [esi], bl
je 0x406316
mov byte [ebp + edi - 0x108], al
inc edi
mov al, byte [esi]
cmp al, bl
je 0x4062e8
cmp al, 0x5c
je 0x4062e8
mov byte [ebp + edi - 0x108], al
inc edi
inc esi
jmp 0x4062d3
lea eax, [ebp - 0x108]
push ebx
push eax
mov byte [ebp + edi - 0x108], bl
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
jne 0x4062c0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x4062c0
cmp eax, 5
je 0x4062c0
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406352
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
lea eax, [ebp - 4]
push edi
push eax
push 0x40b2f8
xor edi, edi
push 1
push edi
push 0x40b2e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jl 0x406415
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x40b308
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
cmp esi, edi
jl 0x40640c
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0xc], edi
je 0x4063b4
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], edi
je 0x4063c5
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp dword [ebp + 0x18], edi
je 0x4063d6
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0xffffffffffffffff
push dword [ebp + 0x10]
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x210]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x40646b
Capabilities:
Persist via run registry key

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push 0x51c
push 0
push esi
call sub.MSVCRT.dll_memset
mov ebp, 0x104
mov ebx, bind
push ebp
push esi
push str.Desktop
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push ebx
call fcn.00406532
add esp, 0x20
test eax, eax
jne 0x4064a5
and byte [esi], al
xor eax, eax
lea edi, [esi + 0x108]
cmp byte [esi], al
push ebp
push edi
push str.Programs
setne al
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push ebx
mov dword [esi + 0x104], eax
call fcn.00406532
add esp, 0x14
mov ebx, 0x40d3e8
test eax, eax
je 0x4064e1
push ebx
push edi
call fcn.00406587
pop ecx
pop ecx
jmp 0x4064e4
and byte [edi], 0
xor eax, eax
push ebp
cmp byte [edi], al
lea edi, [esi + 0x210]
push edi
push str.ProgramFilesDir
setne al
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.WSOCK32.dll_bind
mov dword [esi + 0x20c], eax
call fcn.00406532
add esp, 0x14
test eax, eax
jne 0x406516
and byte [edi], al
add esi, 0x314
push edi
push esi
call sub.MSVCRT.dll_strcpy
push ebx
push esi
call fcn.00406587
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x406532
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0x14], esi
je 0x406582
lea eax, [ebp + 0xc]
push eax
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406582
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 8]
push dword [ebp + 0x14]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406579
cmp dword [ebp + 8], 1
sete al
mov esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret

Function at 0x406b2c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
push ebx
push esi
push edi
mov edi, 0x40d3e8
push str..exe
push edi
lea eax, [ebp - 0x110]
xor esi, esi
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths
push eax
mov dword [ebp - 8], esi
call fcn.0040641b
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
lea eax, [ebp - 0x110]
push esi
push eax
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x406bde
mov eax, dword [ebp + 8]
add eax, 0x418
push eax
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
mov eax, dword [ebp + 8]
add eax, 0x418
push eax
push 1
push esi
push esi
push dword [ebp - 4]
call ebx
mov eax, dword [ebp + 8]
add eax, 0x314
push eax
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
mov eax, dword [ebp + 8]
add eax, 0x314
push eax
push 1
push esi
push str.Path
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406be5
mov dword [ebp - 8], 1
push esi
push edi
lea eax, [ebp - 0x110]
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push eax
call fcn.0040641b
mov eax, dword [ebp + 8]
add esp, 0x10
add eax, 0x418
push eax
lea eax, [ebp - 0x318]
push str.__s___uninstall
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
lea eax, [ebp - 0x110]
push esi
push eax
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x406c85
push edi
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push edi
push 1
push esi
push str.DisplayName
push dword [ebp - 4]
call ebx
lea eax, [ebp - 0x318]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
lea eax, [ebp - 0x318]
push eax
push 1
push esi
push str.UnInstallString
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406c88
inc dword [ebp - 8]
xor eax, eax
cmp dword [ebp - 8], esi
pop edi
pop esi
sete al
pop ebx
leave
ret
Function at 0x406cf1
Capabilities:
Create process on windows
Create process suspended
Delete directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x984
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 0x984]
push edi
push eax
call fcn.0040646b
lea eax, [ebp - 0x984]
push eax
call fcn.00406e86
pop ecx
test eax, eax
pop ecx
je 0x406e7f
push ebx
mov ebx, str..lnk
mov esi, 0x40d3e8
push ebx
lea eax, [ebp - 0x984]
push esi
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0040641b
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
add esp, 0x10
lea eax, [ebp - 0x15c]
push eax
call edi
push ebx
lea eax, [ebp - 0x87c]
push esi
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0040641b
add esp, 0x10
lea eax, [ebp - 0x15c]
push eax
call edi
test eax, eax
pop ebx
je 0x406d87
lea eax, [ebp - 0x87c]
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
push dword [ebp + 8]
call fcn.00401199
pop ecx
lea eax, [ebp - 0x364]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
test eax, eax
je 0x406e7f
push str.unins.bat
lea eax, [ebp - 0x364]
push esi
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0040641b
lea eax, [ebp - 0x260]
push 0x40dd3c
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
xor esi, esi
add esp, 0x18
cmp edi, esi
je 0x406e12
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x56c]
push eax
lea eax, [ebp - 0x56c]
push eax
push str._echo_off_n:unins_loop_n_del___s__nif_exist___s__goto_:unins_loop_n_rmdir___s__n_del___s_
push edi
call dword [sym.imp.MSVCRT.dll_fprintf]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x1c
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x468]
push str.__s_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
push 0x44
lea eax, [ebp - 0x58]
pop edi
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x14]
mov word [ebp - 0x28], 2
push 1
pop edi
push eax
lea eax, [ebp - 0x58]
push eax
or dword [ebp - 0x2c], edi
push esi
push esi
push 0x30
push esi
push esi
lea eax, [ebp - 0x468]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x406e7f
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x406e86
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push ebx
push esi
push edi
mov edi, 0x40d3e8
push str..exe
push edi
lea eax, [ebp - 0x20c]
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths
push eax
call fcn.0040641b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x10
lea eax, [ebp - 4]
mov esi, reloc.WSOCK32.dll_bind
push eax
push 0x20019
lea eax, [ebp - 0x20c]
push 0
push eax
push esi
call ebx
test eax, eax
jne 0x406f14
mov eax, dword [ebp + 8]
push 0x104
add eax, 0x418
push eax
push 0
push dword [ebp - 4]
call fcn.00406fa9
mov eax, dword [ebp + 8]
push 0x104
add eax, 0x314
push eax
push str.Path
push dword [ebp - 4]
call fcn.00406fa9
add esp, 0x20
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push edi
lea eax, [ebp - 0x310]
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push eax
call fcn.0040641b
add esp, 0x10
and byte [ebp - 0x108], 0
lea eax, [ebp - 4]
push eax
push 0x20019
lea eax, [ebp - 0x310]
push 0
push eax
push esi
call ebx
test eax, eax
jne 0x406f70
lea eax, [ebp - 0x108]
push 0x104
push eax
push str.DisplayName
push dword [ebp - 4]
call fcn.00406fa9
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x108]
push edi
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x406fa2
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [ebp - 0x20c]
push eax
push esi
call edi
lea eax, [ebp - 0x310]
push eax
push esi
call edi
push 1
pop eax
jmp 0x406fa4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407e53
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1e30
call fcn.0040a7f0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0xbe0], ebx
je 0x407eeb
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00407ff3
pop ecx
lea eax, [ebp - 0x188]
pop ecx
push dword [ebp - 0x5c]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push str._d__02d:_02d____d_n
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
xor esi, esi
cmp dword [ebp - 0x4c], ebx
jle 0x407ed1
lea edi, [ebp - 0x48]
lea eax, [ebp - 0x188]
push 0x40e034
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x188]
push edi
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
inc esi
add edi, 0x15
cmp esi, dword [ebp - 0x4c]
jl 0x407ea7
push 0x40
push 0x40d3e8
lea eax, [ebp - 0x188]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x407fe7
cmp dword [edi + 0xce4], ebx
je 0x407fd8
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov dword [ebp + 8], eax
lea eax, [ebp - 0x1e30]
push eax
push edi
call fcn.0040766e
pop ecx
cmp eax, ebx
pop ecx
je 0x407fe7
lea ecx, [ebp - 0x1e30]
push ecx
push eax
call fcn.0040764d
pop ecx
test eax, eax
pop ecx
jne 0x407fab
call esi
sub eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x9aa]
push eax
lea eax, [ebp - 0x988]
push str.Reponse_de:__s_en__u_ms_n_n
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [ebp - 0x1528]
add esp, 0x10
xor esi, esi
mov byte [ebp + eax - 0x1928], bl
cmp dword [ebp - 0x1520], ebx
jle 0x407f99
lea edi, [ebp - 0x1518]
push dword [edi]
lea eax, [ebp - 0x988]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x988]
push 0x40e034
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
inc esi
add edi, 4
cmp esi, dword [ebp - 0x1520]
jl 0x407f6b
push 0x40
push 0x40d3e8
lea eax, [ebp - 0x988]
jmp 0x407ede
push dword [ebp - 0x1524]
lea eax, [ebp - 0x124]
push str.Erreur:__d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x124]
push 0x40
push 0x40d3e8
jmp 0x407ede
cmp dword [edi + 0xcfc], ebx
je 0x407feb
push edi
call fcn.0040409c
pop ecx
xor eax, eax
jmp 0x407fee
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40999e
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x10], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x40a3d9
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp eax, 8
jb 0x40a476
add eax, 0xfffffff9
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0x14]
mov edi, dword [esi]
mov dword [ebp + 0xc], eax
xor eax, eax
test ecx, ecx
jbe 0x40a455
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
shr ecx, 5
shl edx, 4
xor ecx, edx
mov edx, eax
add ecx, dword [ebp + 0xc]
and edx, 3
mov edx, dword [ebx + edx*4]
add edx, eax
sub eax, 0x61c88647
xor ecx, edx
add edi, ecx
mov ecx, edi
mov edx, edi
shr ecx, 5
shl edx, 4
xor ecx, edx
mov edx, eax
shr edx, 0xb
and edx, 3
add ecx, edi
mov edx, dword [ebx + edx*4]
add edx, eax
xor ecx, edx
add dword [ebp + 0xc], ecx
dec dword [ebp + 0x10]
jne 0x40a40c
push 1
push 0
push 0
push dword [ebp + 0xc]
call fcn.0040a830
xor ecx, ecx
add eax, edi
adc edx, ecx
mov dword [esi], eax
mov dword [esi + 4], edx
inc esi
dec dword [ebp - 4]
jne 0x40a3f8
pop edi
pop ebx
mov eax, dword [ebp + 8]
pop esi
leave
ret

Function at 0x40a47c
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
imul edi, edi, 0x9e3779b9
mov ecx, dword [ebp + 8]
cmp eax, 8
mov dword [ebp - 8], edi
lea esi, [ecx + eax - 8]
jb 0x40a52b
add eax, 0xfffffff9
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp + 0x14]
test edx, edx
mov eax, edi
jbe 0x40a50c
mov dword [ebp + 0x10], edx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0xc]
shr edx, 5
shl edi, 4
xor edx, edi
mov edi, eax
add edx, dword [ebp + 0xc]
shr edi, 0xb
and edi, 3
mov edi, dword [ebx + edi*4]
add edi, eax
add eax, 0x61c88647
xor edx, edi
sub ecx, edx
mov edx, ecx
mov edi, ecx
shr edx, 5
shl edi, 4
xor edx, edi
mov edi, eax
and edi, 3
add edx, ecx
mov edi, dword [ebx + edi*4]
add edi, eax
xor edx, edi
sub dword [ebp + 0xc], edx
dec dword [ebp + 0x10]
jne 0x40a4c0
mov edi, dword [ebp - 8]
push 1
push 0
push 0
push ecx
call fcn.0040a830
xor ecx, ecx
add eax, dword [ebp + 0xc]
adc edx, ecx
mov dword [esi], eax
mov dword [esi + 4], edx
dec esi
dec dword [ebp - 4]
jne 0x40a4ac
pop ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret
Function at 0x1002ed10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
and esi, 0xfffffffc
je 0x1002edcb
lea eax, [esi - 1]
mov edi, eax
shr edi, 2
add edi, 1
mov ecx, edi
and ecx, 3
cmp eax, 0xc
jae 0x1002ed40
xor eax, eax
xor ebx, ebx
jmp 0x1002ed8b
and edi, 0xfffffffc
neg edi
xor eax, eax
xor ebx, ebx
nop dword [eax]
rol eax, 5
xor eax, dword [edx + ebx]
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [edx + ebx + 4]
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [edx + ebx + 8]
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [edx + ebx + 0xc]
imul eax, eax, 0x9e3779b9
add ebx, 0x10
add edi, 4
jne 0x1002ed50
test ecx, ecx
je 0x1002eda9
add ebx, edx
shl ecx, 2
xor edi, edi
rol eax, 5
xor eax, dword [ebx + edi]
imul eax, eax, 0x9e3779b9
add edi, 4
cmp ecx, edi
jne 0x1002ed96
mov edi, dword [ebp + 0xc]
cmp esi, edi
jae 0x1002edc6
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
add esi, 1
cmp edi, esi
jne 0x1002edb0
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x1002eda9

Function at 0x1002f5e1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1002f5f0
pop dword [ebp - 0x34]
mov eax, 0xb7a2cb74
add eax, 0x58602a7c
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x3c77a
push 0
mov eax, 0xb198d123
sub eax, 0xa191227b
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x456b6614
add ecx, 0xba94f6ea
mov edx, eax
mov ebx, 0x8c56b138
add ebx, 0x83b1acc8
add ebx, dword [ebp - 0x34]
mov edi, 0x4bceb6ac
add edi, 0x534dd990
sub dword [ebp - 0x14], edx
mov esi, dword [ebx]
xor dword [ebp - 0x30], ecx
add esi, edi
xor dword [ebp - 0x2c], 0xab699fb4
mov dword [edx], esi
add dword [ebp - 0x24], edx
add edx, 4
add ebx, 4
loop 0x1002f64f
add eax, 0x166cb
mov ebx, eax
add eax, 0x8b3ebb8a
sub eax, 0x8b3ebb85
mov ecx, 0xd66953a8
sub ecx, 0xc66953a8
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x42a9cd
Capabilities:
Encode data using xor

Disassembly:
adc bh, al
pop ebp
inc ecx
leave
pop ss
xchg edi, eax
fld qword [0x99f938cd]
test al, bl
xor cl, al
aaa
imul ecx, dword [ebx + edx*2], 0xf66766d5
add eax, 0x5abceeac
cdq
out 0x28, al
cmp al, 3
sahf
or byte [edi - 0x51], dh
mov ch, 0x6a
cmp ecx, dword [ecx - 0x225d5730]
fisub word [ecx]
mov byte [0x17e79918], al
lahf
cld
sbb byte [ecx - 0x360e819], bl
enter 0x26ec, 0x61
xor byte [ecx - 0x29168688], al
salc
aas
push 0xffffffffffffffd9
push cs
cwde
xor ch, ch
xchg edx, eax
xchg byte [edx - 0x13], bh
sbb byte [eax], ch
daa
sahf
jle 0x42a966
sbb eax, 0x1b3a1e88
add eax, 0x4ab9b499
inc esp
cmpsb byte [esi], byte es:[edi]
enter 0xffffffffffffcf18, 0x5d
ror ecx, 1
js 0x42a966
mul byte [ebx + 0x47]
dec ebp
aam 0x37
jns 0x42a998
pop edx
add byte [ecx + 0x67], cl
mov esp, 0xcc4df8ea
cli
dec ebx
mov ch, ch
cmp ch, byte [ebp - 0x481e7945]
sahf
test bh, 0xf8
test bh, 9
and byte [ecx - 4], dl
mov ch, 0xaa
mov al, 0xaa
iretd

Function at 0x4376ef
Capabilities:
Encode data using xor

Disassembly:
test eax, 0xace0bc70
pushfd
pop esp
xchg esp, eax
sbb eax, 0x3d2328b4
mov byte [0xf249fd57], al
or eax, 0x81933826
xor dword [eax], 0x70
jno 0x437749
test al, 0x44
pop ebp
inc ecx
dec ebp
mov dl, 0x7d
jne 0x43774d
aad 0xb5
invalid
test eax, 0x516ffbc0
ret 0xd81d
fsub qword [esi + edx*2 - 0x2b]
mov esi, 0xdda3d52
loop 0x437719
clc
pop eax
and byte [ebx + edx*8 - 0x73396c1], 0xc7
inc eax
fstp st(0)
dec eax
xor eax, 0x505e09dd
popfd
jo 0x4377db
pop es
xor eax, 0x4446870f
xchg esp, eax
cmp eax, 0xeb5a459d
adc byte [edi - 0x281c0724], bl
push cs
je 0x4377d5
dec ebp
test eax, 0x88e8533c
pop edx
xlatb
in eax, 0xa0
arpl word [ebp + 0x73], sp
lock sub byte [eax + 0x5e], ah
jne 0x4377ed
test eax, 0x9999acae
frstor dword [ecx + 0x20efc170]
aam 0xd4
fnsave dword [ebp + 0x7c]
mov al, byte [0x5b9a1027]
retf 0x6444
bound eax, qword [edi - 0x1bd3284e]
lodsb al, byte [esi]
sar esp, cl
mov ah, 0xeb
rol byte [ecx + 0x22], 1
outsb dx, byte [esi]
cmp byte [esp + edx*8], 0x1d
enter 0xffffffffffffbc39, 0x72
sub eax, 0x10dc4588
fcom qword [eax]
mov byte [ebp - 0x24], al
adc byte [eax + ebp*4 + 0x41591fa5], bl
pushfd
test al, 0xa5
pop ds
pop ecx
inc ecx
sub eax, 0xd4e469e1
rcr byte [esi - 0x19], 1
mov ebp, 0x3cabf037
inc eax
sti
mov byte [eax + esi - 0x6eda5710], bl
and bl, al
dec esp
shr dword [ebp + 0x61e58e4d], cl
stc
or al, 0xf4
jp 0x437859
retf
or eax, ebx
sub dword [ebx], eax
mov dh, 0x40
mov word [ebp - 0x28], es
sub dl, dl
sbb bh, bl
mov bl, 0xd9
sub al, 0xed
xchg esi, eax
xchg edi, eax
dec edi
ljmp 0x572c