joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448c50
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x63afeb
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov eax, dword [0x74ea0c]
test eax, eax
je 0x448ce5
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push str.CommonAppDataIDMFolder
push eax
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x448ce5
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x448ce5
lea ecx, [esp + 0x14]
push ecx
push 0x66ae98
push 0x74ea68
call fcn.00402f80
add esp, 0xc
jmp 0x448df2
push 0x66d488
call fcn.00446c90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x448df2
push str.SHGetFolderPathA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x448deb
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0x23
push 0
call esi
test eax, eax
jne 0x448de5
lea ecx, [esp + 0x10]
call fcn.00402500
mov dword [esp + 0x124], 0
lea eax, [esp + 0x14]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x448d50
sub eax, edx
cmp byte [esp + eax + 0x13], 0x5c
mov eax, 0x66b96c
je 0x448d6a
mov eax, 0x66ee6c
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push str._s_sIDM
push ecx
call fcn.00402f80
mov edx, dword [esp + 0x20]
push edx
call fcn.00617a4a
mov eax, dword [esp + 0x24]
push eax
push 0x66e5d8
push 0x74ea68
call fcn.00402f80
mov edi, dword [0x74ea0c]
add esp, 0x20
test edi, edi
je 0x448dd1
mov edx, dword [0x74ea68]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x448db5
sub eax, esi
inc eax
push eax
push edx
push 1
push 0
push str.CommonAppDataIDMFolder
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x124], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402570
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00613241
add esp, 0x118
ret
Function at 0x44ac80
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x63b1bc
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x258], eax
push esi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
cmp dword [0x74ea0c], 0
jne 0x44ad14
push 0x74ea0c
push 0xf003f
push 0
push str.SoftwareDownloadManager_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44ad3b
push 0
push 0x74ea0c
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareDownloadManager_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x44ade3
call fcn.00448e20
mov al, 1
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00613241
add esp, 0x268
ret
mov edx, dword [0x74ea0c]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x224]
push ecx
push 0
push 0
push str.idmvers
push edx
mov dword [esp + 0x24], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x44ad14
cmp esi, 2
je 0x44ad0f
lea ecx, [esp + 8]
call fcn.00402500
mov dword [esp + 0x26c], 0
lea ecx, [esp + 0x10]
call fcn.004b8a90
mov byte [esp + 0x26c], 1
push esi
lea eax, [esp + 0xc]
push str.Reading_of_idmvers_failed__errCode___ld_r_n
push eax
call fcn.00402f80
mov ecx, dword [esp + 0x14]
add esp, 0xc
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.004b8c00
mov byte [esp + 0x26c], 0
lea ecx, [esp + 0x10]
call fcn.004b8bf0
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [esp + 8]
call fcn.00402570
jmp 0x44ad14
lea ecx, [esp + 8]
call fcn.00402500
mov dword [esp + 0x26c], 2
lea ecx, [esp + 0x10]
call fcn.004b8a90
mov byte [esp + 0x26c], 3
push esi
lea edx, [esp + 0xc]
push str.RegCreateKeyEx___failed_during_OpenGlobalIDMRegKey____errCode___ld_r_n
push edx
call fcn.00402f80
mov eax, dword [esp + 0x14]
add esp, 0xc
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.004b8c00
mov byte [esp + 0x26c], 2
lea ecx, [esp + 0x10]
call fcn.004b8bf0
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [esp + 8]
call fcn.00402570
xor al, al
jmp 0x44ad16
Function at 0x44ead0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x63b4e4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.005f8295
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.DownloaderCmdLine.0
call fcn.00402500
mov byte [esp + 0x18], 1
xor eax, eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov word [esi + 0x34], ax
mov byte [esp + 0x18], 2
xor ecx, ecx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov word [esi + 0x40], cx
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x58]
call fcn.00402500
mov byte [esp + 0x18], 4
mov edx, 9
mov byte [esi + 0x28], bl
mov byte [esi + 0x29], bl
mov byte [esi + 0x4f], bl
mov byte [esi + 0x48], bl
mov byte [esi + 0x49], bl
mov byte [esi + 0x4a], bl
mov byte [esi + 0x4b], bl
mov byte [esi + 0x4c], bl
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x4d], bl
mov byte [esi + 0x4e], bl
mov byte [esi + 0x50], bl
mov byte [esi + 0x51], bl
mov byte [esi + 0x52], bl
mov byte [esi + 0x53], bl
mov byte [esi + 0x54], bl
mov byte [esi + 0x55], bl
mov word [esi + 0x56], dx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x44eba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x63b534
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.DownloaderCmdLine.0
mov dword [esp + 0x14], 3
lea ecx, [esi + 0x58]
call fcn.00402570
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x3c]
call fcn.004011f0
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x30]
call fcn.004011f0
mov byte [esp + 0x14], 0
lea ecx, [esi + 0x2c]
call fcn.00402570
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
call fcn.005f82d9
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x44f860
Capabilities:
Set registry value

