joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2a82c0a7
Capabilities:
Connect socket
Resolve dns

Disassembly:
push 0xc0
mov eax, 0x2a8d0c81
call fcn.2a85a9c0
movzx eax, word [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, ecx
cmp dword [ebx + 0x10004], 0xffffffff
mov dword [ebp - 0xc4], eax
je 0x2a82c0d3
call fcn.2a82c03c
push 0x10
xor edi, edi
lea eax, [ebp - 0x20]
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 2
pop eax
push dword [ebp - 0xc4]
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [esi + 0x14], 0x10
mov word [ebp - 0x1e], ax
jb 0x2a82c105
mov eax, dword [esi]
jmp 0x2a82c107
mov eax, esi
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x2a82c192
cmp dword [esi + 0x14], 0x10
jb 0x2a82c11e
mov esi, dword [esi]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, edi
jne 0x2a82c17c
push 0x8c
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
call fcn.2a808482
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], edi
call fcn.2a81bf9d
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x4c]
call fcn.2a81bb58
mov dword [ebp - 0x4c], vtable.Exceptions::SocketException.0
push 0x2a91016c
lea eax, [ebp - 0x4c]
push eax
call sub.MSVCR100.dll__CxxThrowException
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push edi
push 1
push 2
pop esi
push esi
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx + 0x10004], eax
cmp eax, 0xffffffff
jne 0x2a82c1e4
push 0x8d
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
call fcn.2a808482
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], esi
call fcn.2a81bf9d
mov byte [ebp - 4], 3
jmp 0x2a82c15e
push 0x10
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x2a82c2a0
mov ecx, ebx
call fcn.2a82c03c
push 0x8e
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], edi
call fcn.2a808482
movzx eax, word [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 4
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
call fcn.2a808482
lea eax, [ebp - 0xc0]
push eax
push str._port_
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 5
call fcn.2a808482
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.2a80afb1
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xcc]
call fcn.2a81bf9d
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.2a81bb58
mov dword [ebp - 0x78], vtable.Exceptions::SocketException.0
push 0x2a91016c
lea eax, [ebp - 0x78]
jmp 0x2a82c176
call fcn.2a85aa2f
ret 8
Function at 0x2a854880
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
inc edx
mov dword [esp + 0x18], edx
cmp eax, 0x302
jge 0x2a8548ad
cmp eax, 0x100
je 0x2a8548ad
mov esi, dword [esp + 0x10]
cmp edx, dword [esi + 4]
jbe 0x2a8548c9
pop edi
xor eax, eax
pop esi
ret
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 4]
add edx, ecx
cmp edx, eax
ja 0x2a8548a8
add dword [esi + 0xc], ecx
add dword [esi + 0x10], ecx
sub eax, ecx
mov dword [esi + 4], eax
test dword [edi + 0x100], 0x200
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
push ebx
movzx ebx, byte [eax + ecx - 1]
push ebp
je 0x2a85492a
cmp dword [edi + 0x88], 0
jne 0x2a85492a
mov edx, dword [edi + 0x58]
mov ecx, 8
mov eax, 0x2a8dd444
add edx, ecx
sub edx, eax
lea esp, [esp]
mov ebp, dword [edx + eax]
cmp ebp, dword [eax]
jne 0x2a85491d
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x2a854900
test bl, 1
jne 0x2a85491d
mov eax, dword [edi + 0x58]
or dword [eax], 8
mov edx, dword [edi + 0x58]
test byte [edx], 8
je 0x2a85492a
test ebx, ebx
je 0x2a85492a
dec ebx
mov eax, dword [edi + 0x80]
mov ecx, dword [eax]
push ecx
call fcn.2a86c6b0
add esp, 4
test eax, 0x200000
je 0x2a854954
or edx, 0xffffffff
pop ebp
sub edx, ebx
add dword [esi + 4], edx
pop ebx
pop edi
mov eax, 1
pop esi
ret
mov edx, dword [esi + 4]
mov eax, edx
sub eax, ebx
sub eax, dword [esp + 0x20]
mov ecx, 0xff
not eax
lea edi, [edx - 1]
sar eax, 0x1f
cmp edi, ecx
jae 0x2a854972
mov ecx, edi
test ecx, ecx
je 0x2a8549ad
mov edi, dword [esi + 0xc]
mov dword [esp + 0x20], ebx
lea edi, [edi + edx - 1]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
movzx ebp, byte [edi]
not ecx
sar ecx, 0x1f
movzx ecx, cl
xor ebp, ebx
and ecx, ebp
not ecx
and eax, ecx
mov ecx, 1
sub dword [esp + 0x20], ecx
sub edi, ecx
sub dword [esp + 0x14], ecx
jne 0x2a854985
mov ecx, eax
shr ecx, 4
and eax, ecx
mov ecx, eax
shr ecx, 2
and eax, ecx
lea ecx, [eax + eax]
and ecx, eax
shl ecx, 0x1e
sar ecx, 0x1f
lea eax, [ebx + 1]
and eax, ecx
sub edx, eax
shl eax, 8
or dword [esi], eax
pop ebp
mov eax, ecx
pop ebx
and eax, 1
not ecx
pop edi
mov dword [esi + 4], edx
or eax, ecx
pop esi
ret
Function at 0x2a8549f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x9c
call fcn.2a85add0
mov eax, dword [0x2a919eec]
xor eax, esp
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb4]
push edi
mov edi, dword [ecx + 4]
mov dword [esp + 0x24], edi
sub edi, esi
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
cmp dword [esp + 0xbc], esi
jae 0x2a854a58
push str.orig_len___md_size
push 0x113
push str.._ssl_s3_cbc.c
call fcn.2a85d080
add esp, 0xc
cmp esi, 0x40
jbe 0x2a854a74
push str.md_size___EVP_MAX_MD_SIZE
push 0x114
push str.._ssl_s3_cbc.c
call fcn.2a85d080
add esp, 0xc
mov eax, dword [esp + 0xbc]
lea ebp, [esp + 0x28]
neg ebp
and ebp, 0x3f
lea edx, [esi + 0x100]
lea ebp, [esp + ebp + 0x28]
cmp eax, edx
jbe 0x2a854aa0
mov ebx, eax
sub ebx, esi
sub ebx, 0x100
mov dword [esp + 0x14], ebx
mov eax, esi
and eax, 0xfffffffe
shl eax, 0x17
sub eax, ebx
add eax, edi
xor edx, edx
div esi
push esi
push 0
push ebp
mov edi, edx
mov dword [esp + 0x28], edi
call sub.MSVCR100.dll_memset
add esp, 0xc
xor ecx, ecx
cmp ebx, dword [esp + 0xbc]
jae 0x2a854b30
mov eax, dword [esp + 0xb4]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x24]
mov edi, ebx
sub edi, eax
sub eax, dword [esp + 0x18]
add edx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
add eax, edi
not eax
sar eax, 0x1f
mov byte [esp + 0x13], al
mov eax, edi
not eax
sar eax, 0x1f
not al
and al, byte [edx]
inc ecx
and al, byte [esp + 0x13]
inc edi
or byte [ecx + ebp - 1], al
mov eax, ecx
sub eax, esi
sar eax, 0x1f
and ecx, eax
inc edx
dec dword [esp + 0x14]
jne 0x2a854af8
mov edi, dword [esp + 0x1c]
xor eax, eax
test esi, esi
je 0x2a854b57
mov ecx, edi
xor ecx, 0x20
mov dl, byte [ecx + ebp]
mov cl, byte [edi + ebp]
mov edx, dword [esp + 0x20]
mov byte [edx + eax], cl
inc edi
mov ecx, edi
sub ecx, esi
sar ecx, 0x1f
inc eax
and edi, ecx
cmp eax, esi
jb 0x2a854b36
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.2a801bd0
add esp, 0x9c
ret
Function at 0x2a855d20
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.2a85add0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
xor ebp, ebp
push ebp
xor esi, esi
call fcn.2a8447d0
add esp, 0xc
test eax, eax
je 0x2a855d76
lea ecx, [ecx]
mov edx, dword [esp + 0x10]
shl edx, 0xa
test dword [esp + 0x1c], edx
je 0x2a855d5e
inc esi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
inc ebp
push ebp
call fcn.2a8447d0
add esp, 0xc
test eax, eax
jne 0x2a855d50
mov eax, dword [esp + 0x4c]
cdq
idiv esi
mov ebx, eax
cmp esi, 1
jne 0x2a855d8c
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x48]
push edi
push 0
push eax
call sub.MSVCR100.dll_memset
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
mov dword [esp + 0x60], 0
call fcn.2a8447d0
add esp, 0x18
test eax, eax
je 0x2a855e6d
mov eax, dword [esp + 0x10]
shl eax, 0xa
test dword [esp + 0x1c], eax
je 0x2a855e49
mov esi, dword [esp + 0x14]
test esi, esi
je 0x2a855e7a
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push edi
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x6c]
push eax
and edx, 1
push ecx
mov ecx, dword [esp + 0x50]
add edx, ebx
push edx
mov edx, dword [esp + 0x5c]
push ebp
call fcn.2a855910
add esp, 0x30
test eax, eax
je 0x2a855e98
add ebp, ebx
test edi, edi
jle 0x2a855e49
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
sub ecx, eax
mov esi, edi
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x2a855e40
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
inc eax
push edx
push eax
mov dword [esp + 0x54], eax
call fcn.2a8447d0
add esp, 0xc
test eax, eax
jne 0x2a855dc1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
push 0x114
push str.._ssl_t1_enc.c
push 0x146
push 0x11c
push 0x14
call fcn.2a85c310
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x2a85a834
Capabilities:
Create process on windows

Disassembly:
push 0x48
mov eax, 0x2a8d2de7
call fcn.2a801426
mov edi, ecx
push 0x44
pop ebx
push ebx
xor esi, esi
lea eax, [ebp - 0x54]
push esi
push eax
call sub.MSVCR100.dll_memset
push 0x10
mov dword [ebp - 0x54], ebx
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 0x10
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x2a85a87b
push 0x10
push esi
push ebx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov eax, ebx
jmp 0x2a85a87d
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, edi
mov dword [edi + 0x28], eax
call fcn.2a858f47
push dword [edi + 0x28]
lea ecx, [ebp - 0x54]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.kernel32.dll_CreateProcessW]
call fcn.2a801635
ret

Function at 0x2a85cf60
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.2a85add0
mov eax, dword [0x2a919eec]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
test eax, eax
je 0x2a85cfc5
push eax
call dword [sym.imp.kernel32.dll_GetFileType]
test eax, eax
je 0x2a85cfc5
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call sub.MSVCR100.dll___iob_func
add eax, 0x40
push eax
call sub.MSVCR100.dll_vfprintf
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.2a801bd0
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call sub.MSVCR100.dll__vsnprintf
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.kernel32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x2a85d054
call fcn.2a808482
test eax, eax
jle 0x2a85d054
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
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.2a801bd0
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.2a801bd0
add esp, 0x108
ret

