joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101a829
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x630], ecx
mov esi, 0x80070057
test eax, eax
je 0x101a910
push edi
push eax
mov edi, 0x201
push edi
lea eax, [ebp - 0x428]
push eax
call fcn.0100665f
mov esi, eax
test esi, esi
jl 0x101a90f
push ebx
push 0x5c
lea eax, [ebp - 0x428]
push eax
call sub.SHLWAPI.dll_StrChrW
mov ebx, eax
test ebx, ebx
je 0x101a8f3
lea ecx, [ebp - 0x428]
sub eax, ecx
sar eax, 1
push eax
mov eax, ecx
push eax
push 0x100
lea eax, [ebp - 0x628]
push eax
call fcn.0101cd02
mov esi, eax
test esi, esi
jl 0x101a90e
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x62c], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp eax, 1
jne 0x10684df
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10684cc
push 0x2b
pop eax
mov word [ebx], ax
test esi, esi
jl 0x101a90e
lea eax, [ebp - 0x428]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x630]
call fcn.0100665f
mov esi, eax
pop ebx
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01001feb
leave
ret 0xc
add ebx, 2
push ebx
push edi
lea eax, [ebp - 0x428]
push eax
call fcn.0100665f
jmp 0x10684e4
call fcn.0101ae40
mov esi, eax
jmp 0x101a8f3
Function at 0x101cc51
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov ebx, 0x80004005
test edi, edi
je 0x101cceb
push esi
push 0x5c
push edi
call sub.SHLWAPI.dll_StrChrW
mov esi, eax
test esi, esi
je 0x1068432
lea eax, [esi + 2]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0x2c]
call fcn.0100665f
mov ebx, eax
test ebx, ebx
jl 0x101ccea
sub esi, edi
sar esi, 1
push esi
mov esi, dword [ebp - 0x28]
push edi
push dword [ebp + 0x10]
push esi
call fcn.0101cd02
mov ebx, eax
test ebx, ebx
jl 0x101ccea
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp eax, 1
jne 0x101ccea
push esi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x106842a
pop esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 0x14
mov word [esi], ax
jmp 0x101ccea
push edi
push dword [ebp + 0x18]
push dword [ebp - 0x2c]
call fcn.0100665f
mov ebx, eax
test ebx, ebx
jl 0x101ccea
cmp dword [ebp + 0x10], 0
jbe 0x101ccea
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov word [ecx], ax
jmp 0x101ccea
Function at 0x101cf07
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x424], ecx
mov ecx, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x428], ecx
mov esi, 0x104
push esi
lea ecx, [ebp - 0x414]
push ecx
push eax
call fcn.0101a829
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jl 0x101d018
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0101ce0f
mov edi, eax
cmp edi, ebx
jl 0x101d018
push 0x101d038
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01010e3b
mov edi, eax
cmp edi, ebx
jl 0x101d018
lea eax, [ebp - 0x414]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01010e3b
mov edi, eax
cmp edi, ebx
jl 0x101d018
push 0x101d02c
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01010e3b
mov edi, eax
cmp edi, ebx
jl 0x101d018
push ebx
push 0x80
push 3
push ebx
push 1
push 1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, 0xffffffff
je 0x10685e6
lea ecx, [ebp - 0x41c]
push ecx
push eax
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp dword [ebp - 0x41c], ebx
ja 0x101d007
cmp esi, ebx
jne 0x1068570
mov edi, 0x800703ee
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 0xc
cmp esi, 0xffffffff
je 0x101d007
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.0101bb7f
mov edi, eax
cmp edi, ebx
jl 0x101d00c
push ebx
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x418]
push eax
push esi
push ebx
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10685d3
cmp dword [ebp - 0x418], esi
je 0x10685bf
mov edi, 0x80004005
jmp 0x10685da
mov eax, dword [ebp - 0x424]
mov dword [eax], ebx
mov eax, dword [ebp - 0x428]
mov dword [eax], esi
xor ebx, ebx
jmp 0x10685da
call fcn.0107be1b
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x101d00c
call fcn.0107be1b
mov edi, eax
jmp 0x101d018
Function at 0x101d1c1
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x106861f
push ebx
push esi
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
cmp dword [ebp - 4], edi
ja 0x101d255
cmp eax, 0xffffffff
je 0x101d255
mov esi, dword [ebp + 0xc]
push esi
push eax
call fcn.0101bb7f
cmp eax, edi
mov dword [ebp + 8], eax
jl 0x101d242
push edi
lea eax, [ebp + 0x10]
push eax
push dword [ebx]
push dword [esi]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1068608
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebx]
jne 0x10685f2
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov eax, dword [ebp + 8]
pop edi
leave
ret 0xc
mov dword [ebp + 8], 0x800703ee
jmp 0x101d242
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi], edi
mov dword [ebp + 8], 0x80004005
jmp 0x101d242
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi], edi
call fcn.0101ae40
mov dword [ebp + 8], eax
jmp 0x101d242
call fcn.0101ae40
mov dword [ebp + 8], eax
jmp 0x101d24d
Function at 0x101f850
Capabilities:
Get geographical location

Disassembly:
push 0x28
push eax
push 0x1003
push 0x400
call ebx
xor eax, eax
mov word [esi + 0x104], ax
jmp 0x101f88b
push 0x28
push eax
push 0x1f
push 0x400
call ebx
xor eax, eax
mov word [esi + 0x60], ax
jmp 0x101f898
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call edi
test eax, 0x10000000
je 0x1058cde
lea eax, [esi + 0xb4]
cmp word [eax], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
je 0x101f3ba
lea eax, [esi + 0x10]
cmp word [eax], 0
je 0x101f3d7
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push dword [ebp + 8]
mov ecx, esi
push eax
call fcn.0101f94d
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*4]
push eax
push dword [ebp - 8]
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0xffffffffffffffec
push dword [esi + 4]
call edi
push eax
push ebx
push 0xfffffffffffffff0
push dword [esi + 4]
call edi
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov esi, dword [esi + 0x1ac]
cmp esi, ebx
je 0x101f90f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push 1
push ebx
push esi
call dword [sym.imp.UxTheme.dll_GetThemeBackgroundExtent]
test eax, eax
jl 0x101f90f
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [0x10b10c0]
mov eax, dword [0x10b10bc]
mov edx, dword [ebp - 0x1c]
add eax, ecx
mov ecx, dword [ebp - 0x14]
mov esi, ecx
sub esi, edx
cmp esi, eax
pop ebx
jl 0x1058ce5
sub ecx, edx
movzx eax, cx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
shl eax, 0x10
movzx ecx, cx
or eax, ecx
pop edi
pop esi
leave
ret 8
xor eax, eax
jmp 0x101f942
lea ecx, [eax + edx]
jmp 0x101f92f
Function at 0x101fb45
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 0x18]
mov dword [esi + 0x350], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x354], eax
call edi
mov ebx, 0x10000000
test ebx, eax
je 0x10599a1
push dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_IsWindowVisible]
call edi
test eax, eax
je 0x1027c5b
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0101fbbf
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 8]
shl eax, 0x10
or eax, ecx
pop edi
pop esi
pop ebx
leave
ret 8
push dword [0x10b10f0]
call edi
test eax, eax
je 0x101fb91
jmp 0x1059a07
push 0xffffffffffffffff
push 3
lea ecx, [esi + 0x29c]
call fcn.01010eb3
test eax, eax
jne 0x101fb7e
push 0xffffffffffffffff
push 3
lea ecx, [esi + 0x2ac]
call fcn.01010eb3
test eax, eax
jne 0x101fb7e
push 0xffffffffffffffff
push 3
lea ecx, [esi + 0x2bc]
call fcn.01010eb3
test eax, eax
jne 0x101fb7e
push 0xfffffffffffffff0
push dword [esi + 0x28]
call edi
test ebx, eax
jne 0x101fb7e
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
jmp 0x101fbb3
push 5
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x101fb91
Function at 0x1024d19
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc84
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x1024dec
call sub.SHELL32.dll_SHGetFolderPathEx
test eax, eax
jne 0x1024dd5
push edi
push 0x20
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
test edi, edi
je 0x1024dd4
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.0100665f
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0xa2c]
push eax
call fcn.0100665f
lea ecx, [ebp - 0x20c]
mov eax, edi
sub eax, ecx
sar eax, 1
push 0x1024de4
mov ecx, esi
sub ecx, eax
push ecx
push edi
call fcn.0100665f
lea eax, [ebp - 0xc7c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc84], eax
cmp eax, 0xffffffff
jne 0x1057631
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01001feb
leave
ret
mov edi, 0x410
push ebx
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0100665f
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0xc50]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.01010e3b
mov eax, dword [ebp - 0xc7c]
and eax, edi
xor ebx, ebx
cmp eax, edi
jne 0x10576e1
lea eax, [ebp - 0xc80]
push eax
push 0x1026658
lea eax, [ebp - 0x414]
push eax
push 0x1057784
call fcn.0107db05
test eax, eax
jl 0x10576e1
mov eax, dword [ebp - 0xc80]
mov ecx, dword [eax]
push ebx
push ebx
push esi
lea edx, [ebp - 0x824]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10576d5
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x61c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
jne 0x10576d5
inc ebx
mov eax, dword [ebp - 0xc80]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test byte [ebp - 0xc7c], 0x10
je 0x1057702
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1057733
test ebx, ebx
jne 0x1057733
push 0x1057760
push 5
lea eax, [ebp - 0x414]
push eax
push 0x107273f
push 0x14
push dword [0x10b10b4]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_292]
cmp eax, 5
je 0x105774e
lea eax, [ebp - 0xc7c]
push eax
push dword [ebp - 0xc84]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1057637
push dword [ebp - 0xc84]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
jmp 0x1024dd4
Function at 0x1026e32
Capabilities:
Create thread

Disassembly:
mov edi, edi
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, ecx
push esi
push 0x1026e61
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x1054a9c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
ret
mov dword [esi + 0x1c], edi
pop edi
mov ecx, esi
pop esi
jmp fcn.01026e79

Function at 0x1026f72
Capabilities:
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
cmp dword [esi + 0x18], eax
jne 0x1054a2b
xor edi, edi
inc edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
cmp dword [esi + 0x1c], eax
je 0x1026f87
mov ebx, dword [ebp + 8]
cmp dword [esi + 0x20], eax
jne 0x1054a57
lea eax, [esi + 0x24]
push eax
push ebx
call fcn.0106cb53
mov edi, eax
test edi, edi
jl 0x1026f8a
mov dword [esi + 0x20], 1
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x1054a71
call fcn.0101ae40
mov edi, eax
jmp 0x1026f8a
push 0
lea eax, [esi + 0x30]
push eax
push ebx
mov ecx, esi
call fcn.0106cbb8
mov edi, eax
test edi, edi
jge 0x1026f8a
push 1
lea eax, [esi + 0x24]
push eax
push ebx
mov ecx, esi
call fcn.0106cbb8
jmp 0x1026f8a
Function at 0x1027ef9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40000044
mov edi, ecx
call dword [sym.imp.SHELL32.dll_SHRestricted]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0
push 2
push 0x10281d8
push 0x100f280
push 0x80000001
mov dword [ebp - 0x94], 0x86
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1027f62
xor eax, eax
mov word [ebp - 0x8c], ax
mov ebx, 0x1f4
mov esi, 0x1027fcc
test byte [esi], 8
je 0x1027f7a
cmp dword [ebp - 0x90], 0
jne 0x1027fa7
movzx eax, word [esi - 4]
push eax
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrIW]
test eax, eax
jne 0x1027fa7
movzx eax, word [esi - 4]
push eax
mov eax, dword [esi]
or eax, 0x4000
push eax
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RegisterHotKey]
add esi, 8
inc ebx
cmp esi, 0x10281dc
jl 0x1027f6c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret

Function at 0x1028a85
Capabilities:
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.ADVAPI32.dll_RegGetValueW]
push edi
push 4
pop edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push ebx
push 0x10
push 0x1028bd4
push ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x1028acb
mov eax, dword [ebp - 8]
cmp eax, 0x418937
jae 0x1028acb
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x1c], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x10
push 0x1028bac
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x1028afd
mov eax, dword [ebp - 8]
cmp eax, 0x20
je 0x1028af7
cmp eax, 0x4000
jne 0x1028b5f
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x30], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x10
push 0x1028b8c
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x1028b28
mov eax, dword [ebp - 8]
cmp eax, 2
ja 0x1028b28
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x34], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x10
push 0x1028b68
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
pop edi
pop esi
pop ebx
test eax, eax
jne 0x1028b5b
mov eax, dword [ebp - 8]
cmp eax, 8
jae 0x1028b5b
cmp eax, 5
ja 0x1028b5b
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x38], eax
leave
ret 4
cmp eax, 0x40
jne 0x1028afd
jmp 0x1028af7
Function at 0x1028f6d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
push 0x40000047
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x20c], esi
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x102909b
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x102909b
push ebx
lea eax, [ebp - 0x208]
push eax
xor ebx, ebx
inc ebx
push ebx
push esi
push 0x1029138
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102909a
push edi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x102912c
push esi
push dword [ebp - 0x208]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x214], 0x1fe
call esi
mov edi, 0x1025930
test eax, eax
jne 0x1029057
cmp dword [ebp - 0x210], ebx
jne 0x1029057
mov ebx, 0x10290b8
push ebx
push edi
call fcn.01025b60
push dword [ebp - 0x218]
lea eax, [ebp - 0x204]
push 7
push eax
call fcn.010291a7
test eax, eax
jne 0x105d541
push ebx
push 0x1025940
call fcn.01025b60
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x10290b0
push 0
push dword [ebp - 0x208]
mov dword [ebp - 0x214], 0x1fe
call esi
test eax, eax
je 0x105d550
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20c]
xor ecx, ebp
pop esi
call fcn.01001feb
leave
ret 4
mov dword [ebp - 0x20c], 1
jmp 0x1029049
cmp dword [ebp - 0x210], ebx
jne 0x102908d
mov esi, 0x105d598
push esi
push edi
call fcn.01025b60
push dword [ebp - 0x218]
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.010291a7
test eax, eax
je 0x105d585
mov dword [ebp - 0x20c], ebx
push esi
push 0x1025940
call fcn.01025b60
jmp 0x102908d
Function at 0x10291a7
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x21c], 0
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x220], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1029234
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x1029234
push ebx
push edi
mov edi, 0x1026638
xor ecx, ecx
cmp word [esi], cx
mov ebx, esi
mov dword [ebp - 0x210], ebx
jne 0x1029249
cmp word [ebx], cx
jne 0x1029258
mov dword [ebp - 0x214], 1
cmp word [esi], cx
jne 0x105d493
cmp dword [ebp - 0x214], 0
lea esi, [ebx + 2]
je 0x10291ff
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x21c]
xor ecx, ebp
pop esi
call fcn.01001feb
leave
ret 0xc
movzx eax, word [ebx]
cmp ax, 0x20
jne 0x105d47f
jmp 0x102920e
xor eax, eax
mov word [ebx], ax
jmp 0x102921d
cmp ax, 0x2c
je 0x102920e
inc ebx
inc ebx
cmp word [ebx], cx
jmp 0x1029206
push esi
push 0x1027cc8
call fcn.01025b60
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20c]
push ecx
push eax
push esi
call fcn.01025c7c
test eax, eax
jge 0x105d505
push 0x105d534
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push 0
push edi
mov ebx, eax
call fcn.010268a1
test ebx, ebx
je 0x105d4fa
push esi
push 0x1030
push 0x20c
push 0x203
push 0
push ebx
call dword [sym.imp.SHLWAPI.dll_ShellMessageBoxW]
add esp, 0x18
mov ebx, dword [ebp - 0x210]
jmp 0x1029226
push esi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push edi
call fcn.010268a1
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x21c], 1
jmp 0x1029226
Function at 0x102b2c3
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
cmp dword [ebp + 8], 1
push ebx
push esi
push edi
mov ebx, ecx
mov edi, 0x1033070
mov esi, 0x80000001
je 0x1059266
push dword [ebp + 8]
push 0x1029d54
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov dword [ebp - 4], eax
test eax, eax
je 0x102b34f
push eax
call dword [sym.imp.SHLWAPI.dll_IStream_Reset]
test eax, eax
jl 0x102b34f
cmp dword [ebp + 8], 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
jne 0x10592a5
call fcn.0102b360
test eax, eax
jl 0x1059299
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 8], 0
jne 0x10592ca
cmp dword [ebx + 0x30], 0
jne 0x1059301
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 8], 0
je 0x10592be
jmp 0x102b33e
push 8
lea eax, [ebx + 0x20]
push eax
push 0xb
push 0x48
push 0x1029d6c
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_Ordinal_631]
push 8
lea eax, [ebx + 0x28]
push eax
push 0xb
push 0x48
push 0x1029cec
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_Ordinal_631]
jmp 0x102b2e7
mov dword [ebx + 0x30], 1
jmp 0x102b32b
call fcn.010741b2
test eax, eax
jge 0x102b32b
mov dword [ebp - 8], 1
jmp 0x102b32b
mov dword [ebx + 0x30], 1
jmp 0x102b334
lea eax, [ebp + 8]
push eax
push 0x20006
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102b33e
push 0x1029d54
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x102b33e
cmp dword [ebp + 0x14], 0
je 0x1059311
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.01073f59
and dword [ebx + 0x30], 0
jmp 0x102b348

Function at 0x102cad4
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push ebx
push 0x1029d34
push 0x1033070
push 0x80000001
mov dword [ebp - 4], ecx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov esi, eax
cmp esi, ebx
je 0x102cb63
push edi
xor eax, eax
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x14
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_IStream_Read]
test eax, eax
jl 0x102cb5c
cmp dword [ebp - 0x18], 0x14
jne 0x102cb5c
mov edi, dword [ebp - 4]
push dword [ebp - 0x14]
mov ecx, edi
call fcn.0102a2b8
test eax, eax
je 0x102cb5c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x102cb5c
cmp dword [ebp - 0xc], ebx
jbe 0x102cb5c
mov eax, dword [ebp - 8]
mov ecx, dword [esi]
push ebx
push ebx
push ebx
push eax
push esi
call dword [ecx + 0x14]
test eax, eax
jne 0x102cb5c
push esi
call dword [fcn.0102cb74]
mov dword [edi + 0x10], eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ecx + 0x10], ebx
pop esi
setne al
pop ebx
leave
ret 4