joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a815
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10055060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [ebp - 0x24]
test ecx, eax
je 0x1000a8a4
mov bl, byte [ebp - 0x14]
add bl, 0x61
xor eax, eax
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], 0x3a
mov byte [ebp - 0xa], 0x5c
lea edi, [ebp - 9]
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0x20], bl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x1000a8a4
lea esi, [ebp - 0xd]
call fcn.1002616b
test al, al
je 0x1000a8a4
cmp byte [ebp - 0xd], 0
jne 0x1000a8a4
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x80], 0
jne 0x1000a8c0
mov ecx, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call fcn.1000f014
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1a
jl 0x1000a841
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002c8b3
leave
ret 8
xor al, al
jmp 0x1000a8af

Function at 0x1000a8c4
Capabilities:
Get disk size

Disassembly:
push 0x6c
mov eax, 0x10044cc9
call fcn.1002ddda
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x60], 0xf
call fcn.100066a4
lea eax, [ebp - 0x78]
push eax
mov edx, str.D:_test.docx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.10001f30
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.100058ba
cmp dword [ebp - 0x1c], ebx
jne 0x1000a920
xor edi, edi
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.10005a92
mov eax, edi
call fcn.1002de5d
ret
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1000a92c
lea eax, [ebp - 0x2c]
movzx eax, word [eax]
push eax
push str._c:_
lea ecx, [ebp - 0x4c]
call fcn.1001573d
xor eax, eax
cmp dword [ebp - 0x34], 8
lea edi, [ebp - 0x58]
mov dword [ebp - 0x5c], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x50]
pop ecx
mov dword [ebp - 0x54], ebx
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x48]
pop ecx
jae 0x1000a95b
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1000a991
cmp dword [ebp - 0x50], ebx
ja 0x1000a991
jb 0x1000a97f
cmp dword [ebp - 0x54], 0x3200000
jae 0x1000a991
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x4c]
call fcn.10005a92
jmp 0x1000a90d
push ebx
push 1
lea esi, [ebp - 0x4c]
call fcn.10005a92
jmp 0x1000a90b
Function at 0x1000e434
Capabilities:
Get thread local storage value

Disassembly:
push esi
push dword [0x10056f38]
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.1002d386
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 0x1000e4c4
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
push dword [0x10056f38]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor edi, edi
jmp 0x1000e51f
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.1002d292
pop ecx
mov eax, dword [esi]
cmp dword [eax + 8], edi
jne 0x1000e4d8
push esi
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.1002d292
pop ecx
push edi
push dword [0x10056f38]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
ret

Function at 0x1000e57c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, 0x250
push edi
call fcn.1002d386
push edi
xor edi, edi
mov esi, eax
push edi
push esi
call fcn.10030bf0
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 0x1000e670
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 0x1000e66b
push 4
lea eax, [esi + 0x23]
push eax
push str.NTFS
call fcn.1002d3eb
add esp, 0xc
test eax, eax
jne 0x1000e65e
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 0x1000e61a
imul edx, eax
jmp 0x1000e625
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.10038420
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 0x1000e66b
mov dword [esi + 4], 0xff99ff99
mov dword [esi + 0x248], edi
mov eax, esi
pop ebx
jmp 0x1000e679
push esi
call fcn.1002d292
pop ecx
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1000e7ae
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [esi + 4], 1
je 0x1000e7c0
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.1002c8a8
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.1000e76b
cmp dword [edi], 0x454c4946
jne 0x1000e8a2
movzx eax, word [edi + 0x14]
movzx ecx, word [edi + 0x28]
push 8
pop edx
mov ebx, edx
add eax, edi
cmp bx, cx
jb 0x1000e82e
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 0x1000e886
mov ecx, dword [eax]
test ecx, ecx
jl 0x1000e886
cmp ecx, 0x100
jg 0x1000e886
sub ecx, 0x20
je 0x1000e89d
sub ecx, 0x60
je 0x1000e863
sub ecx, 0x30
jne 0x1000e865
mov dword [ebp - 8], eax
jmp 0x1000e865
mov ebx, eax
mov ecx, dword [eax + 4]
test ecx, ecx
jbe 0x1000e875
cmp ecx, dword [edi + 0x18]
jae 0x1000e875
add eax, ecx
jmp 0x1000e87e
cmp byte [eax + 8], 1
jne 0x1000e87e
add eax, 0x48
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jl 0x1000e841
test ebx, ebx
je 0x1000e890
cmp dword [ebp - 8], 0
jne 0x1000e8a5
push edi
call fcn.1002d652
pop ecx
xor eax, eax
xor edx, edx
jmp 0x1000e8cc
push 3
pop eax
jmp 0x1000e899
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 0x1000ed19
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.10038420
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 0x1000ed9a
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.1000ecce
dec dword [ebp + 0xc]
jne 0x1000ed70
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.1000ecce
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
pop edi
pop esi
add eax, ecx
pop ebx
leave
ret
Function at 0x1000fc4a
Capabilities:
Check if file exists

