joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001642
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
call fcn.100122f9
test al, al
je 0x10001848
push ebx
push 0x208
lea eax, [ebp - 0x418]
push eax
push dword [0x1003fe58]
xor ebx, ebx
mov word [ebp - 0x418], bx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x28
call fcn.1001db04
cmp eax, ebx
pop ecx
je 0x10001692
mov ecx, eax
call fcn.100035c7
mov dword [ebp - 4], eax
jmp 0x10001695
mov dword [ebp - 4], ebx
push esi
push edi
push str.CLSID_
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.1000e4eb
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
push 0x1c
call fcn.1001db04
cmp eax, ebx
pop ecx
mov esi, 0x80000000
je 0x100016e4
push 1
push ebx
push ebx
lea ecx, [ebp - 0x210]
push ecx
push esi
mov ecx, eax
call fcn.10002b0c
jmp 0x100016e6
xor eax, eax
mov ecx, dword [ebp - 4]
push eax
call fcn.10024f6d
push str.InprocServer32
lea eax, [ebp - 0x210]
push eax
call edi
push 0x1c
call fcn.1001db04
cmp eax, ebx
pop ecx
je 0x1000171e
push 1
push ebx
push ebx
lea ecx, [ebp - 0x210]
push ecx
push esi
mov ecx, eax
call fcn.10002b0c
jmp 0x10001720
xor eax, eax
mov ecx, dword [ebp - 4]
push eax
call fcn.10024f6d
push 0x1c
call fcn.1001db04
cmp eax, ebx
pop ecx
je 0x10001750
push 1
lea ecx, [ebp - 0x418]
push ecx
push ebx
lea ecx, [ebp - 0x210]
push ecx
push esi
mov ecx, eax
call fcn.10002b0c
jmp 0x10001752
xor eax, eax
mov ecx, dword [ebp - 4]
push eax
call fcn.10024f6d
push 0x1c
call fcn.1001db04
cmp eax, ebx
pop ecx
je 0x10001784
push 1
push 0x1002ec6c
push str.ThreadingModel
lea ecx, [ebp - 0x210]
push ecx
push esi
mov ecx, eax
call fcn.10002b0c
jmp 0x10001786
xor eax, eax
mov esi, dword [ebp - 4]
push eax
mov ecx, esi
call fcn.10024f6d
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects_
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.1000e4eb
push eax
lea eax, [ebp - 0x210]
push eax
call edi
push 0x1c
call fcn.1001db04
cmp eax, ebx
pop ecx
mov edi, 0x80000002
je 0x100017d8
push 1
push ebx
push ebx
lea ecx, [ebp - 0x210]
push ecx
push edi
mov ecx, eax
call fcn.10002b0c
jmp 0x100017da
xor eax, eax
push eax
mov ecx, esi
call fcn.10024f6d
mov ecx, esi
call fcn.1000cbb6
cmp esi, ebx
je 0x100017fb
mov ecx, esi
call fcn.100074b3
push esi
call fcn.1001aed3
pop ecx
call fcn.10022299
call fcn.10011e69
lea eax, [ebp - 8]
push eax
push 7
push ebx
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
pop edi
pop esi
jne 0x10001847
push 4
lea eax, [ebp - 4]
push eax
push 4
push ebx
push str.NoExplorer
push dword [ebp - 8]
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
leave
ret
Function at 0x10001d05
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, 0x208
push esi
call fcn.1001761b
push esi
xor ebx, ebx
push ebx
push eax
mov dword [ebp - 8], eax
call fcn.10025c20
add esp, 0x10
push str.SoftwareClientsStartMenuInternet_
mov esi, 0x10040180
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 1
push ebx
push esi
push 0x80000001
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 4], ebx
call edi
test eax, eax
je 0x10001d70
lea eax, [ebp - 4]
push eax
push 1
push ebx
push esi
push 0x80000002
call edi
test eax, eax
jne 0x10001d86
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call fcn.1000e77a
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1000315b
Capabilities:
Check mutex on windows

Disassembly:
call fcn.100131d6
push 0
call fcn.1001b33f
jmp fcn.1000c856

Function at 0x10003347
Capabilities:
Check mutex on windows

Disassembly:
push 0x1003ecb8
push 0x380885bc
call fcn.1000f13a
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov ecx, dword [esp + 4]
mov dword [ecx], eax
je 0x1000337e
push dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000337e
mov al, 1
jmp 0x10003380
xor al, al
ret 8

Function at 0x100039ab
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push 0x114
xor ebx, ebx
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.10025c20
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100039f1
cmp dword [ebp - 0x110], 5
seta bl
mov al, bl
pop ebx
leave
ret
Function at 0x10004eff
Capabilities:
Check for time delay via gettickcount
Create thread
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea ecx, [esi + 0x210]
push 0x1002efe7
mov dword [esi], vtable.CCampaignsData.0
mov byte [esi + 4], bl
mov byte [esi + 5], bl
call fcn.100230bb
push 0x104
lea eax, [esi + 6]
push eax
call fcn.10023121
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov dword [ebp - 0xc], 0x10
mov dword [ebp - 0x10], ebx
call fcn.10018718
mov dword [ebp - 8], eax
call fcn.10020a32
cmp dword [ebp - 8], ebx
mov byte [ebp - 1], bl
je 0x10004ff7
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x10004fdf
cmp dword [ebp - 0xc], ebx
je 0x10004fe8
mov edi, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
jb 0x10004fc1
ja 0x10004fb3
cmp edi, edx
jbe 0x10004fc1
push ebx
sub edi, edx
push 0x989680
sbb eax, ecx
push eax
push edi
jmp 0x10004fcd
push ebx
sub edx, edi
push 0x989680
sbb ecx, eax
push ecx
push edx
call fcn.10025d90
cmp eax, 0x1c1f
seta al
mov byte [esi + 5], al
jmp 0x10004fec
cmp eax, 5
jne 0x10004fe8
mov byte [ebp - 1], 1
mov byte [esi + 5], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10004ffb
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
je 0x1000504c
mov eax, dword [0x1003eccc]
test eax, eax
jne 0x1000501a
mov byte [esi + 5], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1003eccc], eax
jmp 0x1000504c
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [0x1003eccc]
sub ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 0x3e8
div ecx
cmp eax, 0x1c1f
jbe 0x10005049
call edi
mov dword [0x1003eccc], eax
mov byte [esi + 5], 1
jmp 0x1000504c
mov byte [esi + 5], bl
cmp byte [esi + 5], bl
je 0x1000506d
call fcn.1001ee51
push ebx
push ebx
push ebx
push 0x10007c2b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.1000c3a8
test al, al
jne 0x1000508a
push 0x1002efe7
lea ecx, [esi + 0x210]
call fcn.10007871
jmp 0x10005098
mov al, byte [0x1003eca4]
mov byte [esi + 4], al
mov byte [0x1003eca4], bl
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10006aca
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ecx
and dword [esp], 0
push ebx
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [esp + 0x10]
push eax
mov ebx, 0x2001b
push ebx
push 0
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push edi
push 0x80000002
call esi
test eax, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jne 0x10006b1d
push 0x1003bee4
push 0x78d91c94
call fcn.1000f13a
push eax
push dword [esp + 0x14]
call ebp
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
push eax
push ebx
push 0
push edi
push 0x80000001
call esi
test eax, eax
jne 0x10006b51
push 0x1003bee4
push 0x78d91c94
call fcn.1000f13a
push eax
push dword [esp + 0x14]
call ebp
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x10006c15
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareMozillaFirefoxExtensions
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
neg eax
sbb eax, eax
neg eax
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10006c75
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret 8

Function at 0x10006e58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
lea ecx, [ebp - 0x38]
xor edi, edi
call fcn.10020d9d
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10006f02
cmp byte [ebp - 4], 0
je 0x10006f02
push edi
lea eax, [ebp + 0x10]
push eax
push esi
push 0xffff
push dword [ebp + 8]
call dword [ebp - 0x24]
test eax, eax
je 0x10006f02
mov edi, dword [ebp + 0x10]
xor edx, edx
shr edi, 2
je 0x10006ee0
push ebx
movzx eax, word [esi + edx*4]
movzx ecx, word [esi + edx*4 + 2]
cmp ax, 0x41
sbb ebx, ebx
and ebx, 0xfffffff9
add ebx, 0x37
sub ax, bx
shl ax, 4
cmp cx, 0x41
sbb ebx, ebx
and ebx, 0xfffffff9
add ebx, 0x37
sub cl, bl
and ecx, 0xf
or ax, cx
movsx cx, dl
xor ax, cx
mov word [esi + edx*2], ax
inc edx
cmp edx, edi
jb 0x10006e9f
pop ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp word [esi + eax*2 - 2], 0x3b
je 0x10006efd
push 0x1002ddc8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
call edi
mov edi, eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
leave
ret 0xc

Function at 0x10006f26
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10039f58]
jne 0x10006f30
repz ret
jmp fcn.10015336
Function at 0x1000a471
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor al, al
test esi, esi
je 0x1000a4dc
mov eax, dword [esi]
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
push 3
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
call fcn.100147b1
test al, al
mov edx, dword [ebp + 0x10]
jne 0x1000a4bb
push ebx
mov ebx, dword [esi]
mov ecx, edx
and ecx, 1
add ebx, ebx
lea ecx, [ecx + edx + 2]
cmp ecx, ebx
pop ebx
jbe 0x1000a4bb
add edx, 3
shr edx, 1
mov dword [esi], edx
jmp 0x1000a4db
cmp al, 1
jne 0x1000a4db
xor ecx, ecx
test edx, edx
jbe 0x1000a4cd
xor byte [ecx + edi], cl
inc ecx
cmp ecx, edx
jb 0x1000a4c5
mov ecx, edx
and ecx, 1
add ecx, edx
shr ecx, 1
and word [edi + ecx*2], 0
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1000a6b7
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 4
push ebx
push 3
mov esi, ecx
push 0xc0000000
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 4], edi
je 0x1000a7b1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi + 4]
push esi
push dword [eax]
lea ecx, [ebp - 0xc]
call fcn.10005120
jmp 0x1000a77f
lea ecx, [ebp - 0xc]
call fcn.10004ddb
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x1000a722
mov edi, dword [eax + 4]
jmp 0x1000a725
lea edi, [eax + 4]
lea ecx, [ebp - 0xc]
call fcn.10004ddb
cmp dword [eax + 0x18], 8
jb 0x1000a738
mov eax, dword [eax + 4]
jmp 0x1000a73b
add eax, 4
push edi
push eax
lea eax, [ebp - 0x418]
push str._s__s_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0xc]
call fcn.1000de30
push esi
push dword [esi + 4]
lea ecx, [ebp - 0x14]
call fcn.10005120
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.1000c30a
test al, al
je 0x1000a70c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000b5bb
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
mov edi, dword [ebp + 8]
push 0x10030730
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call fcn.10007607
push dword [ebp - 4]
call fcn.100234c7
push str.min_popup_interval
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp + 8], ebx
call fcn.10007607
push dword [ebp + 8]
call fcn.100024ae
push str.disableppcmodule
lea eax, [ebp + 0xb]
push eax
push edi
mov byte [ebp + 0xb], bl
call fcn.100177d6
cmp byte [ebp + 0xb], bl
je 0x1000b647
push esi
push 0x1003ff4c
push 0x5f21bc0b
call fcn.1000f13a
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp esi, ebx
je 0x1000b646
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000b646
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
push 0x1002e91c
lea ecx, [ebp - 0x20]
call fcn.1000c2e8
push str.ppcserverdomain
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.100077b4
cmp dword [ebp - 0xc], ebx
je 0x1000b687
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x1000b674
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.1001809c
mov byte [ebp + 8], al
push dword [ebp + 8]
call fcn.1000ee13
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.100221da
pop edi
pop ebx
leave
ret 4

Function at 0x1000bca4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x288]
xor esi, esi
push eax
mov byte [ebp - 1], 0
mov word [ebp - 0x288], si
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xa
jle 0x1000bd68
push str.rundll32
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRStrIW]
test eax, eax
je 0x1000bd68
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov edi, 0x1003072c
push edi
lea eax, [ebp - 0x288]
push eax
call esi
mov ebx, eax
test ebx, ebx
je 0x1000bdc4
lea eax, [ebx + 2]
push edi
push eax
mov dword [ebp + 8], eax
call esi
test eax, eax
je 0x1000bdc4
and word [ebp - 0x490], 0
sub eax, ebx
sar eax, 1
dec eax
cmp eax, 0x7fffffff
ja 0x1000bd56
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x490]
push 0x104
push eax
call fcn.1001c75b
lea eax, [ebp - 0x490]
push eax
call fcn.100247dc
test al, al
je 0x1000bdc4
xor esi, esi
push 0x44
pop edi
push edi
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.10025c20
push 0x10
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.10025c20
add esp, 0x18
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push 8
push esi
push esi
push esi
lea eax, [ebp - 0x288]
push eax
push esi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x50], str.winsta0default
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x1000bdb4
mov byte [ebp - 1], al
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1000c6cb
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
push ebx
push 0x208
lea eax, [ebp - 0x618]
xor ebx, ebx
push eax
mov word [ebp - 0x618], bx
call fcn.1000f27c
test al, al
je 0x1000c7e2
push esi
push ebx
lea eax, [ebp - 0x618]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 4
mov word [ebp - 0x410], bx
pop esi
lea eax, [ebp - 0x410]
push eax
call fcn.1001c522
test al, al
je 0x1000c730
lea eax, [ebp - 0x410]
push eax
call fcn.1001a73a
dec esi
jne 0x1000c711
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1000c755
lea eax, [ebp - 0x410]
push eax
call fcn.100247dc
test al, al
jne 0x1000c7e1
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x208]
push eax
call esi
push 0x10030218
lea eax, [ebp - 0x208]
push eax
call esi
lea eax, [ebp - 0x208]
push eax
call fcn.100247dc
test al, al
je 0x1000c7ad
lea eax, [ebp - 0x208]
push eax
call fcn.1001a73a
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 3
je 0x1000c7e1
lea eax, [ebp - 0x208]
push eax
call fcn.100228f1
test al, al
je 0x1000c7e1
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call fcn.10006c15
mov bl, 1
pop esi
mov al, bl
pop ebx
leave
ret 4

