joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f463
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 2
push esi
push esi
push esi
push str.SOFTWARE360SafeAntiTrack
push SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43f491
cmp dword [ebp - 4], esi
je 0x43f4b8
push 4
lea eax, [ebp + 8]
push eax
push 4
push esi
push str.AntiTrackAdviseInfo
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43f4af
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x43f4bd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push str.SOFTWARE360SafeAntiTrack
push SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43f4e9
cmp dword [ebp - 4], esi
je 0x43f529
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.AntiTrackAdviseInfo
push dword [ebp - 4]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43f520
cmp edi, esi
je 0x43f51d
mov eax, dword [ebp - 8]
mov dword [edi], eax
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x43f52e
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
xor esi, esi
push edi
cmp eax, esi
je 0x43f63b
xor ecx, ecx
cmp cx, word [eax]
je 0x43f63b
cmp dword [ebp + 8], esi
je 0x43f63b
push esi
push 0x80
push 4
push esi
push 7
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43f63b
push esi
push ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
cmp eax, esi
sete cl
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ecx
cmp eax, 0x10
jb 0x43f5d5
push 0x30
add eax, 0xfffffff0
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x43f5d9
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
push 0x10
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x24], 0x54535653
jne 0x43f5d9
cmp dword [ebp - 0x20], 1
je 0x43f5f1
jmp 0x43f5d9
cmp eax, esi
jbe 0x43f5f1
push esi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], esi
je 0x43f642
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
push esi
push esi
stosd dword es:[edi], eax
push ebx
mov dword [ebp - 0x24], 0x54535653
mov dword [ebp - 0x20], 1
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [ebp - 8]
push eax
push 0x10
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43f633
cmp dword [ebp - 8], 0x10
je 0x43f64d
lea eax, [ebp - 0x14]
call fcn.0043b588
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push 2
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [ebp - 8]
push eax
push 0x30
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43f633
cmp dword [ebp - 8], 0x30
jne 0x43f633
lea eax, [ebp - 0x14]
call fcn.0043b588
xor eax, eax
inc eax
jmp 0x43f63d
Function at 0x43f6f2
Capabilities:
Copy file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
cmp eax, edi
je 0x43f793
xor ecx, ecx
cmp cx, word [eax]
je 0x43f793
mov ecx, dword [ebp + 8]
cmp ecx, edi
je 0x43f793
xor edx, edx
cmp dx, word [ecx]
je 0x43f793
cmp dword [ebp + 0xc], edi
je 0x43f793
cmp dword [ebp + 0x10], edi
je 0x43f732
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
jmp 0x43f78f
push ebx
push edi
push 0x80
push 2
push edi
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43f78e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
lea eax, [ebp - 4]
push eax
push 2
lea eax, [ebp - 8]
push eax
push ebx
mov dword [ebp - 4], edi
mov dword [ebp - 8], 0xfeff
call esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push dword [ebp + 8]
mov dword [ebp - 4], edi
push ebx
call esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov eax, edi
jmp 0x43f795
xor eax, eax
pop edi
leave
ret

Function at 0x43f964
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
or dword [ebp - 4], 0xffffffff
or dword [ebp - 8], 0xffffffff
push ebx
push esi
push edi
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0043f9e7
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add esp, 0xc
push 4
lea eax, [ebp - 4]
push eax
push 4
push str.last_optimized
mov ebx, str.Software360360Speedld
push ebx
mov edi, SysReAllocString
push edi
call esi
push 4
lea eax, [ebp - 8]
push eax
push 4
push str.last_not_optimized
push ebx
push edi
call esi
or dword [ebp - 8], 0xffffffff
or dword [ebp - 4], 0xffffffff
push 4
lea eax, [ebp - 4]
push eax
push 4
push str.optimized
push ebx
push edi
call esi
push 4
lea eax, [ebp - 8]
push eax
push 4
push str.not_optimized
push ebx
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43f9e7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
or dword [eax], 0xffffffff
mov eax, dword [ebp + 8]
or dword [eax], 0xffffffff
and dword [ebp - 4], 0
and dword [ebp - 8], 0
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0xc], 4
mov eax, str.last_optimized
jne 0x43fa18
mov eax, str.optimized
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push edi
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
mov ebx, str.Software360360Speedld
push ebx
mov edi, SysReAllocString
push edi
call esi
test eax, eax
jne 0x43fa4e
cmp dword [ebp - 4], 4
jne 0x43fa4e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
and dword [ebp - 4], 0
and dword [ebp - 8], 0
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0xc], 4
mov eax, str.last_not_optimized
jne 0x43fa6d
mov eax, str.not_optimized
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push edi
call esi
pop edi
pop esi
pop ebx
test eax, eax
jne 0x43fa93
cmp dword [ebp - 4], 4
jne 0x43fa93
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
leave
ret

Function at 0x440cd6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0xff
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x103]
push ebx
push eax
mov byte [ebp - 0x104], bl
call fcn.004e7380
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
xor edi, edi
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
test eax, eax
je 0x440d3c
test byte [ebp - 0xf2], 0x80
jne 0x440d3c
push ebx
inc edi
push edi
push ebx
push 0x12
call esi
push dword [ebp - 0x108]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 0x108], eax
cmp edi, ebx
je 0x440d5a
push ebx
push 3
push ebx
push 0x12
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x108]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e736b
leave
ret
Function at 0x4411f7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x441241
cmp dword [ebp - 0x114], 6
jb 0x441241
jne 0x44123c
cmp dword [ebp - 0x110], 2
sbb eax, eax
inc eax
jmp 0x441243
xor eax, eax
inc eax
jmp 0x441243
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e736b
leave
ret

Function at 0x4413a9
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.00504570
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x2014], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x2010], eax
cmp edi, ebx
jne 0x4413e0
xor al, al
jmp 0x44147f
push esi
mov esi, 0x1fff
push esi
lea eax, [ebp - 0x2003]
push ebx
push eax
mov byte [ebp - 0x2004], bl
call fcn.004e7380
add esp, 0xc
lea eax, [ebp - 0x2018]
push eax
push edi
mov dword [ebp - 0x2018], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
je 0x44147c
cmp eax, esi
ja 0x44147c
lea ecx, [ebp - 0x2004]
push ecx
push eax
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x441478
lea eax, [ebp - 0x200c]
push eax
lea eax, [ebp - 0x2008]
push eax
push 0x53c890
lea eax, [ebp - 0x2004]
push eax
mov dword [ebp - 0x2008], ebx
mov dword [ebp - 0x200c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x441478
mov eax, dword [ebp - 0x2008]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x2014]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x2010]
mov dword [ecx], eax
mov bl, 1
mov al, bl
jmp 0x44147e
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004e736b
leave
ret

Function at 0x441521
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.00504570
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x200c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x44159d
cmp eax, 0x1fff
ja 0x44159d
lea ecx, [ebp - 0x2004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44159d
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2008]
push eax
push 0x53c890
lea eax, [ebp - 0x2004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44159d
mov eax, dword [ebp - 0x2008]
mov ecx, dword [eax + 0xc]
mov dword [edi], ecx
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
xor eax, eax
inc eax
jmp 0x44159f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e736b
leave
ret
Function at 0x441766
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
push edi
mov edi, str.LocalQ360SafeI18NTray
push edi
push 1
push 0
call esi
and dword [ebp - 4], 0
jmp 0x4417b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4417bb
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xa
ja 0x4417bb
push edi
push 1
push ebx
call esi
mov ebx, eax
test ebx, ebx
jne 0x441785
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x441bc0
Capabilities:
Create thread
Resume thread

Disassembly:
push 8
mov eax, 0x523d4e
call fcn.004f215e
cmp byte [edi + 0x2c], 1
jne 0x441bda
mov al, byte [edi + 0xd]
jmp 0x441c7d
lea eax, [edi + 0x10]
push eax
mov byte [edi + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call esi
push ebx
push ebx
push ebx
push ebx
mov dword [edi + 8], eax
call esi
push 0x582e91
push 0x20
mov dword [edi + 4], eax
call fcn.004eb6e3
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x441c24
call fcn.004a530c
jmp 0x441c26
xor eax, eax
mov dword [edi], eax
lea eax, [ebp - 0x10]
push eax
push 4
push edi
push 0x441870
push ebx
push ebx
mov dword [ebp - 0x10], ebx
call fcn.004eb0fa
add esp, 0x18
mov dword [edi + 0x28], eax
cmp eax, 0xffffffff
je 0x441c7b
cmp eax, ebx
je 0x441c7b
mov ecx, dword [edi + 8]
cmp ecx, 0xffffffff
je 0x441c7b
cmp ecx, ebx
je 0x441c7b
mov ecx, dword [edi + 4]
cmp ecx, 0xffffffff
je 0x441c7b
cmp ecx, ebx
je 0x441c7b
cmp dword [edi], ebx
je 0x441c7b
push eax
mov byte [edi + 0xd], 1
mov byte [edi + 0xc], bl
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
jmp 0x441c7d
xor al, al
call fcn.004f2236
ret
Function at 0x442554
Capabilities:
Read .ini file

Disassembly:
push 0x14
mov eax, 0x51d02c
call fcn.004f215e
mov eax, dword [0x586588]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x442572
cmp word [eax], 0
jne 0x442579
mov dword [ebp - 0x1c], 0x540068
mov eax, dword [0x582d44]
mov ebx, 0x582d44
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov edi, 0x400
lea eax, [ebp - 0x14]
call fcn.004239ae
lea edi, [ebp - 0x20]
mov esi, eax
call fcn.0040457c
mov eax, dword [eax]
push str.config.ini
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040557a
or eax, 0xffffffff
lea esi, [ebp - 0x14]
call fcn.00423989
mov eax, dword [0x582d44]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov edi, 0x80
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004239ae
push dword [ebp - 0x14]
push edi
push eax
push 0x52f388
push str.language
push 0x53c2a0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
or eax, 0xffffffff
lea esi, [ebp - 0x18]
call fcn.00423989
mov eax, dword [0x582d44]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004239ae
push dword [ebp - 0x14]
push edi
push eax
push 0x52f388
push str.channel
push 0x53c2a0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
or eax, 0xffffffff
lea esi, [ebp - 0x10]
call fcn.00423989
mov eax, esi
call fcn.00425111
mov esi, dword [ebp - 0x18]
xor edi, edi
cmp dword [esi - 0xc], edi
je 0x4426b1
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
je 0x4426b1
mov eax, dword [0x582d44]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push esi
push dword [ebp - 0x1c]
push eax
call fcn.00404568
mov ebx, dword [ebp - 0x20]
add esp, 0x10
push 5
push edi
push edi
push ebx
push str.Open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [ebx - 0x10]
call fcn.0040557a
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040557a
lea eax, [esi - 0x10]
call fcn.0040557a
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040557a
call fcn.004f2236
ret
Function at 0x442a8c
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x442aa7
xor eax, eax
jmp 0x442ba4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442aa0
push edi
call fcn.00405f50
pop ecx
test eax, eax
jne 0x442ac8
cmp dword [ebp + 0x10], ebx
je 0x442aa0
push edi
call dword [ebp + 0x10]
jmp 0x442aa0
cmp dword [ebp + 8], ebx
je 0x442ada
push dword [ebp + 8]
call fcn.004e73fa
pop ecx
mov esi, eax
jmp 0x442adc
xor esi, esi
push edi
call fcn.004e73fa
mov dword [esp], 0x582e91
lea esi, [eax + esi + 4]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004eb416
pop ecx
pop ecx
mov dword [esp + 0xc], eax
cmp eax, ebx
je 0x442aa0
cmp dword [ebp + 8], ebx
je 0x442b27
push dword [ebp + 8]
push edi
push 0x540158
push esi
push eax
call fcn.004ef4ec
add esp, 0x14
jmp 0x442b37
push edi
push str.__s_
push esi
push eax
call fcn.004ef4ec
add esp, 0x10
push 0x40
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.004e7380
xor eax, eax
mov dword [esp + 0x1c], ebx
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [esp + 0x50], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esp + 0x2c]
mov dword [esp + 0x44], 0x44
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp esi, ebx
je 0x442b98
push dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esp + 0x10]
call edi
push dword [esp + 0xc]
call fcn.004e85e3
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442dcf
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x56c
mov eax, dword [0x577698]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x530]
push 0
push eax
mov dword [ebp - 0x534], ebx
call fcn.004e7380
push esi
push 0
push edi
mov dword [ebp - 0x530], esi
call fcn.004e7380
add esp, 0x18
push edi
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [edi + 4], 5
jne 0x442e34
call fcn.00442d14
test eax, eax
je 0x442e34
and dword [ebx + 4], 0
jmp 0x442f22
push str.RtlGetVersion
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x442e58
lea ecx, [ebp - 0x530]
push ecx
call eax
mov ebx, dword [edi + 4]
mov eax, dword [ebp - 0x52c]
imul ebx, ebx, 0xa
add ebx, dword [edi + 8]
imul eax, eax, 0xa
add eax, dword [ebp - 0x528]
cmp eax, ebx
mov dword [ebp - 0x538], eax
jle 0x442e91
push esi
lea eax, [ebp - 0x530]
push eax
push edi
call fcn.004ea300
mov ebx, dword [ebp - 0x538]
add esp, 0xc
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.004e7380
add esp, 0xc
lea esi, [ebp - 0x414]
call fcn.00442d54
test eax, eax
jl 0x442f18
lea eax, [ebp - 0x56c]
push eax
mov eax, esi
push eax
call fcn.00442f35
test eax, eax
je 0x442f18
mov ecx, dword [ebp - 0x55c]
movzx edx, word [ebp - 0x55c]
shr ecx, 0x10
mov esi, ecx
imul esi, esi, 0xa
xor eax, eax
add esi, edx
inc eax
cmp ebx, esi
jge 0x442f0c
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x558]
shr ecx, 0x10
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0x534]
mov dword [edi + 8], edx
mov dword [ecx + 4], eax
jmp 0x442f25
mov ecx, dword [ebp - 0x534]
and dword [ecx + 4], 0
jmp 0x442f25
mov eax, dword [ebp - 0x534]
and dword [eax + 4], 0
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004e736b
leave
ret 4
Function at 0x442f35
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 2
xor ebx, ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, ebx
je 0x442fb6
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x442fad
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x442fad
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x442fa6
push ebx
call fcn.004eaa86
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x442fa6
push ebx
push dword [ebp + 8]
push eax
call fcn.004ea300
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ebx, ebx
xor esi, esi
cmp dword [ebp - 4], ebx
je 0x442ff3
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0x53c890
push dword [ebp - 4]
mov dword [ebp + 8], ebx
mov dword [ebp - 8], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x442fea
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
push dword [ebp - 4]
call fcn.004e8476
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x443389
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp word [0x585d80], 0
push esi
push edi
mov esi, 0x585d80
jne 0x4433cb
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0x207
mov dword [ebp - 8], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [0x585f88], 0
mov edi, 0x104
jne 0x4433ee
push esi
push 0x53aeb4
push edi
push 0x585f88
call fcn.004250b8
add esp, 0x10
cmp word [0x586190], 0
jne 0x443404
push esi
push edi
mov edx, 0x586190
call fcn.00424ffd
pop edi
pop esi
leave
ret

Function at 0x4475d9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x514ae1
call fcn.004f215e
xor esi, esi
cmp dword [ebp + 0x14], esi
je 0x44765f
cmp dword [ebp + 8], esi
je 0x44765f
cmp dword [ebp + 0xc], esi
je 0x44765f
mov eax, dword [0x582d44]
mov ecx, 0x582d44
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push dword [ebp + 0x14]
mov dword [ebp - 4], esi
push str._s_s
call fcn.00429c50
mov edi, dword [ebp - 0x10]
add esp, 0xc
push 4
mov dword [ebp - 0x14], esi
pop esi
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
mov bl, 1
push edi
push dword [ebp + 0x18]
mov dword [ebp - 0x18], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x447651
cmp dword [ebp - 0x14], esi
je 0x447653
xor bl, bl
lea eax, [edi - 0x10]
call fcn.0040557a
mov al, bl
jmp 0x447661
xor al, al
call fcn.004f2236
ret