Disassembly:
push 0x84
mov eax, 0x10045a61
call fcn.1002dd71
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x38], bl
je 0x1000fdcf
cmp dword [esi + 0x90], 8
jb 0x1000fc74
mov eax, dword [esi + 0x7c]
jmp 0x1000fc77
lea eax, [esi + 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000fdcf
lea edi, [esi + 0x94]
mov dword [ebp - 0x14], edi
call fcn.10012989
push ebx
push ebx
lea eax, [ebp - 0x58]
call fcn.1001dfa7
mov dword [ebp - 4], 2
cmp dword [esi + 0x90], 8
jb 0x1000fcb3
mov ecx, dword [esi + 0x7c]
jmp 0x1000fcb6
lea ecx, [esi + 0x7c]
lea esi, [ebp - 0x58]
call fcn.10001473
test al, al
je 0x1000fdc3
cmp byte [ebp - 0x50], 7
jne 0x1000fdc3
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.1001e2d0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
cmp esi, dword [ebp - 0x2c]
jbe 0x1000fcec
call fcn.1002d258
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 0x1000fd05
call fcn.1002d258
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x1000fd17
cmp eax, dword [ebp - 0x24]
je 0x1000fd1c
call fcn.1002d258
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x18], eax
je 0x1000fdb2
lea esi, [ebp - 0x1c]
call fcn.1000bafe
lea ecx, [ebp - 0x58]
push ecx
call fcn.1001e267
cmp byte [eax + 8], 4
jne 0x1000fda5
call fcn.1000bafe
lea ecx, [ebp - 0x58]
push ecx
call fcn.1001e267
push eax
lea ecx, [ebp - 0x90]
call fcn.1001d4f8
mov edi, eax
mov byte [ebp - 4], 4
call fcn.1000bafe
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.100012fa
pop ecx
pop ecx
push eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.100125f7
push 0xffffffffffffffff
push ebx
push edi
mov ecx, eax
call fcn.100057ba
push ebx
push 1
lea esi, [ebp - 0x74]
call fcn.10005a92
push ebx
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.100058ba
lea esi, [ebp - 0x1c]
call fcn.1000bb26
jmp 0x1000fd0b
lea esi, [ebp - 0x3c]
call fcn.10005bce
push dword [ebp - 0x3c]
call fcn.1002d292
pop ecx
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x58]
call fcn.1001d30a
call fcn.1002de49
ret
Function at 0x1001443e
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 [0x10055060]
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 0x10014663
test eax, eax
jne 0x1001448f
test ecx, ecx
je 0x10014663
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x100144e5
cmp ax, 0x5c
je 0x100144e5
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.10030bf0
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 0x10014663
test al, 0x10
je 0x10014663
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x1004ac60
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 0x10014663
mov dword [ebp - 0xa7c], 1
push 0x1004a3f4
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10014628
push 0x1004ac64
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10014628
cmp dword [ebp - 0xa78], 0xffffffff
je 0x10014628
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 0x10014608
cmp dword [ebp - 0xa80], 0
je 0x100145cc
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x10014645
cmp dword [ebp + 0xc], 0
je 0x10014628
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.1001443e
push 2
pop ecx
cmp eax, ecx
jne 0x10014628
mov dword [ebp - 0xa7c], ecx
jmp 0x1001464f
cmp dword [ebp - 0xa84], 0
je 0x10014628
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x10014645
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10014548
jmp 0x1001464f
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x10014665
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002c8b3
leave
ret 0x18
Function at 0x10014676
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10055060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x10014770
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x10014770
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.10030bf0
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.10014c7c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100146ed
shr eax, 4
not eax
and eax, 1
jmp 0x10014772
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.10014780
test eax, eax
je 0x10014770
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 0x10014752
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x10014758
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.10009c72
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x10014772
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1002c8b3
leave
ret
Function at 0x10014ad1
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 0x10014afd
call fcn.10014676
test eax, eax
jne 0x10014afd
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 0x10014b1d
cmp esi, 0xffffffff
jne 0x10014b35
cmp dword [ebp - 8], ebx
jne 0x10014b29
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
call fcn.10009c72
mov eax, ebx
jmp 0x10014af6
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 0x10014b59
cmp dword [ebp - 4], edi
jne 0x10014b59
xor ebx, ebx
inc ebx
jmp 0x10014b29
cmp dword [ebp - 8], ebx
jne 0x10014b29
or dword [ebp - 0xc], 0xffffffff
cmp esi, 0xffffffff
je 0x10014b72
cmp esi, ebx
je 0x10014b72
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
jmp 0x10014b23

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

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x10055060]
xor eax, ebp
mov dword [ebp + 0x84], eax
push esi
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.10030bf0
add esp, 0xc
push 0x104
lea esi, [ebp - 0x80]
call fcn.10014b77
mov eax, 0x179b06cc
xor ecx, ecx
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10057588]
inc ecx
cmp ecx, 0x24
jl 0x10014c4a
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.1002c8b3
add ebp, 0x88
leave
ret
Function at 0x10014cdf
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10055060]
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.1001579b
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x10014d11
mov eax, dword [eax + 4]
jmp 0x10014d14
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.100058ba
cmp ebx, esi
je 0x10014d42
cmp ebx, 0xffffffff
jne 0x10014d5c
lea eax, [ebp - 0x40]
call fcn.10009c72
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002c8b3
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 0x10014da8
or esi, 0xffffffff
lea eax, [ebp - 0x40]
call fcn.10009c72
mov eax, esi
jmp 0x10014d4d
mov esi, dword [ebp - 0x20]
jmp 0x10014d9c

Function at 0x1001526c
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x10055060]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.1001530e
push esi
test eax, eax
je 0x100152f9
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10030bf0
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 0x100152f0
cmp esi, 0xffffffff
je 0x100152f0
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x100152ec
push edi
lea eax, [esp + 0xc]
push eax
call fcn.1001530e
test eax, eax
je 0x100152f0
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x100152d2
lea eax, [esp + 4]
call fcn.10009c72
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.1002c8b3
mov esp, ebp
pop ebp
ret 4
Function at 0x10015989
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043bc0
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.10038350
mov eax, dword [0x10055060]
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.1000bb51
xor ebx, ebx
push esi
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.100141c8
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x10015a9e
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.10030bf0
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 0x10015a88
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.10004f6a
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.1000bc81
push edi
push 1
mov byte [ebp - 4], 1
call fcn.10005a92
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 0x10015a3a
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x10015abc
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.1002c8b3
leave
ret

Function at 0x10015b15
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10055060]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x23
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x10015b82
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.10030bf0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10015b82
push 0x104
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
inc ebx
cmp dword [ebp - 0x80], 0
je 0x10015b91
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x18c]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1002c8b3
add ebp, 0x190
leave
ret
Function at 0x100172c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x100172d9
mov eax, dword [eax + 4]
jmp 0x100172dc
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 0x1001730f
cmp dword [ebp - 8], 4
jne 0x1001730f
mov eax, dword [ebp - 0xc]
leave
ret
xor eax, eax
leave
ret

Function at 0x100191a2
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10055060]
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.10030bf0
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.10004f6a
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002c8b3
add ebp, 0x190
leave
ret