joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b70
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x1a
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x548de0
mov ecx, dword [ebp - 4]
add ecx, 0x10
push ecx
call fcn.004af779
add esp, 8
push 0x548de4
mov edx, dword [ebp - 4]
add edx, 0x10
push edx
call fcn.004af779
add esp, 8
push 0x548df4
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
call fcn.004af779
add esp, 8
push 0x548df8
mov ecx, dword [ebp - 4]
add ecx, 0x10
push ecx
call fcn.004af779
add esp, 8
push 0x548e14
mov edx, dword [ebp - 4]
add edx, 0x10
push edx
call fcn.004af779
add esp, 8
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401c0e
mov ecx, dword [ebp - 4]
add ecx, 0x10
push ecx
call fcn.0040f7e0
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x401c40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c556
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5a6900]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.004af7d0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00404760
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x220]
call fcn.00401fc0
add eax, 1
push eax
push 0
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00402010
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x22c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00404800
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.004047e0
push 0x548e78
lea ecx, [ebp - 0x220]
call fcn.00401fa0
lea ecx, [ebp - 0x220]
call fcn.00404880
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401d7b
lea ecx, [ebp - 0x220]
call fcn.00404880
push eax
push 0x548e90
push 0x548e98
push 0x548ea0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x220]
call fcn.00404880
push eax
push 0x548eb4
push str.MinVer
push str.AppUpdate
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.004047e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af76a
mov esp, ebp
pop ebp
ret
Function at 0x406610
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x54949c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x406636
xor eax, eax
jmp 0x4066fc
push str.GetNativeSystemInfo
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push str.IsWow64Process
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push str.Wow64DisableWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x5494fc
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push str.GetSystemWow64DirectoryW
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x4066c7
xor eax, eax
jmp 0x4066fc
push 0x549554
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push str.Wow64RevertWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x406ac0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfac
mov eax, dword [0x5a6900]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xfac], ecx
push 0x7d0
lea eax, [ebp - 0xfa8]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x549684
lea ecx, [ebp - 0xfa8]
push ecx
call fcn.004af779
add esp, 8
lea edx, [ebp - 0xfa8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x406b14
xor eax, eax
jmp 0x406b19
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af76a
mov esp, ebp
pop ebp
ret
Function at 0x407540
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c85d
mov eax, dword fs:[0]
push eax
sub esp, 0xb88
mov eax, dword [0x5a6900]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb90], ecx
push 0x104
lea eax, [ebp - 0x62c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea ecx, [ebp - 0x62c]
push ecx
call fcn.00404220
add esp, 8
xor edx, edx
mov word [eax + 2], dx
xor eax, eax
mov word [ebp - 0x93c], ax
push 0x206
push 0
lea ecx, [ebp - 0x93a]
push ecx
call fcn.004af7d0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004af7d0
add esp, 0xc
lea ecx, [ebp - 0x62c]
push ecx
push 0x549a9c
lea edx, [ebp - 0x93c]
push edx
call fcn.004af679
add esp, 0xc
lea eax, [ebp - 0x93c]
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0x549ab8
push 0x549ac0
push 0x549ad4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov word [ebp - 0xb4c], dx
push 0x206
push 0
lea eax, [ebp - 0xb4a]
push eax
call fcn.004af7d0
add esp, 0xc
mov byte [ebp - 0x734], 0
push 0x103
push 0
lea ecx, [ebp - 0x733]
push ecx
call fcn.004af7d0
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0x549ae4
push 0x549aec
push 0x549af4
push 0x549afc
lea eax, [ebp - 0xb4c]
push eax
call fcn.004af679
add esp, 0x18
lea ecx, [ebp - 0x734]
push ecx
lea edx, [ebp - 0xb4c]
push edx
call fcn.0040f920
add esp, 8
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.004af7d0
add esp, 0xc
mov dword [ebp - 0x10], 0
push 0x20
call fcn.0048b8bd
add esp, 4
mov dword [ebp - 0xb54], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0xb54], 0
je 0x4076f2
mov ecx, dword [ebp - 0xb54]
call fcn.0040a290
mov dword [ebp - 0xb94], eax
jmp 0x4076fc
mov dword [ebp - 0xb94], 0
mov edx, dword [ebp - 0xb94]
mov dword [ebp - 0xb50], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb50]
mov dword [ebp - 0x940], eax
cmp dword [ebp - 0x940], 0
jne 0x40772b
xor eax, eax
jmp 0x4077d8
push 0x549b1c
lea ecx, [ebp - 0x62c]
push ecx
push 0x549b3c
lea edx, [ebp - 0x424]
push edx
call fcn.004af679
add esp, 0x10
push 0x549b48
lea ecx, [ebp - 0xb70]
call fcn.00404890
mov dword [ebp - 4], 1
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0xb8c]
call fcn.004063a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb70]
push ecx
lea edx, [ebp - 0xb8c]
push edx
mov ecx, dword [ebp - 0x940]
call fcn.00409fb0
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8c]
call fcn.00402890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb70]
call fcn.00404910
cmp dword [ebp - 0x10], 0
jne 0x4077bf
xor eax, eax
jmp 0x4077d8
lea eax, [ebp - 0x734]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004af76a
mov esp, ebp
pop ebp
ret
Function at 0x407800
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c8a9
mov eax, dword fs:[0]
push eax
sub esp, 0xb88
mov eax, dword [0x5a6900]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb90], ecx
push 0x104
lea eax, [ebp - 0x62c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea ecx, [ebp - 0x62c]
push ecx
call fcn.00404220
add esp, 8
xor edx, edx
mov word [eax + 2], dx
xor eax, eax
mov word [ebp - 0x93c], ax
push 0x206
push 0
lea ecx, [ebp - 0x93a]
push ecx
call fcn.004af7d0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004af7d0
add esp, 0xc
lea ecx, [ebp - 0x62c]
push ecx
push 0x549b5c
lea edx, [ebp - 0x93c]
push edx
call fcn.004af679
add esp, 0xc
lea eax, [ebp - 0x93c]
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0x549b78
push 0x549b80
push 0x549b94
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov word [ebp - 0xb4c], dx
push 0x206
push 0
lea eax, [ebp - 0xb4a]
push eax
call fcn.004af7d0
add esp, 0xc
mov byte [ebp - 0x734], 0
push 0x103
push 0
lea ecx, [ebp - 0x733]
push ecx
call fcn.004af7d0
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0x549ba4
push 0x549bac
push 0x549bb4
push 0x549bbc
lea eax, [ebp - 0xb4c]
push eax
call fcn.004af679
add esp, 0x18
lea ecx, [ebp - 0x734]
push ecx
lea edx, [ebp - 0xb4c]
push edx
call fcn.0040f920
add esp, 8
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.004af7d0
add esp, 0xc
mov dword [ebp - 0x10], 0
push 0x20
call fcn.0048b8bd
add esp, 4
mov dword [ebp - 0xb54], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0xb54], 0
je 0x4079b2
mov ecx, dword [ebp - 0xb54]
call fcn.0040a290
mov dword [ebp - 0xb94], eax
jmp 0x4079bc
mov dword [ebp - 0xb94], 0
mov edx, dword [ebp - 0xb94]
mov dword [ebp - 0xb50], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb50]
mov dword [ebp - 0x940], eax
cmp dword [ebp - 0x940], 0
jne 0x4079eb
xor eax, eax
jmp 0x407a98
push 0x549bd4
lea ecx, [ebp - 0x62c]
push ecx
push 0x549bf4
lea edx, [ebp - 0x424]
push edx
call fcn.004af679
add esp, 0x10
push 0x549c00
lea ecx, [ebp - 0xb70]
call fcn.00404890
mov dword [ebp - 4], 1
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0xb8c]
call fcn.004063a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb70]
push ecx
lea edx, [ebp - 0xb8c]
push edx
mov ecx, dword [ebp - 0x940]
call fcn.00409fb0
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8c]
call fcn.00402890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb70]
call fcn.00404910
cmp dword [ebp - 0x10], 0
jne 0x407a7f
xor eax, eax
jmp 0x407a98
lea eax, [ebp - 0x734]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004af76a
mov esp, ebp
pop ebp
ret
Function at 0x407ac0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c8f5
mov eax, dword fs:[0]
push eax
sub esp, 0xb88
mov eax, dword [0x5a6900]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb90], ecx
push 0x104
lea eax, [ebp - 0x62c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea ecx, [ebp - 0x62c]
push ecx
call fcn.00404220
add esp, 8
xor edx, edx
mov word [eax + 2], dx
xor eax, eax
mov word [ebp - 0x93c], ax
push 0x206
push 0
lea ecx, [ebp - 0x93a]
push ecx
call fcn.004af7d0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004af7d0
add esp, 0xc
lea ecx, [ebp - 0x62c]
push ecx
push 0x549c14
lea edx, [ebp - 0x93c]
push edx
call fcn.004af679
add esp, 0xc
lea eax, [ebp - 0x93c]
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0x549c30
push 0x549c38
push 0x549c4c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov word [ebp - 0xb4c], dx
push 0x206
push 0
lea eax, [ebp - 0xb4a]
push eax
call fcn.004af7d0
add esp, 0xc
mov byte [ebp - 0x734], 0
push 0x103
push 0
lea ecx, [ebp - 0x733]
push ecx
call fcn.004af7d0
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0x549c5c
push 0x549c64
push 0x549c6c
push 0x549c74
lea eax, [ebp - 0xb4c]
push eax
call fcn.004af679
add esp, 0x18
lea ecx, [ebp - 0x734]
push ecx
lea edx, [ebp - 0xb4c]
push edx
call fcn.0040f920
add esp, 8
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.004af7d0
add esp, 0xc
mov dword [ebp - 0x10], 0
push 0x20
call fcn.0048b8bd
add esp, 4
mov dword [ebp - 0xb54], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0xb54], 0
je 0x407c72
mov ecx, dword [ebp - 0xb54]
call fcn.0040a290
mov dword [ebp - 0xb94], eax
jmp 0x407c7c
mov dword [ebp - 0xb94], 0
mov edx, dword [ebp - 0xb94]
mov dword [ebp - 0xb50], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb50]
mov dword [ebp - 0x940], eax
cmp dword [ebp - 0x940], 0
jne 0x407cab
xor eax, eax
jmp 0x407d58
push 0x549c8c
lea ecx, [ebp - 0x62c]
push ecx
push 0x549cac
lea edx, [ebp - 0x424]
push edx
call fcn.004af679
add esp, 0x10
push 0x549cb8
lea ecx, [ebp - 0xb70]
call fcn.00404890
mov dword [ebp - 4], 1
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0xb8c]
call fcn.004063a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb70]
push ecx
lea edx, [ebp - 0xb8c]
push edx
mov ecx, dword [ebp - 0x940]
call fcn.00409fb0
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8c]
call fcn.00402890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb70]
call fcn.00404910
cmp dword [ebp - 0x10], 0
jne 0x407d3f
xor eax, eax
jmp 0x407d58
lea eax, [ebp - 0x734]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004af76a
mov esp, ebp
pop ebp
ret
Function at 0x408db0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ca79
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x5a6900]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x448], ecx
push str.RunByWindowsStart
lea ecx, [ebp - 0x42c]
call fcn.0040f6c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.0040f7c0
test eax, eax
jne 0x408e2e
mov dword [ebp - 0x438], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.0040f730
mov eax, dword [ebp - 0x438]
jmp 0x408fdd
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.004af7d0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004af7d0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x424]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x424]
push edx
push str.__s__RunDateByStartAuto
lea eax, [ebp - 0x21c]
push eax
call fcn.004af679
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
push 0xf003f
push 0
push 0x54a2a8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x408ee1
mov dword [ebp - 0x43c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.0040f730
mov eax, dword [ebp - 0x43c]
jmp 0x408fdd
lea edx, [ebp - 0x430]
push edx
push 0xf003f
push 0
push 0x54a2fc
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x408f2f
push 0
lea ecx, [ebp - 0x430]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x54a2a4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x408fbb
push str.rlbRunByWindowsStart
lea ecx, [ebp - 0x434]
call fcn.00404760
lea eax, [ebp - 0x21c]
push eax
call fcn.004af750
add esp, 4
shl eax, 1
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 1
push 0
lea ecx, [ebp - 0x434]
call fcn.00404880
push eax
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x430]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x440], 1
lea ecx, [ebp - 0x434]
call fcn.004047e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.0040f730
mov eax, dword [ebp - 0x440]
jmp 0x408fdd
mov dword [ebp - 0x444], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.0040f730
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004af76a
mov esp, ebp
pop ebp
ret
Function at 0x409000
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40902c
xor eax, eax
jmp 0x409098
lea ecx, [ebp - 8]
push ecx
push 0xf003f
push 0
push 0x54a384
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x409070
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x54a38c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x409093
push 0x54a390
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40d090
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x40d1c3
lea eax, [ebp - 0xc]
push eax
push 0x563a50
push 1
push 0
push 0x563ac0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x40d1bd
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 0x50]
call edx
cmp dword [ebp + 0x10], 0
je 0x40d104
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
cmp dword [ebp + 0x14], 0
je 0x40d11c
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x3c]
call eax
movzx ecx, word [ebp + 0x18]
test ecx, ecx
je 0x40d137
movzx edx, word [ebp + 0x18]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x34]
call eax
cmp dword [ebp + 0x1c], 0
je 0x40d14f
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 0x24]
call edx
cmp dword [ebp + 0x20], 0
je 0x40d167
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
lea edx, [ebp - 0x10]
push edx
push 0x563a80
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x40d1af
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x40d2f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53cf51
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x5a6900]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x644], ecx
mov dword [ebp - 0x220], 0
xor eax, eax
mov word [ebp - 0x634], ax
push 0x206
push 0
lea ecx, [ebp - 0x632]
push ecx
call fcn.004af7d0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004af7d0
add esp, 0xc
push 0x54b110
lea ecx, [ebp - 0x63c]
call fcn.00404760
mov dword [ebp - 4], 0
push 0x54b114
lea ecx, [ebp - 0x638]
call fcn.00404760
mov byte [ebp - 4], 1
push 0x54b118
lea ecx, [ebp - 0x224]
call fcn.00404760
mov byte [ebp - 4], 2
xor ecx, ecx
mov word [ebp - 0x42c], cx
push 0x206
push 0
lea edx, [ebp - 0x42a]
push edx
call fcn.004af7d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x40d41b
push 0
push 0x17
lea eax, [ebp - 0x634]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x40d419
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.004047e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x638]
call fcn.004047e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x63c]
call fcn.004047e0
jmp 0x40d4da
jmp 0x40d464
push 0
push 2
lea ecx, [ebp - 0x634]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x40d464
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.004047e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x638]
call fcn.004047e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x63c]
call fcn.004047e0
jmp 0x40d4da
push 0x54b11c
lea edx, [ebp - 0x634]
push edx
push 0x54b128
lea eax, [ebp - 0x21c]
push eax
call fcn.004af679
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x640], esp
lea edx, [ebp - 0x21c]
push edx
call fcn.00404760
mov dword [ebp - 0x648], eax
mov ecx, dword [ebp - 0x644]
call fcn.0040d500
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.004047e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x638]
call fcn.004047e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x63c]
call fcn.004047e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af76a
mov esp, ebp
pop ebp
ret 4