joyce8/EMBER2024-capa huggingface dataset:
Function at 0x509b1b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x509bb8
push ebx
push esi
call fcn.00509ae4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00509a7a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x509b65
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x509bb7
push edi
push eax
call fcn.00504680
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x509b85
call fcn.00502dc0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x509bb6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00509a7a
add esp, 0x20
test eax, eax
jne 0x509ba4
push edi
call fcn.00502dc0
jmp 0x509bac
push ebx
call fcn.00502dc0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x509bbb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x509bcc
pop esi
ret
push ebx
push edi
push esi
call fcn.00509ae4
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00504680
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x509bf4
push ebx
push esi
push edi
call fcn.004f07d0
add esp, 0xc
push 0
call fcn.00502dc0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x50a34b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00509e67

Function at 0x510750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x51077d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x51077d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x421732
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 0x20019
push esi
push 0x4211e8
push 0x80000002
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x42179b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x4211b8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x42179b
cmp dword [ebp - 8], 4
jne 0x42179b
xor eax, eax
inc eax
cmp dword [ebp - 0xc], eax
jne 0x42179b
mov dword [0x426068], eax
cmp dword [ebp - 4], esi
pop esi
je 0x4217aa
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x421b31
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push edi
mov edi, ecx
lea ecx, [edi + 4]
push 1
mov dword [ebp - 0xc], ecx
call fcn.004216f1
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x421b5f
mov dword [ebp - 4], 0x80004005
jmp 0x421bea
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x421b82
push 0xfa0
mov ecx, edi
call fcn.00421a64
mov esi, eax
test esi, esi
jne 0x421b82
mov dword [ebp - 4], 0x8007000e
jmp 0x421be9
and dword [esi + 0x1c], 0
mov dword [esi + 0x18], 1
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esi + 0x28]
push esi
lea ecx, [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x24]
sub ecx, eax
push ecx
lea eax, [eax + esi + 0x30]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x421bdb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x421bdb
cmp eax, 0xea
je 0x421bdb
and dword [esi + 0x18], 0
mov eax, dword [edi]
push edi
call dword [eax + 8]
call fcn.0042418e
mov dword [ebp - 4], eax
jmp 0x421be9
and dword [esi + 0x18], 0
mov ecx, 0x4260a0
call fcn.00422e91
pop esi
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x1c], 0
pop edi
je 0x421bfe
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 4], 0
je 0x421c09
call fcn.00421a0f
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x421d28
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
jne 0x421d37
mov eax, 0x80070057
ret 4
mov ecx, dword [0x426050]
jmp fcn.00421c10
Function at 0x4225e4
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
or dword [ebp - 8], 0xffffffff
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x10]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0xc], ecx
add esi, 0x18
call fcn.0042240e
mov ebx, eax
xor eax, eax
cmp dword [ebp + 0x10], eax
mov dword [ebp + 8], eax
je 0x42261e
cmp ebx, 0xffffffff
je 0x42267c
cmp ebx, 0xffffffff
je 0x422675
cmp ebx, eax
je 0x422675
push eax
lea eax, [ebp - 4]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x422643
call fcn.0042418e
mov dword [ebp + 8], eax
jmp 0x42267c
cmp dword [ebp - 4], esi
jne 0x422639
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x10]
push 0
lea ecx, [ebp - 4]
push ecx
add esi, 0x18
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x422639
mov ecx, 0x4260a0
call fcn.00422e91
cmp dword [ebp - 4], esi
je 0x42267c
jmp 0x422639
mov dword [ebp + 8], 0x80004005
mov eax, dword [ebp - 8]
test eax, eax
pop edi
pop esi
pop ebx
jl 0x42269e
mov ecx, dword [ebp - 0xc]
shl eax, 5
add eax, dword [ecx]
cmp dword [eax + 0x1c], 0
je 0x42269e
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 8]
leave
ret 0xc

