joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2a44102
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.02a43bf5
and dword [ebp - 4], 0
mov ebx, eax
shl ebx, 2
add esp, 0xc
mov dword [ebp - 8], eax
test ebx, ebx
jle 0x2a44174
lea edx, [esi + ebx*4 + 8]
lea ecx, [esi + 8]
mov eax, dword [edx - 8]
mov edi, dword [ecx - 8]
add dword [ebp - 4], 4
mov dword [ecx - 8], eax
mov eax, dword [edx - 4]
mov dword [edx - 8], edi
mov edi, dword [ecx - 4]
mov dword [ecx - 4], eax
mov eax, dword [edx]
mov dword [edx - 4], edi
mov edi, dword [ecx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [ecx + 4], eax
mov dword [edx + 4], edi
sub ebx, 4
add ecx, 0x10
sub edx, 0x10
cmp dword [ebp - 4], ebx
jl 0x2a44133
mov eax, dword [ebp - 8]
cmp eax, 1
jle 0x2a442e6
lea ecx, [eax - 1]
mov dword [ebp - 4], ecx
mov ecx, 0xff
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + 0x2a5cb68]
add esi, 0x10
mov edx, dword [esi]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x2a5cb68]
and edi, ecx
mov edi, dword [edi*4 + 0x2a5cf68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2a5d768]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + 0x2a5cb68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2a5d368]
movzx ebx, byte [esi + 5]
and edx, ecx
mov edx, dword [edx*4 + 0x2a5cb68]
and edx, ecx
xor edi, dword [edx*4 + 0x2a5db68]
mov edx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + 0x2a5cb68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x2a5cb68]
and edi, ecx
mov edi, dword [edi*4 + 0x2a5cf68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2a5d768]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + 0x2a5cb68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2a5d368]
movzx ebx, byte [esi + 9]
and edx, ecx
mov edx, dword [edx*4 + 0x2a5cb68]
and edx, ecx
xor edi, dword [edx*4 + 0x2a5db68]
mov edx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + 0x2a5cb68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x2a5cb68]
and edi, ecx
mov edi, dword [edi*4 + 0x2a5cf68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2a5d768]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + 0x2a5cb68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2a5d368]
movzx ebx, byte [esi + 0xd]
and edx, ecx
mov edx, dword [edx*4 + 0x2a5cb68]
and edx, ecx
xor edi, dword [edx*4 + 0x2a5db68]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + 0x2a5cb68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x2a5cb68]
and edi, ecx
mov edi, dword [edi*4 + 0x2a5cf68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2a5d768]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + 0x2a5cb68]
and edx, ecx
mov edx, dword [edx*4 + 0x2a5cb68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2a5d368]
and edx, ecx
xor edi, dword [edx*4 + 0x2a5db68]
dec dword [ebp - 4]
mov dword [esi + 0xc], edi
jne 0x2a44188
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2a46067
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 9]
and dword [ebp - 4], 0
push esi
lea esi, [eax + 0xa]
mov eax, esi
cdq
sub eax, edx
mov edx, esi
sar eax, 1
and edx, 0x80000001
push edi
jns 0x2a46091
dec edx
or edx, 0xfffffffe
inc edx
mov si, word [ebp - 4]
xor edi, edi
test eax, eax
jle 0x2a460a4
xor si, word [ecx + edi*2]
inc edi
cmp edi, eax
jl 0x2a4609b
test edx, edx
je 0x2a460b5
movzx eax, byte [ecx + 9]
movzx ax, byte [eax + ecx + 9]
xor si, ax
movzx eax, word [ecx + 6]
mov cx, ax
xor cx, si
xor edx, edx
cmp cx, ax
sete dl
pop edi
pop esi
dec edx
mov eax, edx
leave
ret
Function at 0x2a4736b
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 4
xor eax, ecx
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x10
xor eax, ecx
and eax, 0xffff
xor ecx, eax
shl eax, 0x10
xor edx, eax
mov eax, ecx
shr eax, 2
xor eax, edx
and eax, 0x33333333
xor edx, eax
shl eax, 2
xor ecx, eax
mov eax, ecx
shr eax, 8
xor eax, edx
and eax, 0xff00ff
xor edx, eax
shl eax, 8
xor eax, ecx
rol eax, 1
mov ecx, eax
push ebx
xor ecx, edx
and ecx, 0xaaaaaaaa
push esi
xor eax, ecx
push edi
xor ecx, edx
rol ecx, 1
push 0x3f
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 8
pop edi
mov ecx, dword [ebp + 0xc]
mov esi, eax
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x2a565e8]
or edx, dword [ebx*4 + 0x2a567e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x2a569e8]
and esi, edi
or edx, dword [esi*4 + 0x2a56be8]
mov esi, dword [ecx]
add ecx, 4
mov dword [ebp + 0xc], ecx
xor esi, eax
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x2a566e8]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x2a568e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x2a56ae8]
and esi, edi
or ecx, dword [esi*4 + 0x2a56ce8]
or ecx, edx
xor dword [ebp - 4], ecx
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x2a565e8]
or edx, dword [ebx*4 + 0x2a567e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x2a569e8]
and esi, edi
or edx, dword [esi*4 + 0x2a56be8]
mov esi, dword [ecx]
xor esi, dword [ebp - 4]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x2a566e8]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x2a568e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x2a56ae8]
and esi, edi
or ecx, dword [esi*4 + 0x2a56ce8]
or ecx, edx
xor eax, ecx
dec dword [ebp - 8]
jne 0x2a473e6
ror eax, 1
mov edx, eax
xor edx, dword [ebp - 4]
pop edi
and edx, 0xaaaaaaaa
xor eax, edx
xor edx, dword [ebp - 4]
ror edx, 1
mov ecx, edx
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor edx, ecx
mov ecx, edx
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
shl ecx, 2
xor edx, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, edx
and ecx, 0xffff
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, eax
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov esi, ecx
shl esi, 4
xor esi, eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor ecx, edx
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret
Function at 0x2a477b3
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
xor ebx, ebx
push edi
xor ecx, ecx
movzx eax, byte [ecx + 0x2a56570]
mov esi, dword [ebp + 0xc]
mov edx, eax
sar edx, 3
mov dl, byte [edx + esi]
and eax, 7
test byte [eax*2 + 0x2a56500], dl
setne al
mov byte [ebp + ecx - 0x74], al
inc ecx
cmp ecx, 0x38
jl 0x2a477c3
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 4]
lea eax, [edi + edi]
lea ecx, [ebp + eax*4 - 0xf0]
lea esi, [ebp + eax*4 - 0xf4]
movzx eax, byte [edi + 0x2a565a8]
mov dword [ecx], ebx
mov dword [esi], ebx
xor edx, edx
mov edi, eax
cmp edi, 0x1c
jge 0x2a4781d
mov bl, byte [ebp + edi - 0x74]
jmp 0x2a47824
mov bl, byte [ebp + edi - 0x90]
mov byte [ebp + edx - 0x3c], bl
inc edx
inc edi
cmp edx, 0x1c
jl 0x2a47812
push 0x1c
pop edi
add eax, edi
cmp eax, 0x38
jge 0x2a4783f
mov dl, byte [ebp + eax - 0x74]
jmp 0x2a47846
mov dl, byte [ebp + eax - 0x90]
mov byte [ebp + edi - 0x3c], dl
inc edi
inc eax
cmp edi, 0x38
jl 0x2a47834
xor ebx, ebx
xor eax, eax
lea edx, [eax + 0x2a565d0]
movzx edi, byte [edx - 0x18]
cmp byte [ebp + edi - 0x3c], bl
je 0x2a4786e
mov edi, dword [eax*4 + 0x2a56510]
or dword [esi], edi
movzx edx, byte [edx]
cmp byte [ebp + edx - 0x3c], bl
je 0x2a47880
mov edx, dword [eax*4 + 0x2a56510]
or dword [ecx], edx
inc eax
cmp eax, 0x18
jl 0x2a47855
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jl 0x2a477ef
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xf4]
call fcn.02a472c0
push 0x38
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.02a4c17f
push 0x38
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.02a4c17f
push 0x80
lea eax, [ebp - 0xf4]
push ebx
push eax
call fcn.02a4c17f
add esp, 0x28
pop edi
pop esi
pop ebx
leave
ret

