joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3719b280
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
push edi
mov ebx, 0x3719f068
push str.Install
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push ebx
mov dword [ebp - 4], ecx
push edi
call esi
push str.Update
push ebx
push edi
call esi
mov esi, 0x104
xor edi, edi
push esi
lea eax, [ebp - 0x10c]
push edi
push eax
call sub.MSVCRT.dll_memset
push edi
lea eax, [ebp - 0x314]
push esi
push eax
push dword [0x371a04bc]
call fcn.37197218
add esp, 0x1c
lea eax, [ebp - 0x210]
push esi
push eax
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp - 0x210]
push str.mapiskin.dat
push eax
push str._s_s
lea eax, [ebp - 0x10c]
push 0x103
push eax
call ebx
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.37194f42
add esp, 0x1c
push edi
call fcn.3719b710
cmp dword [ebp + 0xc], edi
mov dword [ebp - 8], edi
je 0x3719b360
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], edi
jne 0x3719b34d
push 0x80004003
call fcn.3719c523
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
push esi
lea eax, [ebp - 0x10c]
push edi
push eax
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
add esp, 0x10
test eax, eax
mov eax, dword [ebp + 8]
jne 0x3719b385
mov eax, str.http:__www.mapion.co.jp_toolbar_install2.html
push dword [ebp - 8]
push 0x371a0230
push eax
push 0x371a022c
push str.11BD72CB_D678_42c3_AFF9_E6887040E9AF
push 0x371a0228
push 0x371a0224
push str._s__s_s__s_s__s_ld
lea eax, [ebp - 0x10c]
push 0x103
push eax
call ebx
lea eax, [ebp - 0x10c]
push eax
call fcn.3719b6b4
add esp, 0x2c
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x3719b5ca
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, 0x104
push 0
lea eax, [ebp - 0x104]
push esi
push eax
push dword [0x371a04bc]
call fcn.37197218
add esp, 0x10
lea eax, [ebp - 0x208]
push esi
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push esi
lea eax, [ebp - 0x104]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x208]
push dword [ebp + 8]
push eax
push str._s_s_
lea eax, [ebp - 0x104]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x18
push eax
lea eax, [ebp - 0x104]
push eax
push 1
push str.Theme
push 0x3719f068
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
pop esi
leave
ret
Function at 0x3719b710
Capabilities:
Delete registry value

Disassembly:
push ecx
push ebx
push esi
lea eax, [esp + 8]
push edi
push eax
push 0x1f4
push 2
push 0
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
mov ebx, 0x3719f068
push str.Info
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push ebx
push edi
call esi
push str.Time
push ebx
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4

Function at 0x3719bdc2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
push esi
push esi
push 0x14b
push dword [eax]
call ebx
push 0x400
lea eax, [ebp - 0x410]
push esi
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
call sub.MSVCRT.dll_memset
movzx eax, word [ebp + 8]
add esp, 0xc
push eax
push str.mapion
push str.Software3721CoolBarMapiCoolBarURL
push str._s_s_d
lea eax, [ebp - 0x410]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x18
lea eax, [ebp - 8]
push esi
push eax
push esi
push 0xf003f
push esi
push esi
lea eax, [ebp - 0x410]
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x3719bea5
push esi
lea eax, [ebp - 0x10]
push esi
push eax
lea eax, [ebp - 0xc]
push esi
push eax
lea eax, [ebp - 0x810]
push eax
mov dword [ebp - 0xc], 0x400
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x3719be9c
cmp dword [ebp - 0xc], esi
jbe 0x3719be97
lea eax, [ebp - 0x810]
push eax
mov eax, dword [ebp + 0xc]
push esi
push 0x143
push dword [eax]
call ebx
inc dword [ebp - 4]
jmp 0x3719be52
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret
Function at 0x3719bea9
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
xor esi, esi
push 0x400
lea eax, [ebp - 0x418]
push esi
push eax
mov dword [ebp - 4], esi
call sub.MSVCRT.dll_memset
movzx eax, word [ebp + 0xc]
add esp, 0xc
push eax
push str.mapion
push str.Software3721CoolBarMapiCoolBarURL
push str._s_s_d
lea eax, [ebp - 0x418]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x18
lea eax, [ebp - 4]
push esi
push eax
push esi
push 0xf003f
push esi
push esi
lea eax, [ebp - 0x418]
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x3719bf73
push esi
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x3719bf6a
cmp dword [ebp - 8], 0x1e
jb 0x3719bf48
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.3719bf76
pop ecx
pop ecx
lea eax, [ebp - 0x18]
push 0xd
push eax
call fcn.371972c6
pop ecx
lea eax, [ebp - 0x18]
pop ecx
push 0xd
push eax
push 1
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret

Function at 0x3719bf76
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
push ebx
push esi
push edi
mov esi, str.999999999999
lea edi, [ebp - 0x20]
xor ebx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0xd
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
mov esi, 0x400
pop edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x830]
mov dword [ebp - 0xc], edi
push eax
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x3719c036
cmp dword [ebp - 8], ebx
jbe 0x3719c036
cmp dword [ebp - 0xc], ebx
jbe 0x3719c036
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jle 0x3719c02e
push edi
lea eax, [ebp - 0x20]
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MSVCRT.dll_memcpy
push esi
lea eax, [ebp - 0x430]
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x830]
push esi
push eax
lea eax, [ebp - 0x430]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x30
inc dword [ebp - 4]
jmp 0x3719bfa2
lea eax, [ebp - 0x430]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x430]
mov ecx, esi
push 0xffffffffffffffff
neg ecx
push eax
lea eax, [esi - 4]
sbb ecx, ecx
and ecx, eax
call fcn.37191212
cmp eax, ebx
jl 0x3719c075
push ebx
push eax
push 0x144
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002515
Capabilities:
Query or enumerate registry value

Disassembly:
cmp esi, dword [0x104608c]
je 0x1002532
mov ebx, dword [ebp + 8]
xor edi, edi
push edi
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.010022ed
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
mov eax, 0xc40000
and ecx, eax
cmp ecx, eax
lea eax, [ebp - 0x10]
push eax
push esi
jne 0x10025e1
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x10]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_UnionRect]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x1002532
jmp 0x1023752
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1002498
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x10024e7
push edi
push edi
push 0x1023790
push 0x100bde0
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x102376b
mov dword [ebp + 0x14], edi
cmp dword [ebp + 0x10], ebx
jne 0x1002532
cmp dword [ebp + 0x14], edi
jne 0x1023787
push esi
call fcn.0102d5d9
test eax, eax
je 0x1002532
xor eax, eax
inc eax
jmp 0x1002534

