joyce8/EMBER2024-capa huggingface dataset:
Function at 0x270555d1
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov dword [0x270b3908], eax
cmp eax, 0x10
jb 0x270555f2
cmp eax, 4
jae 0x270555f7
call fcn.27055736
push 0x10
push 0x270c426c
call fcn.27055636
pop ecx
pop ecx
xor eax, eax
leave
ret

Function at 0x2705593b
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.270558f5
Function at 0x27055bae
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
call fcn.27055b89
cmp dword [ebp + 0xc], 0xffffffff
jbe 0x27055bc1
call fcn.27055736
test byte [0x27167eb0], 1
jne 0x27055beb
or dword [0x27167eb0], 1
push str.SystemFunction036
push str.Advapi32.dll
call sub.KERNEL32.dll_GetModuleHandleW
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x27167eac], eax
mov eax, dword [0x27167eac]
test eax, eax
je 0x27055bfe
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x27055c18
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call fcn.27039158
add esp, 0x10
neg eax
sbb al, al
inc al
test al, al
jne 0x27055c22
pop ebp
jmp fcn.27055736
pop ebp
ret

Function at 0x27055d2a
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov edx, dword [ecx]
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x28], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x3c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x30], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x1c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x24], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0x38], ecx
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x3320646e
mov dword [eax + 8], 0x79622d32
mov dword [eax + 0xc], 0x6b206574
ret
Function at 0x27057573
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x3320646e
mov dword [eax + 8], 0x79622d32
mov dword [eax + 0xc], 0x6b206574
mov edx, dword [ecx]
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x1c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x20], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x28], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0x2c], ecx
ret
Function at 0x27063c2f
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push edi
xor eax, eax
xor edi, edi
cmp dword [esi + 0x750], edi
push 4
setne al
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 8
push 0xffff
push ebx
call sub.WS2_32.dll_setsockopt
test eax, eax
jge 0x27063c72
push ebx
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
mov ecx, esi
call fcn.2706622a
pop ecx
pop ecx
jmp 0x27063cd7
mov eax, dword [esi + 0x67c]
mov dword [ebp - 0x14], 1
call fcn.270667e0
imul eax, eax, 0x3e8
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x680]
call fcn.270667e0
imul eax, eax, 0x3e8
push edi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x98000004
push ebx
call sub.WS2_32.dll_WSAIoctl
test eax, eax
je 0x27063cd7
call sub.WS2_32.dll_WSAGetLastError
push eax
push ebx
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
mov ecx, esi
call fcn.2706622a
add esp, 0xc
pop edi
pop ebx
leave
ret
Function at 0x270644c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x270b313c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov eax, 0x80
push eax
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x188]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x18c], esi
mov edi, edx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x188]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll_getsockname
test eax, eax
je 0x27064537
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
lea eax, [ebp - 0x108]
call fcn.2705cb1a
push eax
push edi
push str.getsockname___failed_with_errno__d:__s
mov ecx, esi
jmp 0x27064571
push ebx
lea esi, [ebp - 0x188]
call fcn.27064395
pop ecx
test eax, eax
jne 0x27064579
call sub.msvcrt.dll__errno
mov esi, eax
call sub.msvcrt.dll__errno
mov edi, dword [esi]
mov ebx, eax
lea eax, [ebp - 0x108]
call fcn.2705cb1a
mov ecx, dword [ebp - 0x18c]
push eax
push dword [ebx]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
call fcn.270662c8
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.27088f70
leave
ret

Function at 0x27064b46
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
cmp dword [0x270c495c], 0
push esi
push edi
mov dword [ebp - 8], 0x4020
mov dword [ebp - 0xc], 4
jne 0x27064b88
call fcn.2707795d
test eax, eax
je 0x27064b7e
mov dword [0x270c495c], 2
jmp 0x27064bc9
mov dword [0x270c495c], 1
cmp dword [0x270c495c], 2
je 0x27064bc9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov edi, 0x1001
push edi
mov esi, 0xffff
push esi
push dword [ebp + 8]
call sub.WS2_32.dll_getsockopt
test eax, eax
jne 0x27064bb9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jg 0x27064bc9
push 4
lea eax, [ebp - 8]
push eax
push edi
push esi
push dword [ebp + 8]
call sub.WS2_32.dll_setsockopt
pop edi
pop esi
leave
ret
Function at 0x2706611a
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov edx, dword [eax + 0x250]
push ebx
push esi
mov esi, dword [eax + ecx*4 + 0x108]
push edi
lea edi, [ecx + 0x13]
shl edi, 4
add edi, eax
mov ebx, dword [edi + 4]
sub ebx, dword [edi + 8]
test byte [edx + 0x44], 3
mov dword [esp + 0xc], esi
je 0x270661bd
cmp dword [eax + ecx*4 + 0x120], 0x2706647e
jne 0x270661bd
xor eax, eax
cmp dword [edi], eax
je 0x27066160
cmp ebx, eax
je 0x270661bd
push eax
push eax
push 0xffffffffffffffff
call fcn.2706d4e8
add esp, 0xc
cmp eax, 0xffffffff
je 0x270661bd
test al, 1
je 0x270661bd
xor esi, esi
cmp dword [edi], esi
jne 0x270661a5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4b0]
add eax, eax
push eax
mov dword [edi + 4], eax
call dword [0x270b3874]
pop ecx
mov dword [edi], eax
cmp eax, esi
jne 0x2706619c
push 0x1b
pop eax
jmp 0x270661bf
mov ebx, dword [edi + 4]
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov eax, dword [edi]
add eax, dword [edi + 8]
push esi
push ebx
push eax
push dword [esp + 0x18]
call sub.WS2_32.dll_recv
cmp eax, esi
jle 0x270661bd
add dword [edi + 8], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x2706675a
Capabilities:
Write file on windows

Disassembly:
push ebx
xor ebx, ebx
push edi
mov edi, eax
cmp dword [esi + 0x71c], ebx
je 0x270667d6
cmp dword [esi + 0x1c8], ebx
je 0x270667a0
xor edx, edx
inc edx
mov eax, esi
call fcn.2705efdb
push dword [esi + 0x164]
push dword [esp + 0x14]
push dword [esp + 0x14]
push edi
push esi
call dword [esi + 0x1c8]
mov ebx, eax
add esp, 0x14
xor edx, edx
mov eax, esi
call fcn.2705efdb
jmp 0x270667d6
cmp edi, 2
jg 0x270667d6
push dword [esi + 0x160]
imul edi, edi, 3
push 1
push 2
add edi, 0x27097518
push edi
call sub.msvcrt.dll_fwrite
push dword [esi + 0x160]
push 1
push dword [esp + 0x28]
push dword [esp + 0x28]
call sub.msvcrt.dll_fwrite
add esp, 0x20
pop edi
mov eax, ebx
pop ebx
ret
Function at 0x27068a4d
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x270b313c]
xor eax, esp
mov dword [esp + 0x194], eax
test byte [ebp + 8], 2
je 0x27068a99
lea eax, [esp]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x27068a84
push 2
pop eax
jmp 0x27068ad8
mov eax, dword [esp]
cmp al, 2
jne 0x27068a92
shr eax, 8
cmp al, 2
je 0x27068a99
call fcn.27088d1c
jmp 0x27068a7f
call fcn.27068b1a
mov dword [0x270c4974], eax
test eax, eax
je 0x27068abb
push str.if_nametoindex
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x27068abb
mov dword [0x270c4978], eax
call fcn.2707795d
neg eax
sbb eax, eax
neg eax
push 0x27167fa8
mov dword [0x27167fb0], eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.27088f70
mov esp, ebp
pop ebp
ret

Function at 0x27068b1a
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
push edi
xor edi, edi
push str.kernel32
mov dword [esp + 0xc], edi
call sub.KERNEL32.dll_GetModuleHandleA
mov ebp, eax
cmp ebp, edi
jne 0x27068b3a
xor eax, eax
jmp 0x27068c0f
push ebx
push esi
push str.LoadLibraryExA
push ebp
call sub.KERNEL32.dll_GetProcAddress
push 0x270a8dcc
mov esi, str.iphlpapi.dll
push esi
mov ebx, eax
call sub.msvcrt.dll__mbspbrk
pop ecx
pop ecx
test eax, eax
je 0x27068b6f
cmp ebx, edi
je 0x27068b67
push 8
jmp 0x27068b87
push esi
call sub.KERNEL32.dll_LoadLibraryA
jmp 0x27068b8b
cmp ebx, edi
je 0x27068b91
push str.AddDllDirectory
push ebp
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x27068b91
push 0x800
push edi
push esi
call ebx
mov dword [esp + 0x10], eax
jmp 0x27068c09
push edi
push edi
call sub.KERNEL32.dll_GetSystemDirectoryA
mov ebp, eax
cmp ebp, edi
je 0x27068c09
push esi
call sub.msvcrt.dll_strlen
lea eax, [eax + ebp + 1]
push eax
call dword [0x270b3874]
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x27068c01
push ebp
push edi
call sub.KERNEL32.dll_GetSystemDirectoryA
test eax, eax
je 0x27068c01
push 0x270a15f8
push edi
call sub.msvcrt.dll_strlen
pop ecx
add eax, edi
push eax
call sub.msvcrt.dll_strcpy
pop ecx
pop ecx
push esi
push edi
call sub.msvcrt.dll_strlen
pop ecx
add eax, edi
push eax
call sub.msvcrt.dll_strcpy
pop ecx
pop ecx
test ebx, ebx
je 0x27068bf7
push 8
push 0
push edi
call ebx
jmp 0x27068bfd
push edi
call sub.KERNEL32.dll_LoadLibraryA
mov dword [esp + 0x10], eax
push edi
call dword [0x270b3878]
pop ecx
mov eax, dword [esp + 0x10]
pop esi
pop ebx
pop edi
pop ebp
pop ecx
ret

Function at 0x27068dae
Capabilities:
Hash data using djb2

Disassembly:
push ebx
push esi
lea esi, [edx + eax]
mov ebx, 0x1505
jmp 0x27068dca
mov al, byte [edx]
call fcn.2706a62d
imul ebx, ebx, 0x21
movsx eax, al
xor ebx, eax
inc edx
cmp edx, esi
jb 0x27068dba
pop esi
movzx eax, bl
pop ebx
ret
Function at 0x2706d3fa
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x1c
push ebx
push esi
push edi
xor edi, edi
cmp edx, edi
je 0x2706d410
cmp dword [edx], edi
jne 0x2706d42e
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x2706d41b
cmp dword [eax], edi
jne 0x2706d42e
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x2706d4d6
cmp dword [eax], edi
je 0x2706d4d6
cmp dword [ebp + 0x1c], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], eax
jg 0x2706d451
jl 0x2706d440
cmp dword [ebp + 0x18], edi
jae 0x2706d445
mov dword [ebp - 4], edi
jmp 0x2706d4a0
cmp dword [ebp + 0x1c], edi
jl 0x2706d49a
jg 0x2706d451
cmp dword [ebp + 0x18], edi
jbe 0x2706d49a
push edi
mov esi, 0x3e8
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.2708c660
push edi
push esi
push ebx
push ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
call fcn.2708c0a0
cmp dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edx
jl 0x2706d48c
mov ecx, SysReAllocString
jg 0x2706d486
cmp dword [ebp - 0x10], ecx
jbe 0x2706d48c
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edi
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x2706d4a0
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov ecx, dword [ebp + 0x14]
cmp ecx, edi
je 0x2706d4ab
cmp dword [ecx], edi
jne 0x2706d4ad
xor ecx, ecx
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x2706d4b8
cmp dword [eax], edi
jne 0x2706d4ba
xor eax, eax
cmp edx, edi
je 0x2706d4c4
cmp dword [edx], edi
je 0x2706d4c4
mov edi, edx
push dword [ebp - 4]
push ecx
push eax
mov eax, dword [ebp + 8]
push edi
inc eax
push eax
call sub.WS2_32.dll_select
jmp 0x2706d4e3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.2706d3b5
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x27074024
Capabilities:
Create udp socket

Disassembly:
cmp byte [eax + 0xc0], 2
jne 0x27074036
mov eax, dword [esp + 4]
jmp fcn.27073ff3
xor eax, eax
inc eax
ret
Function at 0x270741b9
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
lea esi, [ebp - 0x28]
call fcn.2706c11f
push dword [ebp + 8]
mov esi, eax
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sub.msvcrt.dll__strdup
pop ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call sub.msvcrt.dll__strdup
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop ecx
push 1
mov dword [ebp - 8], eax
push eax
jmp 0x27074240
lea esi, [ebp - 0x28]
call fcn.2706c11f
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.2706c19a
add esp, 0x20
test edx, edx
jl 0x2707426b
jg 0x27074227
test eax, eax
jb 0x2707426b
test edx, edx
jg 0x2707426b
jl 0x27074234
cmp eax, 0x3e8
ja 0x2707426b
push 1
call sub.KERNEL32.dll_Sleep
push 1
push dword [ebp - 8]
push dword [ebp - 4]
call ebx
test eax, eax
je 0x270741f6
cmp dword [ebp - 4], 0
je 0x27074258
push dword [ebp - 4]
call sub.msvcrt.dll_free
pop ecx
cmp dword [ebp - 8], 0
je 0x27074267
push dword [ebp - 8]
call sub.msvcrt.dll_free
pop ecx
xor eax, eax
jmp 0x2707428c
cmp dword [ebp - 4], 0
je 0x2707427a
push dword [ebp - 4]
call sub.msvcrt.dll_free
pop ecx
cmp dword [ebp - 8], 0
je 0x27074289
push dword [ebp - 8]
call sub.msvcrt.dll_free
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x27077c7f
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x270b313c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
push 6
inc ebx
push ebx
push 2
mov dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x38], ebx
call sub.WS2_32.dll_socket
or edi, 0xffffffff
mov dword [ebp - 0x30], eax
cmp eax, edi
jne 0x27077cb9
mov eax, edi
jmp 0x27077dfe
push 0x10
lea eax, [ebp - 0x2c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 2
pop eax
push 0x7f000001
mov word [ebp - 0x2c], ax
call sub.WS2_32.dll_htonl
mov dword [ebp - 0x28], eax
xor eax, eax
push 4
mov word [ebp - 0x2a], ax
lea eax, [ebp - 0x38]
push eax
push 4
push 0xffff
push dword [ebp - 0x30]
mov dword [esi + 4], edi
mov dword [esi], edi
call sub.WS2_32.dll_setsockopt
cmp eax, edi
je 0x27077dd8
push 0x10
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
call sub.WS2_32.dll_bind
cmp eax, edi
je 0x27077dd8
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
call sub.WS2_32.dll_getsockname
cmp eax, edi
je 0x27077dd8
push ebx
push dword [ebp - 0x30]
call sub.WS2_32.dll_listen
cmp eax, edi
je 0x27077dd8
push 0
push ebx
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, edi
je 0x27077dd8
push 0x10
lea ecx, [ebp - 0x2c]
push ecx
push eax
call sub.WS2_32.dll_connect
cmp eax, edi
je 0x27077dd8
xor ebx, ebx
push ebx
push ebx
push dword [ebp - 0x30]
call sub.WS2_32.dll_accept
mov dword [esi + 4], eax
cmp eax, edi
je 0x27077dd8
push esi
push 0x270aaaa0
lea eax, [ebp - 0x1c]
push 0xc
push eax
call fcn.2706bfe8
lea eax, [ebp - 0x1c]
push eax
call sub.msvcrt.dll_strlen
add esp, 0x14
push ebx
push eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x1c]
push eax
push dword [esi]
call sub.WS2_32.dll_send
cmp eax, dword [ebp - 0x34]
jne 0x27077dd8
push ebx
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call sub.WS2_32.dll_recv
cmp eax, dword [ebp - 0x34]
jne 0x27077dd8
push dword [ebp - 0x34]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x27077df4
push dword [ebp - 0x30]
call sub.WS2_32.dll_closesocket
push dword [esi]
call sub.WS2_32.dll_closesocket
push dword [esi + 4]
call sub.WS2_32.dll_closesocket
jmp 0x27077cb2
push dword [ebp - 0x30]
call sub.WS2_32.dll_closesocket
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.27088f70
leave
ret

Function at 0x27077e0c
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0xc]
push 0x270653bd
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
test eax, eax
je 0x27077e2e
cmp eax, 0xffffffff
jne 0x27077e30
xor eax, eax
ret

Function at 0x2707c8da
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
jmp fcn.27049b63

Function at 0x2707c95d
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
jmp fcn.2703d5d0
Function at 0x2707c9ec
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x270b3874]
mov edi, eax
pop ecx
test edi, edi
je 0x2707cac6
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov ecx, dword [esi + 0xc]
add ecx, eax
mov dword [edi + 8], ecx
cmp ebx, dword [esi + 0x10]
jbe 0x2707ca4b
push eax
call dword [esi]
push ebx
push dword [ebp + 8]
push dword [edi + 4]
call dword [esi + 4]
mov ebx, dword [edi + 8]
add ebx, dword [esi + 0xc]
push dword [edi + 4]
push ebx
call dword [esi + 8]
mov dword [ebp + 8], ebx
mov ebx, dword [esi + 0x14]
add esp, 0x18
push dword [edi + 4]
call dword [esi]
push dword [edi + 8]
call dword [esi]
and dword [ebp - 8], 0
pop ecx
pop ecx
test ebx, ebx
jbe 0x2707cabc
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
mov al, byte [ebx]
xor al, 0x36
mov byte [ebp - 1], al
push 1
lea eax, [ebp - 1]
push eax
push dword [edi + 4]
call dword [esi + 4]
mov al, byte [ebx]
xor al, 0x5c
mov byte [ebp - 1], al
push 1
lea eax, [ebp - 1]
push eax
push dword [edi + 8]
inc ebx
mov dword [ebp + 8], ebx
call dword [esi + 4]
add esp, 0x18
dec dword [ebp - 0xc]
jne 0x2707ca65
jmp 0x2707cabc
push 1
push 0x27091a9c
push dword [edi + 4]
call dword [esi + 4]
push 1
push 0x27091a9d
push dword [edi + 8]
call dword [esi + 4]
add esp, 0x18
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x10]
jb 0x2707ca9c
mov eax, edi
pop edi
pop ebx
leave
ret

