joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001618a
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push 0x44
mov eax, 0x10047896
call fcn.100317e8
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.10008439
call fcn.100160ca
pop ecx
pop ecx
cmp eax, esi
je 0x10016314
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
call fcn.100157f0
push esi
push 0x80
push 3
push esi
push 1
push 0x10000000
push 0x1005bf24
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x40], edi
cmp edi, 0xffffffff
je 0x10016314
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 0x100162fd
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 0x100162fd
push eax
call fcn.10031154
pop ecx
mov dword [ebp - 0x48], eax
cmp eax, esi
je 0x100162fd
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 0x100162fd
mov ebx, dword [ebp - 0x48]
add ebx, 4
mov dword [ebp - 0x44], esi
cmp dword [ebp - 0x3c], esi
jbe 0x100162a4
cmp dword [ebx + 0x14], 1
jne 0x10016296
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebx + 0x10]
jne 0x10016296
push 0x10
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.10033297
add esp, 0xc
test eax, eax
je 0x100162fd
add ebx, 0x18
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x3c]
jb 0x10016275
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.100318a0
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 0x10016314
push dword [ebp - 0x48]
call fcn.10031300
pop ecx
mov eax, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x10016325
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.1003186b
ret
Function at 0x100180fe
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x100598e8]
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.10031310
add esp, 0xc
push 0x1004d080
push 0x1005bd1c
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, 0x1004cc34
call fcn.1000cc3d
add esp, 0xc
test eax, eax
je 0x100181a3
mov edx, dword [ebp - 0x80]
mov eax, 0x60002
cmp edx, eax
jb 0x1001819e
mov ecx, 0x10000
jne 0x10018187
cmp dword [ebp - 0x78], ecx
jb 0x1001819e
mov eax, 0x60005
cmp edx, eax
jb 0x10018197
jne 0x100181a3
cmp dword [ebp - 0x78], ecx
jae 0x100181a3
mov esi, 0x1004d064
jmp 0x100181a3
mov esi, 0x1004d050
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
mov ebx, 0x1004c7dc
push ebx
mov esi, 0x80000002
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x100181c9
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 [0x1005d6b0], 0
mov dword [ebp - 0x70], eax
jne 0x100181f9
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
push 4
push 0x1004cc20
push 0x1004cbb8
push esi
call edi
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
push 4
push 0x1004cc34
push ebx
push esi
call edi
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10031770
add ebp, 0x1a0
leave
ret

