joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45df0b
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x45df32
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d444
leave
ret 4
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x210], esi
test esi, esi
je 0x45df54
cmp esi, 0xffffffff
jne 0x45df66
xor esi, esi
lea ecx, [ebp - 0x210]
call fcn.00407650
mov eax, esi
pop esi
jmp 0x45df24
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0047f8f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jbe 0x45df54
push edi
lea ecx, [ebp - 0x20c]
call fcn.0045d505
xor esi, esi
inc esi
jmp 0x45df56

Function at 0x45dfab
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp + 8], eax
jne 0x45dfbe
xor eax, eax
inc eax
jmp 0x45dff0
push esi
push dword [ebp + 8]
xor esi, esi
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x45dfe5
cmp eax, 0xffffffff
je 0x45dfe5
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
lea ecx, [ebp + 8]
call fcn.00407650
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x45e250
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x45e2f7
cmp dword [ebp + 0xc], ebx
je 0x45e2f7
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x45e2f6
lea eax, [esi + esi]
push edi
push eax
call fcn.0047dbf1
mov edi, eax
pop ecx
cmp edi, ebx
je 0x45e2f5
push esi
push ebx
push edi
call fcn.0047f8f0
add esp, 0xc
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x45e2ee
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x4a1790
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x45e2ee
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push 0x104
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
inc ebx
push edi
call fcn.0047db14
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x45e911
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [0x4be0a0]
xor eax, esp
mov dword [esp], eax
push ebx
mov ebx, dword [esp + 0xc]
test esi, esi
je 0x45e92e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x45e930
xor eax, eax
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [esp + 4]
neg eax
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.0047d444
pop ecx
ret 4
Function at 0x45e95a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x20
mov eax, 0x49714d
call fcn.0047e831
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x810]
mov esi, edx
mov dword [ebp - 0x14], ecx
xor edi, edi
mov dword [ebp - 0x2c], edi
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov dword [eax + 0x18], 7
call fcn.00402a30
xor ebx, ebx
inc ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
cmp esi, edi
je 0x45ea70
xor eax, eax
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.0047f8f0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
push esi
push dword [ebp - 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x1c], edi
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45ea00
cmp dword [ebp - 0x1c], 2
jne 0x45ea70
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x45ea70
cmp eax, 0x800
jbe 0x45ea3d
add eax, 2
push eax
call fcn.0047dbf1
mov ebx, eax
mov eax, dword [ebp - 0x10]
add eax, 2
push eax
push edi
push ebx
call fcn.0047f8f0
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call esi
jmp 0x45ea54
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call esi
mov ebx, dword [ebp - 0x28]
mov edx, ebx
cmp ebx, edi
jne 0x45ea5d
lea edx, [ebp]
push dword [ebp - 0x24]
call fcn.004027a0
cmp ebx, edi
je 0x45ea70
push ebx
call fcn.0047db14
pop ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0047d444
add ebp, 0x804
leave
ret
Function at 0x45ea96
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49864e
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.00489080
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov esi, ecx
mov dword [ebp - 0x202c], edi
call fcn.004117e0
xor ebx, ebx
push esi
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.0045c5e1
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x45ebb1
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.0047f8f0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x45eb9b
inc dword [ebp - 0x2018]
lea edx, [ebp - 0x2014]
lea eax, [ebp - 0x2048]
call fcn.00402730
lea eax, [ebp - 0x2048]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2028]
push eax
call fcn.00419bf0
lea esi, [ebp - 0x2048]
mov byte [ebp - 4], 1
call fcn.00405980
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], 0x1000
call ebx
test eax, eax
je 0x45eb47
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x45ebcf
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047d444
leave
ret

Function at 0x45ebef
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push 1
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
jne 0x45ec3e
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x45ed5f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45ee13
push ebx
push esi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.0047f8f0
add esp, 0xc
lea esi, [ebp - 0x20c]
mov ecx, edi
call fcn.0045d31e
mov ecx, esi
call fcn.0045ec44
test eax, eax
je 0x45edc0
xor eax, eax
inc eax
jmp 0x45ee11
lea eax, [ebp - 0x20c]
push eax
push str.explorer.exe__select__s
lea eax, [ebp - 0x61c]
push 0x208
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x61c]
push eax
call fcn.0045de99
mov dword [ebp - 0x620], eax
cmp eax, ebx
je 0x45edff
cmp eax, 0xffffffff
je 0x45edff
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x620]
call fcn.00407650
xor eax, eax
test bl, bl
setne al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d444
leave
ret

Function at 0x45ee1f
Capabilities:
Get common file path

