joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402a68
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x41d2f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 8
mov edi, ecx
call fcn.004086a6
xor ebx, ebx
cmp eax, ebx
pop ecx
je 0x402a98
mov dword [eax], 0x419c1c
mov dword [eax + 4], ebx
mov esi, eax
jmp 0x402a9a
xor esi, esi
call fcn.004017e7
push edi
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], ebx
call fcn.004018ae
add dword [ebp - 0x48], 0x123
cmp eax, ebx
je 0x402abd
push ebx
call fcn.0040a5a0
add dword [ebp - 0x48], 0x14d
push 0xa
push 0x20
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x48]
call fcn.0040b059
push 0x419d70
lea eax, [ebp - 0x4c]
push 0x41edb0
push eax
call fcn.0040af2e
add esp, 0x1c
test eax, eax
jne 0x402ab7
cmp dword [ebp - 0x4c], ebx
je 0x402ab7
push 2
push 0xffffffffffffffe0
push dword [ebp - 0x4c]
call fcn.004095ae
add esp, 0xc
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push 0x20
push 1
push eax
call fcn.0040a114
lea eax, [ebp - 0x24]
add esp, 0x10
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x402b1b
sub eax, ecx
lea ecx, [ebp - 0x44]
mov edi, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x402b2c
sub ecx, edx
cmp edi, ecx
jne 0x402ab7
sub esp, 0x1c
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
mov edi, 0x41e1b4
call fcn.00406ec3
mov ecx, edi
lea ebx, [ebp - 0x68]
call fcn.00402107
cmp dword [eax + 0x18], 0x10
jb 0x402b68
mov eax, dword [eax + 4]
jmp 0x402b6b
add eax, 4
push eax
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0040a62c
add esp, 0xc
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.00401469
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x24]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402bab
cmp dl, bl
je 0x402ba7
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402bab
inc eax
inc eax
inc ecx
inc ecx
cmp dl, bl
jne 0x402b8d
xor eax, eax
jmp 0x402bb0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x402ab7
push dword [ebp - 0x4c]
call fcn.004098ad
pop ecx
push dword [esi + 4]
call fcn.00408710
pop ecx
mov dword [esi + 4], ebx
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408623
leave
ret

Function at 0x402be4
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
lea eax, [ebp - 8]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x14]
push eax
push str.SeShutdownPrivilege
xor ebx, ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp byte [ebp + 8], bl
push ebx
je 0x402c39
push 0x11
jmp 0x402c3b
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop ebx
leave
ret 4
Function at 0x403bc4
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x41d2f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, esi
call fcn.00402847
test al, al
jne 0x403bf6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408623
leave
ret
mov eax, dword [esi + 0x14]
lea edi, [eax - 1]
mov eax, esi
call fcn.00401397
cmp byte [eax], 0x5c
jne 0x403c0f
push 0x41a030
jmp 0x403c14
push str..
push esi
call fcn.00406f0b
cmp dword [esi + 0x18], 0x10
jb 0x403c25
mov esi, dword [esi + 4]
jmp 0x403c28
add esi, 4
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x14c], eax
jne 0x403c45
mov al, 1
jmp 0x403be7
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [ebp - 0x148]
push ecx
push eax
jmp 0x403c8a
push 2
mov edi, 0x41a03c
lea esi, [ebp - 0x11c]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x403c7d
push 3
mov edi, 0x41a040
lea esi, [ebp - 0x11c]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x403c94
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x14c]
call ebx
test eax, eax
jne 0x403c55
mov bl, 1
jmp 0x403c96
xor bl, bl
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
jmp 0x403be7
Function at 0x407e23
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.0040a114
add esp, 0x10
cmp eax, dword [ebp + 0x10]
jbe 0x407e45
push 1
call fcn.0040a5a0
je 0x407e4d
cmp byte [ebp + 0x14], 0
je 0x407e3e
add dword [0x41eeb8], eax
pop ebp
ret 0x10

Function at 0x407e57
Capabilities:
Terminate process
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
je 0x407e7c
push dword [esp + 4]
push esi
push 1
push dword [esp + 0x14]
call fcn.0040a28e
add esp, 0x10
cmp eax, esi
je 0x407e7c
push 1
call fcn.0040a5a0
add dword [0x41eebc], esi
mov eax, esi
ret 8

Function at 0x408623
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d2f0]
jne 0x40862d
repz ret
jmp fcn.0040c589
Function at 0x409e78
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x409eb5
cmp dword [ebp + 0x14], edi
je 0x409eb5
cmp ecx, edi
jne 0x409ebc
call fcn.0040bde0
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004085ef
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x409ed0
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x409ef1
cmp ebx, 0xffffffff
je 0x409ee0
push ebx
push edi
push ecx
call fcn.0040b9c0
add esp, 0xc
cmp esi, edi
je 0x409e9d
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x409e9d
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x409f0d
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x409f14
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x40a005
test word [esi + 0xc], 0x10c
je 0x409f68
mov eax, dword [esi + 4]
test eax, eax
je 0x409f68
jl 0x40a066
cmp ebx, eax
mov edi, ebx
jb 0x409f39
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x40a00d
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00408429
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x409ffd
cmp ebx, dword [ebp - 0xc]
jb 0x409fd5
cmp dword [ebp - 0xc], 0
je 0x409f92
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x409f87
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x409f8e
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x409f9d
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x409f9d
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x40a039
push eax
push dword [ebp - 8]
push esi
call fcn.0040e9a4
pop ecx
push eax
call fcn.0040fc39
add esp, 0xc
test eax, eax
je 0x40a078
cmp eax, 0xffffffff
je 0x40a066
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x409ffd
push esi
call fcn.0040f558
cmp eax, 0xffffffff
pop ecx
je 0x40a06a
cmp dword [ebp - 4], 0
je 0x40a039
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x409f1c
mov eax, dword [ebp + 0x14]
jmp 0x409eb7
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x40a024
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0040b9c0
add esp, 0xc
call fcn.0040bde0
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x409ead
cmp dword [ebp + 0xc], 0xffffffff
je 0x40a04f
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0040b9c0
add esp, 0xc
call fcn.0040bde0
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x409ead
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x409eb7
or dword [esi + 0xc], 0x10
jmp 0x40a06a
Function at 0x410538
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x41dde0]
je 0x410553
inc edi
cmp edi, 0x17
jb 0x410544
cmp edi, 0x17
jae 0x4106d3
push ebp
push 3
call fcn.00415695
cmp eax, 1
pop ecx
je 0x41069f
push 3
call fcn.00415695
test eax, eax
pop ecx
jne 0x410587
cmp dword [0x41d160], 1
je 0x41069f
cmp ebx, 0xfc
je 0x4106d2
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x41e750
push ebp
call fcn.0040a62c
add esp, 0xc
test eax, eax
je 0x4105bd
push esi
push esi
push esi
push esi
push esi
call fcn.004084f3
add esp, 0x14
push 0x104
mov esi, 0x41e769
push esi
push 0
mov byte [0x41e86d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x410601
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040a62c
add esp, 0xc
test eax, eax
je 0x410601
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004084f3
add esp, 0x14
push esi
call fcn.0040b460
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x410646
push esi
call fcn.0040b460
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x41ea64
push 0x418b8c
sub ecx, eax
push ecx
push eax
call fcn.004141d6
add esp, 0x14
test eax, eax
je 0x410646
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004084f3
add esp, 0x14
jmp 0x410648
xor esi, esi
push 0x418b88
push ebx
push ebp
call fcn.00414117
add esp, 0xc
test eax, eax
je 0x410668
push esi
push esi
push esi
push esi
push esi
call fcn.004084f3
add esp, 0x14
push dword [edi*8 + 0x41dde4]
push ebx
push ebp
call fcn.00414117
add esp, 0xc
test eax, eax
je 0x41068a
push esi
push esi
push esi
push esi
push esi
call fcn.004084f3
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004154d8
add esp, 0xc
jmp 0x4106d2
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4106d2
cmp ebp, 0xffffffff
je 0x4106d2
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x41dde4]
push dword [esi]
call fcn.0040b460
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4154d8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040c00a
xor ebx, ebx
cmp dword [0x41ed3c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4155ae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41568e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x419bc8
push edi
call esi
cmp eax, ebx
je 0x41568e
push eax
call fcn.0040bf9c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41ed3c], eax
call esi
push eax
call fcn.0040bf9c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41ed40], eax
call esi
push eax
call fcn.0040bf9c
mov dword [0x41ed44], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040a3b9
test eax, eax
pop ecx
pop ecx
je 0x41557c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004084f3
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4155ae
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040bf9c
cmp eax, ebx
pop ecx
mov dword [0x41ed4c], eax
je 0x4155ae
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040bf9c
pop ecx
mov dword [0x41ed48], eax
mov eax, dword [0x41ed48]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x415633
cmp dword [0x41ed4c], ecx
je 0x415633
push eax
call fcn.0040c013
push dword [0x41ed4c]
mov esi, eax
call fcn.0040c013
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x415633
cmp edi, ebx
je 0x415633
call esi
cmp eax, ebx
je 0x415600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x415600
test byte [ebp - 0x18], 1
jne 0x415633
lea eax, [ebp - 0x10]
push eax
call fcn.0040a3f0
test eax, eax
pop ecx
je 0x41561b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004084f3
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x41562a
or dword [ebp + 0x10], 0x200000
jmp 0x41566e
or dword [ebp + 0x10], 0x40000
jmp 0x41566e
mov eax, dword [0x41ed40]
cmp eax, dword [ebp - 8]
je 0x41566e
push eax
call fcn.0040c013
cmp eax, ebx
pop ecx
je 0x41566e
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41566e
mov eax, dword [0x41ed44]
cmp eax, dword [ebp - 8]
je 0x41566e
push eax
call fcn.0040c013
cmp eax, ebx
pop ecx
je 0x41566e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41ed3c]
call fcn.0040c013
cmp eax, ebx
pop ecx
je 0x41568e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x415690
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405840
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
mov eax, dword [esp + 0x34]
push eax
push ebx
cmp ecx, 0
je 0x40591b
and ebp, 0xfffffff8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x4058b6
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00405480
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x405884
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x4059d4
call fcn.004058c8
and ebp, 0xfffffff8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x405973
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00405480
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x40592c
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x4059d4
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00405480
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x4059cf
jmp 0x4059d4
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x405a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x405b24
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x405abf
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.004055e0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x405a8d
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x405bdd
call fcn.00405ad1
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x405b7c
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00405710
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x405b35
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x405bdd
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00405710
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x405bd8
jmp 0x405bdd
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x4075be
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
ret

Function at 0x407600
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x40761e
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
ret
Function at 0x407660
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x407682
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
ret

Function at 0x4076e0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x407702
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
ret

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

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x40778a
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
ret

Function at 0x4077f0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x40781a
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
ret

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

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesenc xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [edx + ecx]
add ecx, 0x10
jmp 0x4078df
Function at 0x4078ee
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x4078d0
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
ret

Function at 0x407960
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [edx + ecx]
add ecx, 0x10
jmp 0x4079bf

Function at 0x4079ce
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x4079b0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
ret