joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ff99
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1046080]
push ebx
xor ebx, ebx
cmp dword [0x104682c], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], ebx
je 0x101a7ca
cmp dword [0x104682c], 1
je 0x1024afb
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [0x104682c], 1
pop edi
sete al
pop ebx
call fcn.01001b2f
leave
ret 4
push esi
push 7
xor esi, esi
call fcn.01014fa9
test eax, eax
je 0x1024a56
call fcn.0101a82b
cmp ax, bx
mov word [0x1046db8], ax
je 0x101a80c
push 0x10
lea ecx, [ebp - 0x30]
push ecx
movzx eax, ax
push 0x58
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101a80c
test byte [ebp - 0x21], 8
jne 0x1024a3b
xor eax, eax
cmp esi, ebx
sete al
inc eax
push eax
push 0x104682c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop esi
jmp 0x100ffbf
xor eax, eax
mov ax, word [0x1046db8]
push eax
call fcn.0103a356
test eax, eax
jne 0x1024af3
jmp 0x101a80c
push 5
call fcn.01014fa9
test eax, eax
je 0x101a80c
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x101a80c
lea eax, [ebp - 0x38]
push eax
push 0x20019
push ebx
push 0x1024b14
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x101a80c
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push 0x1024b11
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0xc
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x38]
mov byte [ebp - 5], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0103a25a
test eax, eax
je 0x101a80c
mov eax, dword [ebp - 0x34]
and eax, 0x3ff
cmp eax, 1
je 0x1024aed
cmp eax, 0xd
jne 0x101a80c
mov word [0x1046db8], ax
xor esi, esi
inc esi
jmp 0x101a80c
cmp edi, ebx
je 0x100ffcc
mov ax, word [0x1046db8]
mov word [edi], ax
jmp 0x100ffcc

Function at 0x1010883
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101091f
add dword [ebp - 4], 2
push edi
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, esi
mov dword [ebp - 8], edi
je 0x101091e
lea eax, [ebp - 4]
push eax
push edi
push esi
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1010915
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrChrW]
push 0x3b
mov esi, edi
push edi
call ebx
mov edi, eax
test edi, edi
je 0x1010906
and word [edi], 0
cmp word [esi], 0
je 0x10108fe
push esi
push dword [ebp + 0x10]
call fcn.01010929
lea esi, [edi + 2]
push 0x3b
push esi
jmp 0x10108e3
cmp word [esi], ax
pop ebx
je 0x1010915
push esi
push dword [ebp + 0x10]
call fcn.01010929
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
leave
ret 0xc
Function at 0x1010f0b
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 1
xor edi, edi
push edi
push 0x101031c
push 0x100c568
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x1024e86
push ebx
push esi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [ebp + 8]
push edi
push edi
push edi
lea eax, [ebp - 4]
push eax
push esi
push edi
mov ebx, 0x10102f0
push ebx
mov edi, 0x1011088
push edi
mov dword [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
jne 0x1024e9f
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x101106c
push 0x1011010
push 0x80000002
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CompareFileTime]
jne 0x1010fea
mov eax, dword [ebp - 8]
cdq
push 0
add eax, 0xb610d750
push 0x989680
adc edx, 2
push edx
push eax
call fcn.0100767a
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x10], edx
call edi
test eax, eax
jle 0x1010fd4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push esi
call edi
test eax, eax
jge 0x1010fea
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USERENV.dll_GetProfileType]
test eax, eax
je 0x1011002
test byte [ebp - 0xc], 3
jne 0x1024ec3
pop esi
pop ebx
pop edi
leave
ret 4
mov ecx, dword [0x100d71c]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [0x100d720]
mov dword [eax + 4], ecx
jmp 0x1011004
mov eax, dword [ebp - 0x1c]
push 8
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
pop eax
push 2
push eax
push esi
push 3
push ebx
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
jmp 0x1010f6a
lea eax, [ebp - 0x24]
push eax
push eax
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x1011002
lea eax, [ebp - 0x14]
push eax
push esi
call edi
test eax, eax
jge 0x1011002
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
jmp 0x1011002
Function at 0x1011259
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1046080]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi]
test eax, eax
push edi
mov edi, dword [ebp + 8]
jne 0x1025144
push 4
mov ecx, esi
call fcn.01007745
test eax, eax
je 0x10112c6
cmp dword [edi], 0xffffffff
je 0x10112c3
mov eax, edi
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push dword [eax]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x10112b9
lea eax, [ebp - 0x20c]
push eax
push dword [esi]
call fcn.01010929
add edi, 4
cmp dword [edi], 0xffffffff
mov eax, edi
jne 0x1011292
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01001b2f
leave
ret 8
push 0
push 0x101d1fc
push eax
call dword [fcn.010074b8]
push dword [esi]
call dword [0x100750c]
jmp 0x101128b

Function at 0x10118df
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push 0x40000056
mov edi, ecx
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x101193f
push 1
push eax
push 0x101196c
mov esi, 0x100c568
push esi
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
mov dword [edi + 0x34], eax
je 0x101193b
and dword [ebp - 4], 0
push 4
pop eax
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
add edi, 0x38
push edi
push 0
push 0x1011948
push esi
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
pop edi
pop esi
leave
ret
and dword [edi + 0x34], 0
jmp 0x101193b

Function at 0x1011c92
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1f8
mov eax, dword [0x1046080]
push esi
xor esi, esi
push esi
lea ecx, [ebp - 0x1f8]
mov dword [ebp - 4], eax
mov eax, 0x1f4
push ecx
push eax
push 0x29
mov dword [ebp - 0x1f8], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x1011cf8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, eax
and cx, 0x3ff
cmp cx, 4
je 0x1020e53
mov dword [ebp - 0x1d0], 0x2bc
lea eax, [ebp - 0x1e0]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.01001b2f
leave
ret 4
shr ax, 0xa
cmp ax, 1
je 0x1020e67
cmp ax, 2
jne 0x1011cdf
mov dword [ebp - 0x1d0], 0x190
jmp 0x1011ce9
Function at 0x1011e45
Capabilities:
Query or enumerate registry value

Disassembly:
mov esi, dword [esi + 0xe4]
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push edi
push 2
push edi
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x1011eaa
push edi
push edi
push edi
push edi
push 0x1011e28
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
push dword [ebp - 4]
mov edi, eax
neg edi
sbb edi, edi
inc edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1011eaa
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xec]
xor edi, edi
xor ebx, ebx
cmp dword [eax], edi
jle 0x1011e8f
push ebx
push eax
call dword [fcn.01006fdc]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x101203e
mov eax, dword [esi + 0xec]
inc ebx
cmp ebx, dword [eax]
jl 0x1011e6a
mov eax, dword [esi + 0xe4]
mov ecx, dword [eax]
push edi
push edi
push dword [ebp + 8]
push 2
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x1011de5
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
xor eax, eax
inc eax
jmp 0x1011eac

Function at 0x10124b7
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [eax], ebx
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1025300
mov eax, dword [edi + 8]
push esi
mov esi, dword [edi + 0xc]
and esi, 3
cmp eax, ebx
je 0x1012546
push ebx
push ebx
push ebx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
mov ebx, 0x100c568
push ebx
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
je 0x1012e3a
mov ecx, edi
call fcn.0101256c
test eax, eax
mov dword [ebp + 8], eax
je 0x1012546
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push ebx
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1025307
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 2
je 0x1012e4b
cmp esi, 1
jne 0x101255e
test byte [edi + 0xc], 0x10
jne 0x1025317
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret 4
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 4]
mov dword [eax], 1
jmp 0x1012546
test byte [edi + 0xc], 8
jne 0x101255e
jmp 0x102530f
xor eax, eax
jmp 0x1012561
mov esi, dword [ebp - 4]
jmp 0x101253d
xor esi, esi
inc esi
jmp 0x101255e
push 2
pop esi
jmp 0x101255e
Function at 0x10126f4
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
xor esi, esi
push esi
xor edi, edi
mov dword [ebp - 0xc], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x1012774
lea eax, [ebp - 8]
push eax
push 0x100dc20
push esi
push dword [ebp - 0xc]
push esi
call fcn.010086c5
test eax, eax
jl 0x101276b
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x60
push esi
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x1012762
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp + 8]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x1012780
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_ILFree]
cmp edi, dword [ebp + 0x10]
pop edi
sbb eax, eax
inc eax
pop esi
leave
ret 0xc
cmp dword [ebp + 0xc], esi
je 0x10127a4
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.010127ac
test eax, eax
jne 0x10127a4
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHFree]
cmp edi, dword [ebp + 0x10]
jb 0x1012742
jmp 0x1012759
inc edi
jmp 0x1012794
Function at 0x10135af
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.010135da
test eax, eax
jne 0x1021cd2
push 0
push 1
push 0x590
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
push 0x40000042
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x10135c1
call fcn.0100c6be
test eax, eax
je 0x1021d37
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x10135d3
push 0
push 0
push 0x590
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 1
push 0xf3
push 0x130
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
pop esi
jmp fcn.0102ce44
push 0
push 1
push 0x590
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x321
push 0x320
mov ecx, esi
call fcn.0102cea4
pop esi
ret

Function at 0x10135da
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x101362c
push 0x100c568
push 0x80000001
mov esi, ecx
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.0100c6be
test eax, eax
je 0x1021cb1
cmp dword [ebp - 4], 2
sbb eax, eax
neg eax
pop esi
leave
ret
mov eax, dword [ebp - 4]
sub eax, 0
je 0x1021cca
dec eax
jne 0x1021cc3
mov ecx, esi
call fcn.0102ce44
xor eax, eax
jmp 0x1013626
xor eax, eax
inc eax
jmp 0x1013626
Function at 0x1013f46
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
cmp ecx, edi
mov byte [ebp - 1], 0
je 0x101402f
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x101402f
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_IsOS]
mov dword [ecx], edi
push 0x17
mov dword [eax], edi
call esi
test eax, eax
je 0x101ed3d
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x101402e
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push ebx
push 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
pop edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1014164
push 0x1014180
mov ebx, 0x80000002
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
je 0x101ed52
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x101413c
push 0x10140c8
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
je 0x101ed72
push 0x15
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
jne 0x101402d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x10140b8
push 0x1014048
mov ebx, 0x80000001
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x101ed80
cmp dword [ebp - 8], eax
jne 0x101ed80
pop ebx
pop esi
mov al, byte [ebp - 1]
pop edi
leave
ret 8
test eax, eax
jne 0x1013f82
jmp 0x101402e
cmp dword [ebp - 8], eax
jne 0x101402d
jmp 0x1013ff1
push 0x16
call esi
test eax, eax
jne 0x1013f82
push 0x15
call esi
jmp 0x1014037
cmp dword [ebp - 8], eax
je 0x1013fc9
mov eax, dword [ebp + 8]
mov dword [eax], 0x1026330
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x101eec8
jmp 0x101edf4
cmp dword [ebp - 0x10], edi
je 0x1014041
jmp 0x1013ff1
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x101eeb8
push 0x101ee40
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x101edab
cmp dword [ebp - 8], eax
je 0x101402d
call fcn.01027c90
test al, al
jne 0x101402d
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1014180
push ebx
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x101ede2
cmp dword [ebp - 8], eax
je 0x101402d
mov eax, dword [ebp + 8]
mov dword [eax], 0x102631c
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x101ee00
mov byte [ebp - 1], 1
jmp 0x101402d
Function at 0x1014389
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x1046080]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push 0x10
mov dword [ebp - 0x42c], eax
xor eax, eax
cmp edx, ebx
pop ecx
lea edi, [ebp - 0x47c]
mov dword [ebp - 0x480], ebx
mov dword [ebp - 0x424], edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x41c], ebx
jne 0x10143fb
lea eax, [ebp - 0x480]
mov dword [ebp - 0x480], 0x44
mov dword [ebp - 0x424], eax
cmp esi, ebx
je 0x10249c1
push dword [ebp - 0x428]
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x102
lea eax, [ebp - 0x414]
push eax
call fcn.010047c4
cmp eax, ebx
mov dword [ebp - 0x418], eax
jl 0x10144a6
lea eax, [ebp - 0x414]
push eax
call sub.SHLWAPI.dll_PathQuoteSpacesW
push 0x10144bc
mov edi, 0x208
push edi
lea eax, [ebp - 0x414]
push eax
call fcn.01004511
cmp eax, ebx
mov dword [ebp - 0x418], eax
jl 0x10144a6
cmp dword [ebp - 0x420], ebx
jne 0x10249d6
cmp dword [ebp - 0x418], ebx
jl 0x10144a6
push esi
push dword [ebp - 0x424]
lea eax, [ebp - 0x414]
push dword [ebp - 0x42c]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10249f4
cmp dword [ebp - 0x41c], ebx
jne 0x1024a0b
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x418]
pop edi
pop esi
pop ebx
call fcn.01001b2f
leave
ret 0x14
lea esi, [ebp - 0x43c]
mov dword [ebp - 0x41c], 1
jmp 0x1014403
push dword [ebp - 0x420]
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.01004511
mov dword [ebp - 0x418], eax
jmp 0x1014465
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01027941
mov dword [ebp - 0x418], eax
jmp 0x10144a6
push dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi]
call edi
jmp 0x10144a6
Function at 0x10144ff
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x1d
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], esi
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x102164e
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret
cmp dword [edi + 0x548], esi
je 0x1014523
push 0x222
push esi
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x1014523
push 0x40000073
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1014523
push ebx
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0xc], 1
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
mov ebx, 0x102193c
push ebx
mov edi, 0x10218b0
push edi
mov dword [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
je 0x1021728
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x1021878
push 0x1021800
push 0x80000002
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x102170b
cmp dword [ebp - 8], esi
je 0x102170b
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffcb
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0102e585
jmp 0x1021717
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push 2
push 8
lea eax, [ebp - 0x20]
push eax
push esi
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0x20019
push edi
mov dword [ebp - 0x10], esi
call dword [sym.imp.SHLWAPI.dll_SHRegOpenUSKeyW]
test eax, eax
jne 0x10217c0
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x10217f4
push dword [ebp - 0x10]
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHRegQueryUSValueW]
test eax, eax
jne 0x102176b
cmp dword [ebp - 8], esi
jne 0x10217b4
push 0x3c
pop ebx
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x10217c8
push edi
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
jne 0x1021791
mov ebx, dword [ebp - 8]
cmp ebx, esi
jle 0x10217b7
mov ecx, dword [ebp - 0x14]
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0102e585
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x10217b7
mov dword [ebp - 0xc], esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHRegCloseUSKey]
pop ebx
jmp 0x1014523
Function at 0x101452f
Capabilities:
Enumerate files on windows
Get common file path
Get program files directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x1046080]
push esi
push 0x220
xor esi, esi
push esi
mov dword [ebp - 4], eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
je 0x10145dc
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x26
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x10145dc
push edi
push 0x20
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
cmp edi, esi
je 0x10145db
lea eax, [ebp - 0x20c]
push eax
mov word [edi], si
mov esi, 0x104
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.010047c4
lea ecx, [ebp - 0x20c]
mov eax, edi
sub eax, ecx
sar eax, 1
push 0x10145e8
mov ecx, esi
sub ecx, eax
push ecx
push edi
call fcn.0100626a
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x102279e
pop edi
mov ecx, dword [ebp - 4]
pop esi
call fcn.01001b2f
leave
ret
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.010047c4
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x840]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.01004511
test byte [ebp - 0x86c], 0x10
je 0x10227f4
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1022821
push 0x1022844
push 5
lea eax, [ebp - 0x414]
push eax
push 0x103014b
push 0x14
push dword [0x104662c]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_292]
cmp eax, 5
je 0x1022837
lea eax, [ebp - 0x86c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x102279e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x10145db