joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e758
Capabilities:
Get thread local storage value

Disassembly:
push esi
push dword [0x1005a03c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 8]
mov esi, eax
mov eax, dword [esi + 4]
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0xc]
push 0xc
mov dword [eax], ecx
call fcn.1002e93e
pop ecx
mov ecx, dword [esi + 4]
mov dword [ecx + 8], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov dword [esi + 4], eax
and dword [eax + 8], 0
pop esi
ret

Function at 0x1000e7e8
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
push dword [0x1005a03c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor edi, edi
jmp 0x1000e843
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x248]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
shl eax, 4
add eax, edx
shl ecx, 4
add ecx, edx
mov edx, dword [eax]
mov dword [ecx], edx
mov dx, word [eax + 4]
mov word [ecx + 4], dx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push eax
mov dword [esi], ecx
call fcn.1002e84a
pop ecx
mov eax, dword [esi]
cmp dword [eax + 8], edi
jne 0x1000e7fc
push esi
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.1002e84a
pop ecx
push edi
push dword [0x1005a03c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
ret

Function at 0x1000e8a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, 0x250
push edi
call fcn.1002e93e
push edi
xor edi, edi
mov esi, eax
push edi
push esi
call fcn.100321a0
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x1000e994
push ebx
push edi
lea ecx, [ebp - 4]
push ecx
mov ebx, 0x200
push ebx
lea ecx, [esi + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 4], ebx
jne 0x1000e98f
push 4
lea eax, [esi + 0x23]
push eax
push str.NTFS
call fcn.1002e9a3
add esp, 0xc
test eax, eax
jne 0x1000e982
movzx eax, byte [esi + 0x2d]
movzx ecx, word [esi + 0x2b]
mov edx, dword [esi + 0x60]
imul eax, ecx
xor ebx, ebx
inc ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x224], eax
cmp edx, 0x80
jae 0x1000e93e
imul edx, eax
jmp 0x1000e949
mov ecx, 0x100
sub ecx, edx
mov edx, ebx
shl edx, cl
push edi
push eax
push dword [esi + 0x54]
mov dword [esi + 0x220], edx
push dword [esi + 0x50]
mov dword [esi + 0x228], edi
call fcn.100399d0
mov dword [esi + 0x238], eax
mov dword [esi + 0x23c], edx
mov dword [esi + 0x240], edi
mov dword [esi + 0x18], edi
mov dword [esi + 8], edi
mov dword [esi + 0x22c], edi
jmp 0x1000e98f
mov dword [esi + 4], 0xff99ff99
mov dword [esi + 0x248], edi
mov eax, esi
pop ebx
jmp 0x1000e99d
push esi
call fcn.1002e84a
pop ecx
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1000ead2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [esi + 4], 1
je 0x1000eae4
xor eax, eax
xor edx, edx
leave
ret
mov ecx, dword [esi + 0x23c]
mov eax, dword [esi + 0x238]
push ebx
push edi
push 0
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [esi]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ebx, [esi + 0x224]
push dword [ebx]
call fcn.1002dd99
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push dword [ebx]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, edi
call fcn.1000ea8f
cmp dword [edi], 0x454c4946
jne 0x1000ebc6
movzx eax, word [edi + 0x14]
movzx ecx, word [edi + 0x28]
push 8
pop edx
mov ebx, edx
add eax, edi
cmp bx, cx
jb 0x1000eb52
movzx edx, cx
and dword [ebp - 4], 0
mov cx, word [edi + 0x16]
mov ebx, dword [ebp - 4]
mov word [edi + 6], cx
test edx, edx
jle 0x1000ebaa
mov ecx, dword [eax]
test ecx, ecx
jl 0x1000ebaa
cmp ecx, 0x100
jg 0x1000ebaa
sub ecx, 0x20
je 0x1000ebc1
sub ecx, 0x60
je 0x1000eb87
sub ecx, 0x30
jne 0x1000eb89
mov dword [ebp - 8], eax
jmp 0x1000eb89
mov ebx, eax
mov ecx, dword [eax + 4]
test ecx, ecx
jbe 0x1000eb99
cmp ecx, dword [edi + 0x18]
jae 0x1000eb99
add eax, ecx
jmp 0x1000eba2
cmp byte [eax + 8], 1
jne 0x1000eba2
add eax, 0x48
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jl 0x1000eb65
test ebx, ebx
je 0x1000ebb4
cmp dword [ebp - 8], 0
jne 0x1000ebc9
push edi
call fcn.1002ec0a
pop ecx
xor eax, eax
xor edx, edx
jmp 0x1000ebf0
push 3
pop eax
jmp 0x1000ebbd
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + 0x30]
lea eax, [esi + 0x22c]
mov dword [eax], ecx
xor edx, edx
mov eax, ecx
div dword [esi + 0x220]
mov dword [esi + 0x240], edi
mov dword [esi + 0x230], eax
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
pop edi
pop ebx
leave
ret

Function at 0x1000f03d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
mov esi, ecx
push ebx
push dword [esi + 0x224]
mov edi, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.100399d0
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [esi]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, edi
shr eax, 0xa
cmp eax, 1
jb 0x1000f0be
mov dword [ebp + 0xc], eax
shl eax, 0xa
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x224]
shl eax, 0xa
push eax
push dword [ebp + 0x10]
push dword [esi]
call ebx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
add dword [ebp - 8], eax
call fcn.1000eff2
dec dword [ebp + 0xc]
jne 0x1000f094
sub edi, dword [ebp - 0xc]
push 0
imul edi, dword [esi + 0x224]
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0x10]
push dword [esi]
call ebx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
call fcn.1000eff2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
pop edi
pop esi
add eax, ecx
pop ebx
leave
ret
Function at 0x1001006b
Capabilities:
Check if file exists

Disassembly:
push 0x84
mov eax, 0x10047187
call fcn.1002f321
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x38], bl
je 0x100101f0
cmp dword [esi + 0x90], 8
jb 0x10010095
mov eax, dword [esi + 0x7c]
jmp 0x10010098
lea eax, [esi + 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100101f0
lea edi, [esi + 0x94]
mov dword [ebp - 0x14], edi
call fcn.10012e7a
push ebx
push ebx
lea eax, [ebp - 0x58]
call fcn.1001e589
mov dword [ebp - 4], 2
cmp dword [esi + 0x90], 8
jb 0x100100d4
mov ecx, dword [esi + 0x7c]
jmp 0x100100d7
lea ecx, [esi + 0x7c]
lea esi, [ebp - 0x58]
call fcn.1000f6cc
test al, al
je 0x100101e4
cmp byte [ebp - 0x50], 7
jne 0x100101e4
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.1001e8b2
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
cmp esi, dword [ebp - 0x2c]
jbe 0x1001010d
call fcn.1002e810
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x30], eax
jbe 0x10010126
call fcn.1002e810
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10010138
cmp eax, dword [ebp - 0x24]
je 0x1001013d
call fcn.1002e810
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x18], eax
je 0x100101d3
lea esi, [ebp - 0x1c]
call fcn.10009349
lea ecx, [ebp - 0x58]
push ecx
call fcn.1001e849
cmp byte [eax + 8], 4
jne 0x100101c6
call fcn.10009349
lea ecx, [ebp - 0x58]
push ecx
call fcn.1001e849
push eax
lea ecx, [ebp - 0x90]
call fcn.1001dad7
mov edi, eax
mov byte [ebp - 4], 4
call fcn.10009349
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.100012dd
pop ecx
pop ecx
push eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.10012ae8
push 0xffffffffffffffff
push ebx
push edi
mov ecx, eax
call fcn.10005ac0
push ebx
push 1
lea esi, [ebp - 0x74]
call fcn.10005e33
push ebx
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.10005c5b
lea esi, [ebp - 0x1c]
call fcn.1000615c
jmp 0x1001012c
lea esi, [ebp - 0x3c]
call fcn.10005f6f
push dword [ebp - 0x3c]
call fcn.1002e84a
pop ecx
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x58]
call fcn.1001d8e9
call fcn.1002f3f9
ret
Function at 0x100149ba
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x10058060]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa88], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa80], ecx
mov dword [ebp - 0xa8c], edx
test esi, esi
je 0x10014bdf
test eax, eax
jne 0x10014a0b
test ecx, ecx
je 0x10014bdf
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x10014a61
cmp ax, 0x5c
je 0x10014a61
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.100321a0
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [ebp - 0x828]
push eax
call edi
lea esi, [ebp - 0x828]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10014bdf
test al, 0x10
je 0x10014bdf
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x1004cd60
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa90], eax
cmp eax, 0xffffffff
je 0x10014bdf
mov dword [ebp - 0xa7c], 1
push 0x1004c444
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10014ba4
push 0x1004cd64
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10014ba4
cmp dword [ebp - 0xa78], 0xffffffff
je 0x10014ba4
push esi
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test byte [ebp - 0xa78], 0x10
je 0x10014b84
cmp dword [ebp - 0xa80], 0
je 0x10014b48
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x10014bc1
cmp dword [ebp + 0xc], 0
je 0x10014ba4
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push dword [ebp - 0xa80]
push dword [ebp - 0xa88]
push dword [ebp - 0xa84]
push dword [ebp + 0xc]
push eax
call fcn.100149ba
push 2
pop ecx
cmp eax, ecx
jne 0x10014ba4
mov dword [ebp - 0xa7c], ecx
jmp 0x10014bcb
cmp dword [ebp - 0xa84], 0
je 0x10014ba4
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x10014bc1
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10014ac4
jmp 0x10014bcb
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x10014be1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002dda4
leave
ret 0x18
Function at 0x10014bf2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10058060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x10014cec
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x10014cec
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.100321a0
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.10015208
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10014c69
shr eax, 4
not eax
and eax, 1
jmp 0x10014cee
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.10014cfc
test eax, eax
je 0x10014cec
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x10014cce
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x10014cd4
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.10009fc3
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x10014cee
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1002dda4
leave
ret
Function at 0x1001504d
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x10015079
call fcn.10014bf2
test eax, eax
jne 0x10015079
pop edi
pop esi
pop ebx
leave
ret 0xc
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x10015099
cmp esi, 0xffffffff
jne 0x100150b1
cmp dword [ebp - 8], ebx
jne 0x100150a5
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
call fcn.10009fc3
mov eax, ebx
jmp 0x10015072
mov edi, dword [ebp + 0x10]
push ebx
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100150d5
cmp dword [ebp - 4], edi
jne 0x100150d5
xor ebx, ebx
inc ebx
jmp 0x100150a5
cmp dword [ebp - 8], ebx
jne 0x100150a5
or dword [ebp - 0xc], 0xffffffff
cmp esi, 0xffffffff
je 0x100150ee
cmp esi, ebx
je 0x100150ee
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
jmp 0x1001509f

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

