joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003286
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1012288]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0x20019
xor edi, edi
push edi
push 0x1001890
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003319
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x1001874
push esi
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
push 1
push edi
push ebx
je 0x10032fd
lea eax, [ebp - 0x20c]
push eax
jmp 0x10032fe
push esi
push 0x1001868
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
jmp 0x100332e
push 1
push edi
push ebx
push 0x1001874
push 0x1001868
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.0100ecf8
leave
ret

Function at 0x100333f
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor edi, edi
push edi
push 0x10017e0
push 0x80000001
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003396
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push 0x10018f8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], edi
je 0x10033d4
push esi
mov esi, 0x1011810
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x10033b5
push esi
call fcn.01003286
pop ecx
jmp 0x10033d3
cmp word [0x1011810], di
je 0x10033d3
push 1
push edi
push 0x1011a20
push esi
push 0x1001868
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop edi
leave
ret

Function at 0x1003824
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 0x1001950
push 0x80000001
mov dword [ebp - 4], esi
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1003882
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x1001924
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003882
cmp dword [ebp - 0xc], esi
je 0x1003882
inc edi
cmp dword [ebp - 4], esi
je 0x1003890
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x100389b
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
xor esi, esi
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x54], 0x44
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x10038f1
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
xor eax, eax
inc eax
jmp 0x10038f3
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1004a02
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1012288]
push esi
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
mov dword [ebp - 0x210], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1004aae
push ebx
push 0x1001778
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
push edi
mov ebx, eax
call esi
add ebx, eax
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebx + eax + 0x15]
add eax, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
pop ebx
je 0x1004aae
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push edi
push eax
push 0x1001b74
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call fcn.0100389b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
pop esi
call fcn.0100ecf8
leave
ret

Function at 0x1004abe
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1012288]
push esi
push edi
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
mov dword [ebp - 0x210], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
test edi, edi
je 0x1004b4f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
push ebx
mov dword [ebp - 0x214], eax
call esi
mov ecx, dword [ebp - 0x214]
add ecx, eax
lea eax, [ecx + edi*2 + 0x38]
add eax, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x1004b4f
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push ebx
push 0
push eax
push eax
push 0x1001ba0
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.0100389b
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.0100ecf8
leave
ret
Function at 0x1005d93
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x1012288]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push 0x1002010
mov dword [ebp - 4], eax
mov edi, 0x104
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.01004ca2
add esp, 0x10
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x464], eax
je 0x1005ead
and dword [ebp - 0x460], 0
lea eax, [ebp - 0x430]
push eax
push esi
push 0x1001cec
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.01004ca2
add esp, 0x14
cmp dword [ebp - 0x45c], 0x10
jne 0x1005e58
push 0x100200c
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1005e73
push 0x1002004
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1005e73
lea eax, [ebp - 0x20c]
push eax
call fcn.01005d93
pop ecx
jmp 0x1005e73
push 0x80
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1005ea0
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x460], 1
cmp dword [ebp - 0x460], 0
je 0x1005df7
push 0x80
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100ecf8
leave
ret

Function at 0x1005f96
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1012288]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x20c], ebx
mov ecx, 0x81
lea edi, [ebp - 0x208]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x1001778
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x1001b64
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x1002038
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01004d65
mov esi, eax
cmp esi, ebx
je 0x1006032
push 0x100202c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x100602b
call eax
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
pop ebx
call fcn.0100ecf8
leave
ret
Function at 0x1006338
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1012288]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x10063ec
push esi
push 0x100210c
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x1002100
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call esi
cmp eax, 0xffffffff
je 0x10063ba
push 0x80
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x10020ec
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x20c]
push eax
call esi
cmp eax, 0xffffffff
pop esi
je 0x10063ec
test al, 0x10
je 0x10063ec
lea eax, [ebp - 0x20c]
push eax
call fcn.01005d93
pop ecx
mov ecx, dword [ebp - 4]
call fcn.0100ecf8
leave
ret

Function at 0x1006fac
Capabilities:
Accept command line arguments
Query or enumerate registry value
Set current directory
Terminate process

Disassembly:
call fcn.0100ec85
jmp fcn.01006d95
Function at 0x10073ae
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
push edi
mov edi, dword [ebp + 0x14]
xor ebx, ebx
or edi, 0xb
cmp dword [0x101104c], ebx
je 0x10073e0
mov eax, dword [0x10122e8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x28]
jmp 0x1007486
cmp dword [ebp + 8], ebx
je 0x1007553
cmp dword [0x10122e8], ebx
jne 0x1007420
push 0x10122e8
push 0x1002248
push 1
push ebx
push 0x1002238
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1007415
cmp dword [0x10122e8], ebx
jne 0x1007420
mov dword [0x1011048], ebx
jmp 0x1007553
cmp dword [0x1011038], ebx
jne 0x1007477
push 0xc
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x100743d
mov ecx, eax
call fcn.01007280
jmp 0x100743f
xor eax, eax
mov dword [0x1011038], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push dword [ebp + 8]
call esi
mov ecx, dword [0x1011038]
push dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [0x10122e8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [0x10122e8]
push dword [0x1011038]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [0x10122e8]
mov ecx, dword [eax]
or edi, 8
push edi
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x10074ac
push dword [ebp + 0x10]
mov eax, dword [0x10122e8]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jl 0x10074ac
xor eax, eax
inc eax
mov dword [0x101104c], eax
jmp 0x1007555
cmp dword [0x10122e8], ebx
je 0x1007553
cmp dword [0x1011084], ebx
jne 0x1007553
cmp dword [0x1011088], ebx
jne 0x1007553
lea eax, [ebp + 0x14]
push eax
push 0xf003f
push ebx
push 0x10017e0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1007553
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
mov edi, 0x1002258
push edi
push dword [ebp + 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test byte [ebp - 2], 0x80
je 0x1007553
push ebx
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
call esi
push eax
call fcn.0100b4b6
pop ecx
mov dword [0x1011054], 1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100755f
Capabilities:
Check if file exists
Get common file path
Get file attributes
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1012288]
and dword [ebp - 0x214], 0
cmp dword [0x10122f4], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], eax
jne 0x100763d
push 0x105
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x100762b
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x210]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_CharPrevW]
cmp word [eax], 0x5c
je 0x10075e2
mov esi, dword [sym.imp.USER32.dll_CharNextW]
push eax
call esi
push eax
mov word [eax], 0x5c
call esi
and word [eax], 0
push 0x10022b8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x210]
push eax
push 0
push 0x100229c
push 0x1002294
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor esi, esi
inc esi
cmp eax, esi
jne 0x100762a
push 0x100226c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100762a
mov dword [ebp - 0x214], esi
pop esi
mov eax, dword [ebp - 0x214]
mov dword [ebx], eax
mov dword [0x10122f4], 1
mov ecx, dword [ebp - 4]
xor eax, eax
inc eax
pop ebx
call fcn.0100ecf8
leave
ret

Function at 0x1007cfb
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x11
stosd dword es:[edi], eax
pop ecx
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
xor esi, esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
push esi
push 0x10022d0
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1007d92
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push ebx
mov ebx, 0x4ff
jmp 0x1007d70
cmp dword [ebp - 0x38], 0x12
je 0x1007d81
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push esi
push esi
lea eax, [ebp - 0x3c]
push esi
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1007d4d
push ebx
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x20]
push eax
push 1
call edi
cmp eax, 1
je 0x1007d5d
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x20]
call edi
pop ebx
lea eax, [ebp - 4]
push eax
push 0xf003f
push esi
push 0x10017e0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1007dea
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x10022e8
push dword [ebp - 4]
mov dword [ebp - 0x10], 3
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
jmp 0x1007ded
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret
Function at 0x1008ef5
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
mov esi, 0xf003f
push esi
xor edi, edi
push edi
push 0x1002400
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1008f6c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
push edi
push esi
push edi
push edi
push edi
push 0x1002310
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x1008f67
push 4
lea eax, [ebp - 8]
push eax
push 4
push edi
push 0x10023f8
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 8]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
leave
ret

