joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aa860
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR120.dll_getenv
add esp, 4
mov dword [0x52b310], eax
cmp dword [0x52b310], 0
je 0x4aa887
mov eax, dword [0x52b310]
jmp 0x4aa902
lea ecx, [ebp - 4]
push ecx
push 1
push 0
push str.SOFTWAREFLEXlm_License_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4aa900
mov dword [ebp - 0xc], 0x400
lea edx, [ebp - 0xc]
push edx
push 0x52b318
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4aa8f2
mov dword [0x52b310], 0x52b318
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x52b310]
jmp 0x4aa902
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4aa902
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4b1de0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
je 0x4b1e1f
push 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.004b1d50
add esp, 8
cmp eax, 0xffffffff
jne 0x4b1e1f
call fcn.004b1b20
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
call fcn.004b1e50
test eax, eax
je 0x4b1e3f
push 4
lea edx, [ebp - 4]
push edx
push 0x1b
push 0x29
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WSOCK32.dll_setsockopt]
mov esp, ebp
pop ebp
ret

Function at 0x4b1e50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xffff
movzx ecx, ax
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
and eax, 0xffff
movzx ecx, ax
shr ecx, 8
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 8], edx
cmp dword [ebp - 0x10], 6
jb 0x4b1ea4
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4b5d90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5274d0]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x40], 0xc
mov byte [ebp - 0x3f], 0x52
mov byte [ebp - 0x3e], 0xe3
mov byte [ebp - 0x3d], 0xa8
mov byte [ebp - 0x3c], 0xf6
mov byte [ebp - 0x3b], 0xd4
mov byte [ebp - 0x3a], 0xc7
mov byte [ebp - 0x39], 0x68
mov byte [ebp - 0x38], 0xf2
mov byte [ebp - 0x37], 0x36
mov byte [ebp - 0x36], 0x1c
mov byte [ebp - 0x35], 0x88
mov byte [ebp - 0x34], 0x15
mov byte [ebp - 0x33], 0x36
mov byte [ebp - 0x32], 0x97
mov byte [ebp - 0x31], 0xde
mov byte [ebp - 0x30], 0x55
mov byte [ebp - 0x2f], 0x9a
mov byte [ebp - 0x2e], 0x9e
mov byte [ebp - 0x2d], 0xdf
mov byte [ebp - 0x2c], 5
mov byte [ebp - 0x2b], 0xd5
mov byte [ebp - 0x2a], 0xf3
mov byte [ebp - 0x29], 0x52
mov byte [ebp - 0x28], 0xe1
mov byte [ebp - 0x27], 0xe1
mov byte [ebp - 0x26], 0xcb
mov byte [ebp - 0x25], 0xfb
mov byte [ebp - 0x24], 0xb4
mov byte [ebp - 0x23], 0x74
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0xca
mov byte [ebp - 0x20], 0x29
mov byte [ebp - 0x1f], 0xed
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x62
mov byte [ebp - 0x1c], 0x6a
mov byte [ebp - 0x1b], 0xba
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0xa1
mov byte [ebp - 0x18], 0xb0
mov byte [ebp - 0x17], 0x2b
mov byte [ebp - 0x16], 0x27
mov byte [ebp - 0x15], 0x60
mov byte [ebp - 0x14], 0x87
mov byte [ebp - 0x13], 0x81
mov byte [ebp - 0x12], 0xd1
mov byte [ebp - 0x11], 0xa4
mov byte [ebp - 0x10], 0x10
mov byte [ebp - 0xf], 0xf7
mov byte [ebp - 0xe], 0xd2
mov byte [ebp - 0xd], 0x6b
mov byte [ebp - 0xc], 0xce
mov byte [ebp - 0xb], 0xb5
mov byte [ebp - 0xa], 0x12
mov byte [ebp - 9], 0xc5
mov dword [ebp - 0x44], 0x38
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x44]
ja 0x4b5eb3
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
lea eax, [ebp + edx - 0x40]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401990
add esp, 0x10
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00431a84
mov esp, ebp
pop ebp
ret

