joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1038888
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push edi
lea edi, [ecx + 0x64]
push edi
push 0x102a2d8
push 1
push 0
push 0x102a2c8
mov dword [ebp - 4], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10389bc
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x463
push ebx
call esi
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], eax
call fcn.0103723e
mov eax, dword [edi]
mov ecx, dword [eax]
xor edi, edi
push edi
push 0x10389c8
push reloc.OLEAUT32.dll_SysReAllocString
push dword [ebp + 8]
push eax
call dword [ecx + 0xc]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x110a
push dword [ebp + 8]
call edi
push eax
push 5
push 0x110b
push dword [ebp + 8]
call edi
push 0x13
call dword [sym.imp.SHLWAPI.dll_IsOS]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
inc eax
push eax
push 0x100c280
call fcn.01036d80
mov edi, dword [sym.imp.USER32.dll_CheckDlgButton]
push eax
push 0x51c
push ebx
call edi
mov ecx, dword [ebp - 4]
push 1
push 0x1010154
call fcn.01036d80
push eax
push 0x51a
push ebx
call edi
mov ecx, dword [ebp - 4]
push 1
push 0x100bfbc
call fcn.01036d80
push eax
push 0x52e
push ebx
call edi
push 0x40000003
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x10389aa
push 0
push 0x521
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0x520
push ebx
call esi
push eax
call edi
push 0
push 0x51c
push ebx
call esi
push eax
call edi
push 0
push 0x51d
push ebx
call esi
push eax
call edi
push 0x51d
push ebx
call fcn.010376b5
xor eax, eax
pop esi
inc eax
pop ebx
jmp 0x10389be
xor eax, eax
pop edi
leave
ret 4
Function at 0x1038a15
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 0x4000005a
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x1038a8e
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x46c
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0x46f
push dword [ebp + 8]
call esi
push eax
call edi
push 0
push 0x46b
push dword [ebp + 8]
call esi
push eax
call edi
push 1
push 0x46d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 0xab
push 0x46e
push dword [ebp + 8]
call fcn.01037f18
jmp 0x1038b14
and dword [ebp - 0x20], 0
push 7
pop ecx
xor eax, eax
push eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
push 0x200000
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSetSettings]
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
and eax, 2
shr eax, 1
push eax
push 0x46c
push edi
call esi
mov eax, dword [ebp - 4]
not eax
and eax, 2
shr eax, 1
push eax
push 0x46d
push edi
call esi
mov eax, dword [ebp - 4]
not eax
and eax, 2
or eax, 0x154
shr eax, 1
push eax
push 0x46e
push edi
call fcn.01037f18
mov eax, dword [ebp - 4]
not eax
and eax, 2
or eax, 0x8d4
push 0
shr eax, 1
push eax
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
leave
ret 4
Function at 0x10395d0
Capabilities:
Hide graphical window
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x10460f8
call fcn.010366fe
push dword [ebp - 8]
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
push 0x453
push edi
call esi
push dword [ebp - 0x20]
push 0x44d
push edi
call esi
mov eax, dword [ebp - 4]
and eax, 1
push eax
push 0x44e
push edi
call esi
xor eax, eax
cmp dword [ebp - 0x18], eax
sete al
push eax
push 0x44f
push edi
call esi
push 0x40000070
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x1039652
push 0
push 0x44f
push dword [ebp + 8]
call edi
push eax
call ebx
push 0x4000006b
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x1039670
push 0
push 0x453
push dword [ebp + 8]
call edi
push eax
call ebx
xor eax, eax
cmp dword [ebp - 0x14], eax
jne 0x103969b
cmp dword [ebp - 0x10], eax
jne 0x103969b
push dword [ebp - 0xc]
push 0x3ef
push dword [ebp + 8]
call edi
push eax
call ebx
push dword [ebp - 0xc]
push 0x3e8
push dword [ebp + 8]
call esi
jmp 0x10396c7
push eax
push 0x3e8
push dword [ebp + 8]
call edi
push eax
call ebx
push 0
push 0x3ef
push dword [ebp + 8]
call edi
push eax
call ebx
push 0
push 0x452
push dword [ebp + 8]
call edi
push eax
call ebx
call fcn.01017b73
neg eax
sbb eax, eax
inc eax
push eax
push 0x451
push dword [ebp + 8]
call esi
call fcn.010174a9
neg eax
sbb eax, eax
inc eax
push eax
push 0x451
push dword [ebp + 8]
call edi
push eax
call ebx
push 0x40000056
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x1039718
push 0
push 0x450
push dword [ebp + 8]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x103973c
push 1
push 0
push 0x1015e1c
push 0x100bde0
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x103973c
push 1
push 0x450
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call fcn.010374ca
push dword [ebp + 8]
call fcn.01038b68
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1039758
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push edi
push 0x44d
push dword [ebp + 8]
call esi
mov edi, 0x10460f8
push eax
mov ecx, edi
call fcn.01030a3c
mov ebx, 0x44e
push ebx
push dword [ebp + 8]
call esi
push eax
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.010337db
mov dword [ebp - 4], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.010366fe
mov eax, dword [ebp - 4]
shr eax, 0x10
test ax, ax
jne 0x10397cf
xor eax, eax
cmp dword [ebp - 8], eax
je 0x10397d1
test byte [ebp - 0x14], 1
jne 0x10397d1
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push dword [ebp + 8]
call fcn.01038b68
xor eax, eax
cmp word [ebp - 4], ax
je 0x10397e2
push eax
push eax
push eax
push eax
mov ecx, edi
call fcn.010025fb
push 0x44f
push dword [ebp + 8]
call esi
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x28], ebx
jne 0x103981a
cmp dword [ebp - 0x20], 0
jne 0x103981a
push 0x3e8
push dword [ebp + 8]
call esi
cmp dword [ebp - 0x1c], eax
je 0x103981a
push eax
mov dword [ebp - 0x1c], eax
call fcn.0103739d
push 0x453
push dword [ebp + 8]
call esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.01036769
push ebx
push 0
push 0x402
push dword [0x10464a0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.0101d74e
push 0x451
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
neg eax
sbb eax, eax
push 2
inc eax
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push 0x1017b98
mov ebx, 0x100bde0
push ebx
call edi
push 0x450
push dword [ebp + 8]
call esi
push 2
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 0x1015e1c
push ebx
call edi
push 0
push 0x3e8
push 8
push 0x1029cc0
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x103abae
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor edi, edi
cmp dword [ebp + 0xc], esi
mov dword [ebp + 8], eax
je 0x103abe1
push esi
lea ecx, [ebp + 8]
push ecx
push esi
push 2
push esi
push esi
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x103abe1
xor eax, eax
jmp 0x103ac0d
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 3
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x103abfd
xor edi, edi
inc edi
cmp dword [ebp + 0xc], esi
je 0x103ac0b
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x103ad2d
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0xe
pop ecx
push 0x10
push dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x20], 1
call fcn.0102169b
test eax, eax
pop edi
jne 0x103ad98
test byte [ebp + 0x10], 8
je 0x103ad71
mov dword [ebp - 0x30], 0x1029db4
push 0
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHCloneSpecialIDList]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x103ad98
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 0x18]
call dword [sym.imp.SHELL32.dll_ILFree]
leave
ret 0xc

Function at 0x103ade5
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x1046080]
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x103aeb1
push 0x103aebc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x103aeb1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
xor eax, eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x260]
push ecx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x234], eax
mov word [ebp - 0x22e], ax
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x20c]
push eax
push eax
mov dword [ebp - 0x260], 0x44
mov word [ebp - 0x230], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x103aeb1
push esi
push dword [ebp - 0x21c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x218]
call esi
pop esi
mov ecx, dword [ebp - 4]
call fcn.01001aff
leave
ret
Function at 0x103b006
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x728
mov eax, dword [0x1046080]
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x103b1e0
lea eax, [ebp - 0x30c]
push 0x80
xor esi, esi
push eax
mov dword [ebp - 0x728], esi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push esi
lea eax, [ebp - 0x724]
push eax
push esi
push 0x20019
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.SHLWAPI.dll_SHRegOpenUSKeyW]
test eax, eax
jne 0x103b178
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHRegQueryUSValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push 0x103b1c0
push dword [ebp - 0x724]
mov dword [ebp - 0x720], 0x208
mov word [ebp - 0x20c], si
call ebx
test eax, eax
je 0x103b14a
push edi
push esi
push esi
push esi
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x514]
push eax
push esi
push 0x103b1a8
push dword [ebp - 0x724]
mov edi, 0x104
mov dword [ebp - 0x720], edi
call ebx
test eax, eax
mov dword [ebp - 0x720], edi
lea eax, [ebp - 0x720]
jne 0x103b0f8
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x514]
push eax
push 2
push 0x40
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
jmp 0x103b149
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x514]
push eax
push esi
push 0x103b18c
push dword [ebp - 0x724]
call ebx
test eax, eax
jne 0x103b149
push edi
lea eax, [ebp - 0x71c]
push eax
lea eax, [ebp - 0x514]
push eax
call dword [sym.imp.SHLWAPI.dll_SHUnicodeToUnicode]
lea eax, [ebp - 0x71c]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHRunIndirectRegClientCommand]
mov word [ebp - 0x20c], si
mov dword [ebp - 0x728], 1
pop edi
cmp word [ebp - 0x20c], si
pop ebx
je 0x103b16c
push 9
lea eax, [ebp - 0x20c]
push eax
call fcn.010128b9
mov dword [ebp - 0x728], 1
push dword [ebp - 0x724]
call dword [sym.imp.SHLWAPI.dll_SHRegCloseUSKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x728]
pop esi
call fcn.01001aff
leave
ret 4
Function at 0x103b941
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x1046080]
and dword [ebp - 0x418], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x14]
push 0x10
pop ecx
mov dword [ebp - 0x41c], eax
xor eax, eax
push ebx
lea edi, [ebp - 0x464]
rep stosd dword es:[edi], eax
push 0x102
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x468], 0x44
call fcn.0100660f
test eax, eax
jl 0x103ba17
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0x103ba2c
mov esi, 0x208
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0101e2d9
xor edi, edi
cmp eax, edi
jl 0x103ba16
push dword [ebp - 0x420]
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0101e2d9
cmp eax, edi
jl 0x103ba16
push dword [ebp - 0x41c]
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x424]
lea eax, [ebp - 0x414]
push edi
push edi
push edi
push edi
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x418], eax
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x418]
pop edi
pop ebx
call fcn.01001aff
leave
ret 0x10

