joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000818c
Capabilities:
Write file on windows

Disassembly:
xor eax, eax
push eax
push 0x80
push 3
push eax
push eax
push 0x10000000
push 0x10055834
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x100081b2
jmp fcn.1000813f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x1000823f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
je 0x100082b1
cmp dword [eax + 8], 3
jne 0x100082b1
cmp dword [eax + 0x22c], ecx
jne 0x100082b1
cmp dword [eax + 0x228], ecx
jne 0x100082b1
push 0x110
push ecx
lea eax, [ebp - 0x114]
push eax
call fcn.1001a410
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x100082b1
xor eax, eax
inc eax
cmp dword [ebp - 0x110], eax
je 0x100082b3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a870
leave
ret 4

Function at 0x100085fd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
mov esi, ecx
inc ebx
cmp dword [esi + 0x3dc], ebx
jne 0x10008619
mov eax, ebx
jmp 0x100086c8
cmp dword [esi + 0x3d4], 0
je 0x10008636
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000862f
mov dword [eax], 0x80050001
xor eax, eax
jmp 0x100086c8
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x100445e8
push 0x100445b4
push 0x80000002
mov dword [ebp - 4], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 4], ebx
je 0x10008677
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000862f
mov dword [eax], 0x80050002
jmp 0x1000862f
push edi
lea edi, [esi + 0x3fc]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 8]
lea ecx, [esi + 8]
push esi
call fcn.1000c4dd
push ebx
mov dword [esi + 0x3dc], eax
call fcn.10008201
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x3d0]
pop edi
test eax, eax
je 0x100086b7
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0x10055b08], 0
mov eax, ebx
jne 0x100086c8
mov eax, dword [esi + 0x3dc]
pop esi
pop ebx
leave
ret 4
Function at 0x10008fb3
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7e8]
sub esp, 0x868
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x7e4], eax
and dword [ebp - 0x44], 0
and dword [ebp - 0x40], 0
push ebx
push esi
mov esi, dword [ebp + 0x7f0]
push edi
mov edi, dword [esi + 0x864]
mov eax, edi
and eax, 0xffff
mov ebx, ecx
je 0x10008fff
push eax
lea ecx, [ebx + 0x2c8]
call fcn.1000233f
mov dword [ebp - 0x44], eax
lea eax, [edi - 0xf000]
cmp eax, 0xfff
ja 0x1000902b
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1000902b
mov dword [eax + 8], 0x1d
lea eax, [ebp - 0x40]
push eax
call fcn.10005001
pop ecx
test eax, eax
jne 0x1000902b
and dword [ebp - 0x40], eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebx + 0x264]
push edi
call fcn.10018b92
mov ebx, eax
cmp edi, 0xf000
jne 0x100091a8
push 0x410
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.1001a410
add esp, 0xc
test ebx, ebx
jne 0x10009176
mov edi, 0x208
push edi
lea eax, [ebp + 0x5dc]
push ebx
push eax
call fcn.1001a410
push edi
lea eax, [ebp + 0x3d4]
push ebx
push eax
call fcn.1001a410
add esp, 0x18
cmp dword [ebp - 0x40], 0x3ec
jb 0x100090b6
cmp dword [esi + 0x234], 2
jne 0x100090b6
mov ebx, 0x104
lea eax, [ebp + 0x5dc]
push ebx
push eax
call fcn.10005abd
pop ecx
pop ecx
push 0x1004497c
push ebx
jmp 0x100090d7
push 0x1004495c
push 0x1005562c
lea eax, [ebp + 0x5dc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x10044934
push 0x104
lea eax, [ebp + 0x3d4]
push eax
call fcn.100054b8
push dword [0x10055a50]
lea eax, [ebp + 0x5dc]
push eax
call fcn.10005cbb
pop ecx
pop ecx
test eax, eax
je 0x1000913a
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.1001a410
lea eax, [ebp + 0x5dc]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x3d4]
mov dword [ebp - 0x6c], eax
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], 0x1400
mov dword [ebp - 0x64], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x40], 0x3ec
push dword [esi + 0x874]
jb 0x1000916f
mov eax, dword [esi + 0x234]
dec eax
je 0x10009167
dec eax
lea eax, [ebp - 0x3c]
je 0x10009160
push 0x100448a0
push edi
jmp 0x10009189
push 0x10044808
jmp 0x1000915d
push 0x10044770
push edi
jmp 0x10009186
push 0x100446c0
jmp 0x1000916c
push dword [esi + 0x874]
push 0x10044640
push 0x208
lea eax, [ebp - 0x3c]
push eax
call fcn.1000551f
mov eax, dword [0x10055aac]
add esp, 0x10
test eax, eax
je 0x100091a5
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0x14]
xor ebx, ebx
inc ebx
mov ecx, dword [ebp + 0x7e4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1001a870
add ebp, 0x7e8
leave
ret 4
Function at 0x10009911
Capabilities:
Get file size

Disassembly:
push 8
mov eax, 0x10040606
call fcn.1001a87f
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x10]
xor esi, esi
push edx
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], esi
call dword [ecx + 0xc]
xor edi, edi
cmp dword [ebp - 0x10], esi
jbe 0x10009959
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
push edi
mov dword [ebp - 0x14], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x14]
cmp word [eax + 4], si
je 0x10009972
inc edi
cmp edi, dword [ebp - 0x10]
jb 0x10009939
mov eax, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x1000996a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
call fcn.1001a957
ret
push 0x10
add eax, 0x24
push eax
push dword [ebp + 0xc]
call fcn.1001a9a0
mov eax, dword [ebp - 0x14]
add esp, 0xc
push esi
push 0x80
push 3
push esi
push 7
push 0x80000000
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100099b7
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx], esi
je 0x10009959
mov eax, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x100099cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x1000996c
Function at 0x100099d1
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push 0x44
mov eax, 0x10040629
call fcn.1001a8e8
lea eax, [ebp - 0x20]
push eax
push ecx
mov dword [ebp - 0x44], esp
mov ecx, esp
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x50], esi
lea ebx, [ebp - 0x50]
call fcn.10008513
call fcn.10009911
pop ecx
pop ecx
cmp eax, esi
je 0x10009b5b
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
call fcn.1000818c
push esi
push 0x80
push 3
push esi
push 1
push 0x10000000
push 0x10055834
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x40], edi
cmp edi, 0xffffffff
je 0x10009b5b
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
lea eax, [ebp - 0x4c]
push eax
push 4
lea eax, [ebp - 0x3c]
push eax
push edi
call ebx
test eax, eax
je 0x10009b44
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x18
add ecx, 4
mov dword [ebp - 0x44], eax
cmp eax, ecx
jne 0x10009b44
push eax
call fcn.1001a311
pop ecx
mov dword [ebp - 0x48], eax
cmp eax, esi
je 0x10009b44
push esi
push esi
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
call edi
push esi
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x40]
call ebx
test eax, eax
je 0x10009b44
mov ebx, dword [ebp - 0x48]
add ebx, 4
mov dword [ebp - 0x44], esi
cmp dword [ebp - 0x3c], esi
jbe 0x10009aeb
cmp dword [ebx + 0x14], 1
jne 0x10009add
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebx + 0x10]
jne 0x10009add
push 0x10
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.1001bfe2
add esp, 0xc
test eax, eax
je 0x10009b44
add ebx, 0x18
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x3c]
jb 0x10009abc
push esi
push esi
push esi
push dword [ebp - 0x40]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
inc dword [ebp - 0x3c]
push esi
lea eax, [ebp - 0x4c]
push eax
push 4
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x40]
call ebx
push 2
push esi
push esi
push dword [ebp - 0x40]
call edi
push 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1001a9a0
mov eax, dword [ebp - 0x50]
add esp, 0xc
push esi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x4c]
push eax
push 0x18
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x40]
mov dword [ebp - 0x24], 1
call ebx
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x48], esi
je 0x10009b5b
push dword [ebp - 0x48]
call fcn.1001a3f8
pop ecx
mov eax, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x10009b6c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.1001a96b
ret
Function at 0x1000c0f3
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
push esi
push edi
push 4
pop eax
push 0x208
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], eax
xor edi, edi
lea eax, [ebp - 0x6c]
push 0
inc edi
push eax
mov dword [ebp - 0x70], edi
call fcn.1001a410
add esp, 0xc
push 0x10044fe8
push 0x1005562c
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x6c]
push eax
mov esi, 0x100445e8
call fcn.1001611b
add esp, 0xc
test eax, eax
je 0x1000c198
mov edx, dword [ebp - 0x80]
mov eax, 0x60002
cmp edx, eax
jb 0x1000c193
mov ecx, 0x10000
jne 0x1000c17c
cmp dword [ebp - 0x78], ecx
jb 0x1000c193
mov eax, 0x60005
cmp edx, eax
jb 0x1000c18c
jne 0x1000c198
cmp dword [ebp - 0x78], ecx
jae 0x1000c198
mov esi, 0x10044fcc
jmp 0x1000c198
mov esi, 0x10044fb8
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
mov ebx, 0x100445b4
push ebx
mov esi, 0x80000002
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1000c1be
mov dword [ebp - 0x70], edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor eax, eax
cmp dword [ebp - 0x70], eax
setne al
cmp dword [0x10055b04], 0
mov dword [ebp - 0x70], eax
jne 0x1000c1ee
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
push 4
push 0x10044570
push 0x10044508
push esi
call edi
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
push 4
push 0x100445e8
push ebx
push esi
call edi
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001a870
add ebp, 0x1a0
leave
ret
Function at 0x1000ee12
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
mov ecx, esi
call fcn.1000edc1
xor esi, esi
cmp eax, 2
jne 0x1000ee33
inc esi
jmp 0x1000ee59
cmp eax, 3
jne 0x1000ee59
push 4
pop eax
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push 0x10043a40
push 0x100452c0
push 0x80000002
mov dword [ebp - 4], eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, esi
pop esi
leave
ret

