joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ded0
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov dword [esp], esi
call sym._strlen
mov ebx, eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x41]
lea ecx, [ebx + 0x31]
shr eax, 4
mov dword [ebp - 0x20], ecx
shl eax, 4
call fcn.0040cb90
mov edx, 0x326d
sub esp, eax
lea eax, [esp + 0x1b]
mov dword [esp + 8], ebx
lea edi, [esp + 0xc]
mov dword [esp + 4], esi
mov dword [esp], eax
mov word [esp + 0x18], dx
mov dword [esp + 0xc], 0x2d636367
mov dword [esp + 0x10], 0x656d6873
mov dword [esp + 0x14], 0x64742d6d
mov byte [esp + 0x1a], 0x2d
call sym._memcpy
lea eax, [ebx + 0x10]
add eax, edi
mov dword [eax], 0x61616161
mov dword [eax + 4], 0x61616161
mov dword [eax + 8], 0x61616161
mov dword [eax + 0xc], 0x61616161
mov dword [eax + 0x10], 0x61616161
mov dword [eax + 0x14], 0x61616161
mov dword [eax + 0x18], 0x61616161
mov dword [eax + 0x1c], 0x61616161
mov byte [esp + ebx + 0x3c], 0
mov byte [esp + ebx + 0x1b], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [edi + ebx + 0xf], 0x2d
sub esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
je 0x40dfc4
int3
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
sub esp, 4
test ax, ax
je 0x40e010
mov ecx, dword [ebp - 0x1c]
movzx eax, ax
mov edx, edi
mov dword [esp], ecx
mov ecx, dword [ebp - 0x20]
call dbg.get_ptr_from_atom
mov ebx, eax
mov edi, dword [ebp - 0x24]
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
sub esp, 4
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
add ebx, edi
mov dword [esp], eax
call sym._malloc
mov edx, 0x20
mov esi, eax
lea esi, [esi]
bt esi, edx
jae 0x40e036
mov eax, edx
neg eax
mov byte [ebx + eax + 0x30], 0x41
sub edx, 1
jne 0x40e028
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_AddAtomA]
sub esp, 4
test ax, ax
jne 0x40e04d
int3
mov ecx, dword [ebp - 0x1c]
movzx eax, ax
mov edx, edi
mov dword [esp], ecx
mov ecx, dword [ebp - 0x20]
call dbg.get_ptr_from_atom
mov ebx, eax
cmp esi, eax
je 0x40e073
mov dword [esp], esi
call sym._free
jmp 0x40dfea
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._memset
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40dfea
mov dword [esp], ebx
call dword [ebp + 0x10]
jmp 0x40dfea
Function at 0x41b6d0
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
sub esp, 0x18
mov ebx, dword [0x4daef4]
test ebx, ebx
je 0x41b700
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [ebx], eax
mov eax, dword [0x4daef4]
test eax, eax
je 0x41b728
cmp dword [eax], 0xffffffff
je sym._pthread_tls_init.cold
add esp, 0x18
pop ebx
ret
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4daef4], eax
mov ebx, eax
jmp 0x41b6de
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4daef4], eax
jmp 0x41b6ef

Function at 0x41bbd0
Capabilities:
Print debug messages

