joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452ca0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x500
push eax
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x452d2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x452d00
movzx eax, ax
or eax, 0x80070000
push eax
push str.Failed_allocate_sid:_0x_08x.
push str.kupdate::KProcessUtils::IsUserInGroup
push 0x209
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 5
call fcn.00412750
add esp, 0x18
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x452d7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x452d54
movzx eax, ax
or eax, 0x80070000
push eax
push str.Failed_check_token_group:_0x_08x.
push str.kupdate::KProcessUtils::IsUserInGroup
push 0x20f
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 5
call fcn.00412750
add esp, 0x18
mov dword [ebp - 0x14], 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x14], 0
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret
Function at 0x4530a0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2198
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4530d8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push ecx
push 0x20008
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x45311b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x45310c
movzx eax, ax
or eax, 0x80070000
mov ecx, 0x21f
mov edx, str.Failed_open_process_token:_0x08x.
jmp 0x453241
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 1
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 0
call esi
push dword [ebp - 0x1c]
call fcn.004bee3b
add esp, 4
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push edi
push 1
push dword [ebp - 0x20]
call esi
test eax, eax
jne 0x453181
push edi
call fcn.004bee44
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x453172
movzx eax, ax
or eax, 0x80070000
mov ecx, 0x229
mov edx, str.failed_get_token_infomation:
jmp 0x453241
mov esi, dword [edi]
test esi, esi
je 0x45321c
push esi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x45321c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x12
push 1
lea eax, [ebp - 0x18]
mov word [ebp - 0x14], 0x500
push eax
mov dword [ebp - 0x24], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x4531f9
push edi
call fcn.004bee44
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4531ed
movzx eax, ax
or eax, 0x80070000
mov ecx, 0x23b
mov edx, str.Failed_allocate_sid:_0x08x.
jmp 0x453241
push dword [ebp - 0x24]
push esi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push dword [ebp - 0x24]
test eax, eax
setne bl
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push edi
call fcn.004bee44
add esp, 4
jmp 0x45325a
push edi
call fcn.004bee44
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x453237
movzx eax, ax
or eax, 0x80070000
mov ecx, 0x230
mov edx, str.Failed_get_sid:_0x08x.
push eax
push edx
push str.kupdate::KProcessUtils::IsSystemProcess
push ecx
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.00412750
add esp, 0x18
xor bl, bl
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x45326d
cmp ecx, 0xffffffff
je 0x45326d
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
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.004bee49
mov esp, ebp
pop ebp
ret
Function at 0x453290
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e21cb
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x541a8c], 0
jne 0x45330a
push 0x110
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], 0x114
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x120], 6
mov byte [0x541a8c], 1
setae al
mov byte [0x541a8d], al
jmp 0x45330f
mov al, byte [0x541a8d]
test al, al
je 0x453461
mov dword [ebp - 0x128], 0
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4533c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x453358
movzx eax, ax
or eax, 0x80070000
push eax
push str.Failed_OpenProcessToken:_0x_08x.
push str.kupdate::KProcessUtils::IsProcessInSplitToken
push 0x60
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.00412750
mov eax, dword [ebp - 0x128]
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x453391
cmp eax, 0xffffffff
je 0x453391
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0
push eax
push str.HKLMSoftwareMicrosoftWindowsCurrentVersionPoliciesSystemEnableLUA
call fcn.0044b690
add esp, 0xc
test eax, eax
js 0x453461
cmp dword [ebp - 0x130], 0
setne al
jmp 0x453463
lea eax, [ebp - 0x134]
mov dword [ebp - 0x12c], 1
push eax
push 4
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x134], 0
push eax
push 0x12
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x453422
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x453410
movzx eax, ax
or eax, 0x80070000
push eax
push str.Failed_GetTokenInformation:_0x_08x.
push str.kupdate::KProcessUtils::IsProcessInSplitToken
push 0x6a
jmp 0x453365
mov eax, dword [ebp - 0x12c]
cmp eax, 2
je 0x453436
cmp eax, 3
je 0x453436
xor bl, bl
jmp 0x453438
mov bl, 1
mov eax, dword [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x453455
cmp eax, 0xffffffff
je 0x453455
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x453391
mov al, 1
jmp 0x453463
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret
Function at 0x453840
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx eax, byte [ebp - 6]
push eax
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push str.major:__d__minor:__d__type:__d
push str.kupdate::KProcessUtils::IsWin7OrLater
push 0x402
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 4
call fcn.00412750
mov eax, dword [ebp - 0x11c]
add esp, 0x20
cmp eax, 6
jne 0x4538e0
cmp byte [ebp - 6], 1
mov eax, dword [ebp - 0x118]
jne 0x4538cb
cmp eax, 1
je 0x4538e2
cmp eax, 2
jae 0x4538e2
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret
jbe 0x4538d0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret

Function at 0x453900
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x541a98], 0
jne 0x453991
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
ja 0x453977
jne 0x45395d
cmp dword [ebp - 0x110], 2
jae 0x453977
mov al, byte [0x541a99]
mov byte [0x541a98], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret
mov al, 1
mov byte [0x541a99], al
mov byte [0x541a98], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [0x541a99]
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret

Function at 0x4539b0
Capabilities:
Shutdown system

Disassembly:
push esi
push str.Restart_computer.
push str.kupdate::KProcessUtils::RestartComputer
push 0x32d
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 7
call fcn.00412750
push 1
push str.SeShutdownPrivilege
call fcn.00451880
mov esi, eax
add esp, 0x1c
test esi, esi
jns 0x453a04
push esi
push str.Failed_ajust_privilege:_0x_08x.
push str.kupdate::KProcessUtils::RestartComputer
push 0x331
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.00412750
add esp, 0x18
mov eax, esi
pop esi
ret
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x453a4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x453a27
movzx esi, si
or esi, 0x80070000
push esi
push str.Failed_exit_window:_0x_08x.
push str.kupdate::KProcessUtils::RestartComputer
push 0x337
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcutilKProcessUtils.cpp
push 0
call fcn.00412750
add esp, 0x18
mov eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x4575a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2831
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x53d9f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi], vtable.CBalloonBase_class_ATL::CDialogImpl_class_KInstallPatchDlg__class_ATL::CWindow__.0
mov dword [esi + 4], vtable.CBalloonBase_class_ATL::CDialogImpl_class_KInstallPatchDlg__class_ATL::CWindow__.1.0
call fcn.0040fdf0
mov ecx, eax
test ecx, ecx
je 0x457726
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
call fcn.0040fdf0
mov ecx, eax
test ecx, ecx
je 0x457726
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x2c], eax
call fcn.0040fdf0
mov ecx, eax
test ecx, ecx
je 0x457726
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
xor eax, eax
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi], vtable.KInstallPatchDlg.0
mov dword [esi + 4], vtable.KInstallPatchDlg.1.0
and dword [esi + 0xa4], 0xfffffff0
mov dword [ebp - 4], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], 8
mov dword [esi + 0x88], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x8c], 0xffffffff
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x98], 0xffffffff
mov dword [esi + 0x60], vtable.WTL::CBitmapButton.0
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 1
call fcn.00457140
lea ecx, [esi + 0x308]
mov byte [ebp - 4], 2
call fcn.00457140
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0041d0e0
int3
Function at 0x4578e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e28de
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53d9f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00420470
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [edi + 4]
lea esi, [ebx + 0x1c]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x1c]
sub eax, 0x10
mov dword [ebp - 4], 0
push eax
mov dword [ebp + 8], esi
call fcn.00420470
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 0x20]
lea esi, [ebx + 0x40]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [edi + 0x40]
sub eax, 0x10
mov byte [ebp - 4], 1
push eax
mov dword [ebp + 8], esi
call fcn.00420470
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 0x44]
mov dword [ebx + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [ebx + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [ebx + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [ebx + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [ebx + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [ebx + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [ebx + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [ebx + 0x60], eax
mov eax, dword [edi + 0x64]
mov dword [ebx + 0x64], eax
mov eax, dword [edi + 0x68]
mov dword [ebx + 0x68], eax
mov eax, dword [edi + 0x6c]
mov dword [ebx + 0x6c], eax
mov eax, dword [edi + 0x70]
mov byte [ebp - 4], 2
mov dword [ebx + 0x70], eax
mov eax, dword [edi + 0x74]
lea esi, [ebx + 0x78]
mov dword [ebx + 0x74], eax
mov eax, dword [edi + 0x78]
sub eax, 0x10
mov dword [ebp + 8], esi
push eax
call fcn.00420470
add esp, 0x10
add eax, 0x10
mov dword [esi], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x457bd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dec40
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x53d9f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or edi, 0xffffffff
mov dword [esi], vtable.CBalloonBase_class_ATL::CDialogImpl_class_KInstallPatchDlg__class_ATL::CWindow__.0
sub edx, 0x10
mov dword [esi + 4], vtable.CBalloonBase_class_ATL::CDialogImpl_class_KInstallPatchDlg__class_ATL::CWindow__.1.0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457c20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x2c]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457c3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x28]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x457c52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x457c5f
push eax
call fcn.004c0564
mov dword [esi], vtable.IBalloon.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x459520
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], edi
call esi
push 1
mov dword [ebp - 0x28], eax
call esi
lea ecx, [ebx + 0x50]
mov esi, eax
push ecx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [ebx + 0x48], 0
je 0x4595e4
test edi, edi
je 0x4595ab
mov eax, dword [edi + 0xc]
add eax, dword [edi + 4]
sub eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [edi + 8]
mov edi, dword [ebp - 0xc]
sub eax, edi
add eax, dword [ebp - 0x14]
add eax, dword [ecx]
cdq
sub eax, edx
sar ebx, 1
sar eax, 1
mov ecx, eax
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
add edi, ecx
mov eax, ebx
mov dword [ebp - 0xc], edi
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], ebx
jmp 0x459695
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
add eax, esi
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [ebp - 0x14]
sub eax, edi
sar ebx, 1
add eax, dword [ebp - 0x28]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
add edi, ecx
mov eax, ebx
mov dword [ebp - 0xc], edi
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], ebx
jmp 0x459695
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 8]
mov edi, dword [ebp + 8]
add ecx, esi
mov eax, dword [ebp - 0x14]
add edi, 0xfffffffe
mov esi, dword [ebp - 0xc]
add edi, ecx
mov ecx, dword [ebp - 0x28]
sub eax, esi
add ecx, 0xfffffff4
add ecx, eax
mov eax, ecx
sub eax, dword [ebp - 0x14]
add esi, eax
mov dword [ebp - 0x14], ecx
mov eax, edi
mov dword [ebp - 0xc], esi
sub eax, dword [ebp - 0x10]
add dword [ebp - 8], eax
push 0
push str.Shell_TrayWnd
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x459698
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push ecx
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
mov esi, dword [ebp - 0x1c]
mov eax, esi
mov edi, dword [ebp - 0x20]
sub ecx, edi
mov edx, dword [ebp - 0x24]
sub eax, edx
cmp ecx, eax
jle 0x459682
test edx, edx
je 0x459698
sub edx, esi
add edx, dword [ebp - 0x14]
mov eax, edx
sub eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov dword [ebp - 0x14], edx
jmp 0x459698
test edi, edi
je 0x459698
mov esi, dword [ebp - 0x10]
sub esi, ebx
add esi, edi
mov eax, esi
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], esi
add dword [ebp - 8], eax
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bee49
mov esp, ebp
pop ebp
ret 8
Function at 0x45da90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x45db4a
push edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea edi, [esi + 4]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x45dad6
call fcn.004c04b8
mov dword [edi + 0x14], eax
test eax, eax
jne 0x45dad6
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
mov dword [esi + 0x44], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
push ebx
push 0
push 0
push eax
call fcn.004c05ba
lea ebx, [edi + 8]
test ebx, ebx
je 0x45db89
test edi, edi
je 0x45db89
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x53d104
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x53d11c]
mov dword [ebx + 8], eax
push 0x53d104
mov dword [0x53d11c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x45e150
push dword [ebp + 8]
push 0x165
push dword [0x542504]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
pop ebx
mov dword [esi + 0x44], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x48], 0
mov eax, dword [esi + 8]
push 0x53
push 0
push 0
push 0
push 0
je 0x45db79
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
pop esi
pop ebp
ret 4
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
pop esi
pop ebp
ret 4
push 1
push 0xc0000005
call fcn.00411d10
int3
Function at 0x45dba0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x45dbbf
push eax
push eax
call fcn.00459520
mov eax, dword [esi + 0x38]
test eax, eax
je 0x45dc69
push edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea edi, [esi + 4]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x45dbf5
call fcn.004c04b8
mov dword [edi + 0x14], eax
test eax, eax
jne 0x45dbf5
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
mov dword [esi + 0x44], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
push ebx
push 0
push 0
push eax
call fcn.004c05ba
lea ebx, [edi + 8]
test ebx, ebx
je 0x45dca8
test edi, edi
je 0x45dca8
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x53d104
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x53d11c]
mov dword [ebx + 8], eax
push 0x53d104
mov dword [0x53d11c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x45e150
push dword [ebp + 8]
push 0x165
push dword [0x542504]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
pop ebx
mov dword [esi + 0x44], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x48], 0
mov eax, dword [esi + 8]
push 0x53
push 0
push 0
push 0
push 0
je 0x45dc98
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
pop esi
pop ebp
ret 4
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
pop esi
pop ebp
ret 4
push 1
push 0xc0000005
call fcn.00411d10
int3
Function at 0x4674f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x210]
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
push edx
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x467570
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x20c]
push eax
push 0x104
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bee49
mov esp, ebp
pop ebp
ret 0xc