Function at 0x4b8220
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5274d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0
push 0x522170
lea eax, [ebp - 0x28]
push eax
call section..text
add esp, 0xc
mov dword [ebp - 0x10], 0
jmp 0x4b8255
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 3
jge 0x4b8276
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x4b826c
jmp 0x4b8276
mov al, byte [ebp - 0x28]
sub al, 1
mov byte [ebp - 0x28], al
jmp 0x4b824c
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00431a84
mov esp, ebp
pop ebp
ret
Function at 0x4b8b10
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x52cea0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004df320
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004df540
add esp, 8
push 0x40
push 0x1000
mov edx, dword [ebp - 0xc]
add edx, 0xa
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4b8b64
xor eax, eax
jmp 0x4b8b9d
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00401990
add esp, 0x10
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401ca0
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
call fcn.0043c5b0
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4ddce0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc50
mov eax, dword [0x5274d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x41c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push 0
push 0x401
push 0
lea ecx, [ebp - 0x828]
push ecx
call fcn.00401ca0
add esp, 0x10
push 0
push 0x20
push 0
lea edx, [ebp - 0x848]
push edx
call fcn.00401ca0
add esp, 0x10
push 0
push 0x401
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.00401ca0
add esp, 0x10
push 0
push 0x401
push 0
lea ecx, [ebp - 0xc50]
push ecx
call fcn.00401ca0
add esp, 0x10
push 0xa
push 0x20
lea edx, [ebp - 0x848]
push edx
push 0x401
lea eax, [ebp - 0x828]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4dddb0
mov eax, dword [ebp - 4]
push eax
call fcn.00489a60
add esp, 4
mov eax, dword [ebp - 0x41c]
jmp 0x4ddde5
lea ecx, [ebp - 0x848]
push ecx
call sub.MSVCR120.dll_atoi
add esp, 4
mov dword [ebp - 8], eax
lea edx, [ebp - 0x828]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.004dde00
add esp, 0x10
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00431a84
mov esp, ebp
pop ebp
ret
Function at 0x4de010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5274d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x3c], 0x6c
mov byte [ebp - 0x3b], 0xb0
mov byte [ebp - 0x3a], 0x4b
mov byte [ebp - 0x39], 0xa0
mov byte [ebp - 0x38], 0xad
mov byte [ebp - 0x37], 0xef
mov byte [ebp - 0x36], 0x73
mov byte [ebp - 0x35], 0x4e
mov byte [ebp - 0x34], 0xa3
mov byte [ebp - 0x33], 0x2f
mov byte [ebp - 0x32], 0x90
mov byte [ebp - 0x31], 0xd2
mov byte [ebp - 0x30], 0xb0
mov byte [ebp - 0x2f], 0x45
mov byte [ebp - 0x2e], 0xa2
mov byte [ebp - 0x2d], 0x75
mov byte [ebp - 0x2c], 0x85
mov byte [ebp - 0x2b], 0xe8
mov byte [ebp - 0x2a], 0xa3
mov byte [ebp - 0x29], 0xfb
mov byte [ebp - 0x28], 0x7b
mov byte [ebp - 0x27], 0xd4
mov byte [ebp - 0x26], 0x81
mov byte [ebp - 0x25], 0x38
mov byte [ebp - 0x24], 0xd6
mov byte [ebp - 0x23], 0xf5
mov byte [ebp - 0x22], 0xdc
mov byte [ebp - 0x21], 0xa4
mov byte [ebp - 0x20], 0xba
mov byte [ebp - 0x1f], 0x4c
mov byte [ebp - 0x1e], 0xf8
mov byte [ebp - 0x1d], 0xb9
mov byte [ebp - 0x1c], 0xe9
mov byte [ebp - 0x1b], 0x83
mov byte [ebp - 0x1a], 0x8a
mov byte [ebp - 0x19], 0x7f
mov byte [ebp - 0x18], 0xa6
mov byte [ebp - 0x17], 0x18
mov byte [ebp - 0x16], 0xac
mov byte [ebp - 0x15], 0x17
mov byte [ebp - 0x14], 0xb9
mov byte [ebp - 0x13], 0x88
mov byte [ebp - 0x12], 0x11
mov byte [ebp - 0x11], 0xaa
mov byte [ebp - 0x10], 0x7a
mov byte [ebp - 0xf], 0x47
mov byte [ebp - 0xe], 0xf3
mov byte [ebp - 0xd], 0x76
mov byte [ebp - 0xc], 0x37
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 0xa], 2
mov byte [ebp - 9], 0xa
mov byte [ebp - 8], 0x1d
mov byte [ebp - 7], 0x3a
mov byte [ebp - 6], 0x9c
mov byte [ebp - 5], 0x69
mov dword [ebp - 0x44], 0x38
mov dword [ebp - 0x40], 0
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x44]
ja 0x4de133
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
lea eax, [ebp + edx - 0x3c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401990
add esp, 0x10
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00431a84
mov esp, ebp
pop ebp
ret
Function at 0x4de150
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5274d0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x12c], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4de2b6
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x130], ecx
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x4de2aa
lea edx, [ebp - 0x14]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4de294
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x525a4c
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
call sub.MSVCR120.dll_malloc
add esp, 4
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push str.ServiceName
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x12c], 0
je 0x4de285
push 0
mov ecx, dword [ebp - 0x12c]
push ecx
mov edx, dword [ebp + 8]
push edx
call section..text
add esp, 0xc
mov eax, dword [ebp - 0x12c]
push eax
call fcn.0043c5b0
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 0x104
jmp 0x4de1a3
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4de2bd
mov eax, 0xffffff01
jmp 0x4de2bf
xor eax, eax
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00431a84
mov esp, ebp
pop ebp
ret
Function at 0x4de7e0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5274d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
cmp dword [0x52c080], 0
jne 0x4de901
call sub.MSVCR120.dll__getpid
push eax
push str.IPHelperMutex
push str._s__d
lea ecx, [ebp - 0x110]
push ecx
call sub.MSVCR120.dll_sprintf
add esp, 0x10
lea edx, [ebp - 0x110]
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jne 0x4de87c
xor eax, eax
jmp 0x4de907
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4de898
push 0xffffffffffffffff
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x52c080], 0
jne 0x4de8e7
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x52c084], eax
cmp dword [0x52c084], 0
jne 0x4de8c6
mov dword [ebp - 0x114], 0xfffffffe
jmp 0x4de8dd
push str.GetAdaptersAddresses
mov ecx, dword [0x52c084]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52c07c], eax
mov dword [0x52c080], 1
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00431a84
mov esp, ebp
pop ebp
ret
Function at 0x4e4a40
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0x60
push 0
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x67452301
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0x10325476
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xc3d2e1f0
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40163f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6d93a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], ecx
push edi
sub eax, ebx
je 0x40177f
sub eax, 1
je 0x401726
sub eax, 1
je 0x4016cc
sub eax, 1
jne 0x40179d
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp + 0xc], ebx
jle 0x40179d
lea edi, [ebp - 0x14]
mov esi, ecx
sub edi, ecx
lea eax, [ebp - 0x14]
mov ecx, edx
push eax
call fcn.004018cc
push 4
lea ecx, [esi + ebx]
pop edx
mov eax, dword [edi + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x4016ac
mov edx, dword [ebp - 0x20]
add ebx, 0x10
sub edi, 0x10
cmp ebx, dword [ebp + 0xc]
jl 0x40169b
jmp 0x40179d
mov ebx, dword [ebp + 0xc]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test ebx, ebx
jle 0x40179d
lea edi, [ebp - 0x14]
mov esi, ecx
sub edi, ecx
dec ebx
shr ebx, 4
mov dword [ebp - 0x1c], edi
inc ebx
lea eax, [ebp - 0x14]
mov ecx, edx
push eax
call fcn.004018cc
push 4
mov ecx, esi
pop edx
mov eax, dword [edi + ecx]
xor dword [ecx], eax
add ecx, 4
sub edx, 1
jne 0x4016fd
mov edx, dword [ebp - 0x20]
lea edi, [ebp - 0x14]
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 edi, dword [ebp - 0x1c]
mov esi, ecx
sub edi, 0x10
mov dword [ebp - 0x1c], edi
sub ebx, 1
jne 0x4016ed
jmp 0x40179d
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test eax, eax
jle 0x40179d
lea edx, [ebp - 0x14]
sub edx, ecx
dec eax
shr eax, 4
inc eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], eax
push 4
mov ebx, ecx
pop esi
mov eax, dword [edx + ebx]
xor dword [ebx], eax
add ebx, 4
sub esi, 1
jne 0x401749
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.004018cc
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
sub edx, 0x10
mov dword [ebp - 0x18], ebx
sub dword [ebp - 0x24], 1
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x401744
jmp 0x40179d
cmp dword [ebp + 0xc], ebx
jle 0x40179d
lea eax, [ecx + ebx]
mov ecx, edx
push eax
call fcn.004018cc
mov ecx, dword [ebp - 0x18]
add ebx, 0x10
mov edx, dword [ebp - 0x20]
cmp ebx, dword [ebp + 0xc]
jl 0x401784
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e48e6
leave
ret 0xc
Function at 0x4017ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ecx + 0xc]
push ebx
push esi
xor esi, esi
mov dword [ebp - 4], ecx
push edi
sub eax, esi
je 0x4018a9
sub eax, 1
je 0x401850
sub eax, 1
je 0x4017f1
sub eax, 1
jne 0x4018c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040163f
jmp 0x4018c5
mov edx, dword [ebp + 0xc]
test edx, edx
jle 0x4018c5
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp + 0xc], eax
lea eax, [edx - 1]
shr eax, 4
inc eax
mov dword [ebp + 8], eax
push dword [ebp + 0x10]
mov esi, ebx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004018cc
mov ecx, dword [ebp + 0xc]
push 4
pop edx
mov eax, dword [ecx + ebx]
xor dword [ebx], eax
add ebx, 4
sub edx, 1
jne 0x401828
mov edi, dword [ebp + 0x10]
lea esi, [ebp - 0x14]
sub ecx, 0x10
sub dword [ebp + 8], 1
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x401811
jmp 0x4018c5
mov edx, dword [ebp + 0xc]
test edx, edx
jle 0x4018c5
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp + 0xc], eax
lea eax, [edx - 1]
shr eax, 4
inc eax
mov dword [ebp + 8], eax
mov esi, ebx
lea edi, [ebp - 0x14]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00401914
mov ecx, dword [ebp + 0xc]
push 4
pop edx
mov eax, dword [ecx + ebx]
xor dword [ebx], eax
add ebx, 4
sub edx, 1
jne 0x401881
mov edi, dword [ebp + 0x10]
lea esi, [ebp - 0x14]
sub ecx, 0x10
sub dword [ebp + 8], 1
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x40186c
jmp 0x4018c5
cmp dword [ebp + 0xc], esi
jle 0x4018c5
mov edi, dword [ebp + 8]
lea eax, [esi + edi]
push eax
call fcn.00401914
mov ecx, dword [ebp - 4]
add esi, 0x10
cmp esi, dword [ebp + 0xc]
jl 0x4018b1
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40201f
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
mov ch, byte [esi + 1]
mov dl, byte [esi + 2]
mov cl, byte [esi + 3]
mov al, byte [eax + 0x6c1378]
mov byte [esi], al
movzx eax, byte [esi + 5]
mov dh, byte [esi + 6]
mov bl, byte [esi + 7]
mov bh, byte [esi + 0xb]
mov al, byte [eax + 0x6c1378]
mov byte [esi + 1], al
movzx eax, byte [esi + 0xa]
mov al, byte [eax + 0x6c1378]
mov byte [esi + 2], al
movzx eax, byte [esi + 0xf]
mov al, byte [eax + 0x6c1378]
mov byte [esi + 3], al
movzx eax, byte [esi + 4]
mov al, byte [eax + 0x6c1378]
mov byte [esi + 4], al
movzx eax, byte [esi + 9]
mov al, byte [eax + 0x6c1378]
mov byte [esi + 5], al
movzx eax, byte [esi + 0xe]
mov al, byte [eax + 0x6c1378]
mov byte [esi + 6], al
movzx eax, cl
mov al, byte [eax + 0x6c1378]
mov byte [esi + 7], al
movzx eax, byte [esi + 8]
mov al, byte [eax + 0x6c1378]
mov byte [esi + 8], al
movzx eax, byte [esi + 0xd]
mov al, byte [eax + 0x6c1378]
mov byte [esi + 9], al
movzx eax, dl
mov al, byte [eax + 0x6c1378]
mov byte [esi + 0xa], al
movzx eax, bl
mov al, byte [eax + 0x6c1378]
mov byte [esi + 0xb], al
movzx eax, byte [esi + 0xc]
mov al, byte [eax + 0x6c1378]
mov byte [esi + 0xc], al
movzx eax, ch
mov al, byte [eax + 0x6c1378]
mov byte [esi + 0xd], al
movzx eax, dh
mov al, byte [eax + 0x6c1378]
mov byte [esi + 0xe], al
movzx eax, bh
mov al, byte [eax + 0x6c1378]
mov byte [esi + 0xf], al
pop esi
pop ebx
pop ebp
ret 4

