joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10050960
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push edi
mov edi, dword [sym.imp.MSVCR120.dll_swprintf_s]
push esi
push 0x100c53b0
push 0x104
push eax
mov dword [ebp - 0x670], ecx
call edi
add esp, 0x10
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10050aef
jmp 0x100509c0
test byte [ebp - 0x66c], 0x10
lea eax, [ebp - 0x640]
je 0x10050a88
mov ecx, 0x100c52c4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100509fe
test dx, dx
je 0x100509fa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100509fe
add eax, 4
add ecx, 4
test dx, dx
jne 0x100509d8
xor eax, eax
jmp 0x10050a03
sbb eax, eax
or eax, 1
test eax, eax
je 0x10050acb
mov eax, 0x100c52c8
lea ecx, [ebp - 0x640]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10050a3c
test dx, dx
je 0x10050a38
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10050a3c
add ecx, 4
add eax, 4
test dx, dx
jne 0x10050a16
xor eax, eax
jmp 0x10050a41
sbb eax, eax
or eax, 1
test eax, eax
je 0x10050acb
lea eax, [ebp - 0x640]
push eax
push esi
push str._s_s_
lea eax, [ebp - 0x214]
push 0x104
push eax
call edi
mov ecx, dword [ebp - 0x670]
lea eax, [ebp - 0x214]
add esp, 0x14
push eax
call sym.HncFoundation.dll_private:_void___thiscall_CHncAppShield::_DeleteFile_unsigned_short_int_const__
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10050acb
push eax
push esi
push str._s_s
lea eax, [ebp - 0x41c]
push 0x104
push eax
call edi
add esp, 0x14
test byte [ebp - 0x66c], 1
je 0x10050abe
lea eax, [ebp - 0x41c]
push 0x80
push eax
call dword [sym.imp.MSVCR120.dll__wchmod]
add esp, 8
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x66c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100509c0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100944ae
mov esp, ebp
pop ebp
ret 4
Function at 0x10050f70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2814
call fcn.10099130
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x100c0eb8
push eax
mov dword [ebp - 0x2810], eax
mov ebx, 1
lea eax, [ebp - 0x2808]
mov dword [ebp - 0x2814], ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x280c], ecx
mov dword [ebp - 0x2808], 0
call dword [sym.imp.MSVCR120.dll__wfopen_s]
add esp, 0xc
test eax, eax
jne 0x100510ae
push esi
mov esi, dword [ebp - 0x2808]
test esi, esi
je 0x1005109a
push 0x27ff
push eax
mov byte [ebp - 0x2804], al
lea eax, [ebp - 0x2803]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
push edi
jmp 0x10051000
push esi
push 0x2800
lea eax, [ebp - 0x2804]
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fread]
mov edi, eax
add esp, 0x10
test edi, edi
jle 0x10051076
mov ebx, dword [ebp - 0x2814]
push dword [ebp - 0x2808]
mov esi, dword [ebx]
call dword [sym.imp.MSVCR120.dll_feof]
add esp, 4
mov ecx, ebx
neg eax
sbb eax, eax
neg eax
push eax
push edi
lea eax, [ebp - 0x2804]
push eax
push dword [ebp - 0x280c]
push dword [ebp - 0x2810]
call dword [esi + 4]
mov ebx, eax
test ebx, ebx
je 0x10051076
push dword [ebp - 0x2808]
call dword [sym.imp.MSVCR120.dll_feof]
add esp, 4
test eax, eax
jne 0x10051076
mov esi, dword [ebp - 0x2808]
jmp 0x10051000
push dword [ebp - 0x2808]
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 8
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.100944ae
mov esp, ebp
pop ebp
ret 8
Function at 0x10055550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov edx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0x38]
lea eax, [esi + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], ecx
lea eax, [ecx + edi]
mov dword [edx], eax
cmp eax, 0x10
jae 0x100555a1
push edi
lea eax, [esi + 0x28]
add eax, ecx
push ebx
push eax
call sub.MSVCR120.dll_memcpy
add dword [esi + 0x38], edi
add esp, 0xc
mov eax, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
cmp ebx, esi
jne 0x100555b4
pop edi
pop esi
mov eax, 0x1001
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov edi, 0x10
sub edi, ecx
add eax, 0x28
push edi
add eax, ecx
push ebx
push eax
call sub.MSVCR120.dll_memcpy
mov ecx, dword [ebp - 8]
add ebx, edi
mov edi, dword [ebp - 4]
add ecx, 0xfffffff0
add dword [ebp + 8], ecx
add esp, 0xc
mov edx, esi
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x3c]
xor eax, dword [edi + 0x18]
mov dword [esi], eax
mov eax, dword [edi + 0x2c]
xor eax, dword [edi + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x30]
xor eax, dword [edi + 0x20]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x34]
xor eax, dword [edi + 0x24]
mov dword [esi + 0xc], eax
call fcn.100537f0
add esi, 0x10
cmp dword [ebp + 8], 0x10
jb 0x10055660
mov edi, dword [ebp + 8]
mov eax, edi
shr eax, 4
mov dword [ebp + 8], eax
lea ecx, [ecx]
mov eax, dword [esi - 0x10]
mov edx, esi
xor eax, dword [ebx]
mov ecx, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebx + 4]
xor eax, dword [esi - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
xor eax, dword [esi - 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
xor eax, dword [esi - 4]
mov dword [esi + 0xc], eax
call fcn.100537f0
add ebx, 0x10
add esi, 0x10
sub edi, 0x10
dec dword [ebp + 8]
jne 0x10055620
mov dword [ebp + 8], edi
mov edi, dword [ebp - 4]
mov eax, dword [esi - 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [esi - 0xc]
mov dword [edi + 0x1c], eax
mov eax, dword [esi - 8]
mov dword [edi + 0x20], eax
mov eax, dword [esi - 4]
mov esi, dword [ebp + 8]
push esi
mov dword [edi + 0x24], eax
lea eax, [edi + 0x28]
push ebx
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi + 0x38], esi
sub dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100556a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, edx
push edi
mov edx, dword [ebx + 0x38]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], edx
lea eax, [edx + ecx]
mov dword [edi], eax
cmp eax, 0x10
jae 0x100556e6
push ecx
lea eax, [ebx + 0x28]
add eax, edx
push esi
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
add dword [ebx + 0x38], eax
xor eax, eax
mov dword [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, dword [ebp + 0xc]
jne 0x100556f7
pop edi
pop esi
mov eax, 0x1001
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x10
lea eax, [ebx + 0x28]
sub edi, edx
add eax, edx
push edi
push esi
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp + 8]
lea edx, [ebx + 0x18]
mov ecx, dword [ebp - 4]
add eax, 0xfffffff0
add ecx, eax
add esp, 0xc
mov dword [ebp + 8], ecx
add esi, edi
lea ecx, [ebx + 0x3c]
call fcn.100537f0
mov edi, dword [ebp + 0xc]
lea ecx, [ebx + 0x18]
mov eax, dword [ebx + 0x28]
xor eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ebx + 0x2c]
xor eax, dword [ebx + 0x1c]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x30]
xor eax, dword [ebx + 0x20]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x34]
xor eax, dword [ebx + 0x24]
mov dword [edi + 0xc], eax
add edi, 0x10
mov eax, dword [ebp + 8]
cmp eax, 0x10
jb 0x100557a5
shr eax, 4
mov dword [ebp - 4], eax
mov edx, ecx
lea ecx, [ebx + 0x3c]
call fcn.100537f0
mov eax, dword [esi]
lea ecx, [ebx + 0x18]
xor eax, dword [ecx]
lea edi, [edi + 0x10]
mov dword [edi - 0x10], eax
mov eax, dword [esi + 4]
xor eax, dword [ebx + 0x1c]
mov dword [edi - 0xc], eax
mov eax, dword [esi + 8]
xor eax, dword [ebx + 0x20]
mov dword [edi - 8], eax
mov eax, dword [esi + 0xc]
add esi, 0x10
xor eax, dword [ebx + 0x24]
mov dword [edi - 4], eax
mov eax, dword [ebp + 8]
sub eax, 0x10
dec dword [ebp - 4]
mov dword [ebp + 8], eax
jne 0x10055762
push eax
lea eax, [ebx + 0x28]
push esi
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebx + 0x38]
add esp, 0xc
mov ecx, dword [ebp + 8]
and eax, 0xf0000000
add eax, ecx
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
sub dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100557e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov edx, dword [esi + 0x38]
mov dword [ebp - 4], edx
lea eax, [edx + ecx]
mov dword [edi], eax
cmp eax, 0x10
jae 0x10055826
push ecx
lea eax, [esi + 0x28]
add eax, edx
push ebx
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
add dword [esi + 0x38], eax
xor eax, eax
mov dword [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, dword [ebp + 0xc]
jne 0x10055837
pop edi
pop esi
mov eax, 0x1001
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x10
lea eax, [esi + 0x28]
sub edi, edx
add eax, edx
push edi
push ebx
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp + 8]
lea edx, [esi + 0x18]
mov ecx, dword [ebp - 4]
add eax, 0xfffffff0
add ecx, eax
add esp, 0xc
mov dword [ebp + 8], ecx
add ebx, edi
lea ecx, [esi + 0x3c]
call fcn.100537f0
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x18]
xor dword [ecx], eax
mov eax, dword [esi + 0x2c]
xor dword [esi + 0x1c], eax
mov eax, dword [esi + 0x30]
xor dword [esi + 0x20], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x34]
xor dword [esi + 0x24], eax
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0xc], eax
add edi, 0x10
mov eax, dword [ebp + 8]
cmp eax, 0x10
jb 0x100558fe
shr eax, 4
mov dword [ebp - 4], eax
lea ecx, [ecx]
mov edx, ecx
lea ecx, [esi + 0x3c]
call fcn.100537f0
mov eax, dword [ebx]
lea ecx, [esi + 0x18]
xor dword [ecx], eax
lea edi, [edi + 0x10]
mov eax, dword [ebx + 4]
xor dword [esi + 0x1c], eax
mov eax, dword [ebx + 8]
xor dword [esi + 0x20], eax
mov eax, dword [ebx + 0xc]
add ebx, 0x10
xor dword [esi + 0x24], eax
mov eax, dword [ecx]
mov dword [edi - 0x10], eax
mov eax, dword [esi + 0x1c]
mov dword [edi - 0xc], eax
mov eax, dword [esi + 0x20]
mov dword [edi - 8], eax
mov eax, dword [esi + 0x24]
mov dword [edi - 4], eax
mov eax, dword [ebp + 8]
sub eax, 0x10
dec dword [ebp - 4]
mov dword [ebp + 8], eax
jne 0x100558b0
push eax
lea eax, [esi + 0x28]
push ebx
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [esi + 0x38]
add esp, 0xc
mov ecx, dword [ebp + 8]
and eax, 0xf0000000
add eax, ecx
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
sub dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10055b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
dec eax
cmp eax, 3
ja case.default.0x10055b8e
jmp dword [eax*4 + 0x10055c14]
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
call fcn.100559c0
add esp, 4
pop ebp
ret
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
call fcn.10055a60
add esp, 4
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x10]
push esi
lea esi, [ecx + 0x18]
push edi
mov edi, dword [ecx + 0x38]
mov edx, esi
add ecx, 0x3c
mov dword [ebx], 0x10
call fcn.100537f0
test edi, edi
je 0x10055bf2
mov ecx, dword [ebp + 0xc]
mov edx, edi
lea ebx, [ebx]
mov al, byte [esi + 0x10]
lea esi, [esi + 1]
xor al, byte [esi - 1]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec edx
jne 0x10055be0
mov dword [ebx], edi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
call fcn.10055b20
add esp, 4
pop ebp
ret
mov eax, 0x1001
pop ebp
ret
Function at 0x10055f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, edx
mov ecx, dword [ebx + 0x38]
mov dword [ebp - 4], ecx
lea edx, [ecx + eax]
mov dword [edi], edx
cmp edx, 0x10
ja 0x10055f76
push eax
lea eax, [ebx + 0x28]
add eax, ecx
push esi
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
add dword [ebx + 0x38], eax
xor eax, eax
mov dword [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], esi
jne 0x10055f87
pop edi
pop esi
mov eax, 0x1001
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], edx
lea eax, [ebx + 0x28]
mov edi, 0x10
add eax, ecx
sub edi, ecx
push edi
push esi
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp + 8]
lea edx, [ebx + 0x18]
mov ecx, dword [ebp - 4]
add eax, 0xfffffff0
add ecx, eax
add esp, 0xc
mov dword [ebp + 8], ecx
add esi, edi
lea ecx, [ebx + 0x3c]
call fcn.100537f0
mov edi, dword [ebp + 0xc]
lea ecx, [ebx + 0x18]
mov eax, dword [ecx]
lea edx, [ebx + 0x28]
xor eax, dword [edx]
mov dword [edi], eax
mov eax, dword [ebx + 0x2c]
xor eax, dword [ebx + 0x1c]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x30]
xor eax, dword [ebx + 0x20]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x34]
xor eax, dword [ebx + 0x24]
mov dword [edi + 0xc], eax
add edi, 0x10
mov eax, dword [ebp + 8]
cmp eax, 0x10
jbe 0x10056047
add eax, 0xffffffef
shr eax, 4
inc eax
mov dword [ebp - 4], eax
lea ebx, [ebx]
mov edx, ecx
lea ecx, [ebx + 0x3c]
call fcn.100537f0
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x18]
xor eax, dword [esi]
lea edi, [edi + 0x10]
mov dword [edi - 0x10], eax
mov eax, dword [esi + 4]
xor eax, dword [ebx + 0x1c]
mov dword [edi - 0xc], eax
mov eax, dword [esi + 8]
xor eax, dword [ebx + 0x20]
mov dword [edi - 8], eax
mov eax, dword [esi + 0xc]
add esi, 0x10
xor eax, dword [ebx + 0x24]
mov dword [edi - 4], eax
mov eax, dword [ebp + 8]
sub eax, 0x10
dec dword [ebp - 4]
mov dword [ebp + 8], eax
jne 0x10056000
lea edx, [ebx + 0x28]
push eax
push esi
push edx
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebx + 0x38]
add esp, 0xc
mov ecx, dword [ebp + 8]
and eax, 0xf0000000
add eax, ecx
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
sub dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10056070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov edi, dword [ebp + 0x10]
mov ecx, dword [esi + 0x38]
mov dword [ebp - 4], ecx
lea edx, [ecx + eax]
mov dword [edi], edx
cmp edx, 0x10
ja 0x100560b6
push eax
lea eax, [esi + 0x28]
add eax, ecx
push ebx
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
add dword [esi + 0x38], eax
xor eax, eax
mov dword [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], ebx
jne 0x100560c7
pop edi
pop esi
mov eax, 0x1001
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], edx
lea eax, [esi + 0x28]
mov edi, 0x10
add eax, ecx
sub edi, ecx
push edi
push ebx
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp + 8]
lea edx, [esi + 0x18]
mov ecx, dword [ebp - 4]
add eax, 0xfffffff0
add ecx, eax
add esp, 0xc
mov dword [ebp + 8], ecx
add ebx, edi
lea ecx, [esi + 0x3c]
call fcn.100537f0
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x18]
xor eax, dword [esi + 0x28]
lea edx, [esi + 0x28]
mov edi, dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
xor eax, dword [esi + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x20]
xor eax, dword [esi + 0x30]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x34]
xor eax, dword [esi + 0x24]
mov dword [edi + 0xc], eax
add edi, 0x10
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 8]
cmp eax, 0x10
jbe 0x100561af
add eax, 0xffffffef
shr eax, 4
inc eax
mov dword [ebp - 4], eax
mov edx, ecx
lea ecx, [esi + 0x3c]
call fcn.100537f0
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x18]
xor eax, dword [ebx]
lea edi, [edi + 0x10]
mov dword [edi - 0x10], eax
mov eax, dword [esi + 0x1c]
xor eax, dword [ebx + 4]
mov dword [edi - 0xc], eax
mov eax, dword [esi + 0x20]
xor eax, dword [ebx + 8]
mov dword [edi - 8], eax
mov eax, dword [esi + 0x24]
xor eax, dword [ebx + 0xc]
mov dword [edi - 4], eax
mov eax, dword [ebx]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0xc]
add ebx, 0x10
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 8]
sub eax, 0x10
dec dword [ebp - 4]
mov dword [ebp + 8], eax
jne 0x10056152
lea edx, [esi + 0x28]
push eax
push ebx
push edx
call sub.MSVCR120.dll_memcpy
mov eax, dword [esi + 0x38]
add esp, 0xc
mov ecx, dword [ebp + 8]
and eax, 0xf0000000
add eax, ecx
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
sub dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100563e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
dec eax
cmp eax, 3
ja case.default.0x100563ee
jmp dword [eax*4 + 0x10056468]
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
call fcn.10056270
add esp, 4
pop ebp
ret
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
call fcn.10056310
add esp, 4
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x10]
push esi
lea esi, [ecx + 0x18]
push edi
mov edi, dword [ecx + 0x38]
mov edx, esi
add ecx, 0x3c
mov dword [ebx], edi
call fcn.100537f0
test edi, edi
je 0x10056448
mov ecx, dword [ebp + 0xc]
mov edx, edi
mov al, byte [esi + 0x10]
lea esi, [esi + 1]
xor al, byte [esi - 1]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec edx
jne 0x10056436
mov dword [ebx], edi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
call fcn.10055b20
add esp, 4
pop ebp
ret
mov eax, 0x1001
pop ebp
ret
Function at 0x100579d0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
pop ebp
ret

Function at 0x10057bd0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
pop ebp
ret

Function at 0x10057c80
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
pop ebp
ret
Function at 0x10063fc0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x28], 0
pop ebp
ret
Function at 0x10066940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
lea eax, [ebx + 4]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], eax
test edi, edi
je 0x10066afd
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x10066afd
cmp eax, 0xffffffff
ja 0x10066afd
lea ecx, [eax - 1]
mov eax, 0xcccccccd
mul ecx
mov eax, edx
shr eax, 4
inc eax
mov dword [ebp - 0x34], eax
lea eax, [eax + eax*4]
add eax, 0xfffffffb
shl eax, 2
sub dword [ebp + 0x20], eax
lea eax, [ebx + 4]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10066afd
push ebx
push esi
push eax
call sub.MSVCR120.dll_memcpy
mov ebx, 1
add esp, 0xc
cmp dword [ebp - 0x34], ebx
jb 0x10066ad2
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, 1
mov dword [ebp - 8], 0
movdqu xmmword [ebp - 0x54], xmm0
movdqu xmmword [ebp - 0x18], xmm0
cmp edi, esi
jb 0x10066aa5
cmp esi, 1
jne 0x10066a43
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov edi, dword [ebp - 0x40]
shr eax, 0x18
mov byte [edi + edx], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + edx + 1], al
mov eax, ebx
shr eax, 8
mov byte [edi + edx + 2], al
mov eax, edi
mov byte [eax + edx + 3], bl
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x44]
push edx
mov edx, ecx
mov ecx, dword [ebp - 0x3c]
call fcn.100666f0
mov edi, dword [ebp + 0x18]
jmp 0x10066a54
lea eax, [ebp - 0x2c]
mov edx, ecx
mov ecx, dword [ebp - 0x3c]
push eax
push 0x14
push eax
call fcn.100666f0
add esp, 0xc
test al, al
je 0x10066af1
movdqu xmm0, xmmword [ebp - 0x2c]
xor eax, eax
mov edx, 4
movdqu xmm1, xmmword [ebp - 0x54]
pxor xmm0, xmm1
movdqu xmmword [ebp - 0x18], xmm0
lea esp, [esp]
mov cl, byte [ebp + eax - 0x1c]
lea eax, [eax + 1]
xor byte [ebp + eax - 9], cl
dec edx
jne 0x10066a80
inc esi
cmp esi, edi
ja 0x10066aa5
movdqu xmm0, xmmword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
movdqu xmmword [ebp - 0x54], xmm0
jmp 0x10066a01
cmp ebx, dword [ebp - 0x34]
mov eax, 0x14
mov esi, dword [ebp - 0x38]
cmove eax, dword [ebp + 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call sub.MSVCR120.dll_memcpy
inc ebx
add esi, 0x14
add esp, 0xc
mov dword [ebp - 0x38], esi
cmp ebx, dword [ebp - 0x34]
jbe 0x100669dd
push dword [ebp - 0x30]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x30]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100944ae
mov esp, ebp
pop ebp
ret