Function at 0x4226a5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [0x42606c]
push esi
xor esi, esi
cmp ecx, esi
jne 0x4226bf
mov eax, 0x80004005
jmp 0x422729
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.0042240e
xor edi, edi
cmp eax, 0xffffffff
je 0x4226fc
cmp eax, esi
je 0x4226fc
push esi
lea ecx, [ebp - 8]
push ecx
push esi
lea ecx, [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4226fc
call fcn.0042418e
mov edi, eax
mov eax, dword [ebp - 4]
cmp eax, esi
jl 0x42271d
mov ecx, dword [0x42606c]
shl eax, 5
add eax, dword [ecx]
cmp dword [eax + 0x1c], esi
je 0x42271d
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, esi
je 0x422726
call fcn.00422492
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x423882
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x24
push 0x421488
call fcn.00423b9c
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x4238bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4238bd
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4238d5
cmp eax, 0x20b
je 0x4238c2
mov dword [ebp - 0x1c], edi
jmp 0x4238e9
cmp dword [ecx + 0x84], 0xe
jbe 0x4238bd
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x4238e3
cmp dword [ecx + 0x74], 0xe
jbe 0x4238bd
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.MSVCR70.dll___set_app_type]
pop ecx
or dword [0x42613c], 0xffffffff
or dword [0x426140], 0xffffffff
call dword [sym.imp.MSVCR70.dll___p__fmode]
mov ecx, dword [0x4260c0]
mov dword [eax], ecx
call dword [sym.imp.MSVCR70.dll___p__commode]
mov ecx, dword [0x4260bc]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR70.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x426138], eax
call fcn.00423af8
call fcn.00423b9b
cmp dword [0x426030], edi
jne 0x423949
push 0x423b98
call dword [sym.imp.MSVCR70.dll___setusermatherr]
pop ecx
call fcn.00423b86
push 0x426014
push 0x426010
call sub.MSVCR70.dll__initterm
push 0x423b3c
call fcn.00423ae6
mov eax, dword [0x4260b8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x4260b4]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR70.dll___wgetmainargs]
push 0x42600c
push section..data
call sub.MSVCR70.dll__initterm
call dword [sym.imp.MSVCR70.dll___p___winitenv]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.00422ad8
add esp, 0x34
mov esi, eax
mov dword [ebp - 0x30], esi
cmp dword [ebp - 0x1c], edi
jne 0x4239c7
push esi
call dword [sym.imp.MSVCR70.dll_exit]
call dword [sym.imp.MSVCR70.dll__cexit]
jmp 0x4239fc
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00423bd5
ret
Function at 0x423d67
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
mov ebx, 0x20019
push ebx
push 0
push 0x421608
mov edi, 0x80000002
push edi
call esi
test eax, eax
jne 0x423de7
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x4215dc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x423dd7
cmp dword [ebp - 8], 4
jne 0x423dd7
cmp dword [ebp - 0x14], eax
je 0x423dd7
mov dword [0x426114], 1
jmp 0x423dde
and dword [0x426114], 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x426114], 0
je 0x423df5
call fcn.00423cc0
lea eax, [ebp - 4]
push eax
push ebx
push 0
push 0x421578
push edi
call esi
test eax, eax
jne 0x423e47
push 4
pop esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x421548
push dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x423e3e
cmp dword [ebp - 8], esi
jne 0x423e3e
mov eax, dword [ebp - 0x14]
mov dword [0x42610c], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor esi, esi
inc esi
cmp dword [ebp - 0x28], esi
jne 0x423e6b
mov dword [0x426110], esi
jmp 0x423e9f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
cmp eax, esi
jne 0x423e9f
xor eax, eax
cmp dword [ebp - 0xc], eax
je 0x423e92
test byte [ebp - 0xc], 1
je 0x423e8d
inc eax
shr dword [ebp - 0xc], 1
jne 0x423e86
xor ecx, ecx
cmp eax, esi
sete cl
mov dword [0x426110], ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0xc86854
Capabilities:
Encode data using xor

Disassembly:
jmp 0xc8685e
pushal
call 0xc86864
pop ebp
sub ebp, 0x10
sub ebp, 0x886854
jmp 0xc8687a
mov eax, 0x886854
add eax, ebp
add eax, 0x4c
mov ecx, 0x5a3
mov edx, 0x40fbf2ca
xor byte [eax], dl
inc eax
dec ecx
jne 0xc86891
jmp 0xc868a4
inc ecx
pop es
inc ecx
inc ebx
test dl, 0xca
retf 0xb4b
Function at 0x10001bb0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x88
call fcn.10115600
mov eax, dword [0x10182f40]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x9c]
push ebx
mov ebx, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x94]
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
push edi
mov edi, dword [esp + 0x9c]
je 0x10001c25
cmp ebx, dword [esi]
je 0x10001c1c
test edi, edi
je 0x10001c02
cmp dword [esp + 0xa0], eax
jge 0x10001c1c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.101149a0
add esp, 0x88
ret
mov eax, 1
mov dword [esi], ebx
jmp 0x10001c2b
mov ebx, dword [esi]
test ebx, ebx
je 0x10001c02
test edi, edi
push ebp
je 0x10001cfd
push ebx
call fcn.10035cf0
mov ebp, eax
add esp, 4
cmp ebp, 0x80
jle 0x10001c5b
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.10005150
add esp, 0xc
mov eax, dword [esp + 0xa4]
cmp ebp, eax
jge 0x10001cb5
mov ecx, dword [esp + 0x10]
push ecx
lea ebp, [esi + 4]
push ebx
push ebp
call fcn.10006830
add esp, 0xc
test eax, eax
je 0x10001db8
mov edx, dword [esp + 0xa4]
push edx
push edi
push ebp
call fcn.100069e0
add esp, 0xc
test eax, eax
je 0x10001db8
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebp
call fcn.100069f0
add esp, 0xc
test eax, eax
je 0x10001db8
jmp 0x10001cda
cmp eax, 0x80
ja 0x10001db8
push eax
lea ecx, [esi + 0x50]
push edi
push ecx
call fcn.10118e40
mov edx, dword [esp + 0xb0]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], edx
mov edi, dword [edi]
cmp edi, 0x80
je 0x10001d05
mov eax, 0x80
sub eax, edi
push eax
lea ecx, [edi + esi + 0x50]
push 0
push ecx
call fcn.10118ce0
add esp, 0xc
jmp 0x10001d05
test eax, eax
je 0x10001da4
xor eax, eax
jmp 0x10001d10
mov dl, byte [esi + eax + 0x50]
xor dl, 0x36
mov byte [esp + eax + 0x14], dl
add eax, 1
cmp eax, 0x80
jl 0x10001d10
mov eax, dword [esp + 0x10]
push eax
lea ebp, [esi + 0x1c]
push ebx
push ebp
call fcn.10006830
add esp, 0xc
test eax, eax
je 0x10001db8
push ebx
call fcn.10035cf0
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.100069e0
add esp, 0x10
test eax, eax
je 0x10001db8
xor eax, eax
jmp 0x10001d60
mov dl, byte [esi + eax + 0x50]
xor dl, 0x5c
mov byte [esp + eax + 0x14], dl
add eax, 1
cmp eax, 0x80
jl 0x10001d60
mov eax, dword [esp + 0x10]
push eax
lea ebp, [esi + 0x34]
push ebx
push ebp
call fcn.10006830
add esp, 0xc
test eax, eax
je 0x10001db8
push ebx
call fcn.10035cf0
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.100069e0
add esp, 0x10
test eax, eax
je 0x10001db8
lea edx, [esi + 0x1c]
push edx
add esi, 4
push esi
call fcn.10006b50
add esp, 8
test eax, eax
jne 0x10001dbc
xor eax, eax
jmp 0x10001dc1
mov eax, 1
mov ecx, dword [esp + 0x94]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101149a0
add esp, 0x88
ret
Function at 0x10005010
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.10115600
mov eax, dword [0x10182f40]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x10005097
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x10005097
mov ecx, dword [esp + 0x110]
lea eax, [esp + 0x114]
push eax
push ecx
lea edx, [esp + 0x10]
push 0x100
push edx
call fcn.101147fe
add esp, 0x10
test eax, eax
jge 0x1000506d
mov eax, 0x100
push 0
lea ecx, [esp + 8]
push ecx
push eax
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.101149a0
add esp, 0x108
ret
mov ecx, dword [esp + 0x110]
lea eax, [esp + 0x114]
push eax
push ecx
lea edx, [esp + 0x10]
push 0xff
push edx
call fcn.101147fe
add esp, 0x10
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x10005125
call fcn.10004ed0
test eax, eax
jle 0x10005125
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 1
push 0
push 0
push 0
mov esi, eax
push 1
lea eax, [esp + 0x28]
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.101149a0
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.101149a0
add esp, 0x108
ret

Function at 0x10005180
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
jbe 0x100051a6
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
sub esi, eax
mov dl, byte [esi + eax]
xor dl, byte [eax]
add eax, 1
or cl, dl
sub edi, 1
jne 0x10005196
pop esi
movzx eax, cl
pop edi
ret

Function at 0x10006e60
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 0x10006e7e
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
ret
Function at 0x10006ec0
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 0x10006ede
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
ret

Function at 0x10006f20
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 0x10006f42
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
ret

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

Function at 0x10007020
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 0x1000704a
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 0x100070b0
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 0x100070da
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 0x10007140
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 0x1000719f

Function at 0x10007220
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 0x1000727f