joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1024de1
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 0x1024eb4
call sub.SHELL32.dll_SHGetFolderPathEx
test eax, eax
jne 0x1024e9d
push edi
push 0x20
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
test edi, edi
je 0x1024e9c
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 0x1024eac
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 0x10577b9
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01001fef
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.01010e33
mov eax, dword [ebp - 0xc7c]
and eax, edi
xor ebx, ebx
cmp eax, edi
jne 0x1057869
lea eax, [ebp - 0xc80]
push eax
push 0x1026698
lea eax, [ebp - 0x414]
push eax
push 0x105790c
call fcn.0107e4c9
test eax, eax
jl 0x1057869
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 0x105785d
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 0x105785d
inc ebx
mov eax, dword [ebp - 0xc80]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test byte [ebp - 0xc7c], 0x10
je 0x105788a
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10578bb
test ebx, ebx
jne 0x10578bb
push 0x10578e8
push 5
lea eax, [ebp - 0x414]
push eax
push 0x1072d6f
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 0x10578d6
lea eax, [ebp - 0xc7c]
push eax
push dword [ebp - 0xc84]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10577bf
push dword [ebp - 0xc84]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
jmp 0x1024e9c
Function at 0x1026efa
Capabilities:
Create thread

Disassembly:
mov edi, edi
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, ecx
push esi
push 0x1026f29
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x1054c24
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.01026f41

Function at 0x102703a
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 0x1054bb3
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 0x102704f
mov ebx, dword [ebp + 8]
cmp dword [esi + 0x20], eax
jne 0x1054bdf
lea eax, [esi + 0x24]
push eax
push ebx
call fcn.0106ce53
mov edi, eax
test edi, edi
jl 0x1027052
mov dword [esi + 0x20], 1
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x1054bf9
call fcn.0101af08
mov edi, eax
jmp 0x1027052
push 0
lea eax, [esi + 0x30]
push eax
push ebx
mov ecx, esi
call fcn.0106ceb8
mov edi, eax
test edi, edi
jge 0x1027052
push 1
lea eax, [esi + 0x24]
push eax
push ebx
mov ecx, esi
call fcn.0106ceb8
jmp 0x1027052
Function at 0x1027fb9
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 0x1028298
push 0x100f278
push SHChangeNotifyRegister
mov dword [ebp - 0x94], 0x86
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1028022
xor eax, eax
mov word [ebp - 0x8c], ax
mov ebx, 0x1f4
mov esi, 0x102808c
test byte [esi], 8
je 0x102803a
cmp dword [ebp - 0x90], 0
jne 0x1028067
movzx eax, word [esi - 4]
push eax
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrIW]
test eax, eax
jne 0x1028067
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, 0x102829c
jl 0x102802c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001fef
leave
ret

Function at 0x1028b45
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 0x1028c94
push ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x1028b8b
mov eax, dword [ebp - 8]
cmp eax, 0x418937
jae 0x1028b8b
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 0x1028c6c
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x1028bbd
mov eax, dword [ebp - 8]
cmp eax, 0x20
je 0x1028bb7
cmp eax, 0x4000
jne 0x1028c1f
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 0x1028c4c
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x1028be8
mov eax, dword [ebp - 8]
cmp eax, 2
ja 0x1028be8
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 0x1028c28
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
pop edi
pop esi
pop ebx
test eax, eax
jne 0x1028c1b
mov eax, dword [ebp - 8]
cmp eax, 8
jae 0x1028c1b
cmp eax, 5
ja 0x1028c1b
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x38], eax
leave
ret 4
cmp eax, 0x40
jne 0x1028bbd
jmp 0x1028bb7
Function at 0x102902d
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 0x102915b
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x102915b
push ebx
lea eax, [ebp - 0x208]
push eax
xor ebx, ebx
inc ebx
push ebx
push esi
push 0x10291f8
push SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102915a
push edi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x10291ec
push esi
push dword [ebp - 0x208]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x214], 0x1fe
call esi
mov edi, 0x10259f8
test eax, eax
jne 0x1029117
cmp dword [ebp - 0x210], ebx
jne 0x1029117
mov ebx, 0x1029178
push ebx
push edi
call fcn.01025c38
push dword [ebp - 0x218]
lea eax, [ebp - 0x204]
push 7
push eax
call fcn.01029267
test eax, eax
jne 0x105d771
push ebx
push 0x1025a08
call fcn.01025c38
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x1029170
push 0
push dword [ebp - 0x208]
mov dword [ebp - 0x214], 0x1fe
call esi
test eax, eax
je 0x105d780
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.01001fef
leave
ret 4
mov dword [ebp - 0x20c], 1
jmp 0x1029109
cmp dword [ebp - 0x210], ebx
jne 0x102914d
mov esi, 0x105d7c8
push esi
push edi
call fcn.01025c38
push dword [ebp - 0x218]
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.01029267
test eax, eax
je 0x105d7b5
mov dword [ebp - 0x20c], ebx
push esi
push 0x1025a08
call fcn.01025c38
jmp 0x102914d
Function at 0x1029267
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 0x10292f4
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x10292f4
push ebx
push edi
mov edi, 0x1026618
xor ecx, ecx
cmp word [esi], cx
mov ebx, esi
mov dword [ebp - 0x210], ebx
jne 0x1029309
cmp word [ebx], cx
jne 0x1029318
mov dword [ebp - 0x214], 1
cmp word [esi], cx
jne 0x105d6c2
cmp dword [ebp - 0x214], 0
lea esi, [ebx + 2]
je 0x10292bf
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x21c]
xor ecx, ebp
pop esi
call fcn.01001fef
leave
ret 0xc
movzx eax, word [ebx]
cmp ax, 0x20
jne 0x105d6ae
jmp 0x10292ce
xor eax, eax
mov word [ebx], ax
jmp 0x10292dd
cmp ax, 0x2c
je 0x10292ce
inc ebx
inc ebx
cmp word [ebx], cx
jmp 0x10292c6
push esi
push 0x1027d88
call fcn.01025c38
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.01025d08
test eax, eax
jge 0x105d734
push 0x105d764
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push 0
push edi
mov ebx, eax
call fcn.01026975
test ebx, ebx
je 0x105d729
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 0x10292e6
push esi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push edi
call fcn.01026975
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x21c], 1
jmp 0x10292e6
Function at 0x102b383
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, 0x1033210
mov esi, SHChangeNotifyRegister
je 0x1059449
push dword [ebp + 8]
push 0x1029e14
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov dword [ebp - 4], eax
test eax, eax
je 0x102b40f
push eax
call dword [sym.imp.SHLWAPI.dll_IStream_Reset]
test eax, eax
jl 0x102b40f
cmp dword [ebp + 8], 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
jne 0x1059488
call fcn.0102b420
test eax, eax
jl 0x105947c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 8], 0
jne 0x10594ad
cmp dword [ebx + 0x30], 0
jne 0x10594e4
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 8], 0
je 0x10594a1
jmp 0x102b3fe
push 8
lea eax, [ebx + 0x20]
push eax
push 0xb
push 0x48
push 0x1029e2c
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 0x1029dac
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_Ordinal_631]
jmp 0x102b3a7
mov dword [ebx + 0x30], 1
jmp 0x102b3eb
call fcn.01074b0a
test eax, eax
jge 0x102b3eb
mov dword [ebp - 8], 1
jmp 0x102b3eb
mov dword [ebx + 0x30], 1
jmp 0x102b3f4
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 0x102b3fe
push 0x1029e14
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x102b3fe
cmp dword [ebp + 0x14], 0
je 0x10594f4
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.010748b1
and dword [ebx + 0x30], 0
jmp 0x102b408

Function at 0x102cb94
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 0x1029df4
push 0x1033210
push SHChangeNotifyRegister
mov dword [ebp - 4], ecx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov esi, eax
cmp esi, ebx
je 0x102cc23
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 0x102cc1c
cmp dword [ebp - 0x18], 0x14
jne 0x102cc1c
mov edi, dword [ebp - 4]
push dword [ebp - 0x14]
mov ecx, edi
call fcn.0102a378
test eax, eax
je 0x102cc1c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x102cc1c
cmp dword [ebp - 0xc], ebx
jbe 0x102cc1c
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 0x102cc1c
push esi
call dword [fcn.0102cc34]
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
Function at 0x102d27f
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
and dword [ebp - 0x41c], 0
push esi
push edi
push 4
pop edi
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0
push 0x102d2ec
mov ebx, 0x100f278
push ebx
mov esi, SHChangeNotifyRegister
push esi
mov dword [ebp - 0x428], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x41c], edi
jb 0x1055bb7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001fef
leave
ret
cmp dword [ebp - 0x41c], 0
jne 0x1055c3a
push 0x1055d3c
push 0x1015358
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x424], 0x104
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x430]
push eax
push 0x1055d28
lea eax, [ebp - 0x414]
push eax
push reloc.SHELL32.dll_SHChangeNotifyRegister
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1055c3a
cmp word [ebp - 0x20c], ax
je 0x1055c3a
push edi
lea eax, [ebp - 0x418]
push eax
push edi
push 0x1055d08
push ebx
push esi
mov dword [ebp - 0x418], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 1
call fcn.01087375
call fcn.010826ef
call fcn.01089c4f
call fcn.0108507d
call fcn.01085018
push 0x1029dac
push 0x1033210
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
and dword [ebp - 0x420], 0
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push 0x18
push 0x1055ce8
push 0x1055ccc
push reloc.SHELL32.dll_SHChangeNotifyRegister
mov dword [ebp - 0x42c], edi
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x1055caa
cmp dword [ebp - 0x420], eax
jne 0x102d2da
push edi
lea eax, [ebp - 0x418]
push eax
push edi
push 0x102d2ec
push ebx
push esi
mov dword [ebp - 0x418], edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x102d2da
Function at 0x102e2cf
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
or dword [ebp - 0xa8], 0xffffffff
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esi + 4], eax
cmp eax, edi
je 0x102e40e
push ebx
push edi
push dword [0x10b10b4]
mov dword [ebp - 0xa8], edi
push edi
push eax
mov eax, SHChangeNotifyRegister
push eax
push eax
push eax
push eax
push SHChangeNotifyRegister
push edi
push 0x103435c
push edi
call fcn.010352ab
mov dword [esi + 0x50], eax
cmp eax, edi
je 0x102e386
mov eax, dword [esi + 4]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
push 0x50
lea eax, [ebp - 0xa4]
push eax
lea ebx, [esi + 0x1c]
push 0x35a
mov dword [ebx], 0x30
mov dword [esi + 0x20], 0xa1
push dword [0x10b10b4]
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
push edi
push 0x432
push dword [esi + 0x50]
lea eax, [ebp - 0xa4]
mov dword [esi + 0x40], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi + 0x50]
call fcn.01017de5
push edi
push edi
push 0x101f3f8
mov ebx, 0x101f380
push ebx
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
xor ecx, ecx
cmp eax, edi
sete cl
push 0x1f4
push 0x102e424
push ebx
add ecx, ecx
xor ecx, dword [esi + 0x74]
and ecx, 2
xor dword [esi + 0x74], ecx
call fcn.0101039c
mov dword [esi + 0x60], eax
call dword [sym.imp.UxTheme.dll_BufferedPaintInit]
xor ecx, ecx
cmp eax, edi
sete cl
lea eax, [esi + 8]
push eax
push dword [esi + 4]
shl ecx, 4
xor ecx, dword [esi + 0x74]
and ecx, 0x10
xor dword [esi + 0x74], ecx
call dword [sym.imp.ole32.dll_RegisterDragDrop]
push 0xc
xor eax, eax
lea ecx, [ebp - 0xb4]
push ecx
inc eax
push eax
push edi
push dword [esi + 4]
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xac], eax
call dword [sym.imp.USER32.dll_SetGestureConfig]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa8]
pop edi
xor ecx, ebp
pop esi
call fcn.01001fef
leave
ret 4

Function at 0x102f6f5
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 1
push 0x10
lea eax, [ebp - 0x20c]
push eax
push 0
call esi
push 1
push 2
lea eax, [ebp - 0x20c]
push eax
push 0
call esi
push 1
push 0xb
lea eax, [ebp - 0x20c]
push eax
push 0
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01001fef
leave
ret

Function at 0x102fe21
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10b10dc], 0
jne 0x102fe75
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x102fe84
push dword [0x10b244c]
mov dword [0x10b10dc], 1
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x102fe75
cmp dword [ebp - 8], 4
jne 0x102fe75
cmp dword [ebp - 0xc], eax
je 0x1054cd7
xor eax, eax
cmp dword [0x10b10dc], 1
sete al
leave
ret
mov dword [0x10b10dc], 2
jmp 0x102fe75
Function at 0x102fea5
Capabilities:
Identify system language via api
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x102feec
push 0x102ff08
push SHChangeNotifyRegister
mov dword [ebp - 8], 2
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1054cf4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
cmp word [ebp - 4], ax
jne 0x1054cf4
leave
ret
push esi
push 0x1068c30
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1054d1f
push 0x1054d28
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1054d18
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
jmp 0x102feea

Function at 0x1030155
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 4
pop ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x10301a0
mov edi, 0x100f278
push edi
mov esi, SHChangeNotifyRegister
push esi
mov dword [ebp - 8], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, 2
je 0x10550a6
cmp eax, 3
je 0x10550a6
pop edi
pop esi
pop ebx
leave
ret
call fcn.01011971
test eax, eax
je 0x1055124
push 0x220
push 0
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x105511b
push 0x225
push eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x105511b
push 0x227
push eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x105511b
push 0x22c
push eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x105511b
and dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0
call fcn.01030537
test eax, eax
jne 0x1055128
mov eax, dword [ebp - 0xc]
xor ecx, ecx
inc ecx
test eax, eax
je 0x1055116
cmp eax, ecx
je 0x1055116
cmp eax, 0x10
je 0x1055116
cmp eax, 0x11
jne 0x1055128
mov dword [ebp - 4], ecx
jmp 0x1055128
mov dword [ebp - 4], 1
jmp 0x1055128
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0x10301a0
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebp - 4], 0
je 0x1030199
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1043cc8
push edi
push esi
mov dword [ebp - 8], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 2
pop ecx
cmp eax, ecx
je 0x105516f
cmp eax, 3
jne 0x1030199
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x1043cc8
push edi
push esi
mov dword [ebp - 0xc], ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x1030199
Function at 0x10301c1
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
push ebx
push 0x1030384
push 0x1030330
mov esi, SHChangeNotifyRegister
push esi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x224], 0x14
call edi
test eax, eax
jne 0x1030223
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov dword [ebp - 0x234], eax
push 0xc
pop eax
push ebx
lea ecx, [ebp - 0x230]
push ecx
push eax
push 0x42
mov dword [ebp - 0x230], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x10302b5
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push ebx
push 0x1030390
mov ebx, 0x10302c8
push ebx
push esi
mov dword [ebp - 0x224], 0x208
call edi
test eax, eax
je 0x10552ca
test byte [ebp - 0x22c], 1
mov dword [ebp - 0x224], 0x208
jne 0x10552dc
xor eax, eax
mov word [ebp - 0x220], ax
cmp word [ebp - 0x220], 0
jne 0x105537a
mov eax, dword [ebp - 0x22c]
mov ecx, eax
xor ecx, dword [ebp - 0x234]
test cl, 1
jne 0x10553b2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001fef
leave
ret
cmp word [ebp - 0x220], ax
je 0x1030270
jmp 0x105537a
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0x1055468
push 0x102ff08
push esi
call edi
test eax, eax
jne 0x1030287
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpICW]
push 0x1055444
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
je 0x1030287
push 0x1055420
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
je 0x1030287
push 0x10553fc
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
je 0x1030287
push 0x10553d8
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
je 0x1030287
push 0x10553fc
push 0x104
lea eax, [ebp - 0x220]
push eax
call fcn.0100665f
jmp 0x1030290
or dword [ebp - 0x22c], 1
lea eax, [ebp - 0x220]
push 3
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x230]
push eax
push 0xc
push 0x43
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x1030390
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x10302b5
xor eax, 1
or eax, 0x1000
push 2
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x230]
push eax
push 0xc
push 0x43
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
jmp 0x10302b5