Function at 0x2a47b92
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.02a4ecfd
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
pop esi
ret
Function at 0x2a47c60
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 8]
push ebx
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x10]
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
xor cl, cl
mov dword [ebp - 0x10], edi
mov byte [ebp + 0xb], cl
jmp 0x2a47c93
mov cl, byte [ebp + 0xb]
test cl, cl
je 0x2a47cc1
cmp cl, 0x14
je 0x2a47cb8
cmp cl, 0x28
je 0x2a47caf
cmp cl, 0x3c
jne 0x2a47cc8
mov dword [ebp - 0xc], 0xca62c1d6
jmp 0x2a47cc8
mov dword [ebp - 0xc], 0x8f1bbcdc
jmp 0x2a47cc8
mov dword [ebp - 0xc], 0x6ed9eba1
jmp 0x2a47cc8
mov dword [ebp - 0xc], 0x5a827999
mov bl, cl
and bl, 0xf
mov byte [ebp - 1], bl
cmp cl, 0xf
jbe 0x2a47d0b
movzx ecx, bl
lea edi, [edx + ecx*4]
mov dword [ebp - 0x1c], edi
lea edi, [ecx - 8]
and edi, 0xf
mov edi, dword [edx + edi*4]
lea ebx, [ecx - 3]
and ebx, 0xf
xor edi, dword [edx + ebx*4]
mov bl, byte [ebp - 1]
add ecx, 2
and ecx, 0xf
xor edi, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x1c]
xor edi, dword [ecx]
rol edi, 1
mov dword [ecx], edi
mov edi, dword [ebp - 0x10]
mov cl, byte [ebp + 0xb]
cmp cl, 0x14
jae 0x2a47d16
mov ecx, esi
not ecx
jmp 0x2a47d25
cmp cl, 0x28
jb 0x2a47d30
cmp cl, 0x3c
jae 0x2a47d30
mov ecx, dword [ebp - 8]
or ecx, esi
and ecx, edi
mov edi, dword [ebp - 8]
and edi, esi
or ecx, edi
jmp 0x2a47d37
mov ecx, edi
xor ecx, dword [ebp - 8]
xor ecx, esi
mov edi, dword [ebp - 0x14]
rol edi, 5
movzx ebx, bl
add edi, dword [edx + ebx*4]
add edi, dword [ebp - 0xc]
add edi, dword [ebp - 0x18]
add ecx, edi
mov edi, dword [ebp - 0x10]
inc byte [ebp + 0xb]
ror esi, 2
cmp byte [ebp + 0xb], 0x50
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 8]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ecx
jb 0x2a47c90
add dword [eax], ecx
mov ecx, dword [ebp - 8]
add dword [eax + 0xc], edi
add dword [eax + 4], esi
add dword [eax + 8], ecx
mov ecx, dword [ebp - 0x18]
add dword [eax + 0x10], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2a482f4
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x3f
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.02a4ecfd
mov esi, dword [ebp + 8]
push esi
call fcn.02a47b92
lea eax, [esi + 0x5c]
push eax
mov dword [ebp + 8], eax
call fcn.02a47b92
push 0x40
pop edi
push edi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.02a4ecfd
add esp, 0x20
cmp word [ebp + 0x10], di
jbe 0x2a4835b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.02a47d89
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.02a47e2e
push esi
call fcn.02a47b92
add esp, 0x18
jmp 0x2a4836f
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call fcn.02a4ecd8
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x36
inc eax
dec ecx
jne 0x2a48374
push edi
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.02a47d89
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x6c
inc eax
dec ecx
jne 0x2a4838e
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.02a47d89
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x2a483d6
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x3f
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.02a4ecfd
mov esi, dword [ebp + 8]
push esi
call fcn.02a47b92
lea eax, [esi + 0x5c]
push eax
mov dword [ebp + 8], eax
call fcn.02a47b92
push 0x40
pop edi
push edi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.02a4ecfd
add esp, 0x20
cmp word [ebp + 0x10], di
jbe 0x2a4843d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.02a481d8
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.02a48271
push esi
call fcn.02a47b92
add esp, 0x18
jmp 0x2a48451
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call fcn.02a4ecd8
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x36
inc eax
dec ecx
jne 0x2a48456
push edi
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.02a481d8
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x6c
inc eax
dec ecx
jne 0x2a48470
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.02a481d8
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x2a484f5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ebx
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x10]
push 0x10
sub esi, ebx
mov ecx, ebx
sub edx, ebx
pop edi
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
dec edi
jne 0x2a4851f
xor edx, edx
xor esi, esi
mov al, byte [edx + 0x2a56ef8]
lea ecx, [ebp + esi - 0x30]
xor byte [ecx], al
movzx edx, byte [ecx]
inc esi
cmp esi, 0x30
jb 0x2a4852f
add edx, edi
and edx, 0xff
inc edi
cmp edi, 0x12
jb 0x2a4852d
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ecx, byte [eax + 0xf]
mov edx, ebx
push 0x10
sub edx, eax
pop esi
movzx edi, byte [edx + eax]
xor edi, ecx
mov cl, byte [edi + 0x2a56ef8]
xor byte [eax], cl
movzx ecx, byte [eax]
inc eax
dec esi
jne 0x2a4856a
pop edi
pop esi
leave
ret

Function at 0x2a48652
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x2a4d80f
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 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
ret
Function at 0x2a4de86
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 0x10
xor edi, edi
lea eax, [esi + 4]
push edi
push eax
call fcn.02a4c17f
add esp, 0xc
mov dword [esi + 0x14], edi
mov dword [esi], 0x200
push edi
call fcn.02a4ef73
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.02a4ef7f
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
call fcn.02a4ef91
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
cmp eax, edi
mov ecx, eax
jge 0x2a4deda
neg eax
xor ecx, ecx
mov dword [0x2a5f7f0], eax
inc ecx
mov eax, dword [0x2a5f7f0]
mov dword [ebp - 8], eax
xor edx, edx
mov eax, dword [edx + 0x2a570d8]
xor eax, ecx
mov dword [ebp - 0x10], ecx
movzx ecx, ax
shr eax, 0x10
mov edi, eax
imul edi, eax
mov ebx, ecx
imul ebx, ecx
imul ecx, eax
mov eax, dword [ebp - 0x10]
not edi
add edi, ebx
ror edi, 0x10
xor edi, dword [edx + 0x2a570e8]
add edx, 4
add edi, ecx
xor edi, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, edi
cmp edx, 0x10
jb 0x2a4dee4
push 4
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 0x10], ecx
call fcn.02a4c036
push 0x24
push dword [ebp - 0xc]
push esi
call fcn.02a4c036
push 4
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.02a4c036
xor edi, edi
add esp, 0x24
cmp dword [esi], edi
jne 0x2a4dea8
push 0x24
push edi
push dword [ebp - 0xc]
call fcn.02a4c17f
add esp, 0xc
pop edi
pop ebx
leave
ret

