joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e0fc
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 0x41e199
push ebx
push esi
call fcn.0041e0c5
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.0041cd4a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41e146
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e198
push edi
push eax
call fcn.004176a6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41e166
call fcn.0041747c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e197
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041cd4a
add esp, 0x20
test eax, eax
jne 0x41e185
push edi
call fcn.0041747c
jmp 0x41e18d
push ebx
call fcn.0041747c
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 0x425c90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x425cbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x425cbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x427000
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push str.Success_created.
push 0x482178
mov ebx, ecx
call fcn.00401200
push eax
call fcn.004021f0
push 8
call fcn.00409020
mov esi, eax
add esp, 0x10
test esi, esi
je 0x427062
push 4
call fcn.00409020
add esp, 4
test eax, eax
je 0x427040
mov dword [eax], 0x427bc0
jmp 0x427042
xor eax, eax
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x4021d0
push 0
push 0
call fcn.004103a6
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x42709d
jmp 0x427064
xor esi, esi
cmp dword [esi + 4], 0
je 0x4270aa
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi + 4], eax
je 0x4270b1
push 0
push dword [esi + 4]
push dword [esi]
call fcn.00405ba5
add esp, 0xc
test eax, eax
jne 0x4270b8
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00409050
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret
push 6
mov dword [edi], 0
call fcn.00405d5b
push 1
call fcn.00405d5b
push 5
call fcn.00405d5b
push 2
call fcn.00405d5b
int3

Function at 0x4275d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x24c
mov eax, dword [0x480d00]
Function at 0x2d18000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [ebp + 0x14]
mov byte [ebp - 0x18], 0x42
push 0
push esi
mov byte [ebp - 0x17], 0x43
mov byte [ebp - 0x16], 0x44
mov byte [ebp - 0x15], 0x46
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x48
mov byte [ebp - 0x12], 0x4a
mov byte [ebp - 0x11], 0x4b
mov byte [ebp - 0x10], 0x4d
mov byte [ebp - 0xf], 0x50
mov byte [ebp - 0xe], 0x51
mov byte [ebp - 0xd], 0x52
mov byte [ebp - 0xc], 0x54
mov byte [ebp - 0xb], 0x56
mov byte [ebp - 0xa], 0x57
mov byte [ebp - 9], 0x58
mov byte [ebp - 8], 0x59
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x33
mov byte [ebp - 5], 0x34
mov byte [ebp - 4], 0x36
mov byte [ebp - 3], 0x37
mov byte [ebp - 2], 0x38
mov byte [ebp - 1], 0x39
call fcn.02d25cfd
xor edi, edi
add esp, 0xc
cmp dword [ebp + 0xc], edi
jle 0x2d180c1
mov eax, dword [ebp + 8]
mov al, byte [edi + eax]
cmp al, 0x2d
je 0x2d180bb
xor edx, edx
cmp al, byte [ebp + edx - 0x18]
je 0x2d18098
inc edx
cmp edx, 0x17
jl 0x2d1808c
cmp edx, 0x18
je 0x2d180c7
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
jle 0x2d180bb
movzx eax, byte [ecx + esi]
imul eax, eax, 0x18
add eax, edx
mov byte [ecx + esi], al
sar eax, 8
inc ecx
cmp ecx, dword [ebp + 0x14]
mov edx, eax
jl 0x2d180a4
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x2d18080
mov eax, esi
pop edi
pop esi
leave
ret
xor eax, eax
jmp 0x2d180c3