Function at 0x1000effc
Capabilities:
Delete registry key

Disassembly:
push 0x14
mov eax, 0x10040b38
call fcn.1001a87f
lea ecx, [ebp - 0x20]
call fcn.1000c69a
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x1000f02b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1000ca4b
mov eax, edi
call fcn.1001a957
ret
lea eax, [ebp - 0x10]
push eax
mov esi, 0xf003f
push esi
push edi
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x1000f04d
xor edi, edi
inc edi
jmp 0x1000f017
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push edi
push edi
push edi
mov esi, 0x10045da8
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x1000f048
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
jmp 0x1000f017

Function at 0x1000f089
Capabilities:
Delete registry key

Disassembly:
push 0x14
mov eax, 0x10040b38
call fcn.1001a87f
lea ecx, [ebp - 0x20]
call fcn.1000c69a
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp + 8], edi
je 0x1000f12b
cmp dword [ebp + 0xc], edi
je 0x1000f12b
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call fcn.1000c706
test eax, eax
je 0x1000f0cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1000ca4b
mov eax, edi
jmp 0x1000f139
lea eax, [ebp - 0x10]
push eax
mov esi, 0xf003f
push esi
push edi
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x1000f0f1
xor edi, edi
inc edi
jmp 0x1000f0bf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push edi
push edi
push edi
mov esi, 0x10045da8
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x1000f0ec
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1000ca4b
xor eax, eax
call fcn.1001a957
ret
Function at 0x1000f539
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x1a0]
push esi
push edi
mov edi, dword [ebp + 0x19c]
push eax
xor esi, esi
push edi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], 0x104
call fcn.1000f13f
pop ecx
pop ecx
test eax, eax
je 0x1000f5ef
cmp dword [ebp + 0x1a4], esi
je 0x1000f5ec
lea eax, [ebp - 0x74]
push eax
push 8
push esi
push dword [ebp - 0x80]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000f5ec
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
jmp 0x1000f5da
push 1
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
call fcn.1000f539
add esp, 0xc
inc dword [ebp - 0x78]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0x104
push dword [ebp - 0x74]
call edi
test eax, eax
je 0x1000f5b0
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x190]
pop edi
xor ecx, ebp
pop esi
call fcn.1001a870
add ebp, 0x194
leave
ret

Function at 0x1000f851
Capabilities:
Delete registry key

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
jne 0x1000f85e
xor eax, eax
pop edi
ret
push esi
push 1
push edi
mov esi, 0x80000002
push esi
call fcn.1000f539
add esp, 0xc
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor eax, eax
pop esi
inc eax
pop edi
ret
Function at 0x1000f87e
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x5b4]
sub esp, 0x634
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x5b0], eax
mov ecx, dword [ebp + 0x5c0]
mov eax, dword [ebp + 0x5bc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x6c]
push ecx
push 8
xor edi, edi
push edi
push 0x10045de0
push eax
mov dword [ebp - 0x74], eax
call ebx
test eax, eax
je 0x1000f8cf
xor eax, eax
jmp 0x1000f9a1
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x1a0]
push eax
push edi
push dword [ebp - 0x6c]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x78], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1000f995
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
inc dword [ebp - 0x70]
lea eax, [ebp + 0x1a0]
push eax
push 0x10045de0
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x78], 0x104
call esi
push dword [ebp - 0x7c]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x3a8]
push eax
call esi
push 1
lea eax, [ebp + 0x3a8]
push eax
push dword [ebp - 0x74]
call fcn.1000f539
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push 1
push edi
lea eax, [ebp + 0x3a8]
push eax
push dword [ebp - 0x74]
call ebx
test eax, eax
jne 0x1000f971
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x3a8]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x1a0]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1000f901
pop esi
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x5b0]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001a870
add ebp, 0x5b4
leave
ret

Function at 0x1000fdc3
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x1000fdd4
push 0xd
pop eax
jmp 0x1000fe01
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x1000fdd7
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x10010368
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.100050f7
mov ebx, eax
cmp ebx, esi
je 0x100103d8
lea ecx, [ebp - 0x70]
call fcn.10005082
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001a870
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x100103f0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.10010368
cmp eax, esi
jne 0x10010422
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], pe_nt_image_headers32
call ebx
test eax, eax
je 0x100103e0
lea ecx, [ebp - 0x70]
call fcn.10005082
push dword [ebp - 0x78]
mov ecx, edi
call fcn.1000fd68
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.10005082
mov eax, esi
jmp 0x100103be
Function at 0x100115e3
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0xc
mov eax, 0x10040cf4
call fcn.1001a87f
mov eax, dword [0x1005218c]
xor esi, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
push 0x104
lea eax, [ebp + 0x208]
push 0x1005562c
push eax
mov dword [ebp - 4], esi
call fcn.1001a9a0
add esp, 0xc
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x10046144
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10011691
lea ecx, [ebp - 0x18]
call fcn.100053ef
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.1001a870
add ebp, 0x414
leave
ret
push dword [0x10055a50]
lea eax, [ebp]
push eax
call fcn.10005cbb
pop ecx
pop ecx
test eax, eax
je 0x10011664
push 0x10046124
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.100114af
lea ecx, [ebp - 0x18]
test eax, eax
je 0x10011667
call fcn.10011596
cmp eax, esi
jne 0x100116e1
lea ecx, [ebp - 0x18]
call fcn.100053ef
mov eax, esi
jmp 0x1001166e
push eax
push 0x10055b1c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor esi, esi
inc esi
jmp 0x100116d5
Function at 0x1001180c
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x10
mov eax, 0x10040d61
call fcn.1001a87f
xor eax, eax
mov ebx, 0x206
push ebx
mov word [ebp + 0x208], ax
xor esi, esi
lea eax, [ebp + 0x20a]
push esi
push eax
call fcn.1001a410
add esp, 0xc
lea ecx, [ebp - 0xd]
call fcn.10013b69
mov dword [ebp - 4], esi
call fcn.100115e3
cmp dword [ebp + 0x41c], esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edi, 0x1005562c
lea ecx, [ebp - 0xd]
jne 0x10011891
push 0
call fcn.100154c8
test eax, eax
je 0x100118e3
lea ecx, [ebp - 0xd]
call fcn.10014efb
push 0x10046184
jmp 0x100118d9
cmp dword [ebp + 0x41c], 1
jne 0x100118b4
push 0
call fcn.10015b15
test eax, eax
je 0x100118e3
lea ecx, [ebp - 0xd]
call fcn.100156d7
push 0x10046170
jmp 0x100118d9
cmp dword [ebp + 0x41c], 2
jne 0x100119d2
push 0
call fcn.10015e98
test eax, eax
je 0x100118e3
lea ecx, [ebp - 0xd]
call fcn.10015936
push 0x10046158
push edi
lea eax, [ebp + 0x208]
push eax
call esi
lea eax, [ebp + 0x208]
push eax
call fcn.1001bd26
pop ecx
cmp eax, 1
jb 0x100119cf
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100119cf
xor eax, eax
push ebx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 2]
xor ecx, ecx
push eax
mov word [ebp], cx
call fcn.1001a410
add esp, 0xc
push 0x10043584
push edi
lea eax, [ebp]
push eax
call esi
mov ecx, 0x10055420
call fcn.1000c617
test eax, eax
je 0x10011989
lea eax, [ebp]
push eax
call fcn.1000f487
mov edi, eax
test edi, edi
je 0x1001198c
push 0x10045010
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001198c
lea ecx, [ebp - 0x14]
push ecx
push 5
call eax
pop ecx
pop ecx
test eax, eax
je 0x1001198c
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jne 0x1001198c
mov dword [ebp - 0x18], 1
jmp 0x1001198c
mov edi, dword [ebp - 0x1c]
xor esi, esi
cmp dword [ebp - 0x18], esi
je 0x100119a4
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
lea edx, [ebp + 0x208]
push edx
call dword [eax + 0x34]
mov esi, eax
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100119b4
mov eax, dword [ecx]
call dword [eax + 0x10]
and dword [ebp - 0x14], 0
test edi, edi
je 0x100119bf
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call int.1003a7b3
mov eax, esi
jmp 0x100119dd
lea ecx, [ebp - 0xd]
or dword [ebp - 4], 0xffffffff
call int.1003a7b3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.1001a870
add ebp, 0x414
leave
ret