Function at 0x2a50ffe
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push esi
push 0x2a5eca8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x2a5101e
or eax, 0xffffffff
jmp 0x2a51098
push 0x2a5ec9c
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x2a51019
push edi
push 0x2a5eb58
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x2a51051
push 0x2a5eb74
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
jne 0x2a51056
or eax, 0xffffffff
jmp 0x2a51097
push ebx
call eax
push 0
push 2
mov ebx, eax
call edi
push 0x2a5eb28
push esi
mov edi, eax
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x2a51093
lea ecx, [ebp - 0x128]
push ecx
push edi
call eax
test eax, eax
je 0x2a51093
push 0x2a5eb18
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x2a510a3
or eax, 0xffffffff
pop ebx
pop edi
pop esi
leave
ret
cmp dword [ebp - 0x120], ebx
je 0x2a510b3
lea eax, [ebp - 0x128]
push eax
push edi
call esi
test eax, eax
jne 0x2a5109b
jmp 0x2a51093
mov eax, dword [ebp - 0x110]
jmp 0x2a51096
Function at 0x2a511f1
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
test eax, eax
je 0x2a5120a
xor eax, eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x2a51279
push ebx
push 0x2a5e9b8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x2a51278
push esi
push 0x2a5eab4
push ebx
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x2a51277
call fcn.02a50ffe
cmp eax, 0xffffffff
je 0x2a51277
push eax
push 1
push 1
call esi
mov esi, eax
test esi, esi
jne 0x2a51262
push 0x2a5ead4
push ebx
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x2a51277
push esi
call eax
push 0x2a5eaa0
push ebx
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x2a51277
push 0
push esi
call eax
pop esi
pop ebx
leave
ret