Function at 0x2d180cb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
dec edi
mov byte [ebp - 0x1c], 0x42
mov byte [ebp - 0x1b], 0x43
mov byte [ebp - 0x1a], 0x44
mov byte [ebp - 0x19], 0x46
mov byte [ebp - 0x18], 0x47
mov byte [ebp - 0x17], 0x48
mov byte [ebp - 0x16], 0x4a
mov byte [ebp - 0x15], 0x4b
mov byte [ebp - 0x14], 0x4d
mov byte [ebp - 0x13], 0x50
mov byte [ebp - 0x12], 0x51
mov byte [ebp - 0x11], 0x52
mov byte [ebp - 0x10], 0x54
mov byte [ebp - 0xf], 0x56
mov byte [ebp - 0xe], 0x57
mov byte [ebp - 0xd], 0x58
mov byte [ebp - 0xc], 0x59
mov byte [ebp - 0xb], 0x32
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x34
mov byte [ebp - 8], 0x36
mov byte [ebp - 7], 0x37
mov byte [ebp - 6], 0x38
mov byte [ebp - 5], 0x39
mov dword [ebp - 4], edi
js 0x2d18193
mov dword [ebp + 0x14], 1
push ebx
add edi, eax
sub dword [ebp + 0x14], eax
push esi
mov eax, dword [ebp + 0x14]
add eax, edi
push 6
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x2d18160
mov byte [edi], 0x2d
jmp 0x2d18187
mov esi, dword [ebp + 0xc]
xor eax, eax
jmp 0x2d18184
mov ecx, dword [ebp + 8]
add ecx, esi
movzx edx, byte [ecx]
shl eax, 8
or eax, edx
cdq
push 0x18
pop ebx
idiv ebx
mov byte [ecx], al
mov eax, edx
mov cl, byte [ebp + eax - 0x1c]
mov byte [edi], cl
dec esi
jns 0x2d18167
dec dword [ebp - 4]
dec edi
cmp dword [ebp - 4], 0
jge 0x2d1814c
pop esi
pop ebx
mov eax, dword [ebp + 0x10]
pop edi
leave
ret
Function at 0x2d19f1f
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xa4
push ebx
mov byte [esi + 8], al
and al, 0x80
push edi
mov edi, ecx
mov bl, dl
mov byte [ebp + 0x5c], 0xaa
mov byte [ebp + 0x5d], 0xbb
mov byte [ebp + 0x5e], 0xcc
mov byte [ebp + 0x5f], 0xdd
mov byte [ebp + 0x60], 0xee
mov byte [ebp + 0x61], 0xff
mov byte [ebp + 0x62], 0x11
mov byte [ebp + 0x63], 0x22
mov byte [ebp + 0x64], 0x33
mov byte [ebp + 0x65], 0x44
mov byte [ebp + 0x66], 0x55
mov byte [ebp + 0x67], 0x66
mov byte [ebp + 0x68], 0x77
mov byte [ebp + 0x69], 0x88
mov byte [ebp + 0x6a], 0x99
mov byte [ebp + 0x6b], 0x99
mov byte [esi + 5], al
call fcn.02d1d7c3
mov dword [esi + 1], eax
test bl, bl
jne 0x2d19f89
mov byte [esi + 9], bl
jmp 0x2d1a003
test byte [esi + 5], 0x80
movzx eax, bl
je 0x2d19ff0
mov ecx, eax
and ecx, 0x8000000f
mov dword [ebp + 0x6c], eax
jns 0x2d19fa4
dec ecx
or ecx, 0xfffffff0
inc ecx
je 0x2d19fae
shr bl, 4
inc bl
shl bl, 4
push eax
push dword [ebp + 0x78]
lea eax, [ebp - 0x34]
push eax
mov byte [esi + 9], bl
call fcn.02d25cd8
movzx ecx, byte [esi + 9]
mov eax, dword [ebp + 0x6c]
sub ecx, eax
push ecx
lea eax, [ebp + eax - 0x34]
push eax
call fcn.02d1d7a9
lea eax, [ebp + 0x5c]
push eax
movzx eax, byte [esi + 9]
push eax
lea eax, [esi + 0xa]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x7c]
call fcn.02d1a7f6
add esp, 0x28
jmp 0x2d1a003
push eax
push dword [ebp + 0x78]
lea eax, [esi + 0xa]
push eax
mov byte [esi + 9], bl
call fcn.02d25cd8
add esp, 0xc
movzx eax, byte [esi + 9]
sub edi, eax
lea eax, [eax + esi + 0xa]
push edi
push eax
call fcn.02d1d7a9
movzx edi, byte [esi + 9]
xor eax, eax
pop ecx
mov word [esi + 6], ax
pop ecx
lea ecx, [edi + 0xa]
mov eax, ecx
cdq
sub eax, edx
xor ebx, ebx
sar eax, 1
and ecx, 0x80000001
mov dword [ebp + 0x6c], ebx
jns 0x2d1a03c
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp eax, ebx
mov dx, word [ebp + 0x6c]
jle 0x2d1a04d
xor dx, word [esi + ebx*2]
inc ebx
cmp ebx, eax
jl 0x2d1a044
test ecx, ecx
je 0x2d1a05a
movzx ax, byte [edi + esi + 9]
xor dx, ax
pop edi
mov word [esi + 6], dx
pop ebx
add ebp, 0x70
leave
ret

Function at 0x2d1a7af
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
jle 0x2d1a7c1
sub ecx, eax
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x2d1a7b8
pop esi
ret
Function at 0x2d1b102
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.02d1abf5
and dword [ebp - 4], 0
mov ebx, eax
shl ebx, 2
add esp, 0xc
mov dword [ebp - 8], eax
test ebx, ebx
jle 0x2d1b174
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 0x2d1b133
mov eax, dword [ebp - 8]
cmp eax, 1
jle 0x2d1b2e6
lea ecx, [eax - 1]
mov dword [ebp - 4], ecx
mov ecx, 0xff
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + 0x2d33b68]
add esi, 0x10
mov edx, dword [esi]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x2d33b68]
and edi, ecx
mov edi, dword [edi*4 + 0x2d33f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d34768]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + 0x2d33b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d34368]
movzx ebx, byte [esi + 5]
and edx, ecx
mov edx, dword [edx*4 + 0x2d33b68]
and edx, ecx
xor edi, dword [edx*4 + 0x2d34b68]
mov edx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + 0x2d33b68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x2d33b68]
and edi, ecx
mov edi, dword [edi*4 + 0x2d33f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d34768]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + 0x2d33b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d34368]
movzx ebx, byte [esi + 9]
and edx, ecx
mov edx, dword [edx*4 + 0x2d33b68]
and edx, ecx
xor edi, dword [edx*4 + 0x2d34b68]
mov edx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + 0x2d33b68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x2d33b68]
and edi, ecx
mov edi, dword [edi*4 + 0x2d33f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d34768]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + 0x2d33b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d34368]
movzx ebx, byte [esi + 0xd]
and edx, ecx
mov edx, dword [edx*4 + 0x2d33b68]
and edx, ecx
xor edi, dword [edx*4 + 0x2d34b68]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + 0x2d33b68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x2d33b68]
and edi, ecx
mov edi, dword [edi*4 + 0x2d33f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d34768]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + 0x2d33b68]
and edx, ecx
mov edx, dword [edx*4 + 0x2d33b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d34368]
and edx, ecx
xor edi, dword [edx*4 + 0x2d34b68]
dec dword [ebp - 4]
mov dword [esi + 0xc], edi
jne 0x2d1b188
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2d1d067
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 0x2d1d091
dec edx
or edx, 0xfffffffe
inc edx
mov si, word [ebp - 4]
xor edi, edi
test eax, eax
jle 0x2d1d0a4
xor si, word [ecx + edi*2]
inc edi
cmp edi, eax
jl 0x2d1d09b
test edx, edx
je 0x2d1d0b5
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 0x2d1e36b
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 + 0x2d2d5e8]
or edx, dword [ebx*4 + 0x2d2d7e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x2d2d9e8]
and esi, edi
or edx, dword [esi*4 + 0x2d2dbe8]
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 + 0x2d2d6e8]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x2d2d8e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x2d2dae8]
and esi, edi
or ecx, dword [esi*4 + 0x2d2dce8]
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 + 0x2d2d5e8]
or edx, dword [ebx*4 + 0x2d2d7e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x2d2d9e8]
and esi, edi
or edx, dword [esi*4 + 0x2d2dbe8]
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 + 0x2d2d6e8]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x2d2d8e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x2d2dae8]
and esi, edi
or ecx, dword [esi*4 + 0x2d2dce8]
or ecx, edx
xor eax, ecx
dec dword [ebp - 8]
jne 0x2d1e3e6
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 0x2d1e7b3
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 + 0x2d2d570]
mov esi, dword [ebp + 0xc]
mov edx, eax
sar edx, 3
mov dl, byte [edx + esi]
and eax, 7
test byte [eax*2 + 0x2d2d500], dl
setne al
mov byte [ebp + ecx - 0x74], al
inc ecx
cmp ecx, 0x38
jl 0x2d1e7c3
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 + 0x2d2d5a8]
mov dword [ecx], ebx
mov dword [esi], ebx
xor edx, edx
mov edi, eax
cmp edi, 0x1c
jge 0x2d1e81d
mov bl, byte [ebp + edi - 0x74]
jmp 0x2d1e824
mov bl, byte [ebp + edi - 0x90]
mov byte [ebp + edx - 0x3c], bl
inc edx
inc edi
cmp edx, 0x1c
jl 0x2d1e812
push 0x1c
pop edi
add eax, edi
cmp eax, 0x38
jge 0x2d1e83f
mov dl, byte [ebp + eax - 0x74]
jmp 0x2d1e846
mov dl, byte [ebp + eax - 0x90]
mov byte [ebp + edi - 0x3c], dl
inc edi
inc eax
cmp edi, 0x38
jl 0x2d1e834
xor ebx, ebx
xor eax, eax
lea edx, [eax + 0x2d2d5d0]
movzx edi, byte [edx - 0x18]
cmp byte [ebp + edi - 0x3c], bl
je 0x2d1e86e
mov edi, dword [eax*4 + 0x2d2d510]
or dword [esi], edi
movzx edx, byte [edx]
cmp byte [ebp + edx - 0x3c], bl
je 0x2d1e880
mov edx, dword [eax*4 + 0x2d2d510]
or dword [ecx], edx
inc eax
cmp eax, 0x18
jl 0x2d1e855
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jl 0x2d1e7ef
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xf4]
call fcn.02d1e2c0
push 0x38
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.02d2317f
push 0x38
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.02d2317f
push 0x80
lea eax, [ebp - 0xf4]
push ebx
push eax
call fcn.02d2317f
add esp, 0x28
pop edi
pop esi
pop ebx
leave
ret

