joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a580
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x100260a7
call fcn.100252dc
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
push ebx
push str.GetResource__d_
push 0x100364fc
mov edi, edx
call fcn.100097c4
add esp, 0xc
movzx eax, bx
xor esi, esi
mov dword [ebp - 4], esi
push 0xa
push eax
push dword [0x100359b8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1000a5f9
call ebx
push eax
push str.FindResource_::__d
push 0x100364fc
call fcn.100097c4
add esp, 0xc
mov ecx, 0x100364d0
push str.FindResource
push 0xc
push 2
call fcn.10009398
mov eax, dword [ebp - 0x18]
push eax
push dword [0x100359b8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push dword [0x100359b8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1000a654
call ebx
push eax
push str.LockResource_::__d
push 0x100364fc
call fcn.100097c4
add esp, 0xc
mov ecx, 0x100364d0
push 0x1002efa4
push 0xc
push 2
call fcn.10009398
mov eax, dword [ebp - 0x18]
cmp dword [ebp + 8], esi
jne 0x1000a67d
mov edx, dword [ebp - 0x1c]
mov ecx, eax
push edi
call fcn.1000cb80
pop ecx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov ebx, dword [ebp - 0x1c]
mov dword [edi + 8], esi
cmp esi, ebx
jge 0x1000a665
mov al, byte [esi + eax]
mov ecx, edi
push dword [edi + 8]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push eax
call fcn.1000b168
mov eax, dword [ebp - 0x18]
inc esi
jmp 0x1000a683
Function at 0x1000a6a7
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x100260c1
call fcn.100252dc
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, edx
push esi
mov edi, ecx
push edi
push str.SaveFileFromResource__d__s_
push 0x100364fc
call fcn.100097c4
push 0x10
pop eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x24], eax
call fcn.1000f2d4
add esp, 0x14
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ebx
push dword [ebp + 8]
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.1000a580
pop ecx
push ebx
push 0x80
push 2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 1
push 0x40000000
push esi
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000a80b
cmp dword [0x100364d0], 2
jne 0x1000a752
push esi
push str.Warning:_cannot_create_file__s
push 0x100364fc
call fcn.100097c4
push dword [ebp - 0x28]
call fcn.1000eafd
add esp, 0x10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push esi
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000a80b
mov ecx, esi
call fcn.1000abde
cmp eax, 2
jne 0x1000a7e2
call fcn.10002f60
push eax
lea ecx, [ebp - 0x18]
call fcn.10001cd2
push esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push str.Unable_to_re_create_software_component__s._n
push eax
call fcn.1000963a
add esp, 0xc
mov esi, str.Please__press_Retry_to_skip_this_error_and_continue__this_could_be_dangerous___Cancel_to_abort
push esi
call fcn.100139ae
pop ecx
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.100069c6
push dword [ebp - 0x18]
mov ecx, 0x100364d0
call fcn.1000954c
test eax, eax
jne 0x1000a834
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.10001cb7
jmp 0x1000a7ea
test eax, eax
jne 0x1000a752
push str.CreateFile
push 0xc
push 2
mov ecx, 0x100364d0
call fcn.10009398
push dword [ebp - 0x28]
call fcn.1000eafd
pop ecx
jmp 0x1000a743
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.1000a560
jmp 0x1000a7fd
push 0x100330e0
lea eax, [ebp - 0x11]
push eax
call fcn.100123d3
int3
Function at 0x1000a84c
Capabilities:
Delete file

Disassembly:
mov eax, 0x10025ab6
call fcn.100252dc
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov ebx, 0x100364fc
push esi
push str.DeleteFile__s_
push ebx
call fcn.100097c4
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
push esi
call edi
test eax, eax
jne 0x1000a945
mov ecx, esi
call fcn.1000a552
test al, al
jne 0x1000a8a0
push esi
push str.Warning:_file__s_does_not_exist
push ebx
call fcn.100097c4
add esp, 0xc
jmp 0x1000a945
cmp dword [0x100364d0], 2
jne 0x1000a91b
push esi
push str.Warning:_cannot_delete_file__s
jmp 0x1000a892
mov ecx, esi
call fcn.1000abde
mov ebx, eax
cmp ebx, 2
jne 0x1000a917
call fcn.10002f60
push eax
lea ecx, [ebp - 0x10]
call fcn.10001cd2
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push esi
push str.Unable_to_delete_software_component__s._n
push eax
call fcn.1000963a
mov ebx, str.Please__press_Retry_to_skip_this_error_and_continue__Cancel_to_abort
push ebx
call fcn.100139ae
add esp, 0x10
lea ecx, [ebp - 0x10]
push eax
push ebx
call fcn.100069c6
push dword [ebp - 0x10]
mov ecx, 0x100364d0
call fcn.1000954c
lea ecx, [ebp - 0x10]
test eax, eax
jne 0x1000a92f
or dword [ebp - 4], 0xffffffff
xor ebx, ebx
call fcn.10001cb7
test ebx, ebx
je 0x1000a936
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call edi
test eax, eax
je 0x1000a8b1
jmp 0x1000a945
call fcn.10001cb7
jmp 0x1000a945
push esi
push 0xd
push 3
mov ecx, 0x100364d0
call fcn.10009398
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x1000ab5b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1000abd9
push dword [ebp - 0x110]
push dword [ebp - 0x114]
push str.GetOS:_Returning_OS__d._d
push 0x100364fc
call fcn.100097c4
add esp, 0x10
cmp dword [ebp - 0x114], 6
jb 0x1000abd9
jne 0x1000abb1
cmp dword [ebp - 0x110], 1
jb 0x1000abd9
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x1000abd5
cmp dword [ebp - 4], 0
je 0x1000abd5
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
or eax, 0xffffffff
leave
ret
Function at 0x1000b281
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi], 0x1002ef0c
lea edi, [esi + 8]
cmp dword [0x100364d4], 3
jne 0x1000b2f7
push dword [edi]
xor eax, eax
push str.DeleteRegistryValue:__s
push 0x100364fc
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call fcn.100097c4
add esp, 0xc
xor eax, eax
cmp byte [esi + 0xc], al
mov ecx, 0x100
cmovne eax, ecx
lea ecx, [ebp - 0xc]
or eax, 0x2001f
push eax
push dword [esi + 4]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10004cc2
test eax, eax
jne 0x1000b2ef
push dword [edi]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0xc]
call fcn.10004e0a
mov ecx, edi
call fcn.10001cb7
lea ecx, [esi + 4]
call fcn.10001cb7
pop edi
mov dword [esi], 0x1002ea00
pop esi
pop ebx
leave
ret

Function at 0x1000ba3e
Capabilities:
Create directory

Disassembly:
push esi
mov esi, ecx
push esi
push str.MakeFolder__s_
push 0x100364fc
call fcn.100097c4
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1000ba70
push esi
push 0xa
push 3
mov ecx, 0x100364d0
call fcn.10009398
pop esi
ret

Function at 0x1000ba72
Capabilities:
Copy file

Disassembly:
mov eax, 0x1002616f
call fcn.100252dc
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, edx
push esi
mov edi, ecx
push edi
push str.CopyFile__s__s_
push 0x100364fc
call fcn.100097c4
and dword [ebp - 4], 0
add esp, 0x10
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1000babd
push esi
push 0xb
push 2
mov ecx, 0x100364d0
call fcn.10009398
mov ecx, esi
call fcn.1000a560
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x1000bad9
Capabilities:
Delete directory

Disassembly:
push ebx
push esi
mov esi, ecx
push esi
push str.DeleteFolder__s_
push 0x100364fc
call fcn.100097c4
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, 0x100364d0
test eax, eax
jne 0x1000bb0c
push esi
push 0xe
push 3
mov ecx, ebx
call fcn.10009398
mov ecx, esi
call fcn.1000a552
test al, al
je 0x1000bb40
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.1000a552
test al, al
je 0x1000bb40
push esi
push 0xe
push 3
mov ecx, ebx
call fcn.10009398
pop esi
pop ebx
ret

Function at 0x1000bc4d
Capabilities:
Get common file path

Disassembly:
push esi
push edi
push str.GetCurrentDirectory
mov edi, 0x100364fc
mov esi, ecx
push edi
call fcn.100097c4
pop ecx
pop ecx
mov ecx, esi
call fcn.10006ab5
push 0x1000
mov ecx, esi
call fcn.10006c7c
push eax
push 0xfff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1000bc95
push eax
push 0x10
push 1
mov ecx, 0x100364d0
call fcn.10009398
push ecx
mov ecx, esi
call fcn.1000b261
mov ecx, esi
call fcn.1000a954
push dword [esi]
push str.GetCurrentDirectory____s
push edi
call fcn.100097c4
add esp, 0xc
pop edi
pop esi
ret
Function at 0x1000bdf0
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x10026179
call fcn.100252dc
sub esp, 0x10
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, edx
push esi
push str.CreateLink__s_
mov ebx, 0x100364fc
mov edi, ecx
push ebx
call fcn.100097c4
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x10027350
push 1
push 0
push 0x10027390
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1000be57
push str.CreateLink_::_IShellLink_failed
push ebx
call fcn.100097c4
pop ecx
pop ecx
push esi
push 0x14
push 2
mov ecx, 0x100364d0
call fcn.10009398
mov eax, dword [ebp - 0x14]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push 0x100273a0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x1000be9b
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push str.CreateLink_::_IPersistFile_failed
push ebx
call fcn.100097c4
pop ecx
pop ecx
push esi
push 0x14
push 2
mov ecx, 0x100364d0
call fcn.10009398
mov eax, dword [ebp - 0x18]
push 1
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x1000bece
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x10026183
call fcn.100252dc
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push esi
push str.RunApp__s_
push 0x100364fc
call fcn.100097c4
push 0x44
pop edi
xor ebx, ebx
lea eax, [ebp - 0x68]
push edi
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.10010380
add esp, 0x18
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x3c], 0x41
push 5
pop eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push 0x200
push 1
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
je 0x1000bf65
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RunApp_failed___d_
mov edi, 0x100364fc
push edi
call fcn.100097c4
add esp, 0xc
mov ecx, 0x100364d0
push esi
push 0x15
push 2
call fcn.10009398
jmp 0x1000bf6a
mov edi, 0x100364fc
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x1000bfb2
push str.GetExitCodeProcess_failed___d_
push edi
call fcn.100097c4
pop ecx
pop ecx
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
cmp dword [ebp - 0x14], ebx
je 0x1000bf93
push dword [ebp - 0x14]
push str.Application_failed___d_
push edi
call fcn.100097c4
add esp, 0xc
mov ecx, 0x100364d0
push esi
push 0x16
push 1
call fcn.10009398
jmp 0x1000bf93
Function at 0x1000c199
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
push ebx
push str.GetSpecialFolder__d_
push 0x100364fc
call fcn.100097c4
add esp, 0xc
mov ecx, edi
call fcn.10006ab5
push 0x1000
mov ecx, edi
call fcn.10006c7c
push 0
push ebx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ecx
mov ecx, edi
mov esi, eax
call fcn.1000b261
test esi, esi
jne 0x1000c1ef
push esi
push 0x18
push 3
mov ecx, 0x100364d0
call fcn.10009398
mov ecx, edi
call fcn.1000a954
push dword [edi]
push ebx
push str.GetSpecialFolder__d_____s
push 0x100364fc
call fcn.100097c4
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x1000c20f
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
test esi, esi
je 0x1000c27f
push ebx
push edi
push str.Start_service_...
push 0x100364fc
call fcn.100097c4
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x1c]
pop ecx
pop ecx
push eax
push esi
xor ebx, ebx
call edi
cmp dword [ebp - 0x18], 1
jne 0x1000c27d
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x1000c270
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x1e
jne 0x1000c270
push 0
push 0x20
push 1
mov ecx, 0x100364d0
call fcn.10009398
lea eax, [ebp - 0x1c]
push eax
push esi
call edi
cmp dword [ebp - 0x18], 4
jne 0x1000c24f
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000c282
Capabilities:
Query service status

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
test esi, esi
je 0x1000c2f9
push ebx
push ebp
push edi
push str.Stop_service_...
push 0x100364fc
call fcn.100097c4
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [esp + 0x18]
pop ecx
pop ecx
push eax
push esi
xor edi, edi
call ebx
xor ebp, ebp
inc ebp
cmp dword [esp + 0x14], ebp
je 0x1000c2f6
lea eax, [esp + 0x10]
push eax
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
jmp 0x1000c2e8
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x1e
jne 0x1000c2e8
push 0
push 0x21
push ebp
mov ecx, 0x100364d0
call fcn.10009398
lea eax, [esp + 0x10]
push eax
push esi
call ebx
cmp dword [esp + 0x14], ebp
jne 0x1000c2c8
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x1c
ret
Function at 0x1000c506
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x100261fd
call fcn.100252dc
sub esp, 0x258
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
push dword [ebp + 8]
call fcn.100139ae
pop ecx
lea eax, [eax*2 + 0x200]
call fcn.10024dc0
mov dword [ebp - 0x10], esp
mov esi, esp
push dword [ebp + 8]
push esi
call fcn.10013df3
push esi
call fcn.100139ae
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1000c569
push 0x5c
pop eax
cmp word [esi + edi*2 - 2], ax
je 0x1000c569
mov word [esi + edi*2], ax
inc edi
xor eax, eax
mov word [esi + edi*2], ax
push 0x1003009c
push esi
call fcn.10014675
pop ecx
pop ecx
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x1000c645
xor eax, eax
test edi, edi
je 0x1000c59d
mov word [esi + edi*2 - 2], ax
jmp 0x1000c5a0
mov word [esi], ax
test edi, edi
je 0x1000c5b2
push 0x5c
pop eax
mov word [esi + edi*2 - 2], ax
xor eax, eax
mov word [esi + edi*2], ax
lea eax, [ebp - 0x234]
push eax
push esi
call fcn.10014675
test byte [ebp - 0x260], 0x10
pop ecx
pop ecx
je 0x1000c602
lea eax, [ebp - 0x234]
push 0x100300a4
push eax
call fcn.10014358
pop ecx
pop ecx
test eax, eax
je 0x1000c60a
lea eax, [ebp - 0x234]
push 0x100300a8
push eax
call fcn.10014358
pop ecx
pop ecx
test eax, eax
je 0x1000c60a
push esi
mov ecx, ebx
call fcn.1000c506
jmp 0x1000c60a
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 8]
xor eax, eax
mov word [esi + edi*2], ax
lea eax, [ebp - 0x260]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000c5b2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
test edi, edi
je 0x1000c63a
mov word [esi + edi*2 - 2], ax
jmp 0x1000c63d
mov word [esi], ax
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 4]
lea esp, [ebp - 0x270]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1000cb80
Capabilities:
Hash data with crc32