Function at 0x1002540
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
push esi
mov esi, ecx
push 2
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push dword [esi + 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10237c0
lea eax, [ebp - 0x10]
push eax
push fcn.01002597
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x50], eax
pop esi
leave
ret 4
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x50]
call fcn.01002597
test eax, eax
jne 0x1002578
mov eax, dword [ebp - 0xc]
jmp 0x100258d
Function at 0x1002db9
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x1023879
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [esi + 8]
cmp ecx, 0xdbba00
jbe 0x1002dc8
mov dword [esi + 8], eax
mov ecx, esi
pop esi
jmp fcn.0102d23f
Function at 0x1003d6d
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
cmp eax, 0xffffffea
mov esi, ecx
jbe 0x10051bf
cmp eax, 0xffffffec
je 0x102435b
cmp eax, 0xfffffff1
je 0x10242ea
cmp eax, 0xfffffff4
jne 0x10051f2
push 0
push edi
mov ecx, esi
call fcn.01003dba
pop edi
pop esi
pop ebx
leave
ret 4
je 0x10148ef
cmp eax, 0xfffffd33
je 0x10148fb
cmp eax, 0xfffffd37
je 0x1021fbf
cmp eax, 0xfffffd3a
je 0x1024265
cmp eax, 0xfffffdee
jne 0x10051f2
jmp 0x10241ff
xor eax, eax
jmp 0x1003dae
mov ecx, esi
call fcn.0100fb59
jmp 0x10051f2
push edi
mov ecx, esi
call fcn.0102fb1a
jmp 0x10051f2
cmp dword [esi + 0x64], 0
jne 0x10242ca
test byte [edi + 0x14], 2
je 0x10051f2
jmp 0x10242d2
push dword [edi + 4]
lea ecx, [esi + 0x3c]
call fcn.0102db08
push 1
xor ebx, ebx
push ebx
push eax
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.010021c0
test eax, eax
je 0x1024249
cmp dword [eax], ebx
jne 0x1024249
push dword [ebp + 8]
mov ecx, esi
lea ebx, [edi + 0x10]
call fcn.01004bdc
push eax
push 0x1024394
push 0x50
push ebx
call fcn.0101f965
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
push 0
push 0x50
pop eax
sub eax, ebx
push eax
lea eax, [edi + ebx*2 + 0x10]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.01004442
jmp 0x10051f2
push dword [edi + 0xc]
lea ecx, [esi + 0x3c]
call fcn.0102db08
mov ecx, esi
mov edi, eax
call fcn.0100261b
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [esi + 0x48], eax
je 0x102429c
push eax
mov ecx, esi
call fcn.010027e8
cmp eax, edi
jne 0x102429c
push 0x11
call ebx
test ax, ax
jge 0x10242a6
push 0
push edi
mov ecx, esi
call fcn.0100385e
push 0x11
call ebx
test ax, ax
jl 0x10051f2
push 0
push edi
mov ecx, esi
call fcn.0100385e
push edi
mov ecx, esi
call fcn.0102f1b2
jmp 0x10051f2
xor eax, eax
inc eax
jmp 0x1003dae
push dword [edi + 0x10]
lea ecx, [esi + 0x3c]
call fcn.0102db08
push eax
mov ecx, esi
call fcn.01003821
jmp 0x10051f2
mov edi, dword [edi + 0xc]
cmp edi, 0xd
je 0x10242fb
cmp edi, 0x20
jne 0x10051f2
push 0
push 0
push 0x447
lea edi, [esi + 0x3c]
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
jl 0x10242ca
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, edi
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x1c], reloc.SHELL32.dll_SHChangeNotifyDeregister
call fcn.0100222f
xor byte [ebp - 0x10], 1
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, edi
call fcn.01003b77
push 1
push 0
push ebx
mov ecx, esi
call fcn.010021c0
push 0
push eax
push ebx
mov ecx, esi
call fcn.0102fa7b
jmp 0x10242ca
push dword [edi + 0xc]
lea ecx, [esi + 0x3c]
call fcn.0102db08
push 1
push 0
push eax
mov ecx, esi
call fcn.010021c0
test eax, eax
je 0x10051f2
cmp dword [eax], 0
je 0x10051f2
mov ecx, esi
call fcn.0100261b
mov dword [esi + 0x48], eax
jmp 0x10051f2
Function at 0x1003dba
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
jne 0x1003ddc
mov eax, dword [ebx + 0x2c]
mov dword [ebp + 0xc], eax
mov esi, eax
mov eax, dword [ebx + 0xc]
and dword [ebp + 8], 0
dec eax
je 0x1003e1a
sub eax, 0x10000
jne 0x1003e23
test byte [ebx + 0x28], 8
jne 0x1003e43
test byte [esi + 4], 1
jne 0x1023afc
test byte [esi + 4], 0x20
jne 0x1020857
cmp dword [esi], 0
je 0x1023b66
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
mov dword [ebp + 8], 0x20
jmp 0x1003e10
dec eax
jne 0x1003e10
cmp dword [esi], 0
je 0x1023aad
test byte [ebx + 0x28], 8
je 0x1003e10
push dword [edi + 0x6c]
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x1003e10
call fcn.01003e6e
test eax, eax
jne 0x1003df3
mov eax, dword [edi + 0x80]
mov ecx, dword [ebx + 0x10]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [edi + 0x6c], eax
mov dword [ebp + 8], 0x12
jmp 0x1003df3
mov dword [ebp + 8], 4
jmp 0x1003e07
push dword [ebx + 0x24]
lea ecx, [edi + 0x3c]
call fcn.0102db08
mov ecx, dword [ebx + 0x1c]
lea esi, [ebx + 0x54]
cmp ecx, dword [esi]
jl 0x1003e2f
lea edi, [ebp - 0x14]
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 [ebp - 0x14]
mov dword [ebp - 0xc], ecx
sub ecx, dword [ebx + 0x6c]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 4]
push 0
push eax
call fcn.01004bdc
mov ecx, dword [ebp - 4]
push eax
push dword [ebx + 0x10]
call fcn.0102ee32
mov edi, dword [ebp - 4]
jmp 0x1003e2f
mov eax, dword [edi + 0x84]
test eax, eax
je 0x1023b2e
push 0
lea ecx, [ebx + 0x14]
push ecx
mov ecx, dword [ebx]
xor edx, edx
cmp ecx, dword [edi + 0x3c]
push 0
setne dl
inc edx
inc edx
push edx
push dword [ebx + 0x10]
push eax
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
or byte [ebp + 0xa], 0x40
jmp 0x1003dfd
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call esi
push 0xd
mov dword [ebx + 0x50], eax
call esi
push 0xe
mov dword [ebx + 0x48], eax
call esi
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x28]
test al, 0x40
jne 0x1023b5a
or eax, 0x40
or byte [ebp + 0xa], 1
mov dword [ebx + 0x28], eax
or byte [ebp + 0xa], 2
mov esi, dword [ebp + 0xc]
jmp 0x1003dfd
push dword [ebx + 0x24]
or dword [ebp + 8], 0x10
lea ecx, [edi + 0x3c]
call fcn.0102db08
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
mov ecx, edi
call fcn.01004bdc
push eax
push dword [ebx + 0x10]
mov ecx, edi
call fcn.0102ee32
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebx + 0x6c], eax
jmp 0x1003e10

Function at 0x1003e6e
Capabilities:
Identify system language via api

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, eax
and cx, 0x3ff
cmp cx, 4
je 0x1023717
xor eax, eax
ret
shr ax, 0xa
cmp ax, 1
je 0x102372b
cmp ax, 2
jne 0x1003e85
xor eax, eax
inc eax
ret
Function at 0x1005824
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 2
push 1
push 0
push 0
push 0x10058a0
push SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1005881
mov ecx, dword [esi + 0x68]
call fcn.010058cb
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x1005884
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret
Function at 0x1008259
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0x580
push 0x28e44000
lea eax, [ebp - 0x14]
push eax
call fcn.010080d9
lea esi, [ebx + 0x20]
push esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x10286b6
push ebx
push 0x10080fd
push dword [ebx + 0xe0]
call dword [fcn.01007a4c]
and dword [ebp - 4], 0
lea esi, [ebx + 0x44]
mov ecx, dword [ebp - 4]
shl ecx, 3
mov eax, dword [ecx + 0x1007fd0]
mov ecx, dword [ecx + 0x1007fd4]
lea edi, [esi - 4]
mov dword [ebx + 0x28], ecx
cmp dword [edi], 0
mov dword [ebp - 0xc], eax
je 0x10286c6
push dword [ebp - 4]
mov ecx, ebx
call fcn.0100802f
test eax, eax
je 0x100835c
test byte [ebx + 0x28], 8
je 0x10082fd
push 0x20000
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x10286db
push dword [ebp - 0xc]
call fcn.01008382
test eax, eax
jne 0x100b6ee
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x100b6ee
mov eax, dword [edi]
test eax, eax
je 0x100b636
push dword [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_ILIsEqual]
test eax, eax
je 0x100b636
cmp dword [esi], 0
jne 0x100b636
cmp dword [esi + 4], 0
je 0x100b636
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ILFree]
inc dword [ebp - 4]
add esi, 0x1c
cmp dword [ebp - 4], 6
jb 0x10082b2
pop edi
pop esi
mov dword [ebx + 0xf4], 1
xor eax, eax
pop ebx
leave
ret
mov ecx, dword [edi]
xor edx, edx
cmp ecx, edx
je 0x100b642
cmp dword [esi], edx
je 0x100b6ac
mov eax, dword [esi - 0xc]
cmp eax, edx
mov dword [esi], edx
mov dword [esi - 8], eax
je 0x100b6e7
mov eax, dword [eax]
push ecx
mov dword [esi + 0xc], eax
mov dword [esi + 8], edx
call dword [sym.imp.SHELL32.dll_ILFree]
and dword [edi], 0
push 4
lea ecx, [esi - 0xc]
call fcn.010079b8
test eax, eax
je 0x100b6a3
push dword [ebp - 8]
push dword [ebx + 0x2c]
call fcn.0100b57a
test eax, eax
mov dword [ebp - 0xc], eax
je 0x100b6a3
mov eax, dword [ebp - 8]
and dword [ebp - 8], 0
mov dword [edi], eax
lea eax, [esi - 0xc]
push eax
push dword [ebp - 0xc]
mov ecx, ebx
call fcn.0100b91a
mov ecx, dword [ebp - 0xc]
call fcn.01007f8a
lea eax, [esi - 8]
push eax
call fcn.0100b700
cmp dword [ebx + 4], 0
je 0x1008353
cmp dword [esi + 4], 0
jne 0x1008353
mov edi, dword [edi]
test edi, edi
je 0x1008353
xor eax, eax
inc eax
push eax
push edi
push 0x2381f
push dword [ebp - 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 4]
call fcn.01009c45
jmp 0x1008353
xor eax, eax
jmp 0x100b654
lea ecx, [esi - 0xc]
call fcn.01011772
jmp 0x100835c
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
jmp 0x1008299
push edi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [esi], 1
jmp 0x10082d6
or dword [ebx + 0x28], 1
jmp 0x10082fd
Function at 0x1008fd5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x7c], ebx
jne 0x1008ffe
cmp dword [esi + 0x74], ebx
je 0x1008ffe
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1012d70
pop esi
pop ebx
leave
ret
push edi
xor edi, edi
inc edi
push edi
push ebx
push 0x100bfbc
push 0x100bde0
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x1012db3
dec dword [esi + 0x74]
push 3
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [esi + 0x7c], edi
mov esi, dword [esi + 0x24]
push 0x4e
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 0xd1
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_Ordinal_178]
pop edi
jmp 0x1008ffe

Function at 0x1009297
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov esi, ecx
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x48]
xor ebx, ebx
cmp eax, ebx
je 0x10092c0
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push 1
push ebx
push eax
call dword [ecx + 0x24]
push ebx
push ebx
push ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x10090b8
push 0x1009008
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
add edi, 0xc
push edi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x1009309
mov ecx, esi
mov dword [esi + 0x74], 3
call fcn.01008fd5
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 4

Function at 0x100cdd1
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 0x1028be7
mov eax, dword [edi + 8]
push esi
mov esi, dword [edi + 0xc]
and esi, 3
cmp eax, ebx
je 0x100ce60
push ebx
push ebx
push ebx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
mov ebx, 0x100bde0
push ebx
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
je 0x1028bee
mov ecx, edi
call fcn.0100ce86
test eax, eax
mov dword [ebp + 8], eax
je 0x100ce60
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push ebx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1028bff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 2
je 0x100d504
cmp esi, 1
jne 0x100ce78
test byte [edi + 0xc], 0x10
jne 0x1028c0f
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret 4
test byte [edi + 0xc], 8
jne 0x100ce78
jmp 0x1028c07
xor eax, eax
jmp 0x100ce7b
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 4]
mov dword [eax], 1
jmp 0x100ce60
mov esi, dword [ebp - 4]
jmp 0x100ce57
xor esi, esi
inc esi
jmp 0x100ce78
push 2
pop esi
jmp 0x100ce78