joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4481c0
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x1c
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
xor ebp, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
cmp eax, ebp
je 0x4482f9
cmp dword [esp + 0x28], ebp
je 0x4482f9
push esi
push 0x2800
call fcn.0044c68f
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x448223
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x1c
ret
push ebx
push edi
xor ebx, ebx
push ebx
push str..PhysicalDrive_d
push esi
mov ecx, 0x2800
call fcn.00446180
add esp, 0xc
push ebp
push 0x80
push 3
push ebp
push 3
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4482cf
xor eax, eax
push 0x2800
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.0044e9d0
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push 0x2800
push esi
push 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4482c2
mov eax, dword [esi + 0x18]
cmp eax, ebp
jbe 0x4482c2
mov edx, dword [esp + 0x34]
add eax, esi
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
push str.DISKID:
call fcn.00447f70
add esp, 0x10
mov dword [esp + 0x10], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x4482d9
inc ebx
cmp ebx, 0x10
jl 0x448227
push esi
call fcn.0044c4f7
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.0044b6ee
add esp, 0x1c
ret
Function at 0x4483a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
cmp dword [esp + 0x30], edi
je 0x4483da
cmp dword [esp + 0x34], edi
je 0x4483da
push 0x200
call fcn.0044c68f
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x4483e5
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x14]
push eax
push 0x20119
push edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x448546
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push edi
push edi
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
jne 0x4484da
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x44843d
mov eax, 0x80000002
lea ecx, [esp + 0x1c]
push ecx
push 0x20119
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4484b3
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4484a8
mov eax, esi
mov dword [esi], 0x5c2e5c5c
call fcn.00448310
cmp edx, ebx
jb 0x4484a8
ja 0x4484a2
cmp eax, dword [esp + 0x24]
jbe 0x4484a8
mov dword [esp + 0x24], eax
mov ebx, edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push esi
inc edi
push edi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
je 0x448430
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
ja 0x4484f0
cmp dword [esp + 0x24], 0
jbe 0x448546
mov ecx, dword [esp + 0x24]
push ebx
push ecx
push str._012I64X
push esi
mov ecx, 0x200
call fcn.00446180
add esp, 0x10
test eax, eax
jne 0x44852a
push esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044c4f7
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push esi
push edx
push eax
push str.MAC:
call fcn.00447f70
add esp, 0x10
mov dword [esp + 0x18], eax
push esi
call fcn.0044c4f7
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x44ac10
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0xc8]
sub esp, 0xc8
push 0xffffffffffffffff
push 0x467c7b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4832f0]
xor eax, ebp
mov dword [ebp + 0xc4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [0x4dfeb4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
push str._s__u
lea eax, [ebp]
push 0x40
push eax
call fcn.0045c1f2
add esp, 0x14
lea edx, [ebp]
push edx
push 1
xor ecx, ecx
push esi
mov word [ebp + 0x80], cx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, esi
je 0x44adfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44acae
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x3e
lea ecx, [ebp + 0x86]
xor eax, eax
push esi
mov dword [ebp - 4], esi
push ecx
mov word [ebp + 0x84], ax
call fcn.0044e9d0
add esp, 0xc
push 0x1f
lea edx, [ebp + 0x84]
push edx
call fcn.0044a900
mov dword [ebp - 0x14], esi
cmp eax, esi
je 0x44ad15
lea edx, [ebp - 0x14]
xor ecx, ecx
push edx
mov word [ebp + eax*2 + 0x84], cx
lea eax, [ebp + 0x84]
push 0x478b18
push eax
call fcn.0045c1d0
add esp, 0xc
cmp eax, 1
jne 0x44ad15
mov eax, dword [ebp - 0x14]
mov dword [0x4dfeb4], eax
jmp 0x44ade5
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x44ad2f
push 0x5c0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x44ad43
push ebx
push esi
call fcn.0044b060
jmp 0x44ad45
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x4dfeb4], eax
test eax, eax
jne 0x44ad67
push 0x47daf4
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 1
call fcn.0044eccb
push eax
lea edx, [ebp + 0x84]
push 0x478b18
push edx
mov edi, 1
call fcn.0044c345
add esp, 0xc
lea esi, [ebp + 0x84]
call fcn.0044aa40
test eax, eax
jne 0x44adde
push 0x47daf4
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 3
call fcn.0044eccb
call fcn.0044aae0
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [0x4dfeb4]
test esi, esi
je 0x44adcf
call fcn.0044b140
mov dword [0x4dfeb4], 0
jmp 0x44add6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x44addc
ret
mov eax, dword [0x4dfeb4]
xor esi, esi
inc dword [eax + 0x5bc]
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp edi, esi
jne 0x44adfd
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x4dfeb4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc4]
xor ecx, ebp
call fcn.0044b6ee
add ebp, 0xc8
mov esp, ebp
pop ebp
ret
Function at 0x44ae30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467b40
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4832f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x4dfeb4]
xor edi, edi
cmp ecx, edi
jne 0x44ae7b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x44ae88
mov dword [ebp - 0x14], edi
jmp 0x44aea0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x44af36
mov ecx, dword [0x4dfeb4]
mov eax, dword [ecx]
cmp eax, edi
je 0x44ae67
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44ae67
push 0x4dfeb4
mov dword [ebp - 4], edi
call fcn.0044af50
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x44aede
push 0x47daf4
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.0044eccb
mov ecx, dword [0x4dfeb4]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x44aef8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x44af22
push 0x47daf4
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 4
call fcn.0044eccb
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x44af19
call fcn.0044b260
mov eax, 0x44af1f
ret
mov eax, dword [0x4dfeb4]
mov eax, dword [eax]
test eax, eax
je 0x44af34
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44af50
Capabilities:
Print debug messages

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x44af82
xor ecx, ecx
jmp 0x44af8e
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
mov esi, ecx
test ecx, ecx
je 0x44b041
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x44afb4
mov dword [esp + 0x18], esi
jmp 0x44b014
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x44b00d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x44b000
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x44b014
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x44b014
push 0x478b20
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x44b014
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x44b037
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x44afa6
mov eax, dword [esp + 0x18]
pop edi
pop ebp
test eax, eax
jne 0x44b055
mov ecx, dword [ebx]
add ecx, 8
call fcn.0044b190
test eax, eax
je 0x44b055
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
pop ebx
pop ecx
ret 4