Function at 0x2a85d0b0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
je 0x2a85d0d2
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
sub esi, eax
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc eax
or cl, dl
dec edi
jne 0x2a85d0c6
pop esi
movzx eax, cl
pop edi
ret
Function at 0x2a85d480
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x2a85d4c4
mov al, byte [edx]
test al, al
je 0x2a85d4c4
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
inc edx
xor esi, eax
mov al, byte [edx]
test al, al
jne 0x2a85d497
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x2a86d340
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
dec ecx
push edi
mov edi, dword [esi + 4]
shr ecx, 0x1f
xor edx, edi
dec ecx
and edx, ecx
xor edi, edx
mov dword [esi + 4], edi
xor dword [eax + 4], edx
lea edx, [ebx - 1]
cmp edx, 9
ja case.default.0x2a86d372
jmp dword [edx*4 + 0x2a86d49c]
mov edi, 0xa
cmp ebx, edi
jle case.0x2a86d372.10
push ebp
mov edx, dword [esi]
mov ebx, dword [edx + edi*4]
lea ebp, [edx + edi*4]
mov edx, dword [eax]
mov edx, dword [edx + edi*4]
xor edx, ebx
and edx, ecx
xor ebx, edx
mov dword [ebp], ebx
mov ebx, dword [eax]
xor dword [ebx + edi*4], edx
lea ebx, [ebx + edi*4]
inc edi
cmp edi, dword [esp + 0x20]
jl 0x2a86d383
pop ebp
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x24]
mov edx, dword [edx + 0x24]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x24], edi
mov edi, dword [eax]
xor dword [edi + 0x24], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x20]
mov edx, dword [edx + 0x20]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x20], edi
mov edi, dword [eax]
xor dword [edi + 0x20], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x1c]
mov edx, dword [edx + 0x1c]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x1c], edi
mov edi, dword [eax]
xor dword [edi + 0x1c], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x18]
mov edx, dword [edx + 0x18]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x18], edi
mov edi, dword [eax]
xor dword [edi + 0x18], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x14]
mov edx, dword [edx + 0x14]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x14], edi
mov edi, dword [eax]
xor dword [edi + 0x14], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x10]
mov edx, dword [edx + 0x10]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x10], edi
mov edi, dword [eax]
xor dword [edi + 0x10], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0xc]
mov edx, dword [edx + 0xc]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0xc], edi
mov edi, dword [eax]
xor dword [edi + 0xc], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 8]
mov edx, dword [edx + 8]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 8], edi
mov edi, dword [eax]
xor dword [edi + 8], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 4]
mov edx, dword [edx + 4]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 4], edi
mov edi, dword [eax]
xor dword [edi + 4], edx
mov esi, dword [esi]
mov edx, dword [eax]
mov edi, dword [esi]
mov edx, dword [edx]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [esi], edi
mov eax, dword [eax]
xor dword [eax], edx
pop edi
pop esi
pop ebx
ret
Function at 0x2a870fe0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.2a85add0
mov eax, dword [0x2a919eec]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0x14], ecx
test ebp, ebp
je 0x2a87102f
mov eax, 1
mov dword [esi], ebp
jmp 0x2a871031
mov ebp, dword [esi]
test ecx, ecx
je 0x2a871114
push ebp
call fcn.2a86fe20
mov ebx, eax
add esp, 4
cmp ebx, 0x80
jle 0x2a871060
push str.j____int_sizeof_ctx__key_
push 0x68
push str..cryptohmachmac.c
call fcn.2a85d080
add esp, 0xc
mov edi, dword [esp + 0xa8]
cmp ebx, edi
jge 0x2a8710b7
mov ecx, dword [esp + 0x10]
push ecx
lea ebx, [esi + 4]
push ebp
push ebx
call fcn.2a8645b0
add esp, 0xc
test eax, eax
je 0x2a8711b6
mov edx, dword [esp + 0x14]
push edi
push edx
push ebx
call fcn.2a864760
add esp, 0xc
test eax, eax
je 0x2a8711b6
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.2a864770
add esp, 0xc
test eax, eax
je 0x2a8711b6
jmp 0x2a8710f1
cmp edi, 0x80
jbe 0x2a8710d3
push str.len_0__len__int_sizeof_ctx__key_
push 0x75
push str..cryptohmachmac.c
call fcn.2a85d080
add esp, 0xc
mov ecx, dword [esp + 0x14]
push edi
push ecx
lea edx, [esi + 0x50]
push edx
call sub.MSVCR100.dll_memcpy
mov eax, dword [esp + 0xb4]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], eax
mov edi, dword [edi]
cmp edi, 0x80
je 0x2a87111c
mov ecx, 0x80
sub ecx, edi
push ecx
lea edx, [edi + esi + 0x50]
push 0
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
jmp 0x2a87111c
test eax, eax
je 0x2a8711a2
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x50]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x2a871120
mov edi, dword [esp + 0x10]
push edi
lea ebx, [esi + 0x1c]
push ebp
push ebx
call fcn.2a8645b0
add esp, 0xc
test eax, eax
je 0x2a8711b6
push ebp
call fcn.2a86fe20
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.2a864760
add esp, 0x10
test eax, eax
je 0x2a8711b6
xor eax, eax
mov cl, byte [esi + eax + 0x50]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x2a871164
push edi
lea ebx, [esi + 0x34]
push ebp
push ebx
call fcn.2a8645b0
add esp, 0xc
test eax, eax
je 0x2a8711b6
push ebp
call fcn.2a86fe20
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.2a864760
add esp, 0x10
test eax, eax
je 0x2a8711b6
lea eax, [esi + 0x1c]
push eax
add esi, 4
push esi
call fcn.2a864900
add esp, 8
test eax, eax
jne 0x2a8711ba
xor eax, eax
jmp 0x2a8711bf
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.2a801bd0
add esp, 0x8c
ret
Function at 0x2a874ba0
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
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], 0x30
lea eax, [ecx + 1]
ret