Disassembly:
push esi
push 4
mov esi, ecx
mov ecx, dword [0x74ea0c]
lea eax, [esi + 0x34]
push eax
push 4
push 0
push str.dwSearchFlags
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x44f889
lea eax, [esi + 0x14]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44f890
mov ecx, dword [esi + 0x10]
sub eax, edx
sar eax, 1
test ecx, ecx
jne 0x44f8a9
lea ecx, [esi + 0x14]
lea edx, [eax + eax + 2]
mov eax, dword [0x74ea0c]
push edx
push ecx
push 1
push 0
push str.szSearchString
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
ret

Function at 0x44fab0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44fac0
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x44fadb
xor byte [eax + edx], 0x17
inc eax
cmp eax, ecx
jl 0x44fad2
ret
Function at 0x44fae0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44faf0
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x44fb0b
xor byte [eax + edx], 0x1d
inc eax
cmp eax, ecx
jl 0x44fb02
ret

Function at 0x44fb60
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44fb70
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x44fb8b
xor byte [eax + edx], 0xb
inc eax
cmp eax, ecx
jl 0x44fb82
ret

Function at 0x44fca0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44fcb0
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x44fccb
xor byte [eax + edx], 0x13
inc eax
cmp eax, ecx
jl 0x44fcc2
ret

Function at 0x44ff00
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [0x74ea0c]
sub esp, 0xc
push 0
lea eax, [esp + 8]
push eax
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push str.SendReport3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x44ff36
xor eax, eax
add esp, 0xc
ret
mov ecx, dword [esp + 0x10]
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 4]
push eax
push 0
push 0
push ecx
push edx
mov dword [esp + 0x20], 4
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x44ff6f
mov dword [esp], 0
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0xc
ret