Disassembly:
push 0
push 0x23
push dword [esp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
ret 4
Function at 0x45efdc
Capabilities:
Check if file exists

Disassembly:
push 0x674
mov eax, 0x49710c
call fcn.0047e89a
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x680], esi
xor ecx, ecx
mov dword [ebp - 0x678], eax
mov dword [eax + 0x18], 7
call fcn.00402a30
xor edi, edi
mov dword [ebp - 4], esi
inc edi
push esi
mov dword [ebp - 0x680], edi
mov dword [ebp - 0x674], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x674]
push eax
push 0x49e77c
push edi
push esi
push 0x4a0da0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x45f17a
mov eax, dword [ebp - 0x674]
lea edx, [ebp - 0x67c]
push edx
push 0x4a0d90
mov dword [ebp - 0x67c], esi
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x45f16e
mov eax, dword [ebp - 0x67c]
mov ecx, dword [eax]
push esi
push ebx
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x45f162
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.0047f8f0
mov eax, dword [ebp - 0x674]
mov ecx, dword [eax]
add esp, 0xc
push 4
lea edx, [ebp - 0x670]
push edx
push 0x104
lea edx, [ebp - 0x218]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x45f162
push dword [ebp - 0x678]
lea edx, [ebp - 0x218]
call fcn.004027a0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x45f162
call fcn.0045d152
test eax, eax
je 0x45f162
push str.program_files__x86__
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x45f162
xor eax, eax
push edi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push esi
push eax
call fcn.0047f8f0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push str.program_files_
push str.program_files__x86__
lea eax, [ebp - 0x218]
push eax
call fcn.0045e6a6
lea eax, [ebp - 0x420]
push eax
call ebx
test eax, eax
je 0x45f162
push dword [ebp - 0x678]
lea edx, [ebp - 0x420]
call fcn.004027a0
mov eax, dword [ebp - 0x67c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x674]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x678]
call fcn.0047e91d
ret

Function at 0x461990
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.0047f8f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logs_accelerator
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x7c]
mov eax, esi
call fcn.00402730
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
mov eax, esi
call fcn.0047d444
add ebp, 0x190
leave
ret
Function at 0x461a06
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.0047f8f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x7c]
mov eax, esi
call fcn.00402730
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
mov eax, esi
call fcn.0047d444
add ebp, 0x190
leave
ret

Function at 0x461ffc
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x497adb
call fcn.0047e831
mov edi, dword [ebp + 0x230]
mov esi, dword [ebp + 0x238]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.0047f8f0
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x462068
push str.projonepodlp
jmp 0x462076
cmp dword [ebp + 0x234], 2
jne 0x462094
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x46208f
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp + 0x1c]
jmp 0x4620e4
cmp dword [ebp + 0x234], ebx
jne 0x4620df
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.00461ffc
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x4620ba
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x4620db
push 2
push edi
call fcn.00461ffc
add esp, 0xc
lea esi, [ebp]
call fcn.00405980
jmp 0x4620eb
push 1
jmp 0x4620c8
mov edx, 0x4a11bc
mov eax, edi
call fcn.00402730
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.0047d444
add ebp, 0x228
leave
ret
Function at 0x4621f2
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x420], esi
cmp edi, esi
je 0x4622bb
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jg 0x4622bb
xor eax, eax
push 0x40e
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push esi
push eax
call fcn.0047f8f0
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
call fcn.0045ee1f
cmp word [ebp - 0x41c], si
je 0x4622bb
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.projone
lea eax, [ebp - 0x41c]
push eax
call esi
push edi
lea eax, [ebp - 0x41c]
push eax
call esi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4622a1
push 6
lea eax, [ebp - 0x41c]
push eax
xor eax, eax
call fcn.0045cf4c
lea edi, [ebp - 0x41c]
call fcn.0045cab6
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, edi
test eax, eax
jne 0x4622c0
mov edx, 0x4a11bc
mov eax, ebx
call fcn.00402730
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0047d444
leave
ret

Function at 0x4633ca
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x3bc]
sub esp, 0x43c
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp + 0x3b8], eax
mov eax, dword [ebp + 0x3c4]
and dword [ebp - 0x64], 0
push ebx
push esi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x3c8]
push edi
mov dword [ebp - 0x60], eax
xor eax, eax
mov ebx, 0x206
push ebx
push eax
mov word [ebp + 0x1b0], ax
lea eax, [ebp + 0x1b2]
push eax
call fcn.0047f8f0
add esp, 0xc
mov edi, str.addons
lea ecx, [ebp - 0x80]
call fcn.00462110
cmp dword [eax + 0x18], 8
jb 0x463435
mov eax, dword [eax + 4]
jmp 0x463438
add eax, 4
push 0x104
push eax
lea eax, [ebp + 0x1b0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea esi, [ebp - 0x80]
call fcn.00405980
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x14], 0
je 0x4634f1
push eax
lea ecx, [ebp - 0x80]
call fcn.00403040
cmp dword [eax + 0x18], 8
pop ecx
jb 0x463475
mov eax, dword [eax + 4]
jmp 0x463478
add eax, 4
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea eax, [ebp + 0x1b0]
push eax
call edi
lea esi, [ebp - 0x80]
call fcn.00405980
xor eax, eax
push ebx
push eax
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x56]
push eax
call fcn.0047f8f0
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1b0]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push str.addon_desc.json
lea eax, [ebp - 0x58]
push eax
call edi
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4634da
mov edx, 0x4a11bc
jmp 0x4634f7
cmp dword [ebp + 0x3cc], 0
je 0x4634f1
push str.windows
lea eax, [ebp + 0x1b0]
push eax
call edi
lea edx, [ebp + 0x1b0]
mov eax, dword [ebp - 0x5c]
call fcn.00402730
mov ecx, dword [ebp + 0x3b8]
mov eax, dword [ebp - 0x5c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d444
add ebp, 0x3bc
leave
ret
Function at 0x471d6c
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x495590
call fcn.0047e864
xor edi, edi
mov dword [ebp - 4], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.0047d804
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x471db6
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jne 0x471da2
mov dword [esi + 0x10], edi
jmp 0x471db8
lea eax, [ebp + 8]
cmp ecx, eax
mov eax, dword [ecx]
jne 0x471dae
push esi
jmp 0x471daf
push edi
call dword [eax]
mov dword [esi + 0x10], eax
jmp 0x471db8
xor esi, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push esi
push 0x471df8
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
lea esi, [ebp + 8]
mov edi, eax
call fcn.0041c4f0
mov eax, edi
jmp 0x471df2
call fcn.0047e909
ret

Function at 0x4721c3
Capabilities:
Delete registry value

Disassembly:
push 0x5c
mov eax, 0x4983a3
call fcn.0047e89a
mov ebx, dword [ebp + 8]
push ebx
lea edi, [ebp - 0x48]
mov esi, ecx
call fcn.0045e1d2
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0
je 0x472284
test esi, esi
jne 0x4721f5
mov esi, 0x4a16c8
mov eax, dword [ebp - 0x44]
push 8
pop edi
cmp dword [ebp - 0x30], edi
jae 0x472203
lea eax, [ebp - 0x44]
push ebx
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str._s__hs__p
lea esi, [ebp - 0x2c]
call fcn.0045e820
add esp, 0x10
cmp byte [ebp + 0xc], 0
mov byte [ebp - 4], 1
je 0x472260
lea eax, [ebp - 0x64]
push eax
call fcn.0045da3b
pop ecx
cmp dword [eax + 0x18], edi
jb 0x47223b
mov eax, dword [eax + 4]
jmp 0x47223e
add eax, 4
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x472249
lea ecx, [ebp - 0x28]
push ecx
mov esi, eax
mov edi, 0x4c3858
call fcn.0045e911
lea esi, [ebp - 0x64]
call fcn.00405980
jmp 0x47227c
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x47226b
lea eax, [ebp - 0x28]
push eax
push 0x4c3858
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea esi, [ebp - 0x2c]
call fcn.00405980
lea esi, [ebp - 0x48]
call fcn.00405980
call fcn.0047e91d
ret 8
Function at 0x4724e4
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4be0a0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
cmp eax, 0xc6
ja 0x47257e
push ebx
mov esi, 0x4c3858
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
push 0x206
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push ebx
push eax
call fcn.0047f8f0
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
push edi
push 0x4a1790
push esi
call ebx
push edi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push esi
call ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [ebp + 8]
call fcn.00471ee6
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d444
leave
ret
Function at 0x472efe
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
test esi, esi
je 0x472f0e
and dword [esi], 0
and dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push 0x1001
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
test eax, eax
je 0x472f39
mov ecx, dword [ebp + 0x10]
push str.open_file_failed
call fcn.004041d0
jmp 0x472f8a
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 8]
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push dword [ebp + 8]
call fcn.00472b9a
pop ecx
pop ecx
mov byte [esp + 7], al
test esi, esi
je 0x472f62
mov eax, dword [esp + 0xc]
mov dword [esi], eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [esp + 7], 0
je 0x472f81
cmp dword [esp + 0xc], 0xc8
jne 0x472f81
mov al, 1
jmp 0x472f8c
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x472fff
Capabilities:
Check if file exists

Disassembly:
push 0xac
mov eax, 0x497bb3
call fcn.0047e89a
mov eax, dword [ebp + 8]
and dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x80], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x473075
push edi
lea ecx, [ebp - 0x9c]
call fcn.00403d80
and dword [ebp - 4], 0
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x78], ebx
call fcn.00403040
cmp dword [eax + 0x18], 8
pop ecx
mov dword [ebp - 0x78], 3
jb 0x473064
mov eax, dword [eax + 4]
jmp 0x473067
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0x71], bl
test eax, eax
je 0x473079
mov byte [ebp - 0x71], 0
test byte [ebp - 0x78], 2
je 0x47308e
and dword [ebp - 0x78], 0xfffffffd
lea esi, [ebp - 0xb8]
call fcn.00405980
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x78], bl
je 0x4730a2
lea ecx, [ebp - 0x9c]
call fcn.00403df0
cmp byte [ebp - 0x71], 0
je 0x4730ac
xor al, al
jmp 0x4730f6
lea esi, [ebp - 0x70]
call fcn.004731d0
push dword [ebp - 0x80]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], ebx
call fcn.004041d0
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x70], bl
call fcn.004041d0
mov eax, esi
push eax
mov eax, dword [ebp - 0x7c]
add eax, 0x3c
call fcn.00473daf
lea ecx, [ebp - 0x34]
call fcn.00403df0
lea ecx, [ebp - 0x50]
call fcn.00403df0
lea ecx, [ebp - 0x6c]
call fcn.00403df0
mov al, bl
call fcn.0047e91d
ret 8