joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48cae4
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.0048d79c
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.0048cc44
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x48cc2e
test ebx, ebx
jl 0x48cbd2
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd42f48
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x48cbf3
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x48cbe5
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.0048e5b4
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.0048e5b4
add esp, 8
mov ebx, 0x80070057
jmp 0x48cbd2
Function at 0x4a37a4
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.004a445c
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.004a3904
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4a38ee
test ebx, ebx
jl 0x4a3892
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd59c08
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4a38b3
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x4a38a5
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.004a5274
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.004a5274
add esp, 8
mov ebx, 0x80070057
jmp 0x4a3892
Function at 0x4020a7
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x429040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.006:107_4:_00007:277_0:_004:_04:_008:_08:_08:_8:_7:2_3:_9:193_4:_
lea ecx, [ebp - 0x1c]
call fcn.004021b1
push 0xc
call fcn.004067ce
pop ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.00401e79
mov eax, dword [eax + 4]
shl eax, 2
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 0x4ac
push 0x446600
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
push eax
push eax
push eax
push 0x402057
push eax
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
push ecx
call fcn.00401c94
pop ecx
pop ecx
mov edx, 0x446600
add edx, 0x188
mov esi, section..Shine
push esi
call edx
lea ecx, [ebp - 0x1c]
call fcn.0040223e
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004067bb
leave
ret