Disassembly:
mov eax, 0x10068
call fcn.10024d90
mov eax, dword [esp + 0x1006c]
push ebx
push ebp
push esi
push edi
push 4
mov dword [esp + 0x40], ecx
mov dword [esp + 0x1005c], edx
mov dword [esp + 0x44], eax
mov dword [eax + 8], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x1006c], 1
mov dword [esp + 0x10058], 0
mov dword [esp + 0x1004c], 0
mov dword [esp + 0x10048], 0
call fcn.1000f2dd
add esp, 4
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x1006c], eax
mov dword [eax], 0xffffffff
call fcn.1000cc90
mov dword [esp + 0x38], eax
cmp eax, 8
jne 0x1000cc15
lea ecx, [esp + 0x28]
call fcn.1000e6c0
mov edi, dword [esp + 0x10054]
xor esi, esi
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1006c]
mov ebp, dword [esp + 0x10058]
lea edx, [edi + eax]
cmp edi, ebp
jae 0x1000cc62
test edx, edx
jne 0x1000cc46
or ecx, 0xffffffff
inc edi
mov dword [ebx], ecx
mov al, byte [edx]
inc edx
jmp 0x1000cc64
movzx eax, byte [edx]
inc edi
mov ecx, dword [ebx]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x1002d1c0]
mov dword [ebx], ecx
mov al, byte [edx]
inc edx
jmp 0x1000cc64
or al, 0xff
inc esi
cmp esi, 8
jl 0x1000cc33
test ebx, ebx
je 0x1000cc79
push 4
push ebx
call fcn.1000eaef
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10068
ret

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

Disassembly:
mov edx, dword [esp + 4]
push edi
mov edi, ecx
test edx, edx
jne 0x1000ce16
or eax, 0xffffffff
mov dword [edi], eax
not eax
pop edi
ret 8
mov eax, dword [edi]
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1000ce3b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1002d1c0]
sub esi, 1
jne 0x1000ce21
pop esi
mov dword [edi], eax
not eax
pop edi
ret 8

Function at 0x1000ce50
Capabilities:
Hash data with crc32

Disassembly:
mov edx, ecx
mov ecx, dword [edx + 0x1002c]
cmp ecx, dword [edx + 0x10030]
jae 0x1000cead
mov eax, dword [edx + 0x14]
push esi
mov esi, dword [edx + 0x10044]
add eax, ecx
jne 0x1000ce73
or ecx, 0xffffffff
jmp 0x1000ce87
movzx eax, byte [eax]
mov ecx, dword [esi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x1002d1c0]
mov dword [esi], ecx
not ecx
mov eax, dword [edx + 0x14]
inc dword [edx + 0x1001c]
mov dword [edx + 0x10048], ecx
mov ecx, dword [edx + 0x1002c]
pop esi
movzx eax, byte [eax + ecx]
inc ecx
mov dword [edx + 0x1002c], ecx
ret
or eax, 0xffffffff
ret
Function at 0x1000d9d0
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 4]
mov ecx, edi
mov ebx, dword [esi]
and ecx, 7
mov eax, dword [esi + 0x10038]
sub edi, ecx
shr ebx, cl
mov dword [esp + 0x10], eax
cmp edi, 0x10
jae 0x1000da71
nop word [eax + eax]
mov eax, dword [esi + 0x1002c]
cmp eax, dword [esi + 0x10030]
jae 0x1000da5d
mov edx, dword [esi + 0x14]
mov ebp, dword [esi + 0x10044]
add edx, eax
jne 0x1000da20
or ecx, 0xffffffff
jmp 0x1000da35
mov ecx, dword [ebp]
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x1002d1c0]
mov dword [ebp], ecx
not ecx
mov eax, dword [esi + 0x14]
inc dword [esi + 0x1001c]
mov dword [esi + 0x10048], ecx
mov ecx, dword [esi + 0x1002c]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov dword [esi + 0x1002c], eax
jmp 0x1000da60
or dl, 0xff
mov ecx, edi
movzx eax, dl
shl eax, cl
add edi, 8
or ebx, eax
cmp edi, 0x10
jb 0x1000da00
movzx ebp, bx
sub edi, 0x10
shr ebx, 0x10
mov dword [esp + 0x14], ebp
cmp edi, 0x10
jae 0x1000db05
nop word [eax + eax]
mov eax, dword [esi + 0x1002c]
cmp eax, dword [esi + 0x10030]
jae 0x1000daed
mov edx, dword [esi + 0x14]
mov ebp, dword [esi + 0x10044]
add edx, eax
jne 0x1000dab0
or ecx, 0xffffffff
jmp 0x1000dac5
mov ecx, dword [ebp]
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x1002d1c0]
mov dword [ebp], ecx
not ecx
mov eax, dword [esi + 0x14]
inc dword [esi + 0x1001c]
mov dword [esi + 0x10048], ecx
mov ecx, dword [esi + 0x1002c]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov dword [esi + 0x1002c], eax
jmp 0x1000daf0
or dl, 0xff
mov ecx, edi
movzx eax, dl
shl eax, cl
add edi, 8
or ebx, eax
cmp edi, 0x10
jb 0x1000da90
mov ebp, dword [esp + 0x14]
mov eax, ebx
not eax
movzx eax, ax
cmp ebp, eax
je 0x1000db1d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
shr ebx, 0x10
sub edi, 0x10
test ebp, ebp
je 0x1000dbec
nop dword [eax + eax]
dec ebp
mov dword [esp + 0x14], ebp
cmp edi, 8
jae 0x1000dbb5
nop word [eax + eax]
mov eax, dword [esi + 0x1002c]
cmp eax, dword [esi + 0x10030]
jae 0x1000db9d
mov edx, dword [esi + 0x14]
mov ebp, dword [esi + 0x10044]
add edx, eax
jne 0x1000db60
or ecx, 0xffffffff
jmp 0x1000db75
mov ecx, dword [ebp]
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x1002d1c0]
mov dword [ebp], ecx
not ecx
mov eax, dword [esi + 0x14]
inc dword [esi + 0x1001c]
mov dword [esi + 0x10048], ecx
mov ecx, dword [esi + 0x1002c]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov dword [esi + 0x1002c], eax
jmp 0x1000dba0
or dl, 0xff
mov ecx, edi
movzx eax, dl
shl eax, cl
add edi, 8
or ebx, eax
cmp edi, 8
jb 0x1000db40
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov byte [esi + eax + 0x1c], bl
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x8000
jne 0x1000dbde
mov ecx, esi
mov dword [esi + 0x10038], eax
call fcn.1000cec0
mov dword [esp + 0x10], 0
shr ebx, 8
sub edi, 8
test ebp, ebp
jne 0x1000db30
mov eax, dword [esp + 0x10]
mov dword [esi + 4], edi
pop edi
mov dword [esi + 0x10038], eax
xor eax, eax
mov dword [esi], ebx
pop esi
pop ebp
pop ebx
add esp, 8
ret