Disassembly:
mov eax, 0x179b06cc
xor ecx, ecx
push esi
mov edx, dword [esp + 8]
movzx edx, byte [ecx + edx]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x1005a690]
inc ecx
cmp ecx, 0x24
jl 0x100150fb
not eax
pop esi
ret 4

Function at 0x1001526b
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10058060]
xor eax, ebp
mov dword [ebp - 8], eax
movsx eax, byte [ebp + 8]
push ebx
push esi
push edi
push eax
push str.__c:
lea esi, [ebp - 0x60]
call fcn.10015d39
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x1001529d
mov eax, dword [eax + 4]
jmp 0x100152a0
add eax, 4
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov ebx, eax
push 1
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x40], ebx
call fcn.10005c5b
cmp ebx, esi
je 0x100152ce
cmp ebx, 0xffffffff
jne 0x100152e8
lea eax, [ebp - 0x40]
call fcn.10009fc3
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002dda4
leave
ret
push 0x28
pop edx
push 9
pop ecx
xor eax, eax
push esi
mov dword [ebp - 0x3c], edx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
push edx
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
push ebx
mov dword [ebp - 0x44], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10015334
or esi, 0xffffffff
lea eax, [ebp - 0x40]
call fcn.10009fc3
mov eax, esi
jmp 0x100152d9
mov esi, dword [ebp - 0x20]
jmp 0x10015328
Function at 0x1001580a
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x10058060]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.100158ac
push esi
test eax, eax
je 0x10015897
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.100321a0
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x1001588e
cmp esi, 0xffffffff
je 0x1001588e
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x1001588a
push edi
lea eax, [esp + 0xc]
push eax
call fcn.100158ac
test eax, eax
je 0x1001588e
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x10015870
lea eax, [esp + 4]
call fcn.10009fc3
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.1002dda4
mov esp, ebp
pop ebp
ret 4

Function at 0x10015f27
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100451de
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.10039900
mov eax, dword [0x10058060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov esi, ecx
mov dword [ebp - 0x202c], edi
call fcn.1000923e
xor ebx, ebx
push esi
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.10014744
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x1001603c
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.100321a0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x10016026
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.10005296
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.1000bf10
push edi
push 1
mov byte [ebp - 4], 1
call fcn.10005e33
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], 0x1000
call ebx
test eax, eax
je 0x10015fd8
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x1001605a
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002dda4
leave
ret

Function at 0x100160b3
Capabilities:
Get common file path

Disassembly:
push 0
push 0x23
push dword [esp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
ret 4
Function at 0x10017859
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x1001786a
mov eax, dword [eax + 4]
jmp 0x1001786d
add eax, 4
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
push str.Softwareprojonepodlpkeyrule_secClass_
push 0x80000002
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x100178a0
cmp dword [ebp - 8], 4
jne 0x100178a0
mov eax, dword [ebp - 0xc]
leave
ret
xor eax, eax
leave
ret

Function at 0x10019629
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10058060]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.100321a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logs_accelerator
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.10005296
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002dda4
add ebp, 0x190
leave
ret

Function at 0x100196a2
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10058060]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.100321a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.10005296
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002dda4
add ebp, 0x190
leave
ret
Function at 0x10026b4c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10058060]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
push edi
xor eax, eax
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 0x3a
mov byte [ebp - 0x12], 0x5c
lea edi, [ebp - 0x11]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x10026b89
cmp eax, 3
jne 0x10026ba1
push ebx
call fcn.1001526b
pop ecx
cmp eax, 0xffffffff
je 0x10026bae
cmp eax, 7
jne 0x10026ba1
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x10026bb0
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1002dda4
leave
ret

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

Disassembly:
or eax, 0xffffffff
test edx, edx
je 0x10026be1
push esi
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x10059818]
dec edx
inc ecx
test edx, edx
jne 0x10026bc5
pop esi
not eax
ret

Function at 0x10026cc1
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x130
mov eax, dword [0x10058060]
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x74]
and dword [ebp - 0xc4], 0
push esi
push edi
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x78]
push 0x3f
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.100321a0
mov esi, 0x1004d4ec
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x40]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x9c], dl
mov byte [ebp + ecx], al
inc ecx
cmp ecx, 0x40
jb 0x10026d11
lea eax, [ebp - 0x5c]
call fcn.1002cea0
lea eax, [ebp - 0x9c]
push eax
push 0x40
pop eax
lea esi, [ebp - 0x5c]
call fcn.1002cecb
push dword [ebp - 0xc0]
mov eax, dword [ebp + 0x7c]
call fcn.1002cecb
lea eax, [ebp + 0x54]
push eax
mov ecx, esi
call fcn.1002cf63
lea eax, [ebp - 0xb8]
call fcn.1002cea0
lea eax, [ebp]
push eax
push 0x40
pop eax
lea esi, [ebp - 0xb8]
call fcn.1002cecb
lea eax, [ebp + 0x54]
push eax
push 0x14
pop eax
call fcn.1002cecb
lea eax, [ebp + 0x40]
push eax
mov ecx, esi
call fcn.1002cf63
mov esi, dword [ebp - 0xbc]
add esp, 0x18
push 0x14
lea eax, [ebp + 0x40]
push eax
call fcn.100160c6
mov ecx, dword [ebp + 0x68]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002dda4
add ebp, 0x6c
leave
ret