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

Disassembly:
cmp ecx, dword [0x426030]
jne 0x413e47
repz ret
jmp fcn.00416b6c

Function at 0x4191ce
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.004157e6
and dword [ebp - 4], 0
cmp dword [0x427854], 0
mov ebx, eax
jne 0x41927f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x419330
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x419330
push eax
call fcn.00415774
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x427854], eax
call esi
push eax
call fcn.00415774
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x427858], eax
call esi
push eax
call fcn.00415774
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42785c], eax
call esi
push eax
call fcn.00415774
pop ecx
mov dword [0x427864], eax
test eax, eax
je 0x41927f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00415774
pop ecx
mov dword [0x427860], eax
mov eax, dword [0x427860]
cmp eax, ebx
je 0x4192d7
cmp dword [0x427864], ebx
je 0x4192d7
push eax
call fcn.004157ef
push dword [0x427864]
mov esi, eax
call fcn.004157ef
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4192d7
test edi, edi
je 0x4192d7
call esi
test eax, eax
je 0x4192ce
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4192ce
test byte [ebp - 0xc], 1
jne 0x4192d7
or dword [ebp + 0x10], 0x200000
jmp 0x419310
mov eax, dword [0x427858]
cmp eax, ebx
je 0x419310
push eax
call fcn.004157ef
pop ecx
test eax, eax
je 0x419310
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x419310
mov eax, dword [0x42785c]
cmp eax, ebx
je 0x419310
push eax
call fcn.004157ef
pop ecx
test eax, eax
je 0x419310
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x427854]
call fcn.004157ef
pop ecx
test eax, eax
je 0x419330
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x419332
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6d1538a0
Capabilities:
Hide graphical window

Disassembly:
push 0x2c
mov eax, 0x6d160f43
call fcn.6d15fd21
mov ebx, ecx
mov edi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.6d155d86
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
push 4
push 0xffffffffffffffec
push eax
mov dword [ebp + 0xc], eax
call esi
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x2000000
push eax
push 0xfffffffffffffff0
push dword [ebp + 8]
call esi
mov eax, dword [0x6d16b86c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x44]
and dword [ebp - 4], 0
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebx + 0x134]
mov ecx, dword [esi]
push eax
push esi
call dword [ecx + 0x64]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.6d15a526
mov dword [ebp - 0x38], vtable.SmartJObjectRefImpl_class_SmartJLocalRef_.0
push dword [ebp + 0xc]
lea eax, [ebp - 0x38]
push str._I_Lsun_plugin_viewer_frame_IExplorerEmbeddedFrame_
push str.createFrame
push eax
mov byte [ebp - 4], 1
call fcn.6d1556fc
add esp, 0x10
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.6d15a526
mov dword [ebp - 0x2c], vtable.SmartJObjectRefImpl_class_SmartJLocalRef_.0
mov eax, dword [edi + 8]
sub eax, dword [edi]
push 0x14
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x6d153992
push dword [ebp - 0x28]
mov ecx, eax
push esi
call fcn.6d155f24
mov ecx, eax
jmp 0x6d153994
xor ecx, ecx
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
mov dword [ebx + 0x130], ecx
call fcn.6d15613a
mov ecx, dword [ebx + 0x130]
push 1
call fcn.6d1560c8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp + 8], eax
je 0x6d1539d6
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetParent]
push 5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.6d15455f
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.6d15455f
mov eax, dword [ebp + 0xc]
call fcn.6d15fdc6
ret 8