Function at 0x2a52b7a
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push ebx
push ebx
push ecx
push 0x2a52bb6
push dword fs:[0]
mov dword fs:[0], esp
mov ebx, 0
mov eax, 1
invalid

Function at 0x2a52c03
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
and dword [ebp - 0xc], 0
push 0x2a5e9b8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x2a52c24
jmp 0x2a52c99
push 0x2a5ead4
push dword [ebp - 4]
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x2a52c3d
jmp 0x2a52c99
push ebx
push ecx
push edx
push 0x2a52c81
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
pop dword fs:[0]
add esp, 4
cmp ebx, 0x564d5868
sete byte [ebp - 0xc]
pop edx
pop ecx
pop ebx
jmp 0x2a52c8e
cmp dword [ebp - 0xc], 1
jne 0x2a52c99
push 0
call dword [ebp - 8]
pop ebx
leave
ret

Function at 0x2a53040
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
xor ecx, ecx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x2a5305d
shr eax, 1
xor eax, 0xedb88320
jmp 0x2a5305f
shr eax, 1
dec edx
test edx, edx
jg 0x2a53050
mov dword [ebp + ecx*4 - 0x400], eax
inc ecx
cmp ecx, 0x100
jl 0x2a5304b
or eax, 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x2a5309f
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
dec dword [ebp + 0xc]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [ebp + edx*4 - 0x400]
inc ecx
cmp dword [ebp + 0xc], 0
jne 0x2a53080
not eax
leave
ret
Function at 0x2a53277
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push esi
push edi
push 0x2a5e9b8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x2a533df
push 0x2a5ea48
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x2a533df
push ebx
push 0x2a5f180
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov ebx, eax
cmp ebx, edi
je 0x2a533de
push 0x2a5f174
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x2a533de
push 0x2a5f168
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x2a533de
push 0x2a5eb0c
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x2a533de
push 0x2a5ead4
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x2a533de
push 0x2a5f15c
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x2a533de
push 0x2a5f150
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x2a533de
call fcn.02a52ff1
push 0x104
lea ecx, [ebp - 0x124]
push ecx
push eax
call dword [ebp - 4]
test eax, eax
je 0x2a533de
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
lea eax, [ebp - 0x124]
push eax
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
je 0x2a533de
push edi
push ebx
call dword [ebp - 0x18]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x2a533de
push eax
push edi
call dword [ebp - 0x1c]
mov esi, eax
cmp esi, edi
je 0x2a533de
push edi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
push esi
push ebx
call dword [ebp - 0xc]
push ebx
call dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push dword [ebp - 4]
add eax, esi
mov ebx, dword [eax]
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
push esi
mov dword [esi + eax], edi
call fcn.02a53040
pop ecx
pop ecx
push esi
cmp eax, ebx
jne 0x2a533d7
call dword [ebp - 8]
jmp 0x2a533de
call dword [ebp - 8]
push edi
call dword [ebp - 0x14]
pop ebx
pop edi
pop esi
leave
ret