Function at 0x2a874c40
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

Function at 0x2a875280
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
mov eax, 1
pop esi
ret

Function at 0x2a8752e0
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
mov eax, 1
pop esi
ret

Function at 0x2a875940
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret
Function at 0x2a875bc0
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret
Function at 0x2a885460
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.2a85add0
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x160]
push edi
mov dword [esp + 0x18], eax
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x16c], ecx
mov dword [esi + 0x168], ecx
cmp ebx, 0xc
jne 0x2a8854d5
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov byte [esi + 0xf], 1
lea edi, [ebx - 0xb]
jmp 0x2a8855a4
mov eax, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
cmp ebx, 0x10
jb 0x2a885552
mov ecx, dword [esp + 0x1c]
shr eax, 4
mov edi, ecx
mov dword [esp + 0x20], eax
shl eax, 4
sub edi, esi
add ecx, eax
mov dword [esp + 0x1c], ecx
push ebp
lea ecx, [ecx]
lea ecx, [edi + esi + 2]
mov eax, esi
mov ebp, 4
jmp 0x2a885510
movzx edx, byte [edi + eax]
xor byte [eax], dl
movzx edx, byte [ecx - 1]
xor byte [eax + 1], dl
movzx edx, byte [ecx]
xor byte [eax + 2], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 3], dl
add eax, 4
add ecx, 4
dec ebp
jne 0x2a885510
lea eax, [esi + 0x60]
push eax
push esi
call dword [esp + 0x24]
add esp, 8
add edi, 0x10
sub ebx, 0x10
dec dword [esp + 0x24]
jne 0x2a885500
mov eax, dword [esp + 0x10]
xor ecx, ecx
pop ebp
cmp ebx, ecx
je 0x2a88557b
jbe 0x2a88556b
mov ecx, dword [esp + 0x1c]
mov eax, esi
sub ecx, esi
mov edi, ebx
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec edi
jne 0x2a885562
lea eax, [esi + 0x60]
push eax
push esi
call dword [esp + 0x20]
mov eax, dword [esp + 0x14]
add esp, 8
mov ecx, dword [esp + 0x10]
shld ecx, eax, 3
add eax, eax
bswap ecx
xor dword [esi + 8], ecx
add eax, eax
lea ecx, [esi + 0x60]
add eax, eax
push ecx
bswap eax
xor dword [esi + 0xc], eax
push esi
call dword [esp + 0x20]
mov edi, dword [esi + 0xc]
add esp, 8
bswap edi
mov edx, dword [esi + 0x174]
mov ecx, dword [esi + 0x170]
push edx
lea eax, [esi + 0x20]
push eax
push esi
call ecx
add esp, 0xc
inc edi
bswap edi
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
add esp, 8
ret