Function at 0x1000c856
Capabilities:
Check mutex on windows

Disassembly:
call fcn.100131d6
push 0x1002f78c
call fcn.1000d4bb
call fcn.10005798
test al, al
jne 0x1000c8a3
push esi
call fcn.100250ea
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x1000c892
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1000c897
call fcn.10016b5f
test esi, esi
je 0x1000c8a2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
inc eax
ret
Function at 0x1000cbb6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ecx]
cmp dword [ecx + 0xc], esi
mov dword [ebp - 0x10], ecx
je 0x1000cc64
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov ecx, dword [esi + 4]
call fcn.10008159
test al, al
mov eax, ecx
je 0x1000cc0e
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
push ebx
push 4
push ebx
push ebx
push ebx
mov dword [ebp - 0xc], ebx
push dword [eax + 8]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 4]
jmp 0x1000cc51
lea ecx, [ebp - 8]
push ecx
push 0x2001b
push ebx
push dword [eax + 8]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000cc53
mov ecx, dword [esi + 4]
call fcn.100146cf
mov ecx, dword [esi + 4]
call fcn.10017ffe
push eax
call fcn.10017bdc
push eax
push dword [ecx]
push ebx
push dword [ecx + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call edi
mov esi, dword [esi + 8]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], esi
jne 0x1000cbd5
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000cc67
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x24
lea eax, [ebp - 0x460]
push eax
push ebx
mov esi, ecx
mov dword [ebp - 8], ebx
mov byte [ebp - 1], bl
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str._system32.dll
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
or eax, 0xffffffff
cmp edi, eax
je 0x1000cd48
jmp 0x1000ccfe
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp + 8]
test edx, edx
jne 0x1000ccd5
mov byte [ebp - 1], 1
lea eax, [ebp - 0x258]
push eax
mov ecx, esi
call fcn.100148da
cmp byte [ebp - 1], bl
je 0x1000ccfe
cmp al, bl
je 0x1000ccfe
push ebx
lea eax, [ebp - 0x22c]
push eax
mov ecx, esi
call fcn.10019d74
mov byte [ebp - 1], bl
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000ccc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0x12
je 0x1000cd2b
or eax, 0xffffffff
jmp 0x1000cd48
mov eax, dword [esi + 0xc]
xor ecx, ecx
cmp eax, ebx
jbe 0x1000cd46
mov edx, dword [esi + 4]
inc eax
imul eax, ecx
mov dword [edx + eax*4], ebx
mov eax, dword [esi + 0xc]
inc ecx
cmp ecx, eax
jb 0x1000cd34
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1000d4bb
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov esi, 0x208
push esi
push 0
push 0x1003ff78
call fcn.10025c20
push esi
call fcn.1001761b
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1000d585
push esi
push 0
push edi
call fcn.10025c20
add esp, 0xc
call fcn.10018718
mov esi, eax
mov dword [ebp - 4], esi
call fcn.10006881
test esi, esi
mov dword [ebp - 0xc], eax
je 0x1000d57e
lea ecx, [ebp - 8]
push ecx
push edi
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
push esi
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp + 8], 0
push edi
jne 0x1000d545
push 0x1003ff78
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.10006881
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x1000d575
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
cmp eax, 0x104
jge 0x1000d575
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
call esi
add eax, eax
push eax
push edi
push 1
push 0
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.1000e77a
pop ecx
pop edi
mov eax, 0x1003ff78
pop esi
leave
ret 4

Function at 0x1000ec6c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 1
mov edi, ecx
push esi
push dword [edi + 8]
mov dword [ebp - 8], esi
push dword [edi + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000ed2a
mov esi, dword [ebp + 8]
lea ebx, [esi + 4]
push ebx
push dword [esi]
lea eax, [ebp - 0xc]
push eax
push 0
push dword [edi + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000ed25
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebx]
mov edx, dword [esi]
lea ecx, [eax - 1]
shr ecx, 1
cmp eax, 3
lea ebx, [edx + ecx*2]
jbe 0x1000ed20
push dword [edi + 0x10]
push esi
call fcn.10006f4c
test al, al
jne 0x1000ed20
cmp word [ebx], 0
jne 0x1000ecf3
cmp word [ebx - 2], 0
je 0x1000ecf3
add ebx, 2
push dword [edi + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call edi
and word [ebx + eax*2 + 2], 0
push ebx
call edi
lea eax, [eax + eax + 2]
sub eax, dword [esi]
add eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
mov dword [esi + 4], eax
mov dword [ebp - 8], esi
jmp 0x1000ed30
and dword [ebx], 0
jmp 0x1000ed30
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4