Function at 0x44b060
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x467c4b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.0044e9d0
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x44b0f8
push 0x47daf4
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.0044eccb
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8

Function at 0x44b6ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4832f0]
jne 0x44b6f8
repz ret
jmp fcn.0044f17a
Function at 0x459d65
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004500ea
and dword [ebp - 4], 0
cmp dword [0x4dbbd4], 0
mov ebx, eax
jne 0x459e16
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x459ec7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x459ec7
push eax
call fcn.00450078
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4dbbd4], eax
call esi
push eax
call fcn.00450078
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4dbbd8], eax
call esi
push eax
call fcn.00450078
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4dbbdc], eax
call esi
push eax
call fcn.00450078
pop ecx
mov dword [0x4dbbe4], eax
test eax, eax
je 0x459e16
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00450078
pop ecx
mov dword [0x4dbbe0], eax
mov eax, dword [0x4dbbe0]
cmp eax, ebx
je 0x459e6e
cmp dword [0x4dbbe4], ebx
je 0x459e6e
push eax
call fcn.004500f3
push dword [0x4dbbe4]
mov esi, eax
call fcn.004500f3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x459e6e
test edi, edi
je 0x459e6e
call esi
test eax, eax
je 0x459e65
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x459e65
test byte [ebp - 0xc], 1
jne 0x459e6e
or dword [ebp + 0x10], 0x200000
jmp 0x459ea7
mov eax, dword [0x4dbbd8]
cmp eax, ebx
je 0x459ea7
push eax
call fcn.004500f3
pop ecx
test eax, eax
je 0x459ea7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x459ea7
mov eax, dword [0x4dbbdc]
cmp eax, ebx
je 0x459ea7
push eax
call fcn.004500f3
pop ecx
test eax, eax
je 0x459ea7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4dbbd4]
call fcn.004500f3
pop ecx
test eax, eax
je 0x459ec7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x459ec9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x464270
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
test ebx, ebx
ja 0x464292
jb 0x464289
cmp edi, 0x20
jae 0x464292
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x20]
push 0x46df10
push dword [ebp + 0x1c]
push esi
push eax
call fcn.004654b0
lea eax, [ebp - 0x20]
push eax
lea eax, [esi + 0x10]
mov esi, dword [ebp + 8]
push eax
push ebx
push edi
push dword [ebp + 0xc]
push esi
call fcn.00465a70
add edi, 0xffffffe0
lea eax, [esi + 0x20]
push esi
adc ebx, 0xffffffff
push ebx
push edi
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00466090
add esp, 0x3c
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4642f0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
lea eax, [ebp - 0x20]
push ebx
mov ebx, dword [ebp + 0x14]
push 0x20
push eax
add ebx, 0x20
call fcn.004643f0
add esp, 8
test al, al
je 0x4643dd
push edi
push 0x46def0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00464e40
lea eax, [ebx + ebx]
push eax
call fcn.0044c68f
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x464343
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0x14]
xorps xmm0, xmm0
lea eax, [edi + 0x20]
push dword [ebp + 0x10]
movdqu xmmword [edi], xmm0
push eax
lea esi, [edi + ebx]
movdqu xmmword [edi + 0x10], xmm0
call fcn.0044f280
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00464e40
push 0x46df10
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x80]
push 0x46df24
push eax
call fcn.004654b0
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0xc]
push 0
push ebx
push edi
push esi
call fcn.00464270
add esp, 0x40
lea eax, [ebx - 0x10]
push eax
lea eax, [esi + 0x10]
mov esi, dword [ebp + 0x18]
push eax
push esi
call fcn.0044f280
movdqu xmm0, xmmword [ebp - 0x40]
mov eax, dword [ebp + 0x1c]
lea ecx, [ebx + 0x10]
push edi
movdqu xmmword [ebx + esi - 0x10], xmm0
movdqu xmm0, xmmword [ebp - 0x30]
movdqu xmmword [ebx + esi], xmm0
mov dword [eax], ecx
call fcn.0044c4f7
add esp, 0x10
mov al, 1
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4643f0
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x464433
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
je 0x46441d
xor al, al
mov esp, ebp
pop ebp
ret
push 8
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x464417
push ebx
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [ebp - 4]
test eax, eax
setne bl
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
or eax, 0xffffffff
push esi
mov esi, dword [ebp + 8]
test edx, edx
je 0x4645fc
movsx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x484098]
dec edx
jne 0x4645e1
not eax
pop esi
pop ebp
ret
Function at 0x464610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov ecx, 0x20
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
mov edx, ebx
push esi
push edi
mov esi, ebx
lea edi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
mov edi, 0x46df38
lea esi, [eax + 0x1f]
sub edi, ebx
lea esp, [esp]
mov ecx, dword [edi + edx]
lea edx, [edx + 4]
add ecx, dword [edx - 4]
add eax, ecx
movzx ecx, al
shr eax, 8
mov dword [edx - 4], ecx
dec esi
jne 0x464640
sub eax, 0xffffff80
lea ecx, [ebp - 0x80]
add dword [ebx + 0x7c], eax
mov eax, dword [ebx + 0x7c]
shr eax, 7
and eax, 1
neg eax
sub ecx, ebx
movd xmm0, eax
lea eax, [esi + 8]
pshufd xmm2, xmm0, 0
lea esp, [esp]
lea ebx, [ebx + 0x10]
movdqu xmm1, xmmword [ebx - 0x10]
movdqu xmm0, xmmword [ecx + ebx - 0x10]
pxor xmm0, xmm1
pand xmm0, xmm2
pxor xmm0, xmm1
movdqu xmmword [ebx - 0x10], xmm0
dec eax
jne 0x464680
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x464e40
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
push 0x20
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
call fcn.0044f280
mov al, byte [ebp - 1]
add esp, 0xc
and byte [ebp - 0x20], 0xf8
and al, 0x3f
mov edx, dword [ebp + 0x10]
or al, 0x40
mov byte [ebp - 1], al
xor eax, eax
lea ecx, [ecx]
movzx ecx, byte [eax + edx]
mov dword [ebp + eax*4 - 0x1a0], ecx
inc eax
cmp eax, 0x20
jb 0x464e70
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.004646b0
lea eax, [ebp - 0x120]
push eax
push eax
call fcn.00464ef0
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00464b50
lea eax, [ebp - 0xa0]
push eax
call fcn.00464610
mov edx, dword [ebp + 8]
add esp, 0x20
xor ecx, ecx
lea esp, [esp]
mov al, byte [ebp + ecx*4 - 0xa0]
mov byte [ecx + edx], al
inc ecx
cmp ecx, 0x20
jb 0x464ed0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4652d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x18]
dec eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movd xmm0, eax
mov dword [ebp - 4], eax
lea eax, [ebx + 0xfc]
cmp edi, eax
pshufd xmm3, xmm0, 0
mov eax, dword [ebp + 0x14]
lea edx, [edi + 0xfc]
ja 0x465307
cmp edx, ebx
jae 0x46533f
lea ecx, [eax + 0xfc]
cmp edi, ecx
ja 0x465315
cmp edx, eax
jae 0x46533f
lea ecx, [esi + 0xfc]
cmp edi, ecx
ja 0x465323
cmp edx, esi
jae 0x46533f
lea edx, [ebx + 0xfc]
cmp esi, edx
ja 0x465331
cmp ecx, ebx
jae 0x46533f
lea edx, [eax + 0xfc]
cmp esi, edx
ja 0x46537a
cmp ecx, eax
jb 0x46537a
sub esi, eax
mov dword [ebp + 0x18], 0x40
sub ebx, eax
sub edi, eax
lea esp, [esp]
mov ecx, dword [eax]
lea eax, [eax + 4]
mov edx, dword [eax + ebx - 4]
xor edx, ecx
and edx, dword [ebp - 4]
xor ecx, edx
mov dword [eax + esi - 4], ecx
mov ecx, dword [eax + ebx - 4]
xor ecx, edx
dec dword [ebp + 0x18]
mov dword [eax + edi - 4], ecx
jne 0x465350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub esi, eax
sub edi, eax
sub ebx, eax
mov ecx, 0x10
jmp 0x465390
lea eax, [eax + 0x10]
movdqu xmm1, xmmword [eax - 0x10]
movdqu xmm2, xmmword [ebx + eax - 0x10]
pxor xmm2, xmm1
pand xmm2, xmm3
movdqa xmm0, xmm2
pxor xmm0, xmm1
movdqu xmmword [esi + eax - 0x10], xmm0
movdqu xmm0, xmmword [ebx + eax - 0x10]
pxor xmm0, xmm2
movdqu xmmword [edi + eax - 0x10], xmm0
dec ecx
jne 0x465390
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
mov ebx, 0x46dfe0
mov edx, esi
push edi
sub ebx, esi
movdqu xmm0, xmmword [esi]
mov eax, dword [esi + 0x40]
lea edi, [ecx + 0x11]
mov dword [ebp - 4], eax
movdqu xmmword [ebp - 0x44], xmm0
movdqu xmm0, xmmword [esi + 0x10]
movdqu xmmword [ebp - 0x34], xmm0
movdqu xmm0, xmmword [esi + 0x20]
movdqu xmmword [ebp - 0x24], xmm0
movdqu xmm0, xmmword [esi + 0x30]
movdqu xmmword [ebp - 0x14], xmm0
mov eax, dword [ebx + edx]
lea edx, [edx + 4]
add eax, dword [edx - 4]
add ecx, eax
movzx eax, cl
shr ecx, 8
mov dword [edx - 4], eax
dec edi
jne 0x465d17
mov ebx, dword [esi + 0x40]
lea eax, [esi + 0x40]
shr ebx, 7
lea edi, [ebp - 0x44]
neg ebx
mov ecx, 4
sub edi, esi
movd xmm0, ebx
pshufd xmm2, xmm0, 0
lea esp, [esp]
lea esi, [esi + 0x10]
movdqu xmm1, xmmword [esi - 0x10]
movdqu xmm0, xmmword [edi + esi - 0x10]
pxor xmm0, xmm1
pand xmm0, xmm2
pxor xmm0, xmm1
movdqu xmmword [esi - 0x10], xmm0
dec ecx
jne 0x465d50
lea esi, [ecx + 1]
mov edx, dword [eax + edi]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, ebx
xor dword [eax - 4], edx
dec esi
jne 0x465d75
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4662c0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00466e00

Function at 0x4662d0
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00467000
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x25990b65
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1d8b66e1
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219