Disassembly:
test eax, eax
je 0x41bc00
push edi
push esi
push ebx
mov ebx, eax
add esp, 0xffffff80
mov dword [esp], eax
call sym._pthread_spin_destroy
cmp eax, 1
je 0x41bc01
mov dword [ebx], 0xffffffff
sub esp, 0xffffff80
pop ebx
pop esi
pop edi
ret
ret
lea ebx, [esp + 0x15]
xor eax, eax
mov esi, str.Error_cleaning_up_spin_keys_for_thread
mov ecx, 0xa
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x3d]
mov ecx, 0x43
rep stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edx, [esp + 0x3c]
mov dword [esp + 8], 0xa
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__ultoa]
cmp byte [esp + 0x3c], 0
mov eax, 0x27
jne 0x41bc55
jmp 0x41bc63
cmp eax, 0x6a
je 0x41bc6d
add eax, 1
cmp byte [ebx + eax], 0
jne 0x41bc50
cmp eax, 0x6a
je 0x41bc6d
mov byte [esp + eax + 0x15], 0xa
mov byte [esp + eax + 0x16], 0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call sym._abort
lea esi, [esi]
Function at 0x41bc80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x4daef8]
test eax, eax
je 0x41bde8
cmp dword [eax], 1
je 0x41bc9e
call sym.__pthread_once_raw.part.0.constprop.0
mov eax, dword [0x4daef4]
test eax, eax
je 0x41be10
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41bcd0
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sym._pop_pthread_mem
mov esi, eax
mov eax, dword [entry3]
test eax, eax
je 0x41bcbf
test esi, esi
je 0x41bcbf
mov dword [esi + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x3c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x18], eax
sub esp, 0x10
lea eax, [esi + 0x38]
call sym._replace_spin_keys.constprop.0
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esi + 0x64], 0
mov dword [esi + 0x14], 0
call ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ebx, eax
call ebp
lea edx, [esi + 0x14]
mov dword [esp + 8], edi
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
je sym.___pthread_self_lite.cold
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], eax
movzx eax, byte [esi + 0x20]
sub esp, 4
and eax, 0xffffffcf
or eax, 0x10
mov byte [esi + 0x20], al
mov eax, dword [0x4daef4]
test eax, eax
je 0x41be40
mov dword [esp + 4], esi
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je sym.___pthread_self_lite.cold
add esp, 0x2c
mov ebx, esi
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_once_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4daef8], eax
jmp 0x41bc94
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4daef4], eax
jmp 0x41bcab
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4daef4], eax
jmp 0x41bdbe
Function at 0x41d8e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call sym.___pthread_self_lite
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x41d902
call sym.__pthread_cleanup_dest.part.0
test byte [ebx + 0x20], 0x30
je 0x41d964
mov eax, dword [0x4daef4]
test eax, eax
je 0x41d9eb
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41d95b
cmp dword [ebx + 0x14], 0
mov eax, dword [eax + 0x18]
je 0x41d9bb
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x41d94e
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov dword [ebx + 0x18], 0
test byte [ebx + 0x24], 4
jne 0x41d978
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
cmp dword [ebx + 0xb0], 0
mov dword [ebx + 0x14], 0
je 0x41d9e2
mov eax, dword [0x4daef4]
test eax, eax
je 0x41da11
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push eax
push eax
jmp 0x41d95b
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x41d9cf
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
cmp dword [ebx + 0xb0], 0
mov esi, dword [ebx + 4]
mov dword [ebx + 0x18], 0
jne 0x41d99b
mov eax, ebx
call sym._push_pthread_mem.part.0
jmp 0x41d99b
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4daef4], eax
jmp 0x41d915
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4daef4], eax
jmp 0x41d9a4
Function at 0x41f400
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov dword [esp], esi
call sym._strlen
mov ebx, eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x40]
lea ecx, [ebx + 0x30]
shr eax, 4
mov dword [ebp - 0x20], ecx
shl eax, 4
call fcn.0040cb90
mov edx, 0x326d
sub esp, eax
lea eax, [esp + 0x1b]
mov dword [esp + 8], ebx
lea edi, [esp + 0xc]
mov dword [esp + 4], esi
mov dword [esp], eax
mov word [esp + 0x18], dx
mov dword [esp + 0xc], 0x2d636367
mov dword [esp + 0x10], 0x656d6873
mov dword [esp + 0x14], 0x64742d6d
mov byte [esp + 0x1a], 0x2d
call sym._memcpy
lea eax, [ebx + 0x10]
add eax, edi
mov dword [eax], 0x61616161
mov dword [eax + 4], 0x61616161
mov dword [eax + 8], 0x61616161
mov dword [eax + 0xc], 0x61616161
mov dword [eax + 0x10], 0x61616161
mov dword [eax + 0x14], 0x61616161
mov dword [eax + 0x18], 0x61616161
mov dword [eax + 0x1c], 0x61616161
mov byte [esp + ebx + 0x3c], 0
mov byte [esp + ebx + 0x1b], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [edi + ebx + 0xf], 0x2d
sub esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
je 0x41f4f4
int3
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
sub esp, 4
test ax, ax
je 0x41f540
mov ecx, dword [ebp - 0x1c]
movzx eax, ax
mov edx, edi
mov dword [esp], ecx
mov ecx, dword [ebp - 0x20]
call sym._get_ptr_from_atom_1
mov ebx, eax
mov edi, dword [ebp - 0x24]
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
sub esp, 4
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
add ebx, edi
mov dword [esp], eax
call sym._malloc
mov edx, 0x20
mov esi, eax
lea esi, [esi]
bt esi, edx
jae 0x41f566
mov eax, edx
neg eax
mov byte [ebx + eax + 0x30], 0x41
sub edx, 1
jne 0x41f558
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_AddAtomA]
sub esp, 4
test ax, ax
jne 0x41f57d
int3
mov ecx, dword [ebp - 0x1c]
movzx eax, ax
mov edx, edi
mov dword [esp], ecx
mov ecx, dword [ebp - 0x20]
call sym._get_ptr_from_atom_1
mov ebx, eax
cmp esi, eax
je 0x41f5a3
mov dword [esp], esi
call sym._free
jmp 0x41f51a
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._memset
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41f51a
mov dword [esp], ebx
call dword [ebp + 0x10]
jmp 0x41f51a
Function at 0x10002bd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], 0
test byte [0x10017028], 8
je 0x10002c2c
sub esp, 0x20
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x1001169d
mov dword [esp + 8], str.opc_filestream_Read
mov dword [esp], 3
mov ebx, ecx
call sym._wine_dbg_log_1
mov ecx, ebx
mov eax, dword [ebp + 8]
add esp, 0x20
test edi, edi
lea ebx, [ebp - 0x10]
cmovne ebx, edi
mov dword [ebx], 0
push 0
push ebx
push esi
push ecx
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x10002c55
xor eax, eax
cmp dword [ebx], esi
setne al
jmp 0x10002ca3
test byte [0x10017028], 4
je 0x10002c8d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
sub esp, 0x14
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_read_file__error__ld._n
mov dword [esp + 8], str.opc_filestream_Read
mov dword [esp], 2
call sym._wine_dbg_log_1
add esp, 0x14
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x34]
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 0x10