Function at 0x402107
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
mov cl, byte [esi + 1]
mov bl, byte [esi + 2]
mov bh, byte [esi + 3]
mov al, byte [eax + 0x6c1278]
mov byte [esi], al
movzx eax, byte [esi + 0xd]
mov dl, byte [esi + 5]
mov dh, byte [esi + 6]
mov ch, byte [esi + 9]
mov al, byte [eax + 0x6c1278]
mov byte [esi + 1], al
movzx eax, byte [esi + 0xa]
mov al, byte [eax + 0x6c1278]
mov byte [esi + 2], al
movzx eax, byte [esi + 7]
mov al, byte [eax + 0x6c1278]
mov byte [esi + 3], al
movzx eax, byte [esi + 4]
mov al, byte [eax + 0x6c1278]
mov byte [esi + 4], al
movzx eax, cl
mov al, byte [eax + 0x6c1278]
mov byte [esi + 5], al
movzx eax, byte [esi + 0xe]
mov al, byte [eax + 0x6c1278]
mov byte [esi + 6], al
movzx eax, byte [esi + 0xb]
mov al, byte [eax + 0x6c1278]
mov byte [esi + 7], al
movzx eax, byte [esi + 8]
mov al, byte [eax + 0x6c1278]
mov byte [esi + 8], al
movzx eax, dl
mov al, byte [eax + 0x6c1278]
mov byte [esi + 9], al
movzx eax, bl
mov al, byte [eax + 0x6c1278]
mov byte [esi + 0xa], al
movzx eax, byte [esi + 0xf]
mov al, byte [eax + 0x6c1278]
mov byte [esi + 0xb], al
movzx eax, byte [esi + 0xc]
mov al, byte [eax + 0x6c1278]
mov byte [esi + 0xc], al
movzx eax, ch
mov al, byte [eax + 0x6c1278]
mov byte [esi + 0xd], al
movzx eax, dh
mov al, byte [eax + 0x6c1278]
mov byte [esi + 0xe], al
movzx eax, bh
mov al, byte [eax + 0x6c1278]
mov byte [esi + 0xf], al
pop esi
pop ebx
pop ebp
ret 4