joyce8/EMBER2024-capa huggingface dataset:
Function at 0xace1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00ace140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00ace140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00ace140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00ace140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xacebfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xacec50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xae087c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xacec43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xacec52
xor eax, eax
pop esi
leave
ret 4
Function at 0x41e2e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584a8c
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x5f01b4]
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
push str.SOFTWAREBrotherInstalledInformation_
lea ecx, [ebp - 0x264]
call fcn.0042fc70
xor ebx, ebx
lea esi, [ebp - 0x26c]
mov dword [ebp - 4], ebx
call fcn.00456ad0
mov byte [ebp - 4], 1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x274]
call fcn.0042fd30
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.00430420
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e37e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e3a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x1b
push str.SoftwareUpdateNotification
lea ecx, [ebp - 0x264]
call fcn.00430420
mov edx, dword [ebp - 0x264]
lea ecx, [ebp - 0x268]
push ecx
push 0x20019
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41e45e
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x280], ebx
lea esi, [ebp - 0x288]
mov byte [ebp - 4], 3
call fcn.00430390
mov esi, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x284]
lea edx, [ebp - 0x278]
push edx
sub ecx, esi
push esi
sar ecx, 1
lea eax, [ebp - 0x270]
push eax
add ecx, ecx
push ebx
mov dword [ebp - 0x278], ecx
mov ecx, dword [ebp - 0x268]
push str.Path
push ecx
mov dword [ebp - 0x270], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41e484
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x41e45e
push esi
call fcn.0046acae
add esp, 4
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41e480
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x41e4db
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x260]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, edi
je 0x41e451
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, ebx
je 0x41e4b7
push esi
call fcn.0046acae
add esp, 4
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41e4d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
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.0055db96
mov esp, ebp
pop ebp
ret
Function at 0x436670
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea esi, [ebp - 8]
call fcn.00456d60
mov eax, dword [eax]
xor esi, esi
mov dword [ebp - 4], esi
test eax, eax
je 0x4366b5
cmp byte [eax], 0
je 0x4366b5
push esi
lea ecx, [ebp - 4]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4366b2
mov dword [ebp - 4], esi
jmp 0x4366b5
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4366d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x436714
mov eax, dword [edi]
test eax, eax
je 0x4366f3
mov ecx, dword [eax - 0xc]
push ecx
push eax
push 1
push 0
push str.Last_Installed_Time
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [edi]
push edx
push str.__Current_User_:__Last_Installed_Time___s__n
push 0x40000
push 0x5f2054
call fcn.00433010
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x436720
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5879d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x5f01b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5bda14
lea ecx, [ebp - 0x14]
call fcn.00401ca0
lea esi, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00456d60
mov eax, dword [eax]
xor esi, esi
mov dword [ebp - 0x10], esi
test eax, eax
je 0x436798
cmp byte [eax], 0
je 0x436798
push esi
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x436795
mov dword [ebp - 0x10], esi
jmp 0x436798
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4367b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4367f1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push 1
push 0
push str.Last_Installed_Model_2
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.__Current_User_:__Last_Installed_Model__NULL__n
push 0x40000
push 0x5f2054
call fcn.00433010
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436817
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x436ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5879a6
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x5f01b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push 0x104
lea eax, [ebp - 0x114]
push esi
push eax
mov byte [ebp - 0x115], 0
mov dword [ebp - 0x120], esi
call fcn.005610a0
add esp, 0xc
lea ecx, [ebp - 0x130]
push ecx
call fcn.00456cd0
lea edx, [ebp - 0x120]
push edx
push 0x20019
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x130]
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x43705a
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x114]
push edx
push esi
push esi
push str.Last_Installed_Printer_Name
push eax
mov dword [ebp - 0x124], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43704d
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.00401ca0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x11c]
push str._BRINFO
push edx
call fcn.0055fa4b
add esp, 8
cmp eax, esi
jne 0x436fdb
push esi
push 0x5bda14
lea ecx, [ebp - 0x11c]
call fcn.00401f50
mov esi, dword [ebp - 0x120]
lea edi, [ebp - 0x11c]
call fcn.00437090
mov eax, dword [ebp - 0x11c]
push 0x5bda14
push eax
call fcn.0055de44
add esp, 8
test eax, eax
setne al
test al, al
je 0x437027
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, ebx
mov byte [ebp - 0x115], 1
call fcn.00402070
mov edx, dword [ebx]
push edx
push str.___HKEY_LOCAL_MACHINESoftwareBrotherBrMfcWndLast_Installed_Model___s__n
push 0x40000
push 0x5f2054
call fcn.00433010
add esp, 0x10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43704d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x130]
call fcn.0040b0f0
mov al, byte [ebp - 0x115]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055db96
mov esp, ebp
pop ebp
ret
Function at 0x437420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov eax, 4
xor edi, edi
lea esi, [ebp - 0xc]
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], eax
call fcn.00456d90
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 0x20019
push edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov eax, dword [ebp - 0xc]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x437480
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4374b6
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push str.Need_Property_Dlg
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4374a8
lea edi, [eax + 1]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x4374c0
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4374d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
lea esi, [ebp - 8]
mov dword [ebp - 4], 0
call fcn.00456d90
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 0x20006
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov eax, dword [ebp - 8]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x437524
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
test bl, bl
pop ebx
je 0x43754d
mov edx, dword [ebp - 4]
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push 0
push str.Need_Property_Dlg
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 4
Function at 0x437f80
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5858c6
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5f01b4]
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
xor ebx, ebx
lea esi, [ebp - 0x98]
mov dword [ebp - 0x94], ebx
call fcn.00456d60
mov eax, dword [eax]
lea ecx, [ebp - 0x94]
push ecx
push 0xf003f
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438000
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
jne 0x438191
call fcn.0046b8a8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x438022
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x98], esi
mov dword [ebp - 4], ebx
call fcn.0046b8a8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x438051
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xa0], eax
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x90]
push edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x94]
push ebx
push eax
xor edi, edi
mov dword [ebp - 0x9c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x438132
jmp 0x4380a0
lea eax, [ebp - 0x90]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4380b0
sub eax, edx
push eax
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x98]
call fcn.00401f50
mov esi, dword [ebp - 0x98]
cmp dword [esi - 0xc], ebx
jl 0x4380ff
push str.LoadDevice
push esi
call fcn.0055e33a
add esp, 8
cmp eax, ebx
je 0x4380ff
sub eax, esi
cmp eax, 0xffffffff
je 0x4380ff
mov edx, dword [ebp - 0x94]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
dec edi
mov edx, dword [ebp - 0x94]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x90]
push ecx
inc edi
push edi
push edx
mov dword [ebp - 0x9c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
je 0x4380a0
mov eax, dword [ebp - 0x94]
cmp eax, ebx
je 0x438149
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x94], ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xa0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43816e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438191
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call 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.0055db96
mov esp, ebp
pop ebp
ret
Function at 0x44e880
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587300
mov eax, dword fs:[0]
push eax
push ebx
push edi
mov eax, dword [0x5f01b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 1
lea edx, [ebp + 0xc]
mov dword [esi + 0x128], ecx
lea ecx, [esi + 0x120]
push edx
xor ebx, ebx
mov dword [esi + 4], eax
call fcn.00402070
lea eax, [ebp + 0x10]
lea ecx, [esi + 0x12c]
push eax
call fcn.00402070
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x130], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 0x134], edx
mov dword [esi + 0x138], eax
test ecx, ecx
jne 0x44e93a
push ecx
push ecx
push ecx
push ecx
push esi
push 0x44e9a0
call fcn.0046b7d1
mov edi, eax
test edi, edi
je 0x44e93a
push str.__StatusUpdate_CreateStatusUpdateThread___is_SUCCESS__n
mov dword [edi + 0x28], ebx
push 0x40000
push 0x5f2054
mov dword [esi + 8], edi
mov ebx, 1
call fcn.00433010
mov edx, dword [edi + 0x2c]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e95d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e983
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x450290
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58715e
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5f01b4]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push edi
mov eax, dword [0x5f01b4]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
xor eax, eax
test byte [0x5f9080], 1
mov edi, ecx
mov dword [esp + 0x14], eax
jne 0x450320
or dword [0x5f9080], 1
push 0x5bda14
mov ecx, 0x5f907c
mov dword [esp + 0x22c], eax
call fcn.00401ca0
push 0x5936f0
call fcn.0055e4ae
add esp, 4
mov dword [esp + 0x228], 0xffffffff
mov ebx, dword [ebp + 0x10]
mov dword [0x5f9074], ebx
test esi, esi
jne 0x450331
xor eax, eax
jmp 0x45033f
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x450336
sub eax, edx
push eax
push esi
mov ecx, 0x5f907c
call fcn.00401f50
mov edx, dword [edi + 4]
push 0
push 0x10
push 0x10
movzx ecx, bx
push 1
push ecx
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
push 0x1f8
mov edi, eax
lea eax, [esp + 0x20]
push 0
push eax
call fcn.005610a0
mov ecx, dword [esp + 0x24]
add esp, 0xc
push esi
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x24], 0x1f8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 7
mov dword [esp + 0x34], 0x420
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x4503fa
push 0
push str.TrayNotifyWnd
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
je 0x4503fa
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x4503fa
cmp dword [esp + 0x10], 0
je 0x4503fa
mov eax, dword [ebp + 8]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov esi, eax
jmp 0x4503fe
mov esi, dword [esp + 0x14]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0055db96
mov esp, ebp
pop ebp
ret 0x10
Function at 0x450650
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584e90
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5f01b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
push 0x5f8f64
push ecx
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x18], ebx
call fcn.00404de0
add esp, 0xc
mov byte [ebp - 4], 1
mov dword [ebp + 8], ebx
call fcn.0046b8a8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4506bd
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
call fcn.00450970
mov edx, dword [ebp - 0x20]
push ebx
lea ecx, [ebp + 8]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push SysReAllocString
mov dword [ebp - 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x45070a
push 0x5df2b8
lea eax, [ebp - 0x12]
push eax
mov byte [ebp - 0x12], bl
call fcn.005612f8
cmp dword [ebp + 8], ebx
jne 0x450720
push 0x5df2b8
lea ecx, [ebp - 0x13]
push ecx
mov byte [ebp - 0x13], bl
call fcn.005612f8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x1c]
push 0x5bdb78
push eax
call fcn.004056c0
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add esp, 0xc
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push ebx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
je 0x45076e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5df2b8
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp + 8], ebx
mov byte [ebp - 0x14], bl
call fcn.005612f8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45079b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4507bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0x11]
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 0x4507e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584e60
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5f01b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push 0x5f8f64
push ecx
mov byte [ebp - 0x11], 1
call fcn.00404de0
add esp, 0xc
mov byte [ebp - 4], 1
mov dword [ebp + 8], ebx
call fcn.0046b8a8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x45084a
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
push ebx
lea ecx, [ebp + 8]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
push ebx
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x45088f
push 0x5df2b8
lea eax, [ebp - 0x12]
push eax
mov byte [ebp - 0x12], bl
call fcn.005612f8
cmp dword [ebp + 8], ebx
jne 0x4508a5
push 0x5df2b8
lea ecx, [ebp - 0x13]
push ecx
mov byte [ebp - 0x13], bl
call fcn.005612f8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x18]
push 0x5bdb78
push eax
call fcn.004056c0
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
push edx
push ebx
push ebx
push esi
push eax
mov dword [ebp - 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x4508fb
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5df2b8
lea edx, [ebp - 0x14]
push edx
mov dword [ebp + 8], ebx
mov byte [ebp - 0x14], bl
call fcn.005612f8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450928
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45094a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc