joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f00d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4197a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040b3e7
mov dword [ebp - 0x14], eax
cmp dword [0x459900], esi
jne 0x40f100
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40f08d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40f1e0
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40f1e0
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f1e0
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x459900], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x459904], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x459908], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x459910], eax
test eax, eax
je 0x40f0fd
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45990c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40f125
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40f118
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40f13a
push 4
pop eax
jmp 0x40f1e2
cmp dword [ebp - 0x14], esi
je 0x40f13a
push dword [0x459900]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40f11f
mov eax, dword [0x45990c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40f198
cmp dword [0x459910], edi
je 0x40f198
push eax
call ebx
push dword [0x459910]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40f198
test eax, eax
je 0x40f198
call ecx
test eax, eax
je 0x40f18d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40f18d
test byte [ebp - 8], 1
jne 0x40f198
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40f1c8
mov eax, dword [0x459904]
cmp eax, edi
je 0x40f1c5
push eax
call ebx
test eax, eax
je 0x40f1c5
call eax
mov esi, eax
test esi, esi
je 0x40f1c5
mov eax, dword [0x459908]
cmp eax, edi
je 0x40f1c5
push eax
call ebx
test eax, eax
je 0x40f1c5
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x459900]
call ebx
test eax, eax
je 0x40f1e0
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40f1e2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403ef8
mov esp, ebp
pop ebp
ret
Function at 0x415320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415392
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x415361
cmp eax, 2
jne 0x41537c
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x41538c
test eax, eax
je 0x415387
test al, 1
jne 0x41537c
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x41538c
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x415d60
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
mov esi, ecx
push 0
push esi
mov bl, 1
call edi
test eax, eax
jne 0x415dae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x415da4
push 8
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push esi
call edi
test eax, eax
jne 0x415dae
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x415dae
pop edi
pop esi
xor al, al
pop ebx
ret
pop edi
pop esi
mov al, bl
pop ebx
ret

