joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002a600
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x101870dc]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.10108c60
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
inc eax
cmp dword [ebp - 0x7c], 6
ja 0x1002a651
jne 0x1002a64f
cmp dword [ebp - 0x78], eax
jae 0x1002a651
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.10108bbf
add ebp, 0x98
leave
ret

Function at 0x1002a72e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x101870dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10108c60
xor eax, eax
push esi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.10108c60
add esp, 0x18
test edi, edi
je 0x1002a7ce
push edi
call fcn.101090dc
pop ecx
test eax, eax
jbe 0x1002a7ce
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1002a7ce
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x1017a054
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.1002a6d7
add esp, 0x14
test eax, eax
jl 0x1002a7ce
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x1002a7d0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10108bbf
leave
ret
Function at 0x1002a7dd
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 0x18], 0
test ebx, ebx
jne 0x1002a7f0
push 0x57
pop eax
leave
ret
push edi
mov edi, str.wintrust.dll
call fcn.1002a72e
mov edi, eax
test edi, edi
jne 0x1002a817
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1002a8ce
push 0x7e
pop eax
jmp 0x1002a8ce
push esi
call fcn.1002a600
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinVerifyTrust
push edi
mov dword [ebp - 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push edi
mov dword [ebp - 4], eax
call esi
push str.WTHelperGetProvSignerFromChain
push edi
mov dword [ebp - 8], eax
call esi
push str.WTHelperGetProvCertFromChain
push edi
mov dword [ebp - 0xc], eax
call esi
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp - 4], eax
je 0x1002a87b
cmp dword [ebp - 8], eax
je 0x1002a87b
cmp dword [ebp - 0xc], eax
je 0x1002a87b
cmp dword [ebp - 0x10], eax
je 0x1002a87b
cmp dword [ebp - 0x14], eax
jne 0x1002a895
push str.WintrustLoadFunctionPointers
push edi
call esi
mov esi, eax
test esi, esi
jne 0x1002a89a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x1002a88a
push 0x7f
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x1002a8cd
mov esi, dword [ebp - 0x18]
jmp 0x1002a89c
xor eax, eax
push 0x18
push eax
push ebx
call fcn.10108c60
mov eax, dword [ebp - 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp dword [ebp - 0x14], 0
mov dword [ebx], edi
mov dword [ebx + 0x10], eax
jne 0x1002a8cb
mov dword [ebx + 0x14], esi
xor eax, eax
pop esi
pop edi
leave
ret
Function at 0x1002abb9
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0xf8
mov eax, dword [0x101870dc]
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x7c]
xor ecx, ecx
push ebx
push esi
mov dword [ebp - 0x8c], eax
cmp edi, ecx
je 0x1002ad6d
cmp dword [ebp + 0x78], ecx
jl 0x1002ad6d
jg 0x1002abf7
cmp dword [ebp + 0x74], ecx
jbe 0x1002ad6d
cmp eax, ecx
je 0x1002ad6d
cmp dword [ebp + 0x78], ecx
mov ebx, 0xf0
jg 0x1002ac1a
jl 0x1002ac10
cmp dword [ebp + 0x74], ebx
ja 0x1002ac1a
mov eax, 0x22000009
jmp 0x1002ad72
push ebx
push ecx
lea eax, [ebp - 0x88]
push eax
call fcn.10108c60
push edi
xor esi, esi
inc esi
push esi
lea eax, [ebp - 0x88]
push 0x40
push eax
call fcn.1010e9c7
add esp, 0x1c
cmp eax, esi
je 0x1002ac4c
mov eax, 0x22000005
jmp 0x1002ad72
push 2
lea eax, [ebp - 0x88]
push 0x10132644
push eax
call fcn.1010a00c
add esp, 0xc
test eax, eax
jne 0x1002ac10
movzx eax, byte [ebp - 0x49]
movzx ecx, byte [ebp - 0x4a]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x4b]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x4c]
shl eax, 8
or eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x78], ecx
jg 0x1002ac97
jl 0x1002ac10
cmp dword [ebp + 0x74], eax
jbe 0x1002ac10
push 0
push eax
push edi
call fcn.1010e6a2
add esp, 0xc
test eax, eax
jl 0x1002ac42
push edi
push esi
lea eax, [ebp - 0x48]
push 4
push eax
call fcn.1010e9c7
add esp, 0x10
cmp eax, esi
jne 0x1002ac42
push 4
lea eax, [ebp - 0x48]
push 0x1013263c
push eax
call fcn.1010a00c
add esp, 0xc
test eax, eax
jne 0x1002ac10
push edi
push esi
lea eax, [ebp - 0x44]
push 0x14
push eax
call fcn.1010e9c7
add esp, 0x10
cmp eax, esi
jne 0x1002ac42
push edi
push esi
lea eax, [ebp - 0x30]
push 2
push eax
call fcn.1010e9c7
add esp, 0x10
cmp eax, esi
jne 0x1002ac42
movzx ax, byte [ebp - 0x2f]
movzx cx, byte [ebp - 0x30]
shl ax, 8
or ax, cx
mov ecx, 0x20b
cmp ax, cx
jne 0x1002ad56
push edi
push esi
push 0x96
lea eax, [ebp - 0x2e]
push eax
call fcn.1010e9c7
add esp, 0x10
cmp eax, esi
jne 0x1002ac42
push ebx
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x8c]
call fcn.10109740
add esp, 0xc
xor eax, eax
jmp 0x1002ad72
mov ecx, 0x10b
cmp ax, cx
jne 0x1002ac10
push edi
push esi
push 0x86
jmp 0x1002ad28
mov eax, 0x22000001
mov ecx, dword [ebp + 0x68]
pop esi
xor ecx, ebp
pop ebx
call fcn.10108bbf
add ebp, 0x6c
leave
ret
Function at 0x10047700
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, eax
mov edx, esi
shr edx, 2
xor eax, eax
test edx, edx
je 0x1004773c
push ebx
push edi
movzx edi, byte [ecx + 3]
movzx ebx, byte [ecx + 2]
shl edi, 8
or edi, ebx
movzx ebx, byte [ecx + 1]
shl edi, 8
or edi, ebx
movzx ebx, byte [ecx]
shl edi, 8
or edi, ebx
xor dword [esp + 0x10], edi
dec edx
add ecx, 4
test edx, edx
jne 0x10047710
pop edi
pop ebx
and esi, 3
dec esi
je 0x10047758
dec esi
je 0x1004774f
dec esi
jne 0x1004775d
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
movzx edx, byte [ecx]
shl edx, 8
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, dword [esp + 8]
pop esi
ret

Function at 0x100477c2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
test esi, esi
je 0x100477f5
cmp dword [ebp + 8], 0
je 0x100477f5
push dword [ebp + 8]
lea eax, [ebp - 4]
push 1
push 4
push eax
call fcn.1010e9c7
add esp, 0x10
test eax, eax
jne 0x100477ec
push 0xfffffffffffffffe
pop eax
leave
ret
mov eax, dword [ebp - 4]
mov dword [esi], eax
push 4
jmp 0x100477e9
or eax, 0xffffffff
leave
ret

Function at 0x100477fa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
test esi, esi
je 0x1004782f
cmp dword [ebp + 8], 0
je 0x1004782f
push dword [ebp + 8]
lea eax, [ebp - 4]
push 1
push 2
push eax
call fcn.1010e9c7
add esp, 0x10
test eax, eax
jne 0x10047824
push 0xfffffffffffffffe
pop eax
leave
ret
mov ax, word [ebp - 4]
mov word [esi], ax
push 2
jmp 0x10047821
or eax, 0xffffffff
leave
ret

Function at 0x10047834
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
xor eax, eax
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 8], eax
je 0x100478c1
cmp ebx, eax
je 0x100478c1
mov edi, 0x8000
cmp dword [ebp + 0xc], edi
je 0x1004785b
push 0xfffffffffffffffc
pop eax
jmp 0x100478c4
push ebx
lea esi, [ebp - 8]
call fcn.100477c2
pop ecx
test eax, eax
jl 0x100478c4
push ebx
lea esi, [ebp - 4]
call fcn.100477c2
pop ecx
test eax, eax
jl 0x100478c4
movzx esi, word [ebp - 4]
cmp esi, edi
jbe 0x10047883
push 0xfffffffffffffffb
jmp 0x10047858
push ebx
push 1
push esi
push dword [ebp + 8]
call fcn.1010e9c7
add esp, 0x10
test eax, eax
jne 0x1004789a
push 0xfffffffffffffffe
jmp 0x10047858
mov ecx, dword [ebp + 8]
push 0
mov eax, esi
call fcn.10047700
push eax
push 4
pop eax
lea ecx, [ebp - 4]
call fcn.10047700
pop ecx
pop ecx
cmp eax, dword [ebp - 8]
je 0x100478bd
push 0xfffffffffffffffa
jmp 0x10047858
mov eax, esi
jmp 0x100478c4
or eax, 0xffffffff
pop edi
pop esi
leave
ret

Function at 0x10047eda
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x18], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
xor eax, eax
inc eax
ret
Function at 0x100492b2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x101870dc]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp edi, eax
je 0x10049375
cmp dword [ebp + 0xc], eax
jl 0x10049375
jg 0x100492e0
cmp dword [ebp + 8], eax
jbe 0x10049375
cmp ebx, eax
je 0x10049375
cmp dword [ebp + 0xc], eax
jg 0x100492fc
jl 0x100492f5
cmp dword [ebp + 8], 0x3c
jae 0x100492fc
mov eax, 0x22000009
jmp 0x1004937a
push 0x3c
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10108c60
push edi
push 1
lea eax, [ebp - 0x40]
push 0x3c
push eax
call fcn.1010e9c7
add esp, 0x1c
cmp eax, 1
je 0x10049325
mov eax, 0x22000005
jmp 0x1004937a
push 4
lea eax, [ebp - 0x40]
push str.MSCF
push eax
call fcn.1010a00c
add esp, 0xc
test eax, eax
jne 0x100492f5
test byte [ebp - 0x22], 4
jne 0x10049349
mov eax, 0x2200000e
jmp 0x1004937a
movzx ax, byte [ebp - 0x1b]
movzx cx, byte [ebp - 0x1c]
shl ax, 8
or ax, cx
push 0x14
pop ecx
cmp cx, ax
jne 0x10049342
push 0x3c
lea eax, [ebp - 0x40]
push eax
push ebx
call fcn.10109740
add esp, 0xc
xor eax, eax
jmp 0x1004937a
mov eax, 0x22000001
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10108bbf
leave
ret
Function at 0x1005fd40
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
cmp edi, eax
je 0x1005fdcb
mov edx, dword [esp + 8]
lea ecx, [edx - 1]
not edx
shr edx, 0x1f
push esi
mov esi, dword [edi + 4]
shr ecx, 0x1f
and ecx, edx
mov edx, dword [eax + 4]
xor edx, esi
dec ecx
and edx, ecx
xor esi, edx
mov dword [edi + 4], esi
xor dword [eax + 4], edx
mov esi, dword [edi + 0xc]
mov edx, dword [eax + 0xc]
xor edx, esi
and edx, ecx
xor esi, edx
mov dword [edi + 0xc], esi
xor dword [eax + 0xc], edx
mov esi, dword [edi + 0x10]
mov edx, dword [eax + 0x10]
xor edx, esi
and edx, ecx
and edx, 4
xor esi, edx
mov dword [edi + 0x10], esi
xor dword [eax + 0x10], edx
xor esi, esi
cmp dword [esp + 0x18], esi
jle 0x1005fdca
push ebx
push ebp
mov edx, dword [edi]
mov ebx, dword [edx + esi*4]
lea ebp, [edx + esi*4]
mov edx, dword [eax]
mov edx, dword [edx + esi*4]
xor edx, ebx
and edx, ecx
xor ebx, edx
mov dword [ebp], ebx
mov ebx, dword [eax]
xor dword [ebx + esi*4], edx
lea ebx, [ebx + esi*4]
inc esi
cmp esi, dword [esp + 0x20]
jl 0x1005fda3
pop ebp
pop ebx
pop esi
pop edi
ret

Function at 0x10060050
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
test byte [eax + 0x10], 4
mov ecx, dword [eax + 4]
push esi
lea esi, [ecx - 1]
je 0x1006006b
pop esi
mov dword [esp + 4], eax
jmp fcn.1005f9a0
test ecx, ecx
jne 0x10060073
xor eax, eax
pop esi
ret
mov eax, dword [eax]
mov ecx, dword [eax + esi*4]
push ecx
call fcn.1005f910
shl esi, 5
add esp, 4
add eax, esi
pop esi
ret

Function at 0x100613dd
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10061418
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x100613ff
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10061410
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x1006141a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x100613f5
xor eax, eax
pop edi
pop esi
ret
Function at 0x10061670
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1006168b
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1006139d
push edi
and al, byte [edi + 0x76]
lea eax, [ebp - 0x40]
push eax
call fcn.100613ad
push eax
push esi
push dword [ebp + 8]
call fcn.10061362
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.1006139d
cmp dword [ebp + 0x458d93c9], edi
call 0x60ee7493
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.100613ad
push eax
push esi
push dword [ebp + 8]
call fcn.10061362
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.100613ad
push eax
push esi
push dword [ebp + 8]
call fcn.10061362
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100613ad
push eax
push esi
push dword [ebp + 8]
call fcn.10061362
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1006139d
std
and byte gs:[edx], 0x88
popfd
jl 0x10061822
invalid
invalid
Function at 0x10064ea0
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x208
call fcn.1010be30
mov eax, dword [0x101870dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x10064f15
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x10064f15
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x204]
push 0x200
push edx
call fcn.1010c27b
add esp, 0x10
test eax, eax
jge 0x10064ef8
mov eax, 0x200
push 0
lea ecx, [ebp - 0x208]
push ecx
push eax
lea edx, [ebp - 0x204]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1006505e
mov ebx, dword [ebp + 8]
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10064f20
sub eax, edx
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.101114a0
mov esi, esp
test esi, esi
jne 0x10064f44
mov esi, str.no_stack_
jmp 0x10064fcf
push edi
push esi
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x10064f71
test edi, edi
jbe 0x10064f71
lea ebx, [ebx]
mov ecx, dword [ebp + 8]
movsx dx, byte [eax + ecx]
mov word [esi + eax*2], dx
inc eax
cmp eax, edi
jb 0x10064f60
xor eax, eax
test edi, edi
jbe 0x10064fcf
cmp word [esi + eax*2], 0x25
jne case.0x10064f94.43
lea ecx, [esi + eax*2 + 2]
movzx edx, word [ecx]
add edx, 0xffffffd6
cmp edx, 0x49
ja case.0x10064f94.43
movzx edx, byte [edx + 0x10065090]
jmp dword [edx*4 + 0x10065078]
inc eax
add ecx, 2
jmp 0x10064f82
mov ecx, 0x53
mov word [esi + eax*2 + 2], cx
jmp case.0x10064f94.43
mov edx, 0x73
jmp 0x10064fc5
mov ecx, 0x43
mov word [esi + eax*2 + 2], cx
jmp case.0x10064f94.43
mov edx, 0x63
mov word [esi + eax*2 + 2], dx
inc eax
cmp eax, edi
jb 0x10064f77
lea eax, [ebp + 0xc]
push eax
push esi
lea ecx, [ebp - 0x204]
push 0xff
push ecx
call fcn.1010c36c
xor edx, edx
add esp, 0x10
mov word [ebp - 6], dx
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x10065048
call fcn.10064d50
test eax, eax
jle 0x10065048
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x1006505e
push 0
lea ecx, [ebp - 0x208]
push ecx
push 0
push 1
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x204]
push esi
mov dword [ebp - 0x208], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x1006505e
push 0x10
push str.OpenSSL:_FATAL
lea edx, [ebp - 0x204]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esp, [ebp - 0x214]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10108bbf
mov esp, ebp
pop ebp
ret
Function at 0x1006b590
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
movzx edi, byte [esp + 0x10]
mov eax, edi
and eax, 1
add esi, ecx
add edx, ecx
test ecx, ecx
je 0x1006b5c5
push ebx
lea esp, [esp]
movzx ebx, byte [edx - 1]
dec edx
xor ebx, edi
add eax, ebx
dec esi
dec ecx
mov byte [esi], al
shr eax, 8
test ecx, ecx
jne 0x1006b5b0
pop ebx
pop edi
pop esi
ret
Function at 0x1008f229
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, ecx
cmp ebp, 2
je 0x1008f29f
test eax, eax
je 0x1008f26b
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0
call fcn.10065d50
add esp, 0x10
cmp dword [esp + 0x18], 0xffffffff
je 0x1008f26b
push 0x3b
push str.....Srcopenssl_1.1.1tcryptoececx_meth.c
push 0x66
push 0x10a
push 0x10
call fcn.10054050
add esp, 0x14
pop esi
xor eax, eax
pop ebp
ret
cmp dword [esp + 0x14], 0
je 0x1008f29b
cmp edi, 0x40a
je 0x1008f292
cmp edi, 0x43f
je 0x1008f292
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x1008f297
mov eax, 0x20
cmp esi, eax
je 0x1008f29f
push 0x41
jmp 0x1008f250
push ebx
push 0x46
push str.....Srcopenssl_1.1.1tcryptoececx_meth.c
push 0x40
call fcn.1005cd20
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1008f2d5
push 0x48
push str.....Srcopenssl_1.1.1tcryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.10054050
add esp, 0x14
pop ebx
pop esi
xor eax, eax
pop ebp
ret
test ebp, ebp
jne 0x1008f2ed
mov ecx, dword [esp + 0x18]
push esi
push ecx
push ebx
call fcn.10109740
add esp, 0xc
jmp case.0x1008f41e.1036
cmp edi, 0x40a
je 0x1008f30d
cmp edi, 0x43f
je 0x1008f30d
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x1008f312
mov eax, 0x20
push 0x50
push str.....Srcopenssl_1.1.1tcryptoececx_meth.c
push eax
call fcn.10063310
mov esi, eax
add esp, 0xc
mov dword [ebx + 0x3c], esi
test esi, esi
jne 0x1008f345
push 0x52
push str.....Srcopenssl_1.1.1tcryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.10054050
add esp, 0x14
jmp 0x1008f398
cmp ebp, 2
jne 0x1008f3d8
cmp edi, 0x40a
je 0x1008f36e
cmp edi, 0x43f
je 0x1008f36e
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x1008f373
mov eax, 0x20
push eax
push esi
call fcn.10064cd0
add esp, 8
test eax, eax
jg 0x1008f3ae
push 0x57
push str.....Srcopenssl_1.1.1tcryptoececx_meth.c
push esi
call fcn.10063330
add esp, 0xc
mov dword [ebx + 0x3c], 0
push 0x79
push str.....Srcopenssl_1.1.1tcryptoececx_meth.c
push ebx
call fcn.1005cd90
add esp, 0xc
pop ebx
pop esi
xor eax, eax
pop ebp
ret
cmp edi, 0x40a
jne 0x1008f3c7
mov dl, byte [esi + 0x1f]
and byte [esi], 0xf8
and dl, 0x3f
or dl, 0x40
mov byte [esi + 0x1f], dl
jmp 0x1008f40c
cmp edi, 0x40b
jne 0x1008f40c
and byte [esi], 0xfc
or byte [esi + 0x37], 0x80
jmp 0x1008f40c
cmp edi, 0x40a
je 0x1008f3f8
cmp edi, 0x43f
je 0x1008f3f8
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x1008f3fd
mov eax, 0x20
push eax
mov eax, dword [esp + 0x1c]
push eax
push esi
call fcn.10109740
add esp, 0xc
lea eax, [edi - 0x40a]
cmp eax, 0x36
ja case.0x1008f41e.1036
movzx ecx, byte [eax + 0x1008f478]
jmp dword [ecx*4 + 0x1008f464]
push esi
push ebx
call fcn.100ec590
jmp 0x1008f447
push esi
push ebx
call fcn.100ec4c0
jmp 0x1008f447
push esi
push ebx
call fcn.100df2b0
jmp 0x1008f447
push esi
push ebx
call fcn.100dd610
add esp, 8
mov edx, dword [esp + 0x10]
push ebx
push edi
push edx
call fcn.100662e0
add esp, 0xc
pop ebx
pop esi
mov eax, 1
pop ebp
ret
Function at 0x1009b0e0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
lea eax, [ecx + 1]
ret