Function at 0x10002cb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], 0
test byte [0x10017028], 8
je 0x10002d08
sub esp, 0x20
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x1001169d
mov dword [esp + 8], str.opc_filestream_Write
mov dword [esp], 3
call sym._wine_dbg_log_1
mov ecx, dword [ebp + 8]
add esp, 0x20
test esi, esi
lea eax, [ebp - 0x10]
cmovne eax, esi
mov dword [eax], 0
push 0
push eax
push ebx
push edi
push dword [ecx + 8]
call dword [sym.imp.kernel32.dll_WriteFile]
mov ecx, eax
xor eax, eax
test ecx, ecx
jne 0x10002d7a
test byte [0x10017028], 4
je 0x10002d64
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
sub esp, 0x14
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_write_to_file__error__ld._n
mov dword [esp + 8], str.opc_filestream_Write
mov dword [esp], 2
call sym._wine_dbg_log_1
add esp, 0x14
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x34]
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x10008e66
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [ebp + 8]
mov eax, 0xfffffffe
test edi, edi
je case.0x10008e5f.58
cmp dword [edi + 0x20], 0
je case.0x10008e5f.58
cmp dword [edi + 0x24], 0
je case.0x10008e5f.58
mov esi, dword [edi + 0x1c]
test esi, esi
je case.0x10008e5f.58
cmp dword [esi], edi
je 0x10008e54
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 4]
lea edx, [ecx - 0x39]
cmp edx, 0x38
ja case.default.0x10008e5f
jmp dword [edx*4 + 0x10013304]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je case.0x10008e5f.58
mov edx, dword [esi + 0x18]
cmp edx, 2
je case.0x10008e5f.58
cmp edx, 1
jne 0x10008ebd
cmp ecx, 0x2a
jne case.0x10008e5f.58
cmp dword [esi + 0x74], 0
jne case.0x10008e5f.58
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
push eax
push ebx
push dword [edi + 0x30]
call dbg.adler32
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi + 0x30], eax
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x2c]
cmp eax, ecx
jbe 0x10008f1c
jmp 0x10008f22
cmp ecx, 0x29a
je case.0x10008e5f.57
cmp ecx, 0x2a
jne case.0x10008e5f.58
jmp case.0x10008e5f.57
cmp dword [esi + 0x74], 0
jne case.0x10008e5f.58
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
mov dword [ebp - 0x10], edx
ja 0x10008f22
test edx, edx
jne 0x10008f1c
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x4c]
mov word [eax + ecx*2 - 2], 0
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push dword [esi + 0x44]
call dbg.zmemzero
mov ecx, dword [ebp + 0x10]
add esp, 8
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x16b4], 0
mov eax, dword [esi + 0x2c]
sub ecx, eax
add ebx, ecx
mov ecx, eax
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov dword [edi + 4], ecx
mov dword [edi], ebx
mov ecx, esi
call dbg.fill_window
mov eax, dword [esi + 0x74]
cmp eax, 3
jb 0x10008fa3
mov edx, dword [esi + 0x6c]
add eax, 0xfffffffe
nop word [eax + eax]
mov ebx, dword [esi + 0x48]
movzx ecx, byte [esi + 0x58]
shl ebx, cl
mov ecx, dword [esi + 0x38]
movzx ecx, byte [ecx + edx + 2]
xor ecx, ebx
and ecx, dword [esi + 0x54]
mov ebx, dword [esi + 0x40]
mov dword [esi + 0x48], ecx
mov edi, dword [esi + 0x44]
movzx ecx, word [edi + ecx*2]
mov edi, dword [esi + 0x34]
and edi, edx
mov word [ebx + edi*2], cx
mov ecx, dword [esi + 0x44]
mov edi, dword [esi + 0x48]
mov word [ecx + edi*2], dx
inc edx
dec eax
jne 0x10008f50
mov dword [esi + 0x6c], edx
mov dword [esi + 0x74], 2
mov ecx, esi
call dbg.fill_window
mov eax, dword [esi + 0x74]
cmp eax, 2
ja 0x10008f41
mov ecx, dword [esi + 0x6c]
add ecx, eax
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x16b4], eax
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x18], eax
xor eax, eax
jmp case.0x10008e5f.58
Function at 0x1000c380
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.ucrtbase.dll_strlen]
add esp, 4
test eax, eax
je 0x1000c3cd
mov esi, eax
xor eax, eax
cmp byte [edi + esi - 1], 0xa
je 0x1000c3aa
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov ecx, 0x1001711c
lock xchg dword [ecx], eax
push 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
add esp, 4
push eax
push esi
push 1
push edi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
jmp 0x1000c3cf
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x1000d070
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dbg.adler32_z

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dbg.crc32_z