Function at 0x415de0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.0051d7f0
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2010], eax
cmp esi, ebx
je 0x415eb9
push 0x1fff
lea ecx, [ebp - 0x2003]
push ebx
push ecx
mov byte [ebp - 0x2004], bl
call fcn.0051d250
add esp, 0xc
lea edx, [ebp - 0x2014]
push edx
push esi
mov dword [ebp - 0x2014], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
je 0x415eb9
cmp eax, 0x1fff
ja 0x415eb9
lea ecx, [ebp - 0x2004]
push ecx
push eax
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x415ea6
lea edx, [ebp - 0x200c]
push edx
lea eax, [ebp - 0x2008]
push eax
push 0x560120
lea ecx, [ebp - 0x2004]
push ecx
mov dword [ebp - 0x2008], ebx
mov dword [ebp - 0x200c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x415ea6
mov eax, dword [ebp - 0x2008]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2010]
mov dword [edi], edx
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
mov bl, 1
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x416740
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x416780
mov eax, dword [esi + 0xc]
push 0x7d0
push eax
mov byte [esi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41676f
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov al, 1
pop esi
ret

Function at 0x416830
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 8]
push eax
push ebx
mov edi, ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x4168db
mov eax, dword [edi + 0x20c]
test eax, eax
je 0x416865
push eax
call fcn.0051e865
add esp, 4
push esi
call fcn.0051e9bc
add esp, 4
mov dword [edi + 0x20c], eax
test eax, eax
je 0x4168db
push eax
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4168db
mov eax, dword [edi + 0x20c]
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 4]
push edx
push str.VarFileInfoTranslation
push eax
mov dword [ebp + 8], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4168db
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push 0x5601b4
push 0x208
add edi, 4
push edi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x416c20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0051d250
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
mov edx, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_firefox.exe]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 0x576bd0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], 0x208
mov dword [ebp - 0x214], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x416cac
cmp dword [ebp - 0x210], eax
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x416d20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x582090]
mov edx, dword [str.SOFTWARE360TotalSecurityFirefox]
push 4
lea eax, [ebp - 4]
push eax
push 4
push ecx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov esp, ebp
pop ebp
ret
Function at 0x419640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x5604d8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4196d7
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
lea edx, [ecx + ecx]
push esi
lea ecx, [ebp - 0xc]
push ecx
push 0
mov dword [ebp - 8], edx
mov edx, dword [ebp - 4]
push str.Path
push edx
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4196b0
sub eax, edx
sar eax, 1
je 0x4196d2
cmp word [esi + eax*2 - 2], 0x5c
je 0x4196d2
mov ecx, 0x5c
mov word [esi + eax*2], cx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x419fe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a077
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
lea edx, [ecx + ecx]
push esi
lea ecx, [ebp - 0xc]
push ecx
push 0
mov dword [ebp - 8], edx
mov edx, dword [ebp - 4]
push str.Path
push edx
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a050
sub eax, edx
sar eax, 1
je 0x41a072
cmp word [esi + eax*2 - 2], 0x5c
je 0x41a072
mov ecx, 0x5c
mov word [esi + eax*2], cx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41a390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 2
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x41a415
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41a40e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x41a40e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41a407
mov ecx, dword [ebp + 8]
push ecx
call fcn.0051e9bc
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41a407
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
push edx
push eax
push ebx
call fcn.0051f280
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
cmp ebx, esi
je 0x41a459
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp + 8]
push edx
push 0x560120
push ebx
mov dword [ebp + 8], esi
mov dword [ebp - 4], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41a450
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov esi, 1
push ebx
call fcn.0051e865
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41a5b0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0051d7f0
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push edi
push eax
xor edi, edi
push edi
mov dword [ebp - 0x1020], ecx
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov ebx, eax
mov dword [ebp - 0x101c], ebx
cmp ebx, edi
jne 0x41a5fd
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
push esi
push 0xfff
lea edx, [ebp - 0x1003]
push edi
push edx
mov byte [ebp - 0x1004], 0
call fcn.0051d250
add esp, 0xc
lea eax, [ebp - 0x1018]
push eax
lea ecx, [ebp - 0x1008]
push ecx
push 0x1000
lea esi, [ebp - 0x1004]
mov edx, esi
push edx
push edi
push 9
push ebx
mov dword [ebp - 0x1008], edi
mov dword [ebp - 0x1018], edi
mov dword [ebp - 0x1014], edi
mov dword [ebp - 0x1010], edi
mov dword [ebp - 0x100c], edi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
je 0x41a74a
mov ebx, dword [ebp + 0x14]
lea esp, [esp]
mov eax, dword [ebp - 0x1014]
inc eax
cmp eax, 0x400
mov dword [ebp - 0x1014], eax
jge 0x41a744
cmp dword [ebp - 0x1008], 0
jbe 0x41a6fa
mov eax, dword [ebp - 0x1020]
push eax
lea ecx, [esi + 0x38]
push ecx
call fcn.0051dcaf
add esp, 8
test eax, eax
jne 0x41a6d1
mov edx, dword [ebp + 0x10]
cmp dword [esi + 0x14], edx
jne 0x41a6d1
mov edi, dword [esi + 0xc]
mov eax, 1
add dword [ebp - 0x100c], eax
test ebx, ebx
je 0x41a6d1
cmp dword [ebp - 0x100c], 2
jne 0x41a6d1
mov dword [ebp - 0x1010], eax
mov eax, dword [ebp - 0x1008]
sub eax, dword [esi]
mov dword [ebp - 0x1008], eax
add esi, dword [esi]
test ebx, ebx
jne 0x41a6e9
test edi, edi
jmp 0x41a6f4
test edi, edi
je 0x41a6f6
cmp dword [ebp - 0x1010], 0
jne 0x41a6fa
test eax, eax
ja 0x41a691
lea esi, [ebp - 0x1004]
test ebx, ebx
je 0x41a70d
cmp dword [ebp - 0x1010], 0
je 0x41a711
test edi, edi
jne 0x41a744
lea eax, [ebp - 0x1018]
push eax
mov eax, dword [ebp - 0x101c]
lea ecx, [ebp - 0x1008]
push ecx
push 0x1000
lea edx, [ebp - 0x1004]
push edx
push 0
push 9
push eax
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
jne 0x41a670
mov ebx, dword [ebp - 0x101c]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov ecx, dword [ebp - 4]
pop esi
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x41aaf0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 8], eax
cmp edx, ecx
ja 0x41ab28
jb 0x41ab1e
cmp eax, ebx
jae 0x41ab28
mov eax, ebx
mov edx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0x18]
push 0
push eax
push edx
push ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
test eax, eax
jne 0x41ab4e
call fcn.00414c40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp + 0x10]
test ebx, ebx
jne 0x41ab5f
mov ecx, dword [ebp - 8]
sub ecx, edx
mov dword [esi + 4], ecx
jmp 0x41ab62
mov dword [esi + 4], ebx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x10], edx
mov edx, dword [ebp + 0x14]
push 0
mov dword [esi + 0x14], edx
mov edx, dword [esi + 4]
push edx
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x14]
push edx
push ecx
push eax
mov dword [esi + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov dword [esi], eax
test eax, eax
jne 0x41abb0
call fcn.00414c40
mov edi, eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
mov dword [esi + 8], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x41af80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x41afb5
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
push edi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
or edi, 0xffffffff
call fcn.0051d250
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41b012
push ebx
mov ebx, dword [ebp + 8]
mov edi, edi
cmp dword [ebp - 0x228], ebx
je 0x41b00b
lea edx, [ebp - 0x230]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41aff0
jmp 0x41b011
mov edi, dword [ebp - 0x218]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x41b320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x41b331
xor al, al
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [str.PopupTime]
push esi
lea edx, [ebp + 8]
push edx
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 8], 0
mov dword [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, 2
jne 0x41b378
mov dword [esi], 0
mov dword [esi + 4], 0
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x41b382
cmp dword [ebp + 8], 0xb
je 0x41b371
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41b390
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x41b3e9
lea eax, [ebp + 8]
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41b3e9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [str.PopupTime]
push 8
lea edx, [ebp + 0xc]
push edx
push 0xb
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 8], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
pop esi
pop ebp
ret
xor al, al
pop esi
pop ebp
ret

Function at 0x41b3f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x41b453
lea eax, [ebp + 8]
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 4], 1
test eax, eax
jne 0x41b453
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [str.EnabledBefore]
push 4
lea edx, [ebp - 4]
push edx
push 4
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 8], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
sete al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41b460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
test eax, eax
jne 0x41b473
xor al, al
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
mov edx, dword [str.EnabledBefore]
lea ecx, [ebp + 8]
push ecx
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 8], 0
mov dword [ebp - 8], 4
mov dword [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, 2
je 0x41b46d
test eax, eax
jne 0x41b4c1
cmp dword [ebp + 8], 0xb
jne 0x41b4c1
cmp dword [ebp - 4], 1
sete al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x41b4d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x41b529
lea eax, [ebp + 8]
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41b529
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [str.PopupCount]
push 8
lea edx, [ebp + 0xc]
push edx
push 0xb
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 8], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
pop esi
pop ebp
ret
xor al, al
pop esi
pop ebp
ret

Function at 0x41b530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x41b541
xor al, al
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [str.PopupCount]
push esi
lea edx, [ebp + 8]
push edx
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 8], 0
mov dword [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, 2
jne 0x41b588
mov dword [esi], 0
mov dword [esi + 4], 0
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x41b592
cmp dword [ebp + 8], 0xb
je 0x41b581
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x438260
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ebp - 4]
push ecx
or edx, 2
push edx
push 0
push eax
mov eax, dword [esi]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4382b3
mov esi, dword [esi + 8]
mov ecx, dword [ebp - 4]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x438310
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x43833c
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov dword [ebp - 0x2bc], 0
call fcn.00414440
mov esi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test al, al
je 0x4383e8
lea ecx, [ebp - 0x2c8]
call fcn.0042d290
push 0x2b0
lea eax, [ebp - 0x2b4]
push 0
push eax
mov dword [ebp - 0x2b8], 0
call fcn.0051d250
add esp, 0xc
mov ecx, esi
or ecx, 0x100
push ecx
push 0x2b4
lea edx, [ebp - 0x2b8]
push edx
push 0
push edi
call ebx
test eax, eax
jbe 0x4383b3
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], eax
mov eax, dword [0x596700]
test eax, eax
je 0x4383ce
cmp dword [ebp - 0x2c0], 1
jne 0x4383ce
mov ecx, dword [ebp - 0x2c4]
push ecx
call eax
mov eax, dword [ebp - 0x2c8]
test eax, eax
je 0x4383df
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x2bc], 0
jne 0x438430
push 0x2b0
lea edx, [ebp - 0x2b4]
push 0
push edx
mov dword [ebp - 0x2b8], 0
call fcn.0051d250
add esp, 0xc
or esi, 0x100
push esi
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push edi
call ebx
test eax, eax
jbe 0x438430
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2bc]
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret