joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451d60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba51b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x238], eax
cmp byte [0x5610c5], bl
jne 0x451ef3
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x218], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x234], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.kernel32.dll
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_wcscat_s]
add esp, 0xc
call fcn.00451c90
mov eax, dword [0x5610bc]
cmp eax, ebx
je 0x451e81
push ebx
lea ecx, [ebp - 0x218]
push ecx
call eax
mov esi, eax
cmp esi, ebx
je 0x451e81
lea edx, [ebp - 0x219]
push edx
push esi
lea ecx, [ebp - 0x230]
mov byte [ebp - 0x219], bl
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
call fcn.00491620
mov edi, dword [ebp - 0x230]
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x451e81
call fcn.00451c90
mov eax, dword [0x5610b8]
cmp eax, ebx
je 0x451e6f
push edi
push esi
push ebx
lea ecx, [ebp - 0x218]
push ecx
call eax
cmp eax, ebx
jne 0x451e88
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00472b00
mov eax, 0x80004005
jmp 0x451efe
mov esi, dword [ebp - 0x230]
call fcn.00451c90
mov eax, dword [0x5610b4]
cmp eax, ebx
je 0x451e6f
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x220]
push ecx
push 0x4c7780
push esi
call eax
cmp eax, ebx
je 0x451e6f
mov eax, dword [ebp - 0x220]
cmp eax, ebx
je 0x451e6f
cmp word [eax + 0x12], 0xa
lea ecx, [ebp - 0x230]
setae al
movzx edx, al
mov byte [0x5610c4], al
mov eax, dword [ebp - 0x238]
mov byte [0x5610c5], 1
mov dword [eax], edx
mov dword [ebp - 4], 0xffffffff
call fcn.00472b00
jmp 0x451efc
movzx ecx, byte [0x5610c4]
mov dword [eax], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
Function at 0x452a80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba72d
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xd4], edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
lea eax, [ebp - 0xc8]
mov ebx, 1
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0xd4], ebx
call fcn.00437e50
push str.utilityinstall.ini
push eax
lea ecx, [ebp - 0xac]
push ecx
mov dword [ebp - 4], ebx
call fcn.0040ca00
add esp, 0x10
mov ebx, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0xb4], ebx
jb 0x452b18
mov edx, dword [ebp - 0xc8]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x7e
lea edx, [ebp - 0x8e]
xor eax, eax
xor ecx, ecx
push edi
push edx
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], edi
mov word [ebp - 0xc8], ax
mov word [ebp - 0x90], cx
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0xac]
add esp, 0xc
cmp dword [ebp - 0x98], ebx
jae 0x452b60
lea eax, [ebp - 0xac]
push eax
push 0x40
lea eax, [ebp - 0x90]
push eax
push 0x4c79ac
push str.instlanguage
push 0x4d7440
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x90]
lea edx, [eax + 2]
jmp 0x452b90
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x452b90
sub eax, edx
sar eax, 1
cmp eax, edi
je 0x452c4c
call fcn.00438260
test al, al
je 0x452be8
push 0xffffffffffffffff
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const___int_]
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call dword [0x4c471c]
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x452c4c
lea ecx, [ebp - 0xd0]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
push eax
lea eax, [ebp - 0x90]
mov bl, 5
push eax
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCR100.dll__wtoi]
add esp, 4
push eax
lea ecx, [ebp - 0xcc]
push ecx
call dword [sym.imp.ksolite.dll_class_QString___cdecl_krt::locale::toLocaleName_unsigned_int__class_QString_const__]
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call dword [0x4c471c]
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ebx, 8
cmp dword [ebp - 0x98], ebx
jb 0x452c63
mov edx, dword [ebp - 0xac]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
Function at 0x455e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bad98
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5603e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
push 0x2001f
push 0x4d3a38
push 0x80000002
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.00412570
mov edi, dword [ebp - 0x28]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x455e9f
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
push esi
push str.compatible_type
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], 4
call ebx
cmp eax, esi
jne 0x455e9f
cmp dword [ebp - 0x18], 4
jne 0x455e9f
mov ebx, dword [ebp - 0x10]
jmp 0x455f06
cmp edi, esi
je 0x455ead
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], esi
push 0x2001f
push 0x4d3a38
push 0x20019
mov dword [ebp - 0x24], esi
call fcn.0046ea50
add esp, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.00412570
mov edi, dword [ebp - 0x28]
test eax, eax
jne 0x455f03
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
push esi
push str.compatible_type
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], 4
call ebx
cmp eax, esi
jne 0x455f03
cmp dword [ebp - 0x14], 4
mov ebx, dword [ebp - 0x10]
je 0x455f06
mov ebx, dword [ebp - 0x1c]
cmp edi, esi
je 0x455f11
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x455f30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
call fcn.00438260
xor edi, edi
test al, al
je 0x455fa9
push 0x2001f
push 0x4d3a38
push 0x80000001
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.00412570
test eax, eax
je 0x455f79
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x455fa4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp - 0x10]
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push edi
push str.compatible_type
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, edi
je 0x455fa3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], str.compatible_type
cmp eax, 3
je 0x455fd1
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], edi
jmp 0x455fd7
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x30]
push edx
push 0x4d3a38
call fcn.004703f0
add esp, 8
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x456520
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 3
call fcn.0048c840
add esp, 8
test eax, eax
jne 0x45654d
push str.A609E893B628DD84791945C946C9CA5E
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS_1_5_18Components
push 0x80000002
call fcn.00455600
add esp, 0xc
push 1
push 3
call fcn.0048c840
add esp, 8
test eax, eax
jne 0x4565d4
push esi
push str.E628C910A54494645A0BB00FF8CCE4EE
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS_1_5_18Components
push 0x80000002
call fcn.00455600
push str.994A47B88F73AED45B0A7DF25C10ECAF
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS_1_5_18Components
push 0x80000002
call fcn.00455600
add esp, 0x18
push 0x2011f
push str.SOFTWAREClassesInstallerComponents88ED77E1BACB73C49B5E70A35FD2DFA7
push 0x80000002
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.00412570
mov esi, dword [ebp - 0xc]
test eax, eax
jne 0x4565c8
push str.winword.exe
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x4565d3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
push 2
push 3
call fcn.0048c840
add esp, 8
test eax, eax
jne 0x45660f
push str.98C6F8355DA2600418456C7670479E08
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS_1_5_18Components
push 0x80000002
call fcn.00455600
push str.CA4657AED76C8684EBC5624ECF2232FF
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS_1_5_18Components
push 0x80000002
call fcn.00455600
add esp, 0x18
mov esp, ebp
pop ebp
ret

Function at 0x456700
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
push 0x2001f
push ecx
push eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
call fcn.00412570
test eax, eax
je 0x456762
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x4567d9
push eax
jmp 0x4567d3
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x20c]
push eax
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 0x104
call fcn.00434210
test eax, eax
jne 0x456755
push edi
lea ecx, [ebp - 0x20c]
push ecx
push 0x4c79ac
lea ecx, [ebp - 0x218]
call fcn.00419460
push esi
mov esi, dword [ebp - 0x218]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x4567d9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
Function at 0x45b880
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_s
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.0045b810
add esp, 0x10
test eax, eax
js 0x45b94e
push 0
lea ecx, [ebp - 0x808]
push ecx
push 0
push 0x10000
push 0
push 0
push 0
lea edx, [ebp - 0x804]
push edx
push 0x80000001
mov dword [ebp - 0x808], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45b94e
mov eax, dword [ebp - 0x808]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.UserChoice
push eax
call esi
mov ecx, dword [ebp - 0x808]
push str.OpenWithList
push ecx
call esi
mov edx, dword [ebp - 0x808]
push str.OpenWithProgids
push edx
call esi
mov eax, dword [ebp - 0x808]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
test eax, eax
je 0x45b93b
push 0x80004005
call fcn.00417330
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
Function at 0x45c3a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 0xf003f
xor edi, edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths
push 0x80000002
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.00412570
test eax, eax
je 0x45c482
mov esi, dword [ebp - 0xc]
mov dword [ebp - 4], edi
cmp esi, edi
je 0x45c438
cmp dword [esi], edi
je 0x45c429
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
jne 0x45c3f6
mov eax, 1
jmp 0x45c459
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x45c3ef
mov ecx, dword [esi]
push edi
push ecx
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 4]
push ecx
push edi
push 0x2001f
push edi
push edi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths
push 0x80000002
call eax
jmp 0x45c459
cmp dword [esi + 4], edi
je 0x45c3ef
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
jmp 0x45c440
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push edi
push 0x2001f
push edi
push edi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x45c52c
mov ecx, dword [ebp - 0x14]
xor eax, eax
cmp ecx, edi
je 0x45c471
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edi
cmp eax, edi
jne 0x45c52c
mov edx, dword [ebp + 8]
cmp dword [ebp + 0x10], edi
je 0x45c552
mov eax, dword [ebp - 0x14]
push edi
push edi
push 0x2001f
push edi
push edi
push edx
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call fcn.004174b0
test eax, eax
jne 0x45c542
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x20]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x45c4e4
push eax
call ebx
mov edx, dword [ebp + 0xc]
lea ecx, [eax + eax + 2]
push ecx
push edx
push 1
push 0
push 0x4c79ac
push esi
call edi
push 0x4c9334
call ebx
lea eax, [eax + eax + 2]
push eax
push 0x4c9334
push 1
push 0
push str.SaveURL
push esi
call edi
push 0x4c9334
call ebx
lea ecx, [eax + eax + 2]
push ecx
push 0x4c9334
push 1
push 0
push str.useURL
push esi
call edi
pop ebx
test esi, esi
je 0x45c52a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x45c53a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x45c52c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45c52c
push edx
lea ecx, [ebp - 0x14]
call fcn.004194e0
jmp 0x45c52c
Function at 0x45d040
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb53b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5603e8]
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 dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x220], edi
push 0x206
lea ecx, [ebp - 0x21a]
xor eax, eax
push edi
push ecx
mov byte [ebp - 4], 1
mov word [ebp - 0x21c], ax
call sub.MSVCR100.dll_memset
push 0x104
lea edx, [ebp - 0x21c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFileExts_
push edx
call dword [sym.imp.MSVCR100.dll_wcsncpy]
lea eax, [ebp - 0x21c]
add esp, 0x18
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x45d0d0
sub eax, edx
sar eax, 1
mov ecx, 0x103
sub ecx, eax
push ecx
lea edx, [ebp - 0x21c]
push esi
push edx
call dword [sym.imp.MSVCR100.dll_wcsncat]
add esp, 0xc
call fcn.00433290
push 0x2001f
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.00412570
test eax, eax
jne 0x45d162
push str.UserChoice
lea ecx, [ebp - 0x228]
call fcn.00417430
mov esi, dword [ebp - 0x228]
push str.Application
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp esi, edi
je 0x45d146
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.004b12f6
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x228]
cmp eax, edi
je 0x45d146
push eax
jmp 0x45d140
Function at 0x45d2d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb57b
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x5603e8]
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 dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
push 0x206
lea edx, [ebp - 0x21a]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 4], ebx
xor esi, esi
mov word [ebp - 0x21c], cx
call sub.MSVCR100.dll_memset
push ebx
mov dword [ebp - 0x43c], 0x104
mov byte [ebp - 4], 1
call fcn.0043b220
mov ecx, dword [ebp - 0x428]
add esp, 0x10
push 0x2001b
push ecx
push eax
lea ecx, [ebp - 0x434]
call fcn.00412570
test eax, eax
jne 0x45d4ac
lea edx, [ebp - 0x43c]
push edx
lea eax, [ebp - 0x21c]
push eax
push edi
lea ecx, [ebp - 0x434]
call fcn.00434210
test eax, eax
jne 0x45d48d
push 0x206
lea edx, [ebp - 0x422]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x424], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ecx, edi
lea edx, [ebp - 0x424]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x45d3c0
lea eax, [ebp - 0x424]
add eax, 0xfffffffe
lea ebx, [ebx]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x45d3e0
mov ecx, dword [str..ksobak]
mov edx, dword [0x4d8f2c]
mov edi, dword [ebp - 0x434]
mov dword [eax], ecx
mov ecx, dword [0x4d8f30]
mov dword [eax + 4], edx
mov edx, dword [0x4d8f34]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x430]
lea ecx, [ebp - 0x438]
push ecx
lea edx, [ebp - 0x428]
push edx
push ebx
or eax, 0x2001f
push eax
push ebx
push ebx
push ebx
push 0x4c79ac
push edi
mov dword [ebp - 0x428], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x45d486
mov esi, dword [ebp - 0x428]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 1
xor ebx, ebx
push ebx
lea eax, [ebp - 0x424]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, ebx
je 0x45d486
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x45d493
mov edi, dword [ebp - 0x434]
cmp edi, ebx
je 0x45d4b2
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
jmp 0x45d4b2
mov edi, dword [ebp - 0x434]
neg esi
sbb esi, esi
and esi, 0x7fffbffb
cmp edi, ebx
je 0x45d4c7
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x7fffbffb]
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.004b12f6
mov esp, ebp
pop ebp
ret 8
Function at 0x45d4f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb5b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5603e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
push ebx
mov byte [ebp - 4], 1
call fcn.0043b220
mov esi, dword [ebp + 8]
add esp, 4
push 0x2001f
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.00412570
test eax, eax
jne 0x45d59c
push 0x4c79ac
push esi
mov ecx, edi
call fcn.0045d2d0
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x45d583
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x20]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push 0x4c79ac
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x45d586
mov edi, dword [ebp - 0x20]
cmp edi, ebx
je 0x45d6a8
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
jmp 0x45d6a8
push ebx
call fcn.0043b220
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 0x18]
add esp, 4
mov edi, eax
test ebx, ebx
je 0x45d60c
cmp dword [ebx], 0
je 0x45d5fc
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x45d5cc
mov eax, 1
jmp 0x45d629
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45d5c5
mov ecx, dword [ebx]
push 0
push ecx
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp + 8]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push esi
push edi
call eax
jmp 0x45d629
cmp dword [ebx + 4], 0
je 0x45d5c5
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp + 8]
push eax
jmp 0x45d614
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45d6a5
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x45d63b
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp + 8]
test eax, eax
jne 0x45d6a8
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x45d668
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x4c79ac
mov ecx, edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x4c79ac
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [ebp + 8]
lea edx, [eax + eax + 2]
push edx
push 0x4c79ac
push 1
push 0
push str..ksobak
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x45d6a8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
jmp 0x45d6a8
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x45d6b3
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45d6d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb5eb
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5603e8]
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 dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 4], edi
push edi
mov byte [ebp - 4], 1
call fcn.0043b220
add esp, 4
push 0x2001f
push esi
push eax
lea ecx, [ebp - 0x228]
call fcn.00412570
test eax, eax
jne 0x45d7d7
push 0x206
lea ecx, [ebp - 0x21a]
push edi
push ecx
mov word [ebp - 0x21c], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x21c]
push eax
push str..ksobak
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x22c], 0x104
call fcn.00434210
test eax, eax
jne 0x45d7ba
push 0x4c79ac
lea ecx, [ebp - 0x21c]
push ecx
push 0x4c79ac
lea ecx, [ebp - 0x228]
call fcn.00419460
mov esi, dword [ebp - 0x228]
push str..ksobak
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x45d7c0
mov esi, dword [ebp - 0x228]
cmp esi, edi
je 0x45d7e8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x45d7dd
mov esi, dword [ebp - 0x228]
cmp esi, edi
je 0x45d7e8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
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.004b12f6
mov esp, ebp
pop ebp
ret 4