Function at 0x1000d370
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ebp + 0x10]
mov esi, 0x80000000
test eax, eax
je 0x1000d405
mov edi, 3
mov edx, 0x80000000
jmp 0x1000d3b4
mov esi, edx
mov ecx, dword [ebp - 0x14]
mov eax, ecx
sar eax, 1
mov edi, dword [ebp - 0x10]
inc edi
mov edx, esi
cmp ecx, 1
jbe 0x1000d405
mov dword [ebp - 0x14], eax
test al, 1
mov dword [ebp - 0x10], edi
je 0x1000d3a0
mov eax, edi
and eax, 0x1f
mov edi, dword [eax*4 + 0x100143e8]
xor esi, esi
mov eax, 0x80000000
jmp 0x1000d3f6
shr eax, 1
mov ebx, edx
shr ebx, 1
mov ecx, ebx
xor ecx, 0xedb88320
test dl, 1
cmove ecx, ebx
mov edx, ecx
test eax, edi
je 0x1000d3e0
xor esi, edx
lea ecx, [eax - 1]
test ecx, edi
jne 0x1000d3e0
jmp 0x1000d3a2
mov ebx, dword [ebp + 8]
xor eax, eax
mov ecx, 0x80000000
jmp 0x1000d436
shr ecx, 1
mov edx, ebx
shr edx, 1
mov edi, edx
xor edi, 0xedb88320
test bl, 1
cmove edi, edx
mov ebx, edi
test ecx, esi
je 0x1000d420
xor eax, ebx
lea edx, [ecx - 1]
test edx, esi
jne 0x1000d420
xor eax, dword [ebp + 0xc]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1000d450
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ebp + 0x10]
mov esi, 0x80000000
test eax, eax
je 0x1000d4e5
mov edi, 3
mov edx, 0x80000000
jmp 0x1000d494
mov esi, edx
mov ecx, dword [ebp - 0x14]
mov eax, ecx
sar eax, 1
mov edi, dword [ebp - 0x10]
inc edi
mov edx, esi
cmp ecx, 1
jbe 0x1000d4e5
mov dword [ebp - 0x14], eax
test al, 1
mov dword [ebp - 0x10], edi
je 0x1000d480
mov eax, edi
and eax, 0x1f
mov edi, dword [eax*4 + 0x100143e8]
xor esi, esi
mov eax, 0x80000000
jmp 0x1000d4d6
shr eax, 1
mov ebx, edx
shr ebx, 1
mov ecx, ebx
xor ecx, 0xedb88320
test dl, 1
cmove ecx, ebx
mov edx, ecx
test eax, edi
je 0x1000d4c0
xor esi, edx
lea ecx, [eax - 1]
test ecx, edi
jne 0x1000d4c0
jmp 0x1000d482
mov ebx, dword [ebp + 8]
xor eax, eax
mov ecx, 0x80000000
jmp 0x1000d516
shr ecx, 1
mov edx, ebx
shr edx, 1
mov edi, edx
xor edi, 0xedb88320
test bl, 1
cmove edi, edx
mov ebx, edi
test ecx, esi
je 0x1000d500
xor eax, ebx
lea edx, [ecx - 1]
test edx, esi
jne 0x1000d500
xor eax, dword [ebp + 0xc]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000d530
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1000d5b5
mov edi, 3
mov edx, 0x80000000
jmp 0x1000d564
mov eax, edx
mov esi, dword [ebp - 0x14]
mov ecx, esi
sar ecx, 1
mov edi, dword [ebp - 0x10]
inc edi
mov edx, eax
cmp esi, 1
jbe 0x1000d5ba
mov dword [ebp - 0x14], ecx
test cl, 1
mov dword [ebp - 0x10], edi
je 0x1000d550
mov eax, edi
and eax, 0x1f
mov esi, dword [eax*4 + 0x100143e8]
xor eax, eax
mov edi, 0x80000000
jmp 0x1000d5a6
shr edi, 1
mov ebx, edx
shr ebx, 1
mov ecx, ebx
xor ecx, 0xedb88320
test dl, 1
cmove ecx, ebx
mov edx, ecx
test edi, esi
je 0x1000d590
xor eax, edx
lea ecx, [edi - 1]
test ecx, esi
jne 0x1000d590
jmp 0x1000d552
mov eax, 0x80000000
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1000d5d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1000d655
mov edi, 3
mov edx, 0x80000000
jmp 0x1000d604
mov eax, edx
mov esi, dword [ebp - 0x14]
mov ecx, esi
sar ecx, 1
mov edi, dword [ebp - 0x10]
inc edi
mov edx, eax
cmp esi, 1
jbe 0x1000d65a
mov dword [ebp - 0x14], ecx
test cl, 1
mov dword [ebp - 0x10], edi
je 0x1000d5f0
mov eax, edi
and eax, 0x1f
mov esi, dword [eax*4 + 0x100143e8]
xor eax, eax
mov edi, 0x80000000
jmp 0x1000d646
shr edi, 1
mov ebx, edx
shr ebx, 1
mov ecx, ebx
xor ecx, 0xedb88320
test dl, 1
cmove ecx, ebx
mov edx, ecx
test edi, esi
je 0x1000d630
xor eax, edx
lea ecx, [edi - 1]
test ecx, esi
jne 0x1000d630
jmp 0x1000d5f2
mov eax, 0x80000000
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret