joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4052e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00413b10
mov esi, dword [ebp + 0xc]
add esp, 0xc
mov edi, dword [ebp + 8]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0x67452301
mov dword [ebp - 0x4c], 0xefcdab89
mov dword [ebp - 0x48], 0x98badcfe
mov dword [ebp - 0x44], 0x10325476
test esi, esi
je 0x405369
mov dword [ebp - 0x58], esi
cmp esi, 0x40
jb 0x405357
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00404a70
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x405496
sub esi, 0x40
add edi, 0x40
cmp esi, 0x40
jae 0x405335
test esi, esi
je 0x405369
push esi
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00413c70
add esp, 0xc
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x40]
and ecx, 0x3f
mov byte [ebp + ecx - 0x40], 0x80
inc ecx
add edx, ecx
cmp ecx, 0x38
ja 0x40538c
mov eax, 0x38
sub eax, ecx
push eax
push 0
push edx
jmp 0x4053bd
mov eax, 0x40
sub eax, ecx
push eax
push 0
push edx
call fcn.00413b10
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00404a70
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x405496
push 0x38
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00413b10
mov eax, dword [ebp - 0x54]
add esp, 0xc
mov ecx, dword [ebp - 0x58]
lea edx, [eax*8]
mov eax, ecx
shr eax, 0x1d
or edx, eax
shl ecx, 3
mov eax, ecx
mov byte [ebp - 8], cl
shr eax, 8
mov byte [ebp - 7], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 8
mov byte [ebp - 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 2], al
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], dl
lea eax, [ebp - 0x58]
shr ecx, 0x18
shr edx, 0x18
push eax
mov byte [ebp - 5], cl
mov byte [ebp - 1], dl
call fcn.00404a70
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x405496
mov ecx, dword [ebp + 0x10]
movzx eax, byte [ebp - 0x50]
mov byte [ecx], al
movzx eax, byte [ebp - 0x4f]
mov byte [ecx + 1], al
movzx eax, byte [ebp - 0x4e]
mov byte [ecx + 2], al
movzx eax, byte [ebp - 0x4d]
mov byte [ecx + 3], al
movzx eax, byte [ebp - 0x4c]
mov byte [ecx + 4], al
movzx eax, byte [ebp - 0x4b]
mov byte [ecx + 5], al
movzx eax, byte [ebp - 0x4a]
mov byte [ecx + 6], al
movzx eax, byte [ebp - 0x49]
mov byte [ecx + 7], al
movzx eax, byte [ebp - 0x48]
mov byte [ecx + 8], al
movzx eax, byte [ebp - 0x47]
mov byte [ecx + 9], al
movzx eax, byte [ebp - 0x46]
mov byte [ecx + 0xa], al
movzx eax, byte [ebp - 0x45]
mov byte [ecx + 0xb], al
movzx eax, byte [ebp - 0x44]
mov byte [ecx + 0xc], al
movzx eax, byte [ebp - 0x43]
mov byte [ecx + 0xd], al
movzx eax, byte [ebp - 0x42]
mov byte [ecx + 0xe], al
movzx eax, byte [ebp - 0x41]
mov byte [ecx + 0xf], al
lea eax, [ebp - 0x58]
push 0x58
push eax
call fcn.00408cc0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405620
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
xor eax, eax
pop ebp
ret
Function at 0x407ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00413b10
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], ebx
push dword [eax]
call fcn.00408f10
mov esi, dword [ebp + 8]
add esp, 0x10
movzx ecx, al
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test eax, eax
je 0x408131
push edi
nop dword [eax + eax]
push dword [ebp + 0x18]
cmp eax, ecx
mov edi, eax
cmovae edi, ecx
call fcn.004090f0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x408130
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call fcn.004091a0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x408130
push 4
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x18]
call fcn.004091a0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x408130
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x18]
call fcn.00408dc0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x408130
xor ecx, ecx
test edi, edi
je 0x40811c
cmp edi, 0x40
jb 0x40810c
lea edx, [esi - 1]
lea eax, [ebp + edi - 0x49]
add edx, edi
cmp esi, eax
ja 0x4080ba
lea eax, [ebp - 0x48]
cmp edx, eax
jae 0x40810c
mov eax, edi
and eax, 0xffffffc0
nop
movups xmm0, xmmword [esi]
movups xmm1, xmmword [ebp + ecx - 0x48]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [esi + 0x10]
movups xmm1, xmmword [ebp + ecx - 0x38]
pxor xmm1, xmm0
movups xmmword [esi + 0x10], xmm1
movups xmm0, xmmword [esi + 0x20]
movups xmm1, xmmword [ebp + ecx - 0x28]
pxor xmm1, xmm0
movups xmmword [esi + 0x20], xmm1
movups xmm0, xmmword [esi + 0x30]
movups xmm1, xmmword [ebp + ecx - 0x18]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [esi + 0x30], xmm1
add esi, 0x40
cmp ecx, eax
jb 0x4080c0
cmp ecx, edi
jae 0x40811c
mov al, byte [ebp + ecx - 0x48]
inc ecx
xor byte [esi], al
inc esi
cmp ecx, edi
jb 0x408110
mov eax, dword [ebp + 0xc]
inc byte [ebp - 1]
sub eax, edi
mov ecx, dword [ebp - 8]
mov dword [ebp + 0xc], eax
jne 0x408030
pop edi
lea eax, [ebp - 0x48]
push 0x40
push eax
call fcn.00408cc0
add esp, 8
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4084b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
push ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x180
jbe 0x4084cf
mov eax, 0xffffffc8
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x1a0
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.00413b10
lea eax, [ebp - 0x31c]
push eax
call fcn.0040bf70
mov eax, ebx
mov byte [ebp - 0x1f1], bl
shr eax, 0x18
mov byte [ebp - 0x1f4], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0x1f3], al
mov eax, ebx
shr eax, 8
push ebx
push dword [ebp + 0xc]
mov byte [ebp - 0x1f2], al
lea eax, [ebp - 0x1ec]
push eax
mov byte [ebp - 0x1ed], 0x30
call fcn.00413c70
lea esi, [ebx + 0x19]
mov byte [ebp + ebx - 0x1ec], 0x80
add esp, 0x1c
mov dword [ebp - 4], esi
xor eax, eax
mov byte [ebp + eax - 0x64], al
inc eax
cmp eax, 0x20
jl 0x408540
push 0x100
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.0040bf90
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x408644
mov dword [ebp + 0x10], eax
lea ebx, [eax + 0x10]
push edi
xorps xmm0, xmm0
mov edi, esi
movups xmmword [ebp - 0x14], xmm0
test esi, esi
je 0x4085dc
lea esi, [ebp - 0x204]
lea eax, [ebp - 0x14]
sub esi, eax
nop dword [eax + eax]
xor eax, eax
lea edx, [ebp - 0x14]
add edx, eax
inc eax
mov cl, byte [esi + edx]
xor byte [edx], cl
cmp eax, 0x10
jl 0x408592
add esi, 0x10
mov eax, edi
cmp edi, 0x10
cmovae eax, ebx
sub edi, eax
lea eax, [ebp - 0x14]
push eax
push eax
lea eax, [ebp - 0x31c]
push 1
push eax
call fcn.0040bf20
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x408643
lea ebx, [eax + 0x10]
test edi, edi
jne 0x408590
movups xmm0, xmmword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
inc byte [ebp - 0x201]
movups xmmword [ebp + eax - 0x44], xmm0
add eax, 0x10
mov dword [ebp + 0x10], eax
cmp eax, 0x30
jl 0x408573
push 0x100
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.0040bf90
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x408643
mov esi, dword [ebp + 8]
xor edi, edi
lea eax, [ebp - 0x24]
push eax
push eax
lea eax, [ebp - 0x31c]
push 1
push eax
call fcn.0040bf20
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x408643
movups xmm0, xmmword [ebp - 0x24]
add edi, 0x10
movups xmmword [esi], xmm0
add esi, 0x10
cmp edi, 0x30
jl 0x408615
pop edi
lea eax, [ebp - 0x31c]
push eax
call fcn.0040bf50
lea eax, [ebp - 0x204]
push 0x1a0
push eax
call fcn.00408cc0
lea eax, [ebp - 0x44]
push 0x30
push eax
call fcn.00408cc0
lea eax, [ebp - 0x64]
push 0x20
push eax
call fcn.00408cc0
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.00408cc0
add esp, 0x24
pop esi
test ebx, ebx
je 0x408697
push 0x30
push dword [ebp + 8]
call fcn.00408cc0
add esp, 8
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4086a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
lea esi, [ebp - 0x38]
push 0x30
mov eax, esi
mov dword [ebp - 4], esi
push 0
push eax
call fcn.00413b10
mov edx, dword [ebp + 8]
mov edi, 1
add esp, 0xc
xor ebx, ebx
sub edi, edx
lea ecx, [edx + 0x20]
lea eax, [edx + 0xf]
mov dword [ebp - 8], ecx
add byte [eax], 1
jne 0x4086e0
dec eax
lea ecx, [edi + eax]
test ecx, ecx
jg 0x4086d3
push esi
push edx
lea ecx, [edx + 0x20]
push 1
push ecx
call fcn.0040bf20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x408757
mov esi, dword [ebp - 4]
add ebx, 0x10
mov edx, dword [ebp + 8]
add esi, 0x10
mov dword [ebp - 4], esi
lea eax, [edx + 0xf]
cmp ebx, 0x30
jl 0x4086d3
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x38]
xor ecx, ecx
sub edx, eax
lea eax, [ebp - 0x38]
add eax, ecx
add ecx, 0x10
movups xmm0, xmmword [eax]
movups xmm1, xmmword [edx + eax]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
cmp ecx, 0x30
jl 0x408717
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x38]
push 0x100
push eax
push ecx
call fcn.0040bf90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x408757
mov eax, dword [ebp + 8]
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [eax], xmm0
lea eax, [ebp - 0x38]
push 0x30
push eax
call fcn.00408cc0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408a50
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
xor esi, esi
mov dword [ebp - 8], eax
test edi, edi
je 0x408c57
mov edx, dword [ebp + 0x14]
xor ecx, ecx
cmp esi, edi
jae 0x408a8e
nop dword [eax]
cmp byte [esi + edx], 0x20
jne 0x408a8c
inc esi
inc ecx
cmp esi, edi
jb 0x408a80
cmp esi, edi
je 0x408b20
mov eax, edi
sub eax, esi
cmp eax, 2
jb 0x408aaa
cmp byte [esi + edx], 0xd
jne 0x408aaa
cmp byte [esi + edx + 1], 0xa
je 0x408b14
mov bl, byte [esi + edx]
cmp bl, 0xa
je 0x408b11
test ecx, ecx
jne 0x408c19
cmp bl, 0x3d
jne 0x408acf
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 2
ja 0x408c19
movzx eax, bl
push eax
push 0x80
push 0x429dd0
call fcn.00408c70
add esp, 0xc
cmp bl, 0x7f
ja 0x408c19
cmp al, 0x7f
je 0x408c19
mov ebx, dword [ebp - 4]
cmp al, 0x40
jae 0x408b05
test ebx, ebx
jne 0x408c19
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
inc eax
mov dword [ebp - 8], eax
jmp 0x408b17
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
inc esi
cmp esi, edi
jb 0x408a70
test eax, eax
je 0x408c57
and eax, 7
lea eax, [eax + eax*2]
lea ecx, [eax*2 + 7]
mov eax, dword [ebp - 8]
shr eax, 3
shr ecx, 3
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*2]
sub ecx, ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x408c46
cmp dword [ebp + 0xc], ecx
jb 0x408c46
xor eax, eax
mov dword [ebp - 8], 3
mov dword [ebp - 4], 0
mov dword [ebp + 0x18], eax
test esi, esi
je 0x408c35
mov al, byte [edx]
cmp al, 0xd
je 0x408c28
cmp al, 0xa
je 0x408c28
cmp al, 0x20
je 0x408c28
movzx eax, al
push eax
push 0x80
push 0x429dd0
call fcn.00408c70
movzx edi, al
add esp, 0xc
mov eax, edi
and edi, 0x3f
xor eax, 0x40
mov ecx, eax
neg ecx
or ecx, eax
not ecx
shr ecx, 0x1f
mov edx, ecx
neg edx
or edx, ecx
mov ecx, dword [ebp - 8]
shr edx, 0x1f
neg edx
lea eax, [ecx - 1]
and eax, edx
not edx
and edx, ecx
mov ecx, dword [ebp - 4]
shl ecx, 6
or edx, eax
or ecx, edi
mov dword [ebp - 8], edx
mov edi, dword [ebp + 0x18]
inc edi
mov dword [ebp - 4], ecx
mov dword [ebp + 0x18], edi
cmp edi, 4
jne 0x408c25
xor eax, eax
mov dword [ebp + 0x18], eax
test edx, edx
je 0x408bff
mov eax, ecx
shr eax, 0x10
mov byte [ebx], al
inc ebx
cmp edx, 1
jbe 0x408c0c
mov eax, ecx
shr eax, 8
mov byte [ebx], al
inc ebx
cmp edx, 2
mov edx, dword [ebp + 0x14]
jbe 0x408c28
mov byte [ebx], cl
inc ebx
jmp 0x408c28
pop edi
pop esi
mov eax, 0xffffffd4
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
inc edx
mov dword [ebp + 0x14], edx
sub esi, 1
jne 0x408b75
mov eax, dword [ebp + 0x10]
sub ebx, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov eax, 0xffffffd6
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x408c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor bl, bl
xor esi, esi
test edi, edi
je 0x408cb3
mov eax, esi
xor eax, dword [ebp + 0x10]
mov edx, eax
shr eax, 0x1f
neg edx
shr edx, 0x1f
or dl, al
mov eax, dword [ebp + 8]
xor dl, 1
mov cl, dl
neg cl
mov al, byte [esi + eax]
or cl, dl
shr cl, 7
inc esi
neg cl
and al, cl
not cl
and bl, cl
or bl, al
cmp esi, edi
jb 0x408c81
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret
Function at 0x40a400
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push 0x40
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00413b10
push dword [ebp + 0xc]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
push dword [ebp + 8]
mov dword [ebp - 0x58], 0
push eax
mov dword [ebp - 0x54], 0x67452301
mov dword [ebp - 0x50], 0xefcdab89
mov dword [ebp - 0x4c], 0x98badcfe
mov dword [ebp - 0x48], 0x10325476
mov dword [ebp - 0x44], 0xc3d2e1f0
call fcn.0040a670
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x40a46e
push dword [ebp + 0x10]
lea eax, [ebp - 0x5c]
push eax
call fcn.0040a490
add esp, 8
mov esi, eax
lea eax, [ebp - 0x5c]
push 0x5c
push eax
call fcn.00408cc0
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40a630
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
xor eax, eax
pop ebp
ret
Function at 0x40ba60
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x28
cmp dword [ebp + 0xc], 0
push ebx
mov dword [eax], 0
mov dword [eax + 4], 0
push esi
mov dword [eax + 8], 0
push edi
mov dword [eax + 0xc], 0
jne 0x40baf7
mov edx, 0x137e2179
mov dword [ebp - 0x1c], 0x2b3e6c1f
mov esi, 0x5be0cd19
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], esi
mov edi, 0xfb41bd6b
mov ebx, 0x1f83d9ab
mov dword [ebp - 0x20], 0x9b05688c
mov dword [ebp - 0x18], 0x510e527f
mov ecx, 0xade682d1
mov dword [ebp - 0x10], 0x5f1d36f1
mov esi, 0xfe94f82b
mov dword [ebp - 0x14], 0xa54ff53a
mov edx, 0xf3bcc908
mov dword [ebp - 0xc], 0x3c6ef372
mov dword [ebp - 4], 0x84caa73b
mov dword [ebp - 8], 0xbb67ae85
mov dword [ebp + 8], 0x6a09e667
jmp 0x40bb5f
mov edx, 0xbefa4fa4
mov dword [ebp - 0x1c], 0x68581511
mov esi, 0x47b5481d
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], esi
mov edi, 0x64f98fa7
mov ebx, 0xdb0c2e0d
mov dword [ebp - 0x20], 0x8eb44a87
mov ecx, 0xffc00b31
mov dword [ebp - 0x18], 0x67332667
mov dword [ebp - 0x10], 0xf70e5939
mov esi, 0x3070dd17
mov dword [ebp - 0x14], 0x152fecd8
mov edx, 0xc1059ed8
mov dword [ebp - 0xc], 0x9159015a
mov dword [ebp - 4], 0x367cd507
mov dword [ebp - 8], 0x629a292a
mov dword [ebp + 8], 0xcbbb9d5d
mov dword [eax + 0x10], edx
mov edx, dword [ebp + 8]
mov dword [eax + 0x14], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 8]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], esi
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x24], esi
mov esi, dword [ebp - 0x10]
mov dword [eax + 0x28], esi
mov esi, dword [ebp - 0x14]
mov dword [eax + 0x2c], esi
mov esi, dword [ebp - 0x28]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x34], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x40], edi
mov dword [eax + 0x44], ebx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], esi
pop edi
pop esi
mov dword [eax + 0xd0], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bd00
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov edx, 1
push ebx
push esi
push edi
xor esi, esi
mov eax, edx
mov dword [ebp + esi*4 - 0x808], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x408], esi
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
movzx edx, cl
cmp esi, 0x100
jl 0x40bd13
mov esi, 1
mov edx, 0x439e48
nop dword [eax]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movzx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x439e70
jl 0x40bd50
mov eax, 1
mov byte [0x437c48], 0x63
mov byte [0x438dab], 0
mov dword [ebp - 4], eax
nop dword [eax]
mov ecx, dword [ebp + eax*4 - 0x408]
lea eax, [ebp - 0x40c]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
add eax, eax
shr ecx, 7
or ecx, eax
movzx edx, cl
mov ecx, edx
shr ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x437c48], bl
mov byte [ebx + 0x438d48], al
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x100
jl 0x40bd90
mov ebx, 0xff
xor esi, esi
mov dword [ebp - 8], ebx
movzx edx, byte [esi + 0x437c48]
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x437d48], ecx
rol ecx, 8
mov dword [esi*4 + 0x438148], ecx
rol ecx, 8
mov dword [esi*4 + 0x438548], ecx
rol ecx, 8
mov dword [esi*4 + 0x438948], ecx
movzx ecx, byte [esi + 0x438d48]
test ecx, ecx
je 0x40bebf
mov ecx, dword [ebp + ecx*4 - 0x408]
mov eax, dword [ebp - 0x3d0]
add eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 0x3e4]
add eax, ecx
mov edi, dword [ebp + edx*4 - 0x808]
cdq
idiv ebx
mov eax, dword [ebp - 0x3d4]
add eax, ecx
mov ebx, dword [ebp + edx*4 - 0x808]
cdq
idiv dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x808]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3dc]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x808]
jmp 0x40bec8
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 4]
shl eax, 8
xor eax, ebx
mov ebx, 0xff
shl eax, 8
xor eax, edi
mov dword [esi*4 + 0x438e48], eax
rol eax, 8
mov dword [esi*4 + 0x439248], eax
rol eax, 8
mov dword [esi*4 + 0x439648], eax
rol eax, 8
mov dword [esi*4 + 0x439a48], eax
inc esi
cmp esi, 0x100
jl 0x40be05
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f3c0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
push 0x40
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00413b10
push dword [ebp + 0xc]
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push dword [ebp + 8]
mov dword [ebp - 0x60], 0
push eax
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x4c], 0xc3d2e1f0
call fcn.0040f680
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x40f52e
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
lea edx, [eax*8]
mov eax, esi
shr eax, 0x1d
lea ecx, [esi*8]
or edx, eax
mov byte [ebp - 8], cl
mov eax, ecx
mov byte [ebp - 4], dl
shr eax, 8
and esi, 0x3f
mov byte [ebp - 7], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 8
mov byte [ebp - 3], al
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
mov byte [ebp - 2], al
mov eax, 0x38
mov byte [ebp - 5], cl
sub eax, esi
shr edx, 0x18
mov ecx, 0x78
sub ecx, esi
mov byte [ebp - 1], dl
cmp esi, 0x38
cmovae eax, ecx
push eax
lea eax, [ebp - 0x64]
push 0x42c068
push eax
call fcn.0040f680
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x40f52e
push 8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040f680
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x40f52e
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x5c]
mov byte [ecx], al
mov byte [ecx + 1], ah
movzx eax, byte [ebp - 0x5a]
mov byte [ecx + 2], al
movzx eax, byte [ebp - 0x59]
mov byte [ecx + 3], al
mov eax, dword [ebp - 0x58]
mov byte [ecx + 4], al
mov byte [ecx + 5], ah
movzx eax, byte [ebp - 0x56]
mov byte [ecx + 6], al
movzx eax, byte [ebp - 0x55]
mov byte [ecx + 7], al
mov eax, dword [ebp - 0x54]
mov byte [ecx + 8], al
mov byte [ecx + 9], ah
movzx eax, byte [ebp - 0x52]
mov byte [ecx + 0xa], al
movzx eax, byte [ebp - 0x51]
mov byte [ecx + 0xb], al
mov eax, dword [ebp - 0x50]
mov byte [ecx + 0xc], al
mov byte [ecx + 0xd], ah
movzx eax, byte [ebp - 0x4e]
mov byte [ecx + 0xe], al
movzx eax, byte [ebp - 0x4d]
mov byte [ecx + 0xf], al
mov eax, dword [ebp - 0x4c]
mov byte [ecx + 0x10], al
mov byte [ecx + 0x11], ah
movzx eax, byte [ebp - 0x4a]
mov byte [ecx + 0x12], al
movzx eax, byte [ebp - 0x49]
mov byte [ecx + 0x13], al
lea eax, [ebp - 0x64]
push 0x5c
push eax
call fcn.00408cc0
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4103b0
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, 0x367cd507
mov ecx, dword [ebp + 0xc]
test ecx, ecx
push ebx
push esi
mov dword [eax], 0
mov ebx, 0x1f83d9ab
mov dword [eax + 4], 0
mov esi, 0x510e527f
mov eax, 0xbb67ae85
mov dword [ebp - 4], 0xc1059ed8
cmovne eax, edx
mov ecx, 0xa54ff53a
mov dword [ebp - 8], eax
mov edx, 0x3070dd17
mov eax, 0x3c6ef372
cmovne eax, edx
mov edx, 0x5be0cd19
mov dword [ebp - 0xc], eax
mov eax, 0x64f98fa7
cmovne ebx, eax
mov eax, 0x68581511
push edi
mov edi, 0x9b05688c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 0xc]
cmovne edi, eax
mov eax, 0xffc00b31
cmovne esi, eax
mov eax, 0xbefa4fa4
cmovne edx, eax
test ebx, ebx
mov ebx, dword [ebp + 8]
mov eax, 0xf70e5939
cmovne ecx, eax
mov eax, 0x6a09e667
cmovne eax, dword [ebp - 4]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x10], eax
mov eax, ebx
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ebx
pop edi
mov dword [eax + 0x24], edx
pop esi
mov dword [eax + 0x68], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x421d08
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004219c8