Function at 0x103cc52
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_RegOpenKeyExA]
push edi
lea eax, [ebp + 0xc]
push eax
push 1
xor edi, edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call esi
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jne 0x103ccb3
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], 4
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x103ccaa
cmp dword [ebp - 0xc], 4
je 0x103ccaa
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0xc]
push eax
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x103ccf6
push 4
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], esi
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x103cced
cmp dword [ebp - 0xc], esi
je 0x103cced
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x103cd05
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1046080]
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
lea edx, [ebp - 0x10c]
push edx
push 1
xor esi, esi
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x103cd7b
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push edi
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10c]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
call fcn.01001aff
leave
ret 0xc

Function at 0x103cf3f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x100bde0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103cf91
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x1019a38
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret

Function at 0x103cf9b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10476e8]
cmp eax, 0xffffffff
jne 0x103d01f
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x103d030
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x103d00e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x103d024
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x103d005
cmp dword [ebp - 0xc], 4
jne 0x103d005
cmp dword [ebp - 0x10], eax
je 0x103d005
mov dword [0x10476e8], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x10476e8]
cmp eax, 0xffffffff
jne 0x103d01f
xor eax, eax
mov dword [0x10476e8], eax
leave
ret
Function at 0x103de55
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push 0x103e070
push dword [0x1047380]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0x100ec1c
push 0x1029c48
push dword [0x1047380]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x103de91
call fcn.01036e47
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
push 0x103e010
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103dfe9
push esi
push edi
push 0x1014400
call fcn.0103d9ce
push 0x1016900
mov dword [ebp - 0xc], eax
call fcn.0103d9ce
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x4c], ebx
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0x1c]
stosd dword es:[edi], eax
call fcn.0103da53
push 3
pop esi
push ebx
push 4
push 0x103e000
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0103da8e
mov dword [ebp + esi*4 - 0x4c], eax
inc esi
cmp esi, 6
jb 0x103dee7
lea ecx, [ebp - 0x1c]
call fcn.0103da53
xor edi, edi
lea esi, [ebp + edi*4 - 0x4c]
cmp dword [esi], ebx
jne 0x103df2e
push 1
push 0x10
push 0x103dff0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0103da8e
mov dword [esi], eax
inc edi
cmp edi, 6
jb 0x103df0f
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x30], 3
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push ebx
push 0x40000000
lea eax, [ebp - 0x24]
push eax
call fcn.010080d9
push 0x13
xor esi, esi
pop ebx
mov edi, dword [ebp + esi*4 - 0x4c]
test edi, edi
je 0x103dfb5
push 0x26
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x103df7c
lea eax, [ebx + 0x28]
mov dword [ebp - 0x2c], eax
jmp 0x103df7f
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x1009b9c
push edi
call fcn.0100bb43
test eax, eax
jl 0x103dfb5
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push 0x12
push 0x10083b4
call fcn.0102b9be
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
dec ebx
cmp esi, 6
jb 0x103df60
xor esi, esi
push dword [ebp + esi*4 - 0x4c]
call dword [sym.imp.SHELL32.dll_ILFree]
inc esi
cmp esi, 6
jb 0x103dfbe
push dword [ebp - 0xc]
mov esi, dword [sym.imp.SHELL32.dll_SHFree]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x103e1f2
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push 1
push 0x1014460
push 0x1016b50
mov esi, ecx
xor ebx, ebx
push SysReAllocString
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x103e33e
push 4
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x14], 9
call dword [sym.imp.SHLWAPI.dll_IStream_Write]
test eax, eax
jl 0x103e31a
mov dword [ebp - 8], ebx
add esi, 0x38
push edi
push dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
call fcn.0100802f
test eax, eax
je 0x103e302
mov eax, dword [ebp - 8]
movzx eax, byte [eax*8 + 0x1007fd0]
push eax
push dword [ebp - 4]
call fcn.0103d538
test eax, eax
jl 0x103e319
mov eax, dword [esi]
cmp eax, ebx
je 0x103e2f2
cmp dword [esi + 8], ebx
je 0x103e2f2
cmp dword [eax], ebx
mov dword [ebp - 0xc], ebx
jle 0x103e2f2
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi]
cmp ebx, eax
je 0x103e2c8
push 0
push dword [ebp - 4]
mov ebx, eax
call fcn.0103d538
test eax, eax
jl 0x103e319
push dword [ebx + 4]
push dword [esi + 8]
call fcn.0103d555
push eax
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_IStream_WritePidl]
test eax, eax
jl 0x103e319
push 1
push dword [ebp - 4]
call fcn.0103d538
test eax, eax
jl 0x103e319
push dword [edi + 4]
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_IStream_WritePidl]
test eax, eax
jl 0x103e319
inc dword [ebp - 0xc]
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
jl 0x103e28e
push 2
push dword [ebp - 4]
call fcn.0103d538
test eax, eax
jl 0x103e319
xor ebx, ebx
inc dword [ebp - 8]
add esi, 0x1c
cmp dword [ebp - 8], 6
jb 0x103e24d
mov dword [ebp - 0x10], 1
pop edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x10], 0
jne 0x103e33e
push 0x1014460
push 0x1016b50
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
pop esi
pop ebx
leave
ret
Function at 0x103f6b1
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
lea eax, [ebp + 8]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jl 0x103f710
push edi
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 0x100f910
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ILFree]
pop edi
leave
ret 4