Function at 0x4058ed
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40590e
jl 0x405905
test edi, edi
jne 0x40590e
xor eax, eax
xor edx, edx
jmp 0x4059cf
cmp dword [ebx + 0x38], 0
je 0x405923
push eax
push edi
push dword [ebp + 8]
call fcn.004059d5
jmp 0x4059cf
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40596a
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40596a
cmp eax, edi
jb 0x405944
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.004073a0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x405970
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4059c4
mov ecx, ebx
call fcn.004051fe
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4059af
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0040db73
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4059c4
jmp 0x405982
test edx, edx
je 0x4059c4
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040db73
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x406f70
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x406faf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x406faf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406faf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x406faf
cmp dword [ecx + 0x74], 0xe
jbe 0x406faf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100015a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x100015a9
xor ecx, ecx
jne 0x100015a9
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100015f0
mov eax, dword [ebp - 0xc]
jmp 0x1000164d
cmp dword [ebp - 4], 1
je 0x10001603
cmp dword [ebp - 4], 2
je 0x10001603
mov eax, 0xd
jmp 0x1000164d
cmp dword [ebp + 0xc], 0
je 0x10001641
cmp dword [ebp - 8], 0
je 0x10001639
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x10001630
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x10001637
mov eax, 0xd
jmp 0x1000164d
jmp 0x10001641
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000aec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x101870dc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp ebx, 0x10
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], eax
jg 0x1000af8b
cmp eax, ebx
push edi
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jl 0x1000af80
lea eax, [ebp - 0x24]
sub eax, ebx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x48]
sub dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
call fcn.10006bb6
cmp ebx, 0x10
pop ecx
jge 0x1000af35
push 0x10
pop ecx
sub ecx, ebx
push ecx
lea eax, [ebp + ebx - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10109740
add esp, 0xc
mov ecx, dword [ebp - 0x40]
push ebx
lea edx, [ebp - 0x14]
call fcn.100043de
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
pop ecx
test ebx, ebx
jle 0x1000af68
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
sub edi, eax
lea eax, [ebp + esi - 0x14]
mov cl, byte [edi + eax]
xor byte [eax], cl
inc esi
cmp esi, ebx
jl 0x1000af5a
mov ecx, dword [ebp - 0x38]
push ebx
lea edx, [ebp - 0x14]
call fcn.100043de
add dword [ebp + 0xc], ebx
add dword [ebp - 0x38], ebx
cmp dword [ebp - 0x3c], ebx
pop ecx
jge 0x1000af06
mov edi, dword [ebp - 0x44]
lea esi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10108bbf
leave
ret
Function at 0x1000b490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x101870dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x38], esi
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov ebx, edx
add ebx, 0xfffffff0
mov dword [ebp - 0x2c], eax
movsd dword es:[edi], dword [esi]
js 0x1000b517
lea eax, [ebx + 0x10]
shr eax, 4
mov dword [ebp - 0x34], eax
imul eax, eax, 0xfffffff0
add ebx, eax
mov esi, dword [ebp - 0x2c]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
mov cl, byte [ebp + eax - 0x24]
xor byte [ebp + eax - 0x14], cl
inc eax
cmp eax, 0x10
jl 0x1000b4e2
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
call fcn.10006bb6
mov edi, dword [ebp - 0x28]
add dword [ebp - 0x2c], 0x10
add dword [ebp - 0x28], 0x10
dec dword [ebp - 0x34]
lea esi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
movsd dword es:[edi], dword [esi]
jne 0x1000b4d6
cmp ebx, 0xfffffff0
je 0x1000b569
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.100043de
mov eax, ebx
neg eax
push eax
lea eax, [ebp + ebx - 4]
push 0x20
push eax
call fcn.10108c60
add esp, 0x10
xor eax, eax
mov cl, byte [ebp + eax - 0x24]
xor byte [ebp + eax - 0x14], cl
inc eax
cmp eax, 0x10
jl 0x1000b541
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
call fcn.10006bb6
mov edi, dword [ebp - 0x28]
lea esi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
lea esi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10108bbf
leave
ret
Function at 0x1000b582
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x101870dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x48], esi
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov ebx, edx
add ebx, 0xfffffff0
mov dword [ebp - 0x40], eax
movsd dword es:[edi], dword [esi]
js 0x1000b613
lea eax, [ebx + 0x10]
shr eax, 4
mov dword [ebp - 0x38], eax
imul eax, eax, 0xfffffff0
add ebx, eax
mov esi, dword [ebp - 0x40]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
call fcn.1000796f
pop ecx
xor eax, eax
mov cl, byte [ebp + eax - 0x34]
xor byte [ebp + eax - 0x14], cl
inc eax
cmp eax, 0x10
jl 0x1000b5e4
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [ebp - 0x40], 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x3c]
add dword [ebp - 0x3c], 0x10
dec dword [ebp - 0x38]
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x1000b5c8
cmp ebx, 0xfffffff0
je 0x1000b676
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x38], eax
call fcn.100043de
mov eax, ebx
neg eax
push eax
lea eax, [ebp + ebx - 0x14]
push 0x20
push eax
call fcn.10108c60
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x24]
call fcn.1000796f
add esp, 0x14
xor eax, eax
mov cl, byte [ebp + eax - 0x34]
xor byte [ebp + eax - 0x14], cl
inc eax
cmp eax, 0x10
jl 0x1000b64f
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
call fcn.100043de
pop ecx
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
lea esi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10108bbf
leave
ret
Function at 0x1000cbc5
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, eax
cmp edi, 0x48
jle 0x1000cbd5
push 0x48
pop edi
mov eax, 0x1018c948
mov ecx, esi
mov edx, 0x1048
sub ecx, eax
push ebx
mov bl, byte [eax]
dec edx
mov byte [ecx + eax], bl
inc eax
test edx, edx
jne 0x1000cbe4
mov ebx, dword [ebp + 8]
and dword [ebp + 8], 0
mov eax, ebx
lea edx, [ebx + edi]
movzx ecx, byte [eax]
inc eax
cmp eax, edx
jb 0x1000cc05
mov eax, ebx
movzx edi, byte [eax]
shl ecx, 8
or ecx, edi
inc eax
cmp eax, edx
jb 0x1000cc14
mov eax, ebx
movzx edi, byte [eax]
shl ecx, 8
or ecx, edi
inc eax
cmp eax, edx
jb 0x1000cc23
mov eax, ebx
movzx edi, byte [eax]
shl ecx, 8
or ecx, edi
inc eax
cmp eax, edx
jb 0x1000cc32
mov eax, ebx
mov edi, dword [ebp + 8]
lea edi, [esi + edi*4]
xor dword [edi], ecx
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x12
jl 0x1000cbfb
and dword [ebp - 8], 0
and dword [ebp - 4], 0
xor edi, edi
pop ebx
lea eax, [ebp - 8]
push eax
mov eax, esi
call fcn.1000c4df
mov eax, dword [ebp - 8]
mov dword [esi + edi*4], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 4], eax
inc edi
inc edi
cmp edi, 0x12
pop ecx
jl 0x1000cc4e
xor edi, edi
lea eax, [ebp - 8]
push eax
mov eax, esi
call fcn.1000c4df
mov eax, dword [ebp - 8]
mov dword [esi + edi*4 + 0x48], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 0x4c], eax
inc edi
inc edi
cmp edi, 0x400
pop ecx
jl 0x1000cc70
pop edi
leave
ret
Function at 0x1000cc97
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x101870dc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp ebx, 0x10
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], eax
jg 0x1000cd62
cmp eax, ebx
push edi
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jl 0x1000cd57
lea eax, [ebp - 0x24]
sub eax, ebx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x48]
sub dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
call fcn.10006bb6
xor esi, esi
pop ecx
test ebx, ebx
jle 0x1000cd0c
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
sub edi, eax
lea eax, [ebp + esi - 0x14]
mov cl, byte [edi + eax]
xor byte [eax], cl
inc esi
cmp esi, ebx
jl 0x1000ccfe
mov ecx, dword [ebp - 0x38]
push ebx
lea edx, [ebp - 0x14]
call fcn.100043de
add dword [ebp + 0xc], ebx
add dword [ebp - 0x38], ebx
cmp ebx, 0x10
pop ecx
jge 0x1000cd3b
push 0x10
pop ecx
sub ecx, ebx
push ecx
lea eax, [ebp + ebx - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10109740
add esp, 0xc
mov ecx, dword [ebp - 0x40]
push ebx
lea edx, [ebp - 0x14]
call fcn.100043de
cmp dword [ebp - 0x3c], ebx
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
movsd dword es:[edi], dword [esi]
jge 0x1000ccdd
mov edi, dword [ebp - 0x44]
lea esi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10108bbf
leave
ret
Function at 0x1000cd6f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x101870dc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp ebx, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov esi, edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], ecx
jg 0x1000ce5a
cmp ecx, ebx
push edi
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jl 0x1000ce4f
lea ecx, [ebp - 0x24]
mov esi, eax
sub ecx, ebx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x54], ecx
sub esi, eax
jmp 0x1000cdc7
mov esi, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
sub dword [ebp - 0x50], ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
call fcn.10006bb6
xor edi, edi
pop ecx
test ebx, ebx
jle 0x1000cdee
lea eax, [ebp + edi - 0x24]
mov cl, byte [esi + eax]
xor byte [eax], cl
inc edi
cmp edi, ebx
jl 0x1000cde0
mov edx, dword [ebp - 0x48]
push ebx
lea ecx, [ebp - 0x44]
call fcn.100043de
mov ecx, dword [ebp - 0x4c]
push ebx
lea edx, [ebp - 0x24]
call fcn.100043de
add dword [ebp - 0x48], ebx
add dword [ebp - 0x4c], ebx
add esi, ebx
cmp ebx, 0x10
pop ecx
pop ecx
mov dword [ebp - 0x60], esi
jge 0x1000ce2f
push 0x10
pop ecx
sub ecx, ebx
push ecx
lea eax, [ebp + ebx - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10109740
add esp, 0xc
mov ecx, dword [ebp - 0x54]
push ebx
lea edx, [ebp - 0x44]
call fcn.100043de
cmp dword [ebp - 0x50], ebx
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
movsd dword es:[edi], dword [esi]
jge 0x1000cdc4
mov edi, dword [ebp - 0x58]
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10108bbf
leave
ret
Function at 0x10014989
Capabilities:
Hash data using sha1

Disassembly:
push edi
xor ecx, ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
push 0x10
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
lea edi, [eax + 0x1c]
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
pop edi
ret

Function at 0x10014e47
Capabilities:
Hash data using sha256

Disassembly:
test esi, esi
je 0x10014e9a
push 0x40
lea eax, [esi + 0x28]
push 0
push eax
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
call fcn.10108c60
and dword [esi + 0x24], 0
add esp, 0xc
and dword [esi + 0x20], 0
ret
Function at 0x1001516a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x10015271
mov ecx, eax
push ebx
shr ecx, 3
push esi
and ecx, 0x3f
rol eax, 0x10
mov esi, eax
mov edx, eax
shl edx, 8
shr esi, 8
xor esi, edx
shl eax, 8
and esi, 0xff00ff
xor esi, eax
mov eax, dword [edi + 0x24]
rol eax, 0x10
mov ebx, eax
shr ebx, 8
mov edx, eax
shl edx, 8
xor ebx, edx
and ebx, 0xff00ff
shl eax, 8
xor edx, edx
xor ebx, eax
cmp ecx, edx
jbe 0x1001521a
mov byte [ecx + edi + 0x28], 0x80
inc ecx
cmp ecx, 0x38
ja 0x100151e4
push 0x38
pop eax
sub eax, ecx
push eax
push edx
lea eax, [ecx + edi + 0x28]
push eax
call fcn.10108c60
jmp 0x1001522a
cmp ecx, 0x40
jae 0x100151fd
push 0x40
pop eax
sub eax, ecx
push eax
push edx
lea eax, [ecx + edi + 0x28]
push eax
call fcn.10108c60
add esp, 0xc
lea eax, [edi + 0x28]
push eax
mov eax, edi
call fcn.10014e9b
push 0x38
lea eax, [edi + 0x28]
push 0
push eax
call fcn.10108c60
add esp, 0x10
jmp 0x1001522d
push 0x38
lea eax, [edi + 0x28]
push edx
push eax
call fcn.10108c60
mov byte [edi + 0x28], 0x80
add esp, 0xc
lea eax, [edi + 0x28]
push eax
mov eax, edi
mov dword [edi + 0x64], esi
mov dword [edi + 0x60], ebx
call fcn.10014e9b
mov esi, dword [ebp - 4]
pop ecx
xor edx, edx
mov eax, dword [edi + edx*4]
rol eax, 0x10
mov ecx, eax
shr ecx, 8
mov ebx, eax
shl ebx, 8
xor ecx, ebx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
mov dword [edi + edx*4], ecx
mov dword [esi], ecx
add esi, 4
inc edx
cmp edx, 8
jl 0x10015244
pop esi
pop ebx
xor eax, eax
stosd dword es:[edi], eax
pop edi
leave
ret