Function at 0x44ff90
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [0x74ea0c]
sub esp, 8
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push str.SendReport3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x44ffed
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret
Function at 0x450000
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x410
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x40c], eax
cmp dword [esp + 0x414], 0
push ebx
push ebp
mov ebp, dword [esp + 0x420]
push esi
push edi
mov dword [esp + 0x14], 0
mov esi, ebp
je 0x450047
neg esi
sbb esi, esi
and esi, 0xf003e
inc esi
mov eax, esi
or eax, 0x100
jmp 0x450054
neg esi
sbb esi, esi
and esi, 0xf003e
inc esi
mov eax, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x10]
push ecx
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionShell_ExtensionsBlocked
push 0x80000002
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4500c5
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push str.CDC95B92_E27C_4745_A8C5_64A52A78855D
push ecx
mov dword [esp + 0x30], 0x400
call ebx
test eax, eax
jne 0x4500a6
mov dword [esp + 0x14], 1
test ebp, ebp
je 0x4500ba
mov edx, dword [esp + 0x10]
push str.CDC95B92_E27C_4745_A8C5_64A52A78855D
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x424], 0
je 0x4500d5
or esi, 0x100
lea ecx, [esp + 0x10]
push ecx
push esi
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionShell_ExtensionsBlocked
push 0x80000001
call edi
test eax, eax
jne 0x45013f
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push str.CDC95B92_E27C_4745_A8C5_64A52A78855D
push ecx
mov dword [esp + 0x30], 0x400
call ebx
mov esi, 1
test eax, eax
je 0x45011c
mov esi, dword [esp + 0x14]
test ebp, ebp
je 0x450130
mov edx, dword [esp + 0x10]
push str.CDC95B92_E27C_4745_A8C5_64A52A78855D
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x450143
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00613241
add esp, 0x410
ret
Function at 0x4505e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63b8b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x1838]
cmp eax, ebx
je 0x45063e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x450638
push ebx
push ebx
push 0x10
mov eax, dword [esi + 0x1838]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x1838], ebx
lea edi, [esi + 0x1948]
push edi
mov ecx, esi
call fcn.005ea464
push ebx
mov ecx, esi
call fcn.005e852c
push 0x2c
push edi
push ebx
push ebx
push str.windowPlacementV6
mov ecx, dword [0x74ea0c]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call edi
mov edx, dword [esi + 0x294]
mov dword [ebp - 0x14], edx
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push ebx
push str.sortOrder
mov ecx, dword [0x74ea0c]
push ecx
call edi
lea ecx, [esi + 0x5d0]
call fcn.004bfb30
call fcn.004492e0
mov dword [ebp - 4], 0xffffffff
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 0x450830
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450840
sub eax, esi
sar eax, 1
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x45087a
push edi
jmp 0x450860
mov si, word [edx + eax*2]
xor si, 0x4d
mov edi, 0xff
sub si, di
mov word [edx + eax*2], si
inc eax
cmp eax, ecx
jl 0x450860
pop edi
pop esi
ret
Function at 0x450eb0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x450ec0
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x450edb
xor byte [eax + edx], 0x35
inc eax
cmp eax, ecx
jl 0x450ed2
ret
Function at 0x4518a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63b970
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.LastCheckQU
mov edx, dword [0x74ea0c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x451940
mov eax, dword [ebp - 0x18]
cdq
mov esi, eax
mov edi, edx
push 0
call fcn.006169e1
add esp, 4
cdq
sub eax, esi
sbb edx, edi
push 0
push 0x15180
push edx
push eax
call fcn.00617220
mov ecx, 6
cmp ecx, eax
xor eax, eax
neg 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
mov eax, 1
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 0x451ae0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x74ea0c]
lea eax, [esp]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0
push str.ShowDropTarget
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x451b14
xor al, al
add esp, 8
ret
cmp dword [esp + 4], 0
setne al
add esp, 8
ret

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

