joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a6ab
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.100097c8
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.1000a584
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 0x1000a80f
cmp dword [0x100364d0], 2
jne 0x1000a756
push esi
push str.Warning:_cannot_create_file__s
push 0x100364fc
call fcn.100097c8
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 0x1000a80f
mov ecx, esi
call fcn.1000abe2
cmp eax, 2
jne 0x1000a7e6
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.1000963e
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.100069ca
push dword [ebp - 0x18]
mov ecx, 0x100364d0
call fcn.10009550
test eax, eax
jne 0x1000a838
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.10001cb7
jmp 0x1000a7ee
test eax, eax
jne 0x1000a756
push str.CreateFile
push 0xc
push 2
mov ecx, 0x100364d0
call fcn.1000939c
push dword [ebp - 0x28]
call fcn.1000eafd
pop ecx
jmp 0x1000a747
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.1000a564
jmp 0x1000a801
push 0x10033170
lea eax, [ebp - 0x11]
push eax
call fcn.100123d3
int3
Function at 0x1000a850
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.100097c8
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
push esi
call edi
test eax, eax
jne 0x1000a949
mov ecx, esi
call fcn.1000a556
test al, al
jne 0x1000a8a4
push esi
push str.Warning:_file__s_does_not_exist
push ebx
call fcn.100097c8
add esp, 0xc
jmp 0x1000a949
cmp dword [0x100364d0], 2
jne 0x1000a91f
push esi
push str.Warning:_cannot_delete_file__s
jmp 0x1000a896
mov ecx, esi
call fcn.1000abe2
mov ebx, eax
cmp ebx, 2
jne 0x1000a91b
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.1000963e
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.100069ca
push dword [ebp - 0x10]
mov ecx, 0x100364d0
call fcn.10009550
lea ecx, [ebp - 0x10]
test eax, eax
jne 0x1000a933
or dword [ebp - 4], 0xffffffff
xor ebx, ebx
call fcn.10001cb7
test ebx, ebx
je 0x1000a93a
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call edi
test eax, eax
je 0x1000a8b5
jmp 0x1000a949
call fcn.10001cb7
jmp 0x1000a949
push esi
push 0xd
push 3
mov ecx, 0x100364d0
call fcn.1000939c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x1000ab5f
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 0x1000abdd
push dword [ebp - 0x110]
push dword [ebp - 0x114]
push str.GetOS:_Returning_OS__d._d
push 0x100364fc
call fcn.100097c8
add esp, 0x10
cmp dword [ebp - 0x114], 6
jb 0x1000abdd
jne 0x1000abb5
cmp dword [ebp - 0x110], 1
jb 0x1000abdd
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 0x1000abd9
cmp dword [ebp - 4], 0
je 0x1000abd9
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
or eax, 0xffffffff
leave
ret
Function at 0x1000b285
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], 0x1002ef9c
lea edi, [esi + 8]
cmp dword [0x100364d4], 3
jne 0x1000b2fb
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.100097c8
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 0x1000b2f3
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], 0x1002ea34
pop esi
pop ebx
leave
ret

Function at 0x1000ba42
Capabilities:
Create directory

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

Function at 0x1000ba76
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.100097c8
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 0x1000bac1
push esi
push 0xb
push 2
mov ecx, 0x100364d0
call fcn.1000939c
mov ecx, esi
call fcn.1000a564
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x1000badd
Capabilities:
Delete directory

Disassembly:
push ebx
push esi
mov esi, ecx
push esi
push str.DeleteFolder__s_
push 0x100364fc
call fcn.100097c8
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, 0x100364d0
test eax, eax
jne 0x1000bb10
push esi
push 0xe
push 3
mov ecx, ebx
call fcn.1000939c
mov ecx, esi
call fcn.1000a556
test al, al
je 0x1000bb44
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.1000a556
test al, al
je 0x1000bb44
push esi
push 0xe
push 3
mov ecx, ebx
call fcn.1000939c
pop esi
pop ebx
ret

Function at 0x1000bc51
Capabilities:
Get common file path

Disassembly:
push esi
push edi
push str.GetCurrentDirectory
mov edi, 0x100364fc
mov esi, ecx
push edi
call fcn.100097c8
pop ecx
pop ecx
mov ecx, esi
call fcn.10006ab9
push 0x1000
mov ecx, esi
call fcn.10006c80
push eax
push 0xfff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1000bc99
push eax
push 0x10
push 1
mov ecx, 0x100364d0
call fcn.1000939c
push ecx
mov ecx, esi
call fcn.1000b265
mov ecx, esi
call fcn.1000a958
push dword [esi]
push str.GetCurrentDirectory____s
push edi
call fcn.100097c8
add esp, 0xc
pop edi
pop esi
ret
Function at 0x1000bdf4
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.100097c8
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 0x1000be5b
push str.CreateLink_::_IShellLink_failed
push ebx
call fcn.100097c8
pop ecx
pop ecx
push esi
push 0x14
push 2
mov ecx, 0x100364d0
call fcn.1000939c
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 0x1000be9f
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push str.CreateLink_::_IPersistFile_failed
push ebx
call fcn.100097c8
pop ecx
pop ecx
push esi
push 0x14
push 2
mov ecx, 0x100364d0
call fcn.1000939c
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 0x1000bed2
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.100097c8
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 0x1000bf69
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RunApp_failed___d_
mov edi, 0x100364fc
push edi
call fcn.100097c8
add esp, 0xc
mov ecx, 0x100364d0
push esi
push 0x15
push 2
call fcn.1000939c
jmp 0x1000bf6e
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 0x1000bfb6
push str.GetExitCodeProcess_failed___d_
push edi
call fcn.100097c8
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 0x1000bf97
push dword [ebp - 0x14]
push str.Application_failed___d_
push edi
call fcn.100097c8
add esp, 0xc
mov ecx, 0x100364d0
push esi
push 0x16
push 1
call fcn.1000939c
jmp 0x1000bf97
Function at 0x1000c19d
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.100097c8
add esp, 0xc
mov ecx, edi
call fcn.10006ab9
push 0x1000
mov ecx, edi
call fcn.10006c80
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.1000b265
test esi, esi
jne 0x1000c1f3
push esi
push 0x18
push 3
mov ecx, 0x100364d0
call fcn.1000939c
mov ecx, edi
call fcn.1000a958
push dword [edi]
push ebx
push str.GetSpecialFolder__d_____s
push 0x100364fc
call fcn.100097c8
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x1000c213
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
test esi, esi
je 0x1000c283
push ebx
push edi
push str.Start_service_...
push 0x100364fc
call fcn.100097c8
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 0x1000c281
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x1000c274
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x1e
jne 0x1000c274
push 0
push 0x20
push 1
mov ecx, 0x100364d0
call fcn.1000939c
lea eax, [ebp - 0x1c]
push eax
push esi
call edi
cmp dword [ebp - 0x18], 4
jne 0x1000c253
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000c286
Capabilities:
Query service status

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
test esi, esi
je 0x1000c2fd
push ebx
push ebp
push edi
push str.Stop_service_...
push 0x100364fc
call fcn.100097c8
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 0x1000c2fa
lea eax, [esp + 0x10]
push eax
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
jmp 0x1000c2ec
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x1e
jne 0x1000c2ec
push 0
push 0x21
push ebp
mov ecx, 0x100364d0
call fcn.1000939c
lea eax, [esp + 0x10]
push eax
push esi
call ebx
cmp dword [esp + 0x14], ebp
jne 0x1000c2cc
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x1c
ret
Function at 0x1000c50a
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 0x1000c56d
push 0x5c
pop eax
cmp word [esi + edi*2 - 2], ax
je 0x1000c56d
mov word [esi + edi*2], ax
inc edi
xor eax, eax
mov word [esi + edi*2], ax
push 0x1003012c
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 0x1000c649
xor eax, eax
test edi, edi
je 0x1000c5a1
mov word [esi + edi*2 - 2], ax
jmp 0x1000c5a4
mov word [esi], ax
test edi, edi
je 0x1000c5b6
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 0x1000c606
lea eax, [ebp - 0x234]
push 0x10030134
push eax
call fcn.10014358
pop ecx
pop ecx
test eax, eax
je 0x1000c60e
lea eax, [ebp - 0x234]
push 0x10030138
push eax
call fcn.10014358
pop ecx
pop ecx
test eax, eax
je 0x1000c60e
push esi
mov ecx, ebx
call fcn.1000c50a
jmp 0x1000c60e
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 0x1000c5b6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
test edi, edi
je 0x1000c63e
mov word [esi + edi*2 - 2], ax
jmp 0x1000c641
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 + 0x1002d1d0]
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 + 0x1002d1d0]
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 + 0x1002d1d0]
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 + 0x1002d1d0]
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 + 0x1002d1d0]
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 + 0x1002d1d0]
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
Function at 0x1000e880
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebp, ecx
mov esi, dword [edi]
cmp dword [esi - 0xc], 0
lea edx, [esi - 0x10]
mov ebx, dword [edx]
je 0x1000e903
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x1000e8bd
cmp dword [esi - 8], 0
jl 0x1000e9bc
mov dword [esi - 0xc], 0
xor ecx, ecx
mov eax, dword [edi]
mov word [eax], cx
mov esi, dword [edi]
jmp 0x1000e903
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000e8ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, 0x1002ce7c
jne 0x1000e9c6
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebx]
cmp eax, 0x1002ce7c
jne 0x1000e9cd
lock inc dword [ebx + 0x14]
lea eax, [ebx + 8]
lea esi, [eax + 0x10]
mov dword [edi], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x800
or ecx, eax
jge 0x1000e925
push 0x800
mov ecx, edi
call fcn.10006c2e
mov esi, dword [edi]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x1000
push eax
push esi
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x2c]
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x1000e98a
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x1000e962
cmp eax, 2
je 0x1000e962
mov ebx, 0xd
jmp 0x1000e98a
test esi, esi
je 0x1000e988
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000e983
test al, 1
jne 0x1000e97c
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x1000e988
mov ebx, 0xd
jmp 0x1000e98a
xor eax, eax
mov word [esi], ax
xor ebx, ebx
mov eax, dword [edi]
test eax, eax
je 0x1000e9a0
push dword [eax - 8]
push eax
call fcn.100141a1
add esp, 8
test eax, eax
js 0x1000e9bc
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x1000e9bc
mov dword [ecx - 0xc], eax
xor edx, edx
mov ecx, dword [edi]
pop edi
pop esi
pop ebp
mov word [ecx + eax*2], dx
mov eax, ebx
pop ebx
pop ecx
ret 8
push 0x80070057
call fcn.10004b8e
call esi
jmp 0x1000e8ea
mov ecx, ebx
call dword [eax + 0xc]
jmp 0x1000e8fe