Function at 0x6d156e23
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d156e71
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d156e82
push 0xd
pop eax
jmp 0x6d156eac
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d156e85
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8
Function at 0x6d157366
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d16b7ac]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d15a526
mov ebx, eax
cmp ebx, esi
je 0x6d1573d9
lea ecx, [ebp - 0x74]
call fcn.6d15142d
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d15fbc0
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d1573f1
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d157366
cmp eax, esi
jne 0x6d157423
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x6d1573e1
lea ecx, [ebp - 0x74]
call fcn.6d15142d
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d156d4c
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d15142d
mov eax, esi
jmp 0x6d1573bf
Function at 0x6d15a0f4
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x6d15a101
lea esi, [ecx - 0x84]
jmp 0x6d15a103
xor esi, esi
lea eax, [esi + 0x94]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x54]
test esi, esi
je 0x6d15a11f
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x6d15a526
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x6d15a535
pop dword [ebp - 0xc]
mov eax, 0x19447042
sub eax, 0xac2ecb0d
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x354a0
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x58750ae4
add ecx, 0xa78b3346
mov edi, eax
mov ebx, 0x6d172400
add ebx, dword [ebp - 0xc]
mov esi, 0xbc31e859
add esi, 0x13e578c1
add dword [ebp - 8], ecx
mov edx, dword [ebx]
sub dword [ebp - 8], esi
add edx, esi
xor dword [ebp - 4], 0x5b21da68
mov dword [edi], edx
mov dword [ebp - 8], 0xff77c18
add edi, 4
add ebx, 0x14093aac
sub ebx, 0x14093aa8
loop 0x6d15a589
add eax, 0x931d6004
add eax, 0x6ce38b77
mov ebx, eax
add eax, 0xba0dd3bc
sub eax, 0xba0dd3b7
mov ecx, 0x401d13f4
add ecx, 0x2cf7ec0c
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x6d15addf
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x6d15adf3
add eax, 0xffffff78
jmp 0x6d15adf5
xor eax, eax
and dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x6d162c78
lea ecx, [eax + 8]
call fcn.6d159f44
test eax, eax
js 0x6d15ae5e
cmp dword [ebp + 8], 0
je 0x6d15ae5b
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call esi
test ax, ax
jns 0x6d15ae33
inc edi
push 0x11
call esi
test ax, ax
jns 0x6d15ae3f
add edi, 2
push 0x12
call esi
test ax, ax
jns 0x6d15ae4b
add edi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x6d15ae5e
xor eax, eax
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov esi, ecx
test eax, eax
je 0x6d15ae74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x6d15f86a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x6d16c840], 0
push esi
push edi
jne 0x6d15f7e0
call fcn.6d15f74c
test eax, eax
je 0x6d15f825
mov eax, dword [0x6d16c840]
cmp eax, 1
jne 0x6d15f801
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6d15f825
jmp 0x6d15f867
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6d15f867
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x6d15f829
xor eax, eax
jmp 0x6d15f867
mov eax, dword [esi]
push dword [0x6d16c840]
call edi
mov edi, eax
test edi, edi
je 0x6d15f84b
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6d15f867
lea edi, [esi + 0xff0]
push esi
push dword [0x6d16c840]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6d15f851
mov eax, esi
pop edi
pop esi
ret
jmp 0x6d15f7cc

Function at 0x6d15fbc0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d16b7ac]
jne 0x6d15fbca
repz ret
jmp fcn.6d1603b8

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 0x442430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x44243f
pop dword [ebp - 8]
mov eax, 0x60aa8aaa
add eax, 0x9f999995
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x41091273
sub dword [ebp - 0x18], 0xf2b6cd28
mov dword [ebp - 0x14], 0xef06aa44
add dword [ebp - 0x14], 0x432ca201
mov dword [ebp - 0x10], 0xeb212db2
add dword [ebp - 0x10], 0x612b167c
mov dword [ebp - 0xc], 0xa486d822
sub dword [ebp - 0xc], 0xa486d822
lea eax, [ebp - 0x18]
push eax
mov eax, 0x42bfbd0c
add eax, 0xbd80557c
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x6295eea8
add dword [ebp - 0x18], 0x11dc7aae
mov dword [ebp - 0x14], 0x1260557d
sub dword [ebp - 0x14], 0xd0f3f408
mov dword [ebp - 0x10], 0x7233cd1e
add dword [ebp - 0x10], 0xf13b9f4e
mov dword [ebp - 0xc], 0xa34e5d5b
sub dword [ebp - 0xc], 0xa34e5d5b
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x4c3bb
push 0
call eax
mov ecx, 0x7b1c4d08
sub ecx, 0x7b1bfb6f
mov esi, eax
mov edi, 0x4d2400
add edi, dword [ebp - 8]
mov ebx, 0x706f20d4
xor dword [ebp - 4], 0x5ee1bd4b
mov edx, dword [edi]
mov dword [ebp - 4], 0xab938994
xor edx, ebx
add dword [ebp - 4], edi
mov dword [esi], edx
add dword [ebp - 4], edi
add esi, 4
add edi, 0xfe9ea366
sub edi, 0xfe9ea362
loop 0x442550
add eax, 0x13937
xor ebx, ebx
add ebx, eax
add eax, 0x4da2df40
sub eax, 0x4da2df3b
mov ecx, 0xa6dadd1e
sub ecx, 0xa69add1e
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x4453d2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x499c0c]
jne 0x446479
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x49c278], eax
mov dword [0x49c274], ecx
mov dword [0x49c270], edx
mov dword [0x49c26c], ebx
mov dword [0x49c268], esi
mov dword [0x49c264], edi
mov word [0x49c290], ss
mov word [0x49c284], cs
mov word [0x49c260], ds
mov word [0x49c25c], es
mov word [0x49c258], fs
mov word [0x49c254], gs
pushfd
pop dword [0x49c288]
mov eax, dword [ebp]
mov dword [0x49c27c], eax
mov eax, dword [ebp + 4]
mov dword [0x49c280], eax
lea eax, [ebp + 8]
mov dword [0x49c28c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x49c1c8], 0x10001
mov eax, dword [0x49c280]
mov dword [0x49c17c], eax
mov dword [0x49c170], 0xc0000409
mov dword [0x49c174], 1
mov eax, dword [0x499c0c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x499c10]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x49c1c0], eax
push 1
call fcn.0044d3e0
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x410f48
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x49c1c0], 0
jne 0x446565
push 1
call fcn.0044d3e0
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x401c00
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x479600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
nop dword [eax + eax]
mov cl, byte [edx + esi]
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x401c32
movsx eax, cl
sub eax, 0x41
jmp 0x401c74
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x401c41
movsx eax, cl
sub eax, 0x47
jmp 0x401c74
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x401c50
movsx eax, cl
add eax, 4
jmp 0x401c74
cmp cl, 0x2b
jne 0x401c5c
mov eax, 0x3e
jmp 0x401c74
cmp cl, 0x2f
jne 0x401c68
mov eax, 0x3f
jmp 0x401c74
cmp cl, 0x3d
jne 0x401cf1
or eax, 0xffffffff
mov dword [ebp + edx*4 - 0x14], eax
inc edx
cmp edx, 4
jl 0x401c20
mov edx, dword [ebp - 0x14]
cmp edx, 0xffffffff
je 0x401cf1
mov esi, dword [ebp - 0x10]
cmp esi, 0xffffffff
je 0x401cf1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp ecx, 0xffffffff
jne 0x401ca2
cmp eax, ecx
jne 0x401cf1
lea ebx, [ecx + 2]
jmp 0x401cad
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
add ebx, 2
shl edx, 6
and ecx, 0x3f
or edx, esi
and eax, 0x3f
shl edx, 6
or edx, ecx
shl edx, 6
or edx, eax
mov eax, edx
shr eax, 0x10
mov byte [edi], al
cmp ebx, 1
jbe 0x401cd6
mov ecx, edx
shr ecx, 8
mov byte [edi + 1], cl
cmp ebx, 2
jbe 0x401cde
mov byte [edi + 2], dl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret

Function at 0x402a30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
test esi, esi
je 0x402a65
push ebx
mov ebx, dword [ebp + 0xc]
sub ebx, eax
nop word [eax + eax]
movzx edx, byte [ebx + eax]
lea eax, [eax + 1]
movzx ecx, byte [eax - 1]
xor edx, ecx
or edi, edx
sub esi, 1
jne 0x402a50
pop ebx
mov eax, 0x100
sub eax, edi
pop edi
shr eax, 8
pop esi
pop ebp
ret
Function at 0x405e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x479600]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x40], edi
movups xmm0, xmmword [edi + 0x3c8]
movups xmmword [ebp - 0x34], xmm0
test ebx, ebx
jle 0x405ff5
dec ebx
add edx, 3
shr ebx, 4
inc ebx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ebx
push esi
movzx ecx, byte [edx - 3]
lea esi, [edx - 1]
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
movzx ecx, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ecx
movzx ecx, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ecx
call fcn.00405e70
add esp, 8
xor edi, edi
mov edx, dword [ebp + edi - 0x34]
lea esi, [esi + 4]
mov ebx, dword [ebp + edi - 0x14]
mov ecx, edx
shr ecx, 0x18
mov eax, ebx
shr eax, 0x18
xor cl, al
mov eax, ebx
mov byte [esi - 6], cl
mov ecx, edx
shr ecx, 0x10
shr eax, 0x10
xor cl, al
mov eax, ebx
mov byte [esi - 5], cl
mov ecx, edx
shr eax, 8
xor dl, bl
shr ecx, 8
xor cl, al
mov byte [esi - 3], dl
mov eax, dword [ebp + edi - 0x24]
mov dword [ebp + edi - 0x34], eax
add edi, 4
mov byte [esi - 4], cl
cmp edi, 0x10
jl 0x405f74
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
add edx, 0x10
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], edx
jne 0x405ed0
movups xmm0, xmmword [ebp - 0x34]
mov eax, edi
pop esi
pop edi
pop ebx
movups xmmword [eax + 0x3c8], xmm0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
movups xmmword [edi + 0x3c8], xmm0
pop edi
xor ecx, ebp
pop ebx
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
Function at 0x406d50
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x479600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
movups xmm0, xmmword [ebx + 0x3c8]
mov edi, dword [ebp + 0xc]
movups xmmword [ebp - 0x14], xmm0
test edi, edi
jle 0x406ead
mov edx, dword [ebp - 8]
dec edi
shr edi, 4
add esi, 2
inc edi
nop word [eax + eax]
movzx ecx, byte [esi - 2]
movzx eax, byte [esi - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 3]
xor dword [ebp - 0x14], ecx
movzx ecx, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 7]
xor dword [ebp - 0x10], ecx
movzx ecx, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xb]
xor dword [ebp - 0xc], ecx
movzx ecx, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x14]
push eax
xor edx, ecx
push ebx
mov dword [ebp - 8], edx
call fcn.00406d30
mov ecx, dword [ebp - 0x14]
add esp, 8
mov eax, ecx
mov byte [esi + 1], cl
shr eax, 0x18
mov byte [esi - 2], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 1], al
mov eax, ecx
mov ecx, dword [ebp - 0x10]
shr eax, 8
mov byte [esi], al
mov eax, ecx
shr eax, 0x18
mov byte [esi + 2], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 3], al
mov eax, ecx
shr eax, 8
mov byte [esi + 4], al
mov byte [esi + 5], cl
mov ecx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 6], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 7], al
mov eax, ecx
shr eax, 8
mov edx, dword [ebp - 8]
lea esi, [esi + 0x10]
mov byte [esi - 8], al
mov eax, edx
shr eax, 0x18
mov byte [esi - 6], al
mov eax, edx
shr eax, 0x10
mov byte [esi - 5], al
mov eax, edx
shr eax, 8
mov byte [esi - 7], cl
mov byte [esi - 4], al
mov byte [esi - 3], dl
sub edi, 1
jne 0x406d90
movups xmm0, xmmword [ebp - 0x14]
mov ecx, dword [ebp - 4]
pop edi
pop esi
movups xmmword [ebx + 0x3c8], xmm0
xor ecx, ebp
pop ebx
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
Function at 0x40c870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x84]
mov dword [ebp - 4], eax
mov dword [ebp + 0x10], ecx
test ebx, ebx
je 0x40c93a
dec ebx
shr ebx, 3
push esi
mov esi, dword [ebp + 8]
inc ebx
push edi
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040bcd0
lea eax, [edi + 0x88]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 0xc]
push eax
call fcn.0040b2f0
lea eax, [edi + 0x110]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 0xc]
push eax
call fcn.0040bcd0
mov ecx, dword [ebp - 0xc]
lea esi, [esi + 8]
xor byte [esi - 5], cl
mov eax, ecx
shr eax, 0x18
add esp, 0x30
xor byte [esi - 8], al
mov eax, ecx
mov edx, dword [ebp - 4]
shr eax, 0x10
xor byte [esi - 7], al
mov eax, ecx
mov ecx, dword [ebp - 8]
xor byte [esi - 1], cl
shr eax, 8
xor byte [esi - 6], al
mov eax, ecx
shr eax, 0x18
xor byte [esi - 4], al
mov eax, ecx
shr eax, 0x10
xor byte [esi - 3], al
mov eax, ecx
mov ecx, dword [ebp + 0x10]
shr eax, 8
xor byte [esi - 2], al
add ecx, 1
lea eax, [edx + 1]
mov dword [ebp + 0x10], ecx
cmovne eax, edx
mov dword [ebp - 4], eax
sub ebx, 1
jne 0x40c8a1
pop esi
mov dword [edi + 0x84], ecx
mov dword [edi + 0x80], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40fea0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x479600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x120], esi
mov eax, dword [esi]
test eax, eax
jne 0x40fee4
lea eax, [esi + 0x20]
push ebx
push eax
call fcn.00410e60
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x40ff93
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.0041a630
mov edi, dword [esi + 0xc]
add esp, 4
shr edi, 3
xor esi, esi
test edi, edi
je 0x40ff3a
nop dword [eax]
push esi
push ebx
call fcn.004085d0
mov byte [ebp - 0x119], al
lea eax, [ebp - 0x119]
push 1
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0041a0c0
inc esi
add esp, 0x14
cmp esi, edi
jl 0x40ff10
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0041a2e0
mov al, byte [ebp - 0x25]
and byte [ebp - 0x44], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x25], al
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.00408870
mov ecx, dword [ebp - 0x120]
mov edi, eax
add ecx, 0x1c
push edi
push ecx
call fcn.00410e60
push edi
mov esi, eax
call fcn.00408e60
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret

Function at 0x411900
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 0xb8
pop ebp
jmp fcn.00411c00