Disassembly:
sub esp, 0x14
mov edx, dword [0x74ea0c]
push esi
mov esi, ecx
lea eax, [esp + 4]
push eax
lea ecx, [esi + 0x1948]
push ecx
push 0
push 0
push str.windowPlacementV6
push edx
mov dword [esp + 0x1c], 0x2c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x451c2b
push ebx
xor bl, bl
call dword [sym.imp.USER32.dll_GetDesktopWindow]
test eax, eax
je 0x451b95
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x451b95
mov edx, dword [esp + 0x14]
add edx, 0xfffffff6
cmp dword [esi + 0x1964], edx
jg 0x451b93
mov eax, dword [esp + 0x18]
add eax, 0xffffffec
cmp dword [esi + 0x1968], eax
jle 0x451b95
mov bl, 1
cmp dword [esi + 0x196c], 0xa
jl 0x451c18
cmp dword [esi + 0x1968], 0
jl 0x451c18
test bl, bl
jne 0x451c18
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x451bf7
mov eax, dword [esi + 0x1968]
mov edx, dword [esi + 0x1970]
mov ecx, dword [esi + 0x1964]
sub edx, eax
push 4
push edx
mov edx, dword [esi + 0x196c]
sub edx, ecx
push edx
mov edx, dword [esp + 0x1c]
add eax, edx
push eax
mov eax, dword [esp + 0x1c]
add ecx, eax
push ecx
push 0
mov ecx, esi
call fcn.005e87bd
cmp dword [esi + 0x1950], 3
jne 0x451c2a
cmp dword [esi + 0x238], 0
jne 0x451c2a
push 3
mov ecx, esi
call fcn.005e852c
pop ebx
pop esi
add esp, 0x14
ret
mov ecx, dword [0x74ea0c]
push str.windowPlacementV6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
pop ebx
pop esi
add esp, 0x14
ret
Function at 0x452de0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63ba50
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov ecx, 0x74eb08
call fcn.004dd800
movzx eax, ax
test ax, ax
je 0x452ebd
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.LastCheckLNG3
mov edx, dword [0x74ea0c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x452e84
mov eax, dword [ebp - 0x18]
cdq
mov esi, eax
mov edi, edx
push 0
call fcn.006169e1
add esp, 4
cdq
sub eax, esi
sbb edx, edi
push 0
push 0x15180
push edx
push eax
call fcn.00617220
test edx, edx
jl 0x452ebd
jg 0x452e84
cmp eax, 0xe
jb 0x452ebd
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
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

Function at 0x453260
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x63bb60
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push str.SPChecked
mov edx, dword [0x74ea0c]
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
test eax, eax
je 0x453386
push str.C:Program_FilesSpyHunterSpyHunter.exe
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call edi
cmp eax, 0xffffffff
je 0x4532ee
mov eax, 1
jmp 0x453388
lea eax, [ebp - 0x18]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallEE5B8E34_973C_4FBE_AC83_99F064009FC7
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45337f
mov dword [ebp - 0x14], 0x208
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp]
push edx
push eax
push eax
push str.InstallLocation
mov eax, dword [ebp - 0x18]
push eax
call esi
test eax, eax
jne 0x453375
lea eax, [ebp]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x453330
mov ecx, dword [str.SpyHunter.exe]
mov dword [eax], ecx
mov edx, dword [0x676068]
mov dword [eax + 4], edx
mov ecx, dword [0x67606c]
mov dword [eax + 8], ecx
mov dx, word [0x676070]
mov word [eax + 0xc], dx
mov cl, byte [0x676072]
mov byte [eax + 0xe], cl
lea edx, [ebp]
push edx
call edi
cmp eax, 0xffffffff
jne 0x4532e4
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
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 + 0x208]
xor ecx, ebp
call fcn.00613241
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x453ec0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63bd60
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push ebx
push ebx
push str.bShBTtFQCI
mov edx, dword [0x74ea0c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x454052
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x454026
mov edi, dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x454026
cmp byte [esi + 0x1946], bl
jne 0x454026
cmp byte [esi + 0x273], bl
je 0x453f63
push 0x16
push edi
call dword [sym.imp.USER32.dll_KillTimer]
mov byte [esi + 0x273], bl
lea edi, [esi + 0x628]
lea ecx, [ebp - 0x30]
push ecx
push 2
mov ecx, edi
call fcn.00452040
lea edx, [ebp - 0x30]
push edx
mov ecx, edi
call fcn.005f0556
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [esi + 0x5f0]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [ebp - 0x40]
push edx
lea ecx, [esi + 0x5d0]
call fcn.005f0556
mov ecx, dword [ebp - 0x28]
mov edx, ecx
mov eax, dword [ebp - 0x30]
sub edx, eax
test edx, edx
jle 0x45404b
cmp eax, dword [ebp - 0x40]
jl 0x45404b
cmp ecx, dword [ebp - 0x38]
jg 0x45404b
mov dword [ebp - 0x14], 1
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push ebx
push str.bShBTtFQCI
mov ecx, dword [0x74ea0c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x45404b
mov edx, dword [ebp - 0x28]
add edx, 0xfffffffc
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x24]
add eax, 0xfffffffc
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x20]
push ecx
push ebx
mov edx, dword [0x7501ec]
push edx
mov eax, dword [0x7501e8]
push eax
mov ecx, dword [esi + 0x5f0]
push ecx
call fcn.004aaf80
add esp, 0x14
mov dword [esi + 0x1838], eax
jmp 0x45404b
cmp byte [esi + 0x273], bl
jne 0x45404b
push ebx
push 0x1f4
push 0x16
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x45404b
mov byte [esi + 0x273], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret