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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.00405746
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x4054cb
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x423fe8], eax
jmp 0x40565f
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x4054e9
test eax, eax
je 0x40560a
test byte [ebp + 0xc], 2
je 0x40560a
mov esi, 0x421560
push edi
push esi
call fcn.00405b72
test ebx, ebx
je 0x405506
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x40550c
push edi
call fcn.004056ac
cmp byte [edi], 0
jne 0x40551a
cmp byte [0x421560], 0x5c
jne 0x405525
push 0x409010
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x405600
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.00405690
cmp byte [eax], 0
je 0x40556b
cmp byte [ebp - 0x18], 0
je 0x40556b
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x405581
mov al, byte [esi + 1]
test al, al
je 0x4055df
cmp al, 0x2e
jne 0x405581
cmp byte [esi + 2], 0
je 0x4055df
push esi
push ebx
call fcn.00405b72
test byte [ebp - 0x148], 0x10
je 0x4055a6
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4055df
push dword [ebp + 0xc]
push edi
call fcn.00405497
jmp 0x4055df
push edi
call fcn.0040582a
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4055d7
test byte [ebp + 0xc], 4
je 0x4055cf
push edi
push 0xfffffffffffffff1
call fcn.00404e5e
push 0
push edi
call fcn.004058c0
jmp 0x4055df
inc dword [0x423fe8]
jmp 0x4055df
push edi
push 0xfffffffffffffff2
call fcn.00404e5e
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405549
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x40560a
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x40565f
cmp dword [ebp - 8], esi
jne 0x40561f
inc dword [0x423fe8]
jmp 0x40565f
push edi
call fcn.00405e6d
test eax, eax
je 0x40565f
push edi
call fcn.00405665
push edi
call fcn.0040582a
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x405657
test byte [ebp + 0xc], 4
je 0x405617
push edi
push 0xfffffffffffffff1
call fcn.00404e5e
push esi
push edi
call fcn.004058c0
jmp 0x40565f
push edi
push 0xffffffffffffffe5
call fcn.00404e5e
pop edi
pop esi
leave
ret 8
Function at 0x405746
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x421960
push esi
call fcn.00405b72
push esi
call fcn.004056f9
mov edi, eax
test edi, edi
jne 0x405767
xor eax, eax
jmp 0x4057b9
push edi
call fcn.00405dd4
test byte [0x423f78], 0x80
je 0x405780
mov al, byte [edi]
test al, al
je 0x405763
cmp al, 0x5c
je 0x405763
sub edi, esi
jmp 0x405798
call fcn.00405e6d
test eax, eax
je 0x405792
test byte [eax], 0x10
je 0x405763
push esi
call fcn.004056ac
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x405784
call fcn.00405665
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x40582a
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x405846
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x405849
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405878
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4058bc
test edi, edi
jne 0x405883
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x4058b6
Function at 0x4058c0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 2
call fcn.00405efe
test eax, eax
mov esi, dword [esp + 0x18]
je 0x4058e4
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x405a1d
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x4226e8], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x4226e8
je 0x405928
push 1
push 0
push esi
call fcn.00405849
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x405a23
cmp eax, edi
jg 0x405a23
mov esi, 0x422160
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x405a23
cmp eax, edi
jg 0x405a23
push esi
push ebp
push str._s_s_r_n
push 0x421d60
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x423f70]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405b94
push 4
push 0xc0000000
push esi
call fcn.00405849
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x405a1d
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405a16
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405a16
cmp edi, dword [esp + 0x18]
jne 0x405a16
push str._Rename__r_n
push esi
call fcn.004057be
test eax, eax
jne 0x405a2a
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call fcn.00405b72
add edi, 0xa
mov eax, edi
push ebx
add eax, esi
push 0x421d60
push eax
call fcn.0040580a
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x18]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x423ff0]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x409404
push eax
call fcn.004057be
test eax, eax
je 0x4059e1
inc eax
lea ecx, [esi + edi]
cmp eax, ecx
mov ebp, eax
jae 0x405a51
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x405a46
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x4059e3
Function at 0x405a59
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405aca
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x400
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405ab9
cmp dword [ebp + 0x14], 1
je 0x405abb
cmp dword [ebp + 0x14], 2
je 0x405abb
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405e94
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x405eb8
xor eax, eax
test eax, eax
je 0x405eca
cmp byte [ebp + eax - 0x121], 0x5c
je 0x405eca
xor ecx, ecx
jmp 0x405ecd
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409010]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
leave
ret 4

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

Disassembly:
cmp dword [0x422aec], 0
push esi
jne 0x405fa4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f7e
mov dword [ecx*4 + 0x422ae8], eax
inc ecx
cmp ecx, 0x100
jl 0x405f79
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405fd5
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422ae8]
xor eax, esi
inc ecx
dec edx
jne 0x405fb7
pop edi
not eax
pop esi
ret 0xc
Function at 0x40b480
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4273d4]
jne 0x40b48a
repz ret
jmp fcn.0041168c

Function at 0x41733c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4273d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040e43f
and dword [ebp - 0x14], 0
cmp dword [0x526cac], 0
mov dword [ebp - 0x18], eax
jne 0x4173ef
push 0x4037fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x417497
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4037f0
push ebx
call edi
test eax, eax
je 0x417497
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4037e0
push ebx
mov dword [0x526cac], eax
call edi
push eax
call esi
push 0x4037cc
push ebx
mov dword [0x526cb0], eax
call edi
push eax
call esi
push 0x4037b0
push ebx
mov dword [0x526cb4], eax
call edi
push eax
call esi
mov dword [0x526cbc], eax
test eax, eax
je 0x4173ef
push 0x403798
push ebx
call edi
push eax
call esi
mov dword [0x526cb8], eax
mov eax, dword [0x526cb8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x417448
cmp dword [0x526cbc], ecx
je 0x417448
push eax
call esi
push dword [0x526cbc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x417448
test ebx, ebx
je 0x417448
call edi
test eax, eax
je 0x41743f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41743f
test byte [ebp - 8], 1
jne 0x417448
or dword [ebp + 0x10], 0x200000
jmp 0x41747b
mov eax, dword [0x526cb0]
cmp eax, dword [ebp - 0x18]
je 0x41747b
push eax
call esi
test eax, eax
je 0x41747b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41747b
mov eax, dword [0x526cb4]
cmp eax, dword [ebp - 0x18]
je 0x41747b
push eax
call esi
test eax, eax
je 0x41747b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x526cac]
call esi
test eax, eax
je 0x417497
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x417499
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b480
leave
ret
Function at 0x41f660
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.0041e810
cmp dword [0x8c7a30], 0x37
jne 0x41f6f1
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x40442c
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x404438
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x8c7a34]
mov edx, dword [0x8c3ea0]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x10004210
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ebx
push ebp
mov eax, dword [ecx]
push esi
mov esi, dword [esp + 0x24]
lea ebp, [ecx + 8]
push edi
mov dword [esp + 0x24], ebp
mov ecx, esi
sub edx, esi
mov edi, 0x10
mov bl, byte [edx + ecx]
mov byte [ecx], bl
inc ecx
dec edi
jne 0x10004235
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x10004313
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x10]
xor ecx, ecx
sub ebp, esi
mov eax, esi
sub edi, esi
xor edx, edx
xor ebx, ebx
mov dl, byte [eax + ebp]
mov bl, byte [eax]
xor edx, ebx
mov ebx, ecx
and ebx, 0x80000003
jns 0x10004275
dec ebx
or ebx, 0xfffffffc
inc ebx
shl ebx, 8
inc ecx
inc eax
mov dl, byte [edx + ebx + 0x10042858]
cmp ecx, 0x10
mov byte [edi + eax - 1], dl
jl 0x1000425b
lea eax, [esp + 0x10]
push esi
push eax
call fcn.10003980
mov ecx, dword [esp + 0x2c]
mov ebp, 2
add ecx, 0x10
add esp, 8
mov dword [esp + 0x24], ecx
sub ecx, esi
mov eax, esi
sub ebp, esi
mov dword [esp + 0x28], 0x10
xor edx, edx
xor ebx, ebx
mov dl, byte [eax + ecx]
mov bl, byte [eax]
xor edx, ebx
lea ebx, [eax + ebp]
and ebx, 0x80000003
jns 0x100042d1
dec ebx
or ebx, 0xfffffffc
inc ebx
shl ebx, 8
inc eax
mov dl, byte [edx + ebx + 0x10042858]
mov byte [eax + edi - 1], dl
mov edx, dword [esp + 0x28]
dec edx
mov dword [esp + 0x28], edx
jne 0x100042b6
lea eax, [esp + 0x10]
push esi
push eax
call fcn.10003980
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
add esp, 8
add ebp, 0x10
dec eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], eax
jne 0x1000424f
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.10003980
lea edx, [esp + 0x18]
lea eax, [esp + 0x18]
add esp, 8
xor ecx, ecx
sub ebp, edx
sub esi, eax
mov bl, byte [esp + ecx + 0x10]
lea eax, [esp + ecx + 0x10]
mov dl, byte [eax + ebp]
xor dl, bl
inc ecx
cmp ecx, 0x10
mov byte [esi + eax], dl
jl 0x1000432f
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov cl, byte [esp + 0x10]
mov byte [esp + 0x10], cl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x10005d10
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
xor edx, edx
cmp dword [esi + 0x408], edx
lea eax, [ebp + 4]
lea ecx, [edi + 4]
lea ebx, [esi + 4]
jle 0x10005d52
sub ebx, ecx
mov ebp, dword [ebx + ecx]
add eax, 4
xor ebp, dword [ecx]
add ecx, 4
inc edx
mov dword [eax - 4], ebp
mov ebp, dword [esi + 0x408]
cmp edx, ebp
jl 0x10005d35
mov ebp, dword [esp + 0x14]
cmp edx, dword [edi + 0x408]
jge 0x10005d6f
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
mov esi, dword [edi + 0x408]
add eax, 4
inc edx
cmp edx, esi
jl 0x10005d5a
mov ecx, dword [edi + 0x408]
sub eax, 4
mov dword [ebp + 0x408], ecx
cmp dword [eax], 0
jne 0x10005d9d
mov ecx, dword [ebp + 0x408]
cmp ecx, 1
jle 0x10005d9d
dec ecx
sub eax, 4
mov dword [ebp + 0x408], ecx
cmp dword [eax], 0
je 0x10005d83
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100061f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
push edi
xor ecx, ecx
mov edi, dword [esi + 0x408]
mov dword [esp + 0x14], ecx
dec edi
js 0x10006245
mov eax, dword [esp + 0x20]
push ebx
cdq
lea esi, [esi + edi*4 + 4]
push ebp
mov ebx, eax
mov dword [esp + 0x14], edx
inc edi
mov edx, dword [esi]
xor eax, eax
xor eax, edx
mov edx, dword [esp + 0x14]
xor ebp, ebp
push edx
xor ecx, ebp
push ebx
push ecx
push eax
call fcn.100357b0
sub esi, 4
dec edi
mov ecx, eax
mov dword [esp + 0x1c], edx
jne 0x1000621a
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x10
ret
pop edi
mov eax, ecx
pop esi
add esp, 0x10
ret
Function at 0x1000bf90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, dword [esp + 0x24]
mov dword [esp + 8], 0
push esi
call fcn.1000c380
mov ebp, dword [esp + 0x20]
add esp, 4
add eax, 6
test ebp, ebp
jne 0x1000bfc3
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
mov dword [ecx], eax
xor eax, eax
add esp, 0x10
ret
push ebx
push edi
push esi
call fcn.1000c380
mov ebx, eax
add esp, 4
cmp ebx, 0x80
mov byte [ebp], 2
mov byte [esp + 0x24], 0
jb 0x1000c051
mov al, 1
mov edx, 1
mov byte [esp + 0x24], al
mov esi, 3
lea ecx, [edx*8]
mov edi, ebx
shr edi, cl
test edi, edi
je 0x1000c002
inc al
inc edx
dec esi
jne 0x1000bff1
mov dl, al
mov byte [esp + 0x24], al
xor dl, 0x80
mov esi, 2
test al, al
mov byte [ebp + 1], dl
jbe 0x1000c059
mov edx, dword [esp + 0x24]
and edx, 0xff
xor edi, edi
mov dword [esp + 0x14], edx
mov byte [ebp + 1], bl
mov esi, 2

Function at 0x1000c200
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
test esi, esi
mov dword [esp + 0xc], 1
je 0x1000c371
mov edx, dword [esp + 0x18]
test edx, edx
je 0x1000c371
cmp byte [edx], 2
je 0x1000c233
pop esi
pop ebp
mov eax, 0xfffff253
pop ebx
pop ecx
ret
mov al, byte [edx + 1]
test al, 0x80
je 0x1000c269
and al, 0x7f
mov ebx, 2
mov byte [esp + 0x14], al
mov ebp, 0
jbe 0x1000c367
mov eax, dword [esp + 0x14]
and eax, 0xff
xor ecx, ecx
mov cl, byte [ebx + edx]
shl ebp, 8
or ebp, ecx
inc ebx
dec eax
jne 0x1000c259
jmp 0x1000c273
and eax, 0x7f
mov ebx, 2
mov ebp, eax
test ebp, ebp
jbe 0x1000c367
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + ebp]
cmp eax, ecx
mov dword [esp + 0x14], eax
ja 0x1000c367
push edi
mov ecx, 0x103
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov al, byte [esi]
mov byte [esi], al
mov dword [esi + 0x408], 1
mov al, byte [ebx + edx]
cmp al, 0x7f
jbe 0x1000c304
xor eax, eax
mov dword [esi], 1
test ebp, ebp
jle 0x1000c335
mov ecx, dword [esp + 0x18]
lea ebx, [ecx + edx - 1]
mov dl, byte [ebx]
mov edi, dword [esp + 0x10]
not edx
add edx, edi
mov edi, dword [esp + 0x1c]
xor ecx, ecx
and edx, 0xff
cmp byte [eax + edi], cl
setne cl
mov dword [esp + 0x10], ecx
mov ecx, eax
shr ecx, 2
lea edi, [esi + ecx*4 + 4]
mov ecx, eax
and ecx, 3
shl ecx, 3
shl edx, cl
mov ecx, dword [edi]
xor ecx, edx
inc eax
dec ebx
cmp eax, ebp
mov dword [edi], ecx
jl 0x1000c2c3
jmp 0x1000c335
xor eax, eax
test ebp, ebp
jle 0x1000c335
mov ecx, dword [esp + 0x18]
lea edx, [ecx + edx - 1]
mov ecx, eax
xor ebx, ebx
shr ecx, 2
mov bl, byte [edx]
lea edi, [esi + ecx*4 + 4]
mov ecx, eax
and ecx, 3
shl ecx, 3
shl ebx, cl
mov ecx, dword [edi]
xor ecx, ebx
inc eax
dec edx
cmp eax, ebp
mov dword [edi], ecx
jl 0x1000c312
add ebp, 3
pop edi
shr ebp, 2
mov dword [esi + 0x408], ebp
cmp dword [esi + ebp*4], 0
jne 0x1000c360
mov eax, dword [esi + 0x408]
cmp eax, 1
jle 0x1000c360
dec eax
mov dword [esi + 0x408], eax
cmp dword [esi + eax*4], 0
je 0x1000c348
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
pop esi
pop ebp
mov eax, 0xfffff252
pop ebx
pop ecx
ret
pop esi
pop ebp
mov eax, 0xfffff24f
pop ebx
pop ecx
ret
Function at 0x1000c740
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
test esi, esi
je 0x1000c7a6
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x1000c7a6
mov edi, dword [esp + 0x18]
test edi, edi
jbe 0x1000c7a6
mov eax, dword [esi + 0x200]
add eax, edi
cmp eax, 0x200
jb 0x1000c776
mov dword [esi + 0x200], 0x200
jmp 0x1000c77c
mov dword [esi + 0x200], eax
mov eax, dword [esi + 0x204]
xor ecx, ecx
test edi, edi
jbe 0x1000c7a0
push ebx
mov dl, byte [ecx + ebp]
and eax, 0x1ff
mov bl, byte [eax + esi]
xor bl, dl
inc ecx
mov byte [eax + esi], bl
inc eax
cmp ecx, edi
jb 0x1000c789
pop ebx
mov dword [esi + 0x204], eax
pop edi
pop esi
pop ebp
ret

Function at 0x1000c7b0
Capabilities:
Hash data using sha1

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

Disassembly:
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x98]
stosw word es:[edi], ax
test ebx, ebx
stosb byte es:[edi], al
je 0x1000f141
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x1000f141
mov esi, dword [esp + 0xa4]
test esi, 0xf00
je 0x1000f079
xor esi, 0x100
mov dword [esp + 0xa4], esi
lea edi, [ebx + 0x88]
push esi
push edi
mov dword [ebx], esi
call fcn.1000d9f0
add esp, 8
test eax, eax
jne 0x1000f146
mov edx, dword [edi]
lea ebp, [ebx + 4]
mov ecx, 0x20
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x10], edx
cmp ecx, edx
ja 0x1000f0d0
mov esi, dword [esp + 0x9c]
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xa4]
jmp 0x1000f0f4
mov edx, dword [ebx]
mov eax, dword [esp + 0x9c]
push edx
push ecx
lea ecx, [ebx + 0x84]
push eax
push ecx
push ebp
call fcn.1000dc60
add esp, 0x14
test eax, eax
jne 0x1000f146
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [ebx + 0x84], edx
test edx, edx
jbe 0x1000f10f
mov cl, byte [eax + ebp]
xor cl, 0x36
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, edx
jb 0x1000f100
add ebx, 0x90
push esi
push ebx
call fcn.1000da70
add esp, 8
test eax, eax
jne 0x1000f146
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push ebx
call fcn.1000db10
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
mov eax, 0xfffff63b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret

Function at 0x1000f190
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc4
push ebp
push esi
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
mov byte [esp + 0x50], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x51]
mov esi, dword [esp + 0xd4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test esi, esi
stosb byte es:[edi], al
je 0x1000f275
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x1000f275
mov ebp, dword [esi + 0x88]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
lea edi, [esi + 0x90]
push eax
push ecx
push edi
call fcn.1000dbc0
add esp, 0xc
test eax, eax
jne 0x1000f27a
test ebp, ebp
jbe 0x1000f218
mov dl, byte [esi + eax + 4]
xor dl, 0x5c
mov byte [esp + eax + 0x50], dl
inc eax
cmp eax, ebp
jb 0x1000f208
mov eax, dword [esi]
push eax
push edi
call fcn.1000da70
add esp, 8
test eax, eax
jne 0x1000f27a
lea ecx, [esp + 0x50]
push ebp
push ecx
push edi
call fcn.1000db10
add esp, 0xc
test eax, eax
jne 0x1000f27a
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push edi
call fcn.1000db10
add esp, 0xc
test eax, eax
jne 0x1000f27a
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xd8]
push ecx
push edx
push edi
call fcn.1000dbc0
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0xc4
ret
mov eax, 0xfffff639
pop edi
pop esi
pop ebp
add esp, 0xc4
ret