Function at 0x2d1eb92
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.02d25cfd
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 0x2d1ec60
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 0x2d1ec93
mov cl, byte [ebp + 0xb]
test cl, cl
je 0x2d1ecc1
cmp cl, 0x14
je 0x2d1ecb8
cmp cl, 0x28
je 0x2d1ecaf
cmp cl, 0x3c
jne 0x2d1ecc8
mov dword [ebp - 0xc], 0xca62c1d6
jmp 0x2d1ecc8
mov dword [ebp - 0xc], 0x8f1bbcdc
jmp 0x2d1ecc8
mov dword [ebp - 0xc], 0x6ed9eba1
jmp 0x2d1ecc8
mov dword [ebp - 0xc], 0x5a827999
mov bl, cl
and bl, 0xf
mov byte [ebp - 1], bl
cmp cl, 0xf
jbe 0x2d1ed0b
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 0x2d1ed16
mov ecx, esi
not ecx
jmp 0x2d1ed25
cmp cl, 0x28
jb 0x2d1ed30
cmp cl, 0x3c
jae 0x2d1ed30
mov ecx, dword [ebp - 8]
or ecx, esi
and ecx, edi
mov edi, dword [ebp - 8]
and edi, esi
or ecx, edi
jmp 0x2d1ed37
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 0x2d1ec90
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 0x2d1f2f4
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.02d25cfd
mov esi, dword [ebp + 8]
push esi
call fcn.02d1eb92
lea eax, [esi + 0x5c]
push eax
mov dword [ebp + 8], eax
call fcn.02d1eb92
push 0x40
pop edi
push edi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.02d25cfd
add esp, 0x20
cmp word [ebp + 0x10], di
jbe 0x2d1f35b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.02d1ed89
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.02d1ee2e
push esi
call fcn.02d1eb92
add esp, 0x18
jmp 0x2d1f36f
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call fcn.02d25cd8
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x36
inc eax
dec ecx
jne 0x2d1f374
push edi
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.02d1ed89
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x6c
inc eax
dec ecx
jne 0x2d1f38e
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.02d1ed89
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x2d1f3d6
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.02d25cfd
mov esi, dword [ebp + 8]
push esi
call fcn.02d1eb92
lea eax, [esi + 0x5c]
push eax
mov dword [ebp + 8], eax
call fcn.02d1eb92
push 0x40
pop edi
push edi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.02d25cfd
add esp, 0x20
cmp word [ebp + 0x10], di
jbe 0x2d1f43d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.02d1f1d8
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.02d1f271
push esi
call fcn.02d1eb92
add esp, 0x18
jmp 0x2d1f451
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call fcn.02d25cd8
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x36
inc eax
dec ecx
jne 0x2d1f456
push edi
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.02d1f1d8
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x6c
inc eax
dec ecx
jne 0x2d1f470
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.02d1f1d8
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x2d1f4f5
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 0x2d1f51f
xor edx, edx
xor esi, esi
mov al, byte [edx + 0x2d2def8]
lea ecx, [ebp + esi - 0x30]
xor byte [ecx], al
movzx edx, byte [ecx]
inc esi
cmp esi, 0x30
jb 0x2d1f52f
add edx, edi
and edx, 0xff
inc edi
cmp edi, 0x12
jb 0x2d1f52d
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 + 0x2d2def8]
xor byte [eax], cl
movzx ecx, byte [eax]
inc eax
dec esi
jne 0x2d1f56a
pop edi
pop esi
leave
ret

Function at 0x2d1f652
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 0x2d2480f
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