Function at 0x100184e8
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x10047b24
call fcn.1003177f
mov esi, ecx
lea ebx, [esi + 0x14]
push ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0xc], eax
cmp ecx, edi
jne 0x10018533
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x10018522
mov dword [eax], 0x80050003
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
call fcn.10031857
ret 8
mov eax, dword [ecx]
call dword [eax + 0x4c]
test eax, eax
je 0x10018522
cmp dword [esi + 0x10], edi
jne 0x10018578
lea eax, [ebp + 8]
push eax
push edi
push esi
push 0x100184d6
push edi
push edi
mov dword [ebp + 8], edi
call fcn.1003316c
add esp, 0x18
mov dword [esi + 0x10], eax
cmp eax, edi
jne 0x10018578
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x1001856d
mov dword [eax], 0x80050004
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x1001852b
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 1
call dword [eax + 0x54]
mov edi, eax
jmp 0x1001856d
Function at 0x100186dd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100598e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
mov esi, ecx
call fcn.10031310
add esp, 0xc
cmp dword [0x1005bb08], 0
jne 0x1001879c
push 0x1004d0c8
lea eax, [esi + 0x20c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x1001878f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001878f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x1001877e
push dword [esi + 0x105c]
lea eax, [ebp - 0x20c]
push eax
call fcn.1000f01b
pop ecx
pop ecx
test eax, eax
je 0x1001878f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1001878f
push 0x1004d130
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1005bb08], eax
cmp dword [0x1005bb08], 0
jne 0x1001879c
xor eax, eax
jmp 0x100187a5
push dword [ebp + 8]
call dword [0x1005bb08]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10031770
leave
ret 4
Function at 0x10018cf4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x100598e8]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
xor eax, eax
push 0x206
mov word [ebp - 0x78], ax
xor ebx, ebx
lea eax, [ebp - 0x76]
push ebx
push eax
call fcn.10031310
add esp, 0xc
push 0x1004d214
push 0x1005bd1c
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [0x1005cb6c]
lea eax, [ebp - 0x78]
push eax
call fcn.1000f01b
pop ecx
pop ecx
test eax, eax
je 0x10018e6d
push edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
je 0x10018e5f
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.1000cc3d
add esp, 0xc
test eax, eax
je 0x10018e5f
mov eax, 0x10000
cmp dword [ebp - 0x7c], eax
ja 0x10018e3a
jne 0x10018da5
cmp dword [ebp - 0x80], 0x3ed
jae 0x10018e3a
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x1005cb94], ebx
jne 0x10018dc1
push 0x1004d200
push edi
call esi
mov dword [0x1005cb94], eax
cmp dword [0x1005cb9c], ebx
jne 0x10018dd6
push 0x1004d1ec
push edi
call esi
mov dword [0x1005cb9c], eax
cmp dword [0x1005cb98], ebx
jne 0x10018deb
push 0x1004d1dc
push edi
call esi
mov dword [0x1005cb98], eax
mov eax, dword [0x1005cba0]
cmp eax, ebx
jne 0x10018e01
push 0x1004d1c4
push edi
call esi
mov dword [0x1005cba0], eax
mov ecx, dword [0x1005cb94]
pop esi
cmp ecx, ebx
je 0x10018e4f
cmp dword [0x1005cb9c], ebx
je 0x10018e4f
cmp dword [0x1005cb98], ebx
je 0x10018e4f
cmp eax, ebx
je 0x10018e4f
call ecx
test eax, eax
je 0x10018e4f
call dword [0x1005cb9c]
call dword [0x1005cb98]
call dword [0x1005cba0]
jmp 0x10018e6c
push 0x1004d1b8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1005cba4], eax
cmp eax, ebx
jne 0x10018e52
push edi
jmp 0x10018e59
call eax
push edi
test eax, eax
jge 0x10018e63
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x10018e6c
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
inc eax
pop edi
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
pop ebx
call fcn.10031770
add ebp, 0x194
leave
ret
Function at 0x10018eeb
Capabilities:
Delete file
Delete registry key
Delete registry value
Get common file path

Disassembly:
push ebp
sub esp, 0x674
lea ebp, [esp - 4]
mov eax, dword [0x100598e8]
xor eax, ebp
mov dword [ebp + 0x674], eax
push 0x14
mov eax, 0x10047b4f
call fcn.1003177f
lea ecx, [ebp]
call fcn.10026b6c
xor ebx, ebx
lea ecx, [ebp]
mov dword [ebp - 4], ebx
call fcn.10026371
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
push 0x2001f
push 0x1004c7dc
mov esi, 0x80000002
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1000da6a
test eax, eax
jne 0x10018f58
push 0x1004d2d8
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [0x1005d6b0], ebx
je 0x10018ff3
mov eax, dword [0x1005cba8]
cmp eax, ebx
jne 0x10018fec
xor eax, eax
push 0x206
mov word [ebp + 0x46c], ax
lea eax, [ebp + 0x46e]
push ebx
push eax
call fcn.10031310
add esp, 0xc
push 0x1004d2a4
push 0x1005bd1c
lea eax, [ebp + 0x46c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [0x1005cb6c]
lea eax, [ebp + 0x46c]
push eax
call fcn.1000f01b
pop ecx
pop ecx
test eax, eax
je 0x100190b4
lea eax, [ebp + 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
je 0x100190b4
push 0x1004bdc8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1005cba8], eax
cmp eax, ebx
je 0x100190b4
call eax
jmp 0x100190b4
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0x1004cbb8
push esi
call edi
push 0x1004abf0
push esi
call edi
push 0x1004d250
push esi
call edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x264], ax
lea eax, [ebp + 0x266]
push ebx
push eax
call fcn.10031310
xor eax, eax
push esi
mov word [ebp + 0x5c], ax
lea eax, [ebp + 0x5e]
push ebx
push eax
call fcn.10031310
add esp, 0x18
mov esi, 0x104
push esi
lea eax, [ebp + 0x5c]
push eax
mov dword [ebp - 0x20], 0x1004b73c
mov dword [ebp - 0x1c], 0x1004cb48
mov dword [ebp - 0x18], 0x1004d238
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x1004cb00
push esi
lea eax, [ebp + 0x5c]
push eax
call fcn.1000e449
xor esi, esi
push 0x208
lea eax, [ebp + 0x264]
push ebx
push eax
call fcn.10031310
add esp, 0xc
push dword [ebp + esi*4 - 0x20]
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x264]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc esi
cmp esi, 3
jl 0x10019077
lea ecx, [ebp - 0x14]
call fcn.1000d9f5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.1002698d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x674]
xor ecx, ebp
call fcn.10031770
add ebp, 0x678
leave
ret
Function at 0x1001c7de
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x100598e8]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x10
mov eax, 0x10047f52
call fcn.1003177f
xor eax, eax
push 0x206
mov word [ebp + 0x208], ax
xor esi, esi
lea eax, [ebp + 0x20a]
push esi
push eax
call fcn.10031310
add esp, 0xc
lea ecx, [ebp - 0xd]
call fcn.100234df
push dword [0x1005cbc4]
mov ebx, 0x1005bb10
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.100187d0
cmp dword [ebp + 0x41c], esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edi, 0x1005bd1c
lea ecx, [ebp - 0xd]
jne 0x1001c86f
push 0
call fcn.100251e3
test eax, eax
je 0x1001c8c1
lea ecx, [ebp - 0xd]
call fcn.100248aa
push 0x1004e254
jmp 0x1001c8b7
cmp dword [ebp + 0x41c], 1
jne 0x1001c892
push 0
call fcn.10025b1e
test eax, eax
je 0x1001c8c1
lea ecx, [ebp - 0xd]
call fcn.10025410
push 0x1004e240
jmp 0x1001c8b7
cmp dword [ebp + 0x41c], 2
jne 0x1001c9b2
push 0
call fcn.10025fe8
test eax, eax
je 0x1001c8c1
lea ecx, [ebp - 0xd]
call fcn.1002566f
push 0x1004e228
push edi
lea eax, [ebp + 0x208]
push eax
call esi
lea eax, [ebp + 0x208]
push eax
call fcn.10032c26
pop ecx
cmp eax, 1
jb 0x1001c9af
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001c9af
xor eax, eax
push 0x206
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.10031310
add esp, 0xc
push 0x1004cb88
push edi
lea eax, [ebp]
push eax
call esi
mov ecx, ebx
call fcn.100189ce
test eax, eax
je 0x1001c969
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x1001c96c
push 0x1004d0a8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001c96c
lea ecx, [ebp - 0x14]
push ecx
push 5
call eax
pop ecx
pop ecx
test eax, eax
je 0x1001c96c
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jne 0x1001c96c
mov dword [ebp - 0x18], 1
jmp 0x1001c96c
mov edi, dword [ebp - 0x1c]
xor esi, esi
cmp dword [ebp - 0x18], esi
je 0x1001c984
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 0x1001c994
mov eax, dword [ecx]
call dword [eax + 0x10]
and dword [ebp - 0x14], 0
test edi, edi
je 0x1001c99f
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.1003b3f2
mov eax, esi
jmp 0x1001c9bd
lea ecx, [ebp - 0xd]
or dword [ebp - 4], 0xffffffff
call fcn.1003b3f2
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.10031770
add ebp, 0x414
leave
ret
Function at 0x1001ca67
Capabilities:
Set registry value

Disassembly:
push 0x10
mov eax, 0x10047f8a
call fcn.1003177f
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call fcn.10022a6f
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10018bb7
mov esi, dword [ebp + 8]
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x1001cabe
cmp esi, 2
je 0x1001cabe
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.10018eaf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10022a78
mov eax, ebx
call fcn.10031857
ret 4
push esi
call fcn.10022f3d
pop ecx
push esi
lea ecx, [ebp - 0x1c]
mov ebx, eax
call fcn.10018eb4
lea ecx, [ebp - 0x1c]
call fcn.10018b51
test eax, eax
jne 0x1001cadf
push 3
pop ebx
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0x1004d2d8
push 0x1004c7dc
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x1001ca9c

Function at 0x1001cafe
Capabilities:
Delete registry key

Disassembly:
push 0x14
mov eax, 0x10047fad
call fcn.1003177f
lea ecx, [ebp - 0x20]
call fcn.10018bb7
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x1001cb2d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10018eaf
mov eax, edi
call fcn.10031857
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 0x1001cb4f
xor edi, edi
inc edi
jmp 0x1001cb19
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push edi
push edi
push edi
mov esi, 0x1004e268
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x1001cb4a
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 0x1001cb19

Function at 0x1001cb8b
Capabilities:
Delete registry key

Disassembly:
push 0x14
mov eax, 0x10047fad
call fcn.1003177f
lea ecx, [ebp - 0x20]
call fcn.10018bb7
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp + 8], edi
je 0x1001cc2d
cmp dword [ebp + 0xc], edi
je 0x1001cc2d
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call fcn.10018b7d
test eax, eax
je 0x1001cbd1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10018eaf
mov eax, edi
jmp 0x1001cc3b
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 0x1001cbf3
xor edi, edi
inc edi
jmp 0x1001cbc1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push edi
push edi
push edi
mov esi, 0x1004e268
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x1001cbee
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.10018eaf
xor eax, eax
call fcn.10031857
ret
Function at 0x1001cf00
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x100598e8]
xor eax, ebp
mov dword [ebp + 0x18c], eax
cmp dword [0x1005cbd0], 0
jne 0x1001cf91
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.10031310
add esp, 0xc
push 0x1004e2f8
push 0x1005bb14
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x1001cf88
push dword [0x1005cb6c]
lea eax, [ebp - 0x7c]
push eax
call fcn.1000f01b
pop ecx
pop ecx
test eax, eax
je 0x1001cf88
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1001cf88
push 0x1004e2e4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1005cbd0], eax
cmp dword [0x1005cbd0], 0
je 0x1001cfd1
mov eax, dword [0x1005cb7c]
mov ecx, 0x20000
cmp eax, ecx
ja 0x1001cfad
jne 0x1001cfd1
cmp dword [0x1005cb80], 0x103ef
jb 0x1001cfd1
push 4
lea eax, [ebp - 0x80]
push eax
push 4
push 0x1004e2d0
push 0x1004e278
push 0x80000002
mov dword [ebp - 0x80], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
call fcn.10031770
add ebp, 0x190
leave
ret

Function at 0x1001d13a
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x100598e8]
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.1001cc41
pop ecx
pop ecx
test eax, eax
je 0x1001d1f0
cmp dword [ebp + 0x1a4], esi
je 0x1001d1ed
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 0x1001d1ed
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 0x1001d1db
push 1
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
call fcn.1001d13a
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 0x1001d1b1
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.10031770
add ebp, 0x194
leave
ret
Function at 0x1001d282
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x618
lea ebp, [esp - 4]
mov eax, dword [0x100598e8]
xor eax, ebp
mov dword [ebp + 0x618], eax
push 0xc
mov eax, 0x10047ffb
call fcn.1003177f
xor eax, eax
mov esi, 0x206
push esi
xor edi, edi
mov word [ebp + 0x410], ax
lea eax, [ebp + 0x412]
push edi
push eax
call fcn.10031310
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
xor eax, eax
push esi
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.10031310
lea eax, [ebp + 0x208]
push eax
call fcn.1000e9a7
add esp, 0x1c
lea ecx, [ebp - 0x14]
test eax, eax
jne 0x1001d32b
call fcn.1000d9f5
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 + 0x618]
xor ecx, ebp
call fcn.10031770
add ebp, 0x61c
leave
ret
push 0x20019
push 0x1004ae18
push 0x80000002
call fcn.1000da6a
test eax, eax
jne 0x1001d368
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push edi
lea ecx, [ebp - 0x14]
call fcn.1000daab
test eax, eax
jne 0x1001d368
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp]
push eax
call esi
test eax, eax
jne 0x1001d374
lea ecx, [ebp - 0x14]
call fcn.1000d9f5
mov eax, edi
jmp 0x1001d308
push 0x1004e324
lea eax, [ebp]
push eax
lea eax, [ebp + 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp + 0x410]
push eax
call esi
test eax, eax
jne 0x1001d368
xor edi, edi
inc edi
jmp 0x1001d368

Function at 0x1001d39c
Capabilities:
Delete registry key

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
jne 0x1001d3a9
xor eax, eax
pop edi
ret
push esi
push 1
push edi
mov esi, 0x80000002
push esi
call fcn.1001d13a
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 0x1001d3c9
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x5b4]
sub esp, 0x634
mov eax, dword [0x100598e8]
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 0x1004e350
push eax
mov dword [ebp - 0x74], eax
call ebx
test eax, eax
je 0x1001d41a
xor eax, eax
jmp 0x1001d4ec
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 0x1001d4e0
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
inc dword [ebp - 0x70]
lea eax, [ebp + 0x1a0]
push eax
push 0x1004e350
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.1001d13a
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 0x1001d4bc
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 0x1001d44c
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.10031770
add ebp, 0x5b4
leave
ret