joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402690
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push str.Comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x4026ca
push str.InitCommonControlsEx
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 0x800
call eax
push 0x408374
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
push str.CSCLIENT.dll
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push str._CallHook_16
push esi
call edi
push str._SetMsg_4
push esi
mov dword [0x40af80], eax
call edi
push str._SetMsgType_4
push esi
mov dword [0x40ae2c], eax
call edi
push str._TriggerMsg_0
push esi
mov dword [0x40ae24], eax
call edi
push str._SetUserInfo_4
push esi
mov dword [0x40af7c], eax
call edi
test esi, esi
mov edi, dword [esp + 0x18]
mov dword [0x40af70], eax
mov dword [0x40ae40], edi
je 0x4027ab
mov eax, dword [0x40af80]
test eax, eax
je 0x4027ab
test ebx, ebx
push 0x408374
je 0x40277b
push str.32770
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0x10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0x402520
push 0
push 0x65
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0x10
push 0
push 0x4083dc
push 0x4083cc
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0x10
Function at 0x4028a1
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x408480
call fcn.00402c24
mov edi, 0x94
mov eax, edi
call fcn.00403d90
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x40b374], ecx
mov eax, dword [esi + 4]
mov dword [0x40b380], eax
mov edx, dword [esi + 8]
mov dword [0x40b384], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x40b378], esi
cmp ecx, 2
je 0x402901
or esi, 0x8000
mov dword [0x40b378], esi
shl eax, 8
add eax, edx
mov dword [0x40b37c], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x40293c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40293c
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x402954
cmp eax, 0x20b
je 0x402941
mov dword [ebp - 0x1c], esi
jmp 0x402968
cmp dword [ecx + 0x84], 0xe
jbe 0x40293c
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x402962
cmp dword [ecx + 0x74], 0xe
jbe 0x40293c
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00403d3f
pop ecx
test eax, eax
jne 0x40297c
push 0x1c
call fcn.0040287d
pop ecx
call fcn.00403c36
test eax, eax
jne 0x40298d
push 0x10
call fcn.0040287d
pop ecx
call fcn.004039d0
mov dword [ebp - 4], esi
call fcn.004037d2
test eax, eax
jge 0x4029a6
push 0x1b
call fcn.00402858
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40bb94], eax
call fcn.004036b0
mov dword [0x40b360], eax
call fcn.0040360e
test eax, eax
jge 0x4029cc
push 8
call fcn.00402858
pop ecx
call fcn.004033db
test eax, eax
jge 0x4029dd
push 9
call fcn.00402858
pop ecx
push 1
call fcn.00402efd
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4029f3
push eax
call fcn.00402858
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0040337e
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x402a14
movzx eax, word [ebp - 0x40]
jmp 0x402a17
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00402690
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x402a35
push edi
call fcn.0040302a
call fcn.0040304c
jmp 0x402a67
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00402c5f
ret
Function at 0x402f67
Capabilities:
Terminate process

Disassembly:
push 8
push 0x4086c0
call fcn.00402c24
push 8
call fcn.004045f6
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x40b3b4], esi
jne 0x402f9b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x40b3b0], esi
mov al, byte [ebp + 0x10]
mov byte [0x40b3ac], al
cmp dword [ebp + 0xc], edi
jne 0x402fe5
cmp dword [0x40bb88], edi
je 0x402fd5
mov eax, dword [0x40bb84]
sub eax, 4
mov dword [0x40bb84], eax
cmp eax, dword [0x40bb88]
jb 0x402fd5
mov eax, dword [eax]
cmp eax, edi
je 0x402fb6
call eax
jmp 0x402fb6
push 0x40a020
mov eax, 0x40a01c
call fcn.00402ee5
pop ecx
push 0x40a028
mov eax, 0x40a024
call fcn.00402ee5
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x403016
cmp dword [ebp + 0x10], edi
jne 0x403024
mov dword [0x40b3b4], esi
push dword [ebp + 8]
call fcn.00402ea3
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x403023
push 8
call fcn.00404541
pop ecx
ret
call fcn.00402c5f
ret

Function at 0x40306a
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x40a054]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x40a060]
je 0x40309f
inc eax
cmp eax, 0x13
jb 0x403090
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x40a060]
jne 0x4031c5
mov eax, dword [0x40b368]
cmp eax, 1
je 0x40319d
cmp eax, edx
jne 0x4030cf
cmp dword [0x40a05c], 1
je 0x40319d
cmp ecx, 0xfc
je 0x4031c5
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403105
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00403ed0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00404100
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x403139
mov eax, edi
push eax
call fcn.00404100
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x4084c4
push edi
call fcn.00403fd0
add esp, 0x10
push edi
call fcn.00404100
push dword [esi + 0x40a064]
mov ebx, eax
call fcn.00404100
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00403d90
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00403ed0
push edi
push ebx
call fcn.00403ee0
push 0x4084c0
push ebx
call fcn.00403ee0
push dword [esi + 0x40a064]
push ebx
call fcn.00403ee0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00403dcd
add esp, 0x2c
jmp 0x4031c5
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x40a064]
push dword [esi]
call fcn.00404100
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00402837
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x403dcd
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x40b4dc], ebx
push esi
push edi
jne 0x403e4d
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x403e88
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x408b5c
push edi
call esi
test eax, eax
mov dword [0x40b4dc], eax
je 0x403e88
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x40b4e0], eax
call esi
cmp dword [0x40b374], 2
mov dword [0x40b4e4], eax
jne 0x403e4d
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x40b4ec], eax
je 0x403e4d
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x40b4e8], eax
mov eax, dword [0x40b4e8]
test eax, eax
je 0x403e92
call eax
test eax, eax
je 0x403e79
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x40b4ec]
test eax, eax
je 0x403e79
test byte [ebp - 8], 1
jne 0x403e92
cmp dword [0x40b380], 4
jb 0x403e8c
or byte [ebp + 0x12], 0x20
jmp 0x403eb1
xor eax, eax
jmp 0x403ec1
or byte [ebp + 0x12], 4
jmp 0x403eb1
mov eax, dword [0x40b4e0]
test eax, eax
je 0x403eb1
call eax
mov ebx, eax
test ebx, ebx
je 0x403eb1
mov eax, dword [0x40b4e4]
test eax, eax
je 0x403eb1
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x40b4dc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40427a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x4042a8
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x4042af
cmp ebx, dword [eax + 4]
jae 0x4042af
xor eax, eax
jmp 0x40449f
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4042c0
xor eax, eax
inc eax
jmp 0x40449e
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4042d6
cmp ecx, edx
jae 0x40441b
cmp dword [eax + 4], 0
je 0x4042df
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x4042c7
cmp dword [ebp + 8], 0
je 0x404301
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x40441b
cmp eax, esi
jae 0x40441b
mov eax, dword [0x40b4f0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x404326
cmp dword [esi*4 + 0x40b4f8], edi
je 0x40441f
inc esi
cmp esi, eax
jl 0x404314
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40449b
cmp dword [ebp - 8], 0x1000000
jne 0x40449b
test byte [ebp - 0xc], 0xcc
je 0x4043a4
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40449b
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40449b
cmp word [eax + 0x18], 0x10b
jne 0x40449b
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40449b
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4043a4
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4043a4
test byte [ecx + 0x27], 0x80
jne 0x40441b
push 1
push 0x40b538
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x4042b8
mov ecx, dword [0x40b4f0]
test ecx, ecx
mov edx, ecx
jle 0x4043d8
lea eax, [ecx*4 + 0x40b4f4]
cmp dword [eax], edi
je 0x4043d8
dec edx
sub eax, 4
test edx, edx
jg 0x4043cc
test edx, edx
jne 0x404409
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4043e5
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4043fd
lea eax, [edx*4 + 0x40b4f8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4043eb
cmp ecx, 0x10
jge 0x404409
inc ecx
mov dword [0x40b4f0], ecx
push 0
push 0x40b538
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x4042b8
xor eax, eax
jmp 0x40449e
test esi, esi
jle 0x4042b8
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x40b538
call ebx
test eax, eax
jne 0x4042b8
cmp dword [esi*4 + 0x40b4f8], edi
je 0x404475
mov eax, dword [0x40b4f0]
lea esi, [eax - 1]
test esi, esi
jl 0x404463
cmp dword [esi*4 + 0x40b4f8], edi
je 0x40445f
dec esi
jns 0x404453
test esi, esi
jge 0x404473
cmp eax, 0x10
jge 0x40446e
inc eax
mov dword [0x40b4f0], eax
lea esi, [eax - 1]
jmp 0x404475
je 0x40448d
xor ecx, ecx
test esi, esi
jl 0x40448d
lea eax, [ecx*4 + 0x40b4f8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40447b
push 0
push 0x40b538
call ebx
jmp 0x4042b8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40702c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00403d90
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4070c7
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x40b374]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4070c7
cmp eax, 1
je 0x4070e8
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4070c7
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x407094
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4070c3
xor eax, eax
inc eax
jmp 0x407107
cmp edi, eax
jae 0x4070cb
xor eax, eax
jmp 0x407107
cmp eax, esi
jae 0x4070d2
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x40b374]
jmp 0x4070eb
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f270
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + 0x14], edi
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
mov esi, dword [edi + 0xf0]
lea esi, [esi + esi - 2]
lea esi, [edi + esi*8]
mov dword [esp + 0x18], esi
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 3]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, edx
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8]
movzx edi, ch
xor esi, dword [ebp + edi*8 + 3]
mov edi, edx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, eax
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8]
movzx edi, dh
xor esi, dword [ebp + edi*8 + 3]
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 1]
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + edx*8]
movzx eax, ah
xor edx, dword [ebp + eax*8 + 3]
mov eax, dword [esp + 4]
and ebx, 0xff
xor edx, dword [ebp + ebx*8 + 2]
mov ebx, dword [esp + 8]
xor edx, dword [ebp + ecx*8 + 1]
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
jb 0x40f290
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, bh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, edx
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, ch
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, eax
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, dh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
movzx edi, bh
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov edi, dword [esp + 0x14]
and edx, 0xff
mov edx, dword [ebp + edx*8 + 2]
and edx, 0xff
movzx eax, ah
mov eax, dword [ebp + eax*8]
and eax, 0xff00
xor edx, eax
mov eax, dword [esp + 4]
and ebx, 0xff
mov ebx, dword [ebp + ebx*8]
and ebx, 0xff0000
xor edx, ebx
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + ecx*8 + 2]
and ecx, 0xff000000
xor edx, ecx
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
ret
Function at 0x413840
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 0x413924
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x4138bf
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.004133e0
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 0x41388d
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x4139dd
call fcn.004138d1
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x41397c
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00413510
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 0x413935
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x4139dd
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00413510
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 0x4139d8
jmp 0x4139dd
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 0x414ee0
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 0x414efe
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
ret

Function at 0x414f40
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 0x414f5e
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
ret
Function at 0x414fa0
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 0x414fc2
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
ret

Function at 0x415020
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 0x415042
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
ret

Function at 0x4150a0
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 0x4150ca
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 0x415130
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 0x41515a
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 0x4151c0
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 0x41521f
Function at 0x4152a0
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 0x4152ff