Function at 0x1008f75
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 4
pop esi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor edi, edi
push edi
push 0x1002388
push 0x80000001
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1008fd9
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x10023e4
push dword [ebp - 4]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1008fd0
cmp dword [ebp - 0x10], 1
sete al
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x10090f1
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc20
mov eax, dword [0x1012288]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0xc18], eax
mov dword [ebp - 0xc10], ebx
mov dword [ebp - 0xc14], ebx
call fcn.0100b64d
test eax, eax
jne 0x10092ac
call fcn.0100b6ae
test eax, eax
je 0x1009142
lea eax, [ebp - 0xc10]
push eax
push 0x19
jmp 0x10092b5
xor edi, edi
push 0x1002490
mov word [ebp - 0x414], bx
inc edi
call fcn.01004d65
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc20], eax
je 0x10091cb
push 0x100247c
push eax
call esi
cmp eax, ebx
mov dword [ebp - 0xc1c], eax
je 0x10091b7
lea ecx, [ebp - 0x414]
push ecx
push ebx
push ebx
push 0x19
push ebx
call eax
mov edi, eax
cmp edi, ebx
je 0x10091a4
lea eax, [ebp - 0x414]
push eax
push ebx
push ebx
push 0x10
push ebx
call dword [ebp - 0xc1c]
mov edi, eax
cmp edi, ebx
jne 0x10091b7
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0xc18]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0xc20]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp edi, ebx
je 0x1009301
push 0x1002464
call fcn.01004d65
cmp eax, ebx
je 0x10092ac
push 0x1002454
push eax
call esi
cmp eax, ebx
je 0x10092ac
xor eax, eax
mov dword [ebp - 0x20c], ebx
mov ecx, 0x81
lea edi, [ebp - 0x208]
rep stosd dword es:[edi], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
lea eax, [ebp - 0x20c]
push 0x1001b64
push eax
call fcn.01008fe4
push esi
lea eax, [ebp - 0x20c]
push 0x1002328
push eax
call fcn.01008fe4
add esp, 0x18
xor eax, eax
mov dword [ebp - 0xc0c], ebx
mov ecx, 0x1fd
lea edi, [ebp - 0xc08]
push 0x3fc
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc0c]
push eax
push 0x2d4
push dword [0x10122a8]
call dword [sym.imp.USER32.dll_LoadStringW]
push esi
lea eax, [ebp - 0x20c]
push 0x1001b64
push eax
call fcn.01008fe4
push esi
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.01008fe4
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0xc18]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x1009301
lea eax, [ebp - 0xc10]
push eax
push 0x10
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
jl 0x1009301
push dword [ebp - 0xc18]
push dword [ebp - 0xc10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0xc14]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x1009301
mov eax, dword [ebp - 0xc14]
push dword [ebp - 0xc10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xc14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100ecf8
leave
ret
Function at 0x1009313
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1012288]
and dword [ebp - 0x20c], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], eax
push edi
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x208]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.010090f1
cmp word [ebp - 0x20c], 0
pop ecx
je 0x100939e
push esi
push 0x1001b64
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.010090b8
push ebx
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.010090b8
push 0x10024ac
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.010090b8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.0100ecf8
leave
ret

Function at 0x10093af
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1012288]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0xf003f
xor edi, edi
push edi
push 0x10017e0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100943b
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push 0x10024b8
push dword [ebp - 0x214]
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x218], 4
mov dword [ebp - 0x21c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x210], edi
je 0x1009476
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x1f5
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1009469
push 0x1002358
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x20c]
push eax
call fcn.01009313
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.0100ecf8
leave
ret

Function at 0x1009487
Capabilities:
Set registry value

Disassembly:
push 1
call fcn.01008ef5
push dword [0x10122a8]
call fcn.010093af
pop ecx
pop ecx
jmp fcn.0100b281