Function at 0x2707d04f
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebx
push edi
push 0xf0000040
xor ebx, ebx
push 1
push ebx
push ebx
lea edi, [esi + 4]
push esi
mov dword [esi], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x2707d07e
push edi
push ebx
push ebx
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop ebx
ret

Function at 0x2707d081
Capabilities:
Hash data via wincrypt

Disassembly:
push 0
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
ret
Function at 0x2707f93b
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ecx + 0x98], 0
and dword [ecx + 0x94], 0
push esi
push edi
xor esi, esi
mov edi, eax
inc esi
xor dword [ecx], edi
mov dword [ebp - 4], 0xe
push ebx
mov eax, dword [ebp - 4]
cdq
push 0x25
pop ebx
idiv ebx
add dword [ebp - 4], 0xe
sub edi, esi
lea eax, [ecx + edx*4]
xor dword [eax], esi
cmp dword [ebp - 4], 0x206
mov eax, esi
mov esi, edi
mov edi, eax
jl 0x2707f95e
mov esi, 0x2710
pop ebx
call fcn.2707f8e2
dec esi
jne 0x2707f987
pop edi
pop esi
leave
ret
Function at 0x2707fa90
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
lea ecx, [eax + 0x2c]
mov dword [ebp - 0x20], 0x30
push edi
mov edx, dword [ecx + 0x34]
mov esi, dword [ecx]
mov edi, edx
rol edi, 0xf
mov ebx, edx
shr edx, 0xa
rol ebx, 0xd
xor edi, ebx
xor edi, edx
mov edx, esi
rol edx, 0xe
mov ebx, esi
ror ebx, 7
xor edx, ebx
shr esi, 3
xor edx, esi
add edi, edx
add edi, dword [ecx + 0x20]
add ecx, 4
add edi, dword [ecx - 8]
dec dword [ebp - 0x20]
mov dword [ecx + 0x38], edi
jne 0x2707faa3
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0x20]
mov esi, dword [eax + 0x18]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
lea ecx, [eax + 0x28]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 8], 0x27094160
mov dword [ebp - 0x18], ecx
mov ecx, esi
ror ecx, 0xb
mov edx, esi
rol edx, 7
xor ecx, edx
mov edx, esi
ror edx, 6
xor ecx, edx
mov edx, esi
not edx
and edx, ebx
mov ebx, dword [ebp - 0x10]
and ebx, esi
xor edx, ebx
add ecx, edx
mov edx, dword [ebp - 0x18]
add ecx, dword [edx]
mov edx, dword [ebp - 8]
add ecx, dword [edx]
mov edx, edi
add ecx, dword [ebp - 0x20]
mov ebx, edi
ror edx, 0xd
rol ebx, 0xa
xor edx, ebx
mov ebx, edi
add dword [ebp - 8], 4
add dword [ebp - 0x18], 4
ror ebx, 2
xor edx, ebx
mov ebx, dword [ebp - 4]
xor ebx, edi
and ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
and edi, dword [ebp - 0x14]
xor ebx, edi
mov edi, dword [ebp - 0x24]
add edx, ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x14]
mov dword [ebp - 4], edi
add esi, ecx
cmp dword [ebp - 8], 0x27094260
lea edi, [edx + ecx]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], edi
jl 0x2707fb17
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 4]
add ecx, edi
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
add ecx, edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
add ecx, edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 0x14]
add ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x18]
add ecx, esi
mov dword [eax + 0x18], ecx
mov ecx, dword [eax + 0x1c]
add ecx, edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x1c], ecx
mov ecx, dword [eax + 0x20]
add ecx, ebx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 0x24]
pop edi
add ecx, edx
pop esi
mov dword [eax + 0x24], ecx
pop ebx
leave
ret