joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d5355e6
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor eax, eax
mov ebx, ecx
push edi
push eax
push 0x5d55f118
mov ecx, dword [ebx + 8]
push 0x5d55f13c
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.DUI70.dll_public:_class_DirectUI::Element____thiscall_DirectUI::Element::GetRoot_void_]
push eax
call sub.msvcrt.dll___RTDynamicCast
mov edi, eax
add esp, 0x14
mov ecx, dword [edi]
mov esi, dword [ecx + 0xb4]
mov ecx, esi
call dword [0x5d562560]
mov ecx, edi
call esi
xor edx, edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebx]
push edx
push edx
push edx
push 1
push edx
push eax
mov byte [ebp - 1], dl
mov dword [ebp - 0x20], edx
call fcn.5d541c3d
test eax, eax
jne 0x5d53577c
mov edi, dword [ebp - 0xc]
mov edi, dword [edi + 4]
test edi, edi
je 0x5d53577c
cmp dword [ebx + 0xc], eax
je 0x5d535679
push dword [ebx + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x5d53577c
cmp dword [ebx + 0xc], 0
mov byte [ebp - 1], 1
jne 0x5d5356a0
push edi
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x5d53577c
jmp 0x5d5356d4
push dword [ebx + 0xc]
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
cmp eax, esi
jbe 0x5d5356d4
push edi
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push 0x42
push eax
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
test eax, eax
je 0x5d53577c
mov dword [ebx + 0xc], eax
mov esi, dword [ebx + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push edi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CopySid]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
test edx, edx
je 0x5d535740
test eax, eax
je 0x5d53571b
xor ecx, ecx
cmp word [eax], cx
je 0x5d53571b
push eax
push edx
push 0xc
push dword [0x5d560df4]
lea eax, [ebp - 8]
push eax
call fcn.5d555706
add esp, 0x14
test eax, eax
jne 0x5d53574b
jmp 0x5d535740
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x10]
jne 0x5d535720
sub ecx, esi
lea eax, [ebp - 8]
push eax
sar ecx, 1
push ecx
push ecx
push edx
call fcn.5d54e204
test eax, eax
jns 0x5d53574b
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
push dword [ebp - 8]
mov ecx, dword [ebx + 4]
call fcn.5d51f0b2
test eax, eax
js 0x5d535762
mov ecx, dword [ebx + 4]
call fcn.5d528479
mov eax, dword [0x5d55f058]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x20], eax
xor eax, eax
push eax
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.DUI70.dll_public:_void___thiscall_DirectUI::Element::FireEvent_struct_DirectUI::Event___bool__bool_]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5d53579c
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor eax, eax
mov ebx, ecx
push edi
push eax
push 0x5d55f118
mov ecx, dword [ebx + 8]
push 0x5d55f13c
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call dword [sym.imp.DUI70.dll_public:_class_DirectUI::Element____thiscall_DirectUI::Element::GetRoot_void_]
push eax
call sub.msvcrt.dll___RTDynamicCast
mov edi, eax
add esp, 0x14
mov ecx, dword [edi]
mov esi, dword [ecx + 0xb4]
mov ecx, esi
call dword [0x5d562560]
mov ecx, edi
call esi
xor edx, edx
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebx]
push edx
push edx
push edx
push edx
push edx
push eax
mov byte [ebp - 0xc], dl
mov dword [ebp - 0x20], edx
call fcn.5d541c3d
test eax, eax
jne 0x5d535935
mov edi, dword [ebp - 8]
mov edi, dword [edi + 4]
test edi, edi
je 0x5d535935
cmp dword [ebx + 0xc], eax
je 0x5d53582e
push dword [ebx + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x5d535935
cmp dword [ebx + 0xc], 0
mov dword [ebp - 0xc], 1
jne 0x5d535858
push edi
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x5d535935
jmp 0x5d53588c
push dword [ebx + 0xc]
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
cmp eax, esi
jbe 0x5d53588c
push edi
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push 0x42
push eax
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
test eax, eax
je 0x5d535935
mov dword [ebx + 0xc], eax
mov esi, dword [ebx + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push edi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CopySid]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
test edx, edx
je 0x5d5358f8
test eax, eax
je 0x5d5358d3
xor ecx, ecx
cmp word [eax], cx
je 0x5d5358d3
push eax
push edx
push 0xc
push dword [0x5d560df4]
lea eax, [ebp - 4]
push eax
call fcn.5d555706
add esp, 0x14
test eax, eax
jne 0x5d535903
jmp 0x5d5358f8
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x10]
jne 0x5d5358d8
sub ecx, esi
lea eax, [ebp - 4]
push eax
sar ecx, 1
push ecx
push ecx
push edx
call fcn.5d54e204
test eax, eax
jns 0x5d535903
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
push dword [ebp - 4]
mov ecx, dword [ebx + 4]
call fcn.5d51f0b2
test eax, eax
js 0x5d53591a
mov ecx, dword [ebx + 4]
call fcn.5d528479
mov eax, dword [0x5d55f054]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x20], eax
xor eax, eax
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.DUI70.dll_public:_void___thiscall_DirectUI::Element::FireEvent_struct_DirectUI::Event___bool__bool_]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, byte [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5d53f92c
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
xor esi, esi
test ebx, ebx
je 0x5d53f9b8
movzx eax, word [ebx + 4]
test ax, ax
jne 0x5d53f950
mov esi, edx
neg esi
sbb esi, esi
and esi, 0x70
jmp 0x5d53f9b8
xor edx, edx
mov ecx, esi
mov dword [ebp - 4], ecx
push edi
lea edi, [ebx + 8]
cmp dx, ax
jae 0x5d53f9b7
mov al, byte [edi]
cmp al, 1
je 0x5d53f972
cmp al, 6
je 0x5d53f972
cmp al, 0xa
je 0x5d53f972
cmp al, 0xc
jne 0x5d53f9b7
push 0x1f
pop esi
cmp al, 1
jne 0x5d53f9a0
mov eax, dword [ebp + 8]
cmp dword [edi + 4], eax
jne 0x5d53f9a0
mov ecx, edi
call fcn.5d53f3db
xor ecx, ecx
mov edx, eax
call fcn.5d53ff9b
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x5d53f9b4
mov ecx, dword [ebp - 4]
movzx eax, word [edi + 2]
inc ecx
add edi, eax
mov dword [ebp - 4], ecx
movzx eax, word [ebx + 4]
cmp ecx, eax
jl 0x5d53f960
jmp 0x5d53f9b7
push 0x13
pop esi
pop edi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5d53f9c1
mov dword [eax], esi
xor eax, eax
test esi, esi
pop esi
setne al
pop ebx
leave
ret 8

Function at 0x5d53fa47
Capabilities:
Get domain information

Disassembly:
push 0x14
push 0x5d559078
call fcn.5d50f704
mov esi, edx
mov dword [ebp - 0x20], esi
xor edi, edi
inc edi
mov dword [ebp - 0x24], edi
and dword [ebp - 0x1c], 0
and dword [ebp - 4], 0
test esi, esi
je 0x5d53fa6d
and dword [esi], 0
lea eax, [ebp - 0x1c]
push eax
push 1
push ecx
call dword [sym.imp.DSROLE.dll_DsRoleGetPrimaryDomainInformation]
mov dword [ebp - 4], 0xfffffffe
call fcn.5d53faa1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5d53fac0
cmp dword [eax], 0
je 0x5d53faa2
cmp dword [eax], 2
je 0x5d53faa2
xor edi, edi
jmp 0x5d53faa5
xor edi, edi
inc edi
test esi, esi
je 0x5d53fab9
cmp dword [eax], 5
je 0x5d53fab3
cmp dword [eax], 4
jne 0x5d53fab9
mov dword [esi], 1
push eax
call dword [sym.imp.DSROLE.dll_DsRoleFreeMemory]
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5d53fd88
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov eax, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
push esi
push edi
test eax, eax
je 0x5d53feea
xor edi, edi
cmp dword [ebp + 8], edi
je 0x5d53fdca
push edi
push dword [ebp + 8]
call fcn.5d53fd36
push edi
push edi
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, esi
jmp 0x5d53feec
push 0x10
push 0x40
mov ebx, edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x5d53feea
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov dword [ebp - 0xc], eax
call fcn.5d5567fd
mov dword [esi], eax
test eax, eax
je 0x5d53feb5
mov eax, edi
mov dword [ebp - 8], edi
cmp dword [ebp - 0xc], eax
jle 0x5d53fe3f
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + eax*4]
call fcn.5d53fc9b
mov ebx, eax
test ebx, ebx
je 0x5d53feb5
push ebx
push SysReAllocString
push dword [esi]
call fcn.5d55691a
cmp eax, 0xffffffff
je 0x5d53feb5
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0xc]
jl 0x5d53fe05
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x5d53fe6c
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x5d53fe4b
sub ecx, ebx
lea eax, [esi + 4]
push eax
sar ecx, 1
mov ebx, edi
push ecx
push ecx
push edx
call fcn.5d54e204
test eax, eax
js 0x5d53feb5
mov eax, dword [ebp + 0xc]
push 0x800
push edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
push 0x5d509364
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
mov ebx, edi
test eax, eax
je 0x5d53feb5
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push 0x5d540040
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x5d53feb5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x5d53feec
cmp dword [esi], edi
je 0x5d53fec6
push edi
push 0x5d540010
push dword [esi]
call fcn.5d5568d2
lea ecx, [esi + 4]
call fcn.5d555786
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5d53feea
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x5d540e02
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 5
push dword [ebp + 8]
jmp 0x5d540e24
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x5d540e0f
push 1
push 0x73
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.5d540e4a
pop esi
pop ebp
ret 8
Function at 0x5d541de4
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x5d560624]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push 0x80070005
push 0x5d5093c4
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], edi
call fcn.5d542843
push 0x3f6
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x5d541fd3
push 0x3f7
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3eb
push edi
mov dword [ebp - 0xa8], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x1785
push edi
mov dword [ebp - 0xa4], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push edi
mov dword [ebp - 0xac], eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x5d541ecc
mov edi, dword [ebp - 0xa4]
mov ebx, dword [ebp - 0xa0]
cmp esi, ebx
je 0x5d541eb1
cmp esi, dword [ebp - 0xa8]
je 0x5d541eb1
cmp esi, edi
je 0x5d541eb1
cmp esi, dword [ebp - 0xac]
je 0x5d541eb1
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x5d541e87
mov edi, dword [ebp - 0xb0]
mov ebx, dword [ebp - 0xb4]
cmp dword [ebx + 0xc], 0
je 0x5d541fc6
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_CheckElevationEnabled]
neg eax
sbb eax, eax
not eax
and dword [ebp - 0xa0], eax
je 0x5d541f0e
mov eax, dword [ebx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x5d562560]
mov ecx, ebx
call esi
test eax, eax
je 0x5d541f0e
mov eax, dword [ebp + 0x10]
xor esi, esi
inc esi
jmp 0x5d541f13
mov eax, dword [ebp + 0xc]
xor esi, esi
push 0
push 0x74
push eax
push edi
call fcn.5d540e4a
test dword [ebx + 0x34], 0x400000
je 0x5d541fd3
test esi, esi
je 0x5d541fac
push 0x3f4
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x9c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x9c]
xor esi, esi
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
xor eax, eax
push 0x40
mov word [ebp - 0x8c], ax
lea eax, [ebp - 0x8c]
push eax
push 0x79
push dword [0x5d560df4]
call dword [sym.imp.USER32.dll_LoadStringW]
mov ebx, dword [ebp - 0xa4]
lea eax, [ebp - 0x8c]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x90]
push 0x15
push esi
push esi
inc eax
push eax
push dword [ebp - 0x9c]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x5d541fd3
mov ebx, dword [ebp - 0xa4]
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x5d541fd3
push 1
push 0x74
push dword [ebp + 0xc]
push edi
call fcn.5d540e4a
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.5d50eed0
leave
ret 0xc
Function at 0x5d543f69
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x1c], ebx
push edi
lea edi, [esi + 4]
test esi, esi
je 0x5d543f8a
cmp word [edi], ax
jne 0x5d543f95
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.5d5472bf
push 4
call fcn.5d5567fd
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x5d54411f
test esi, esi
je 0x5d5440e8
add esi, 8
xor eax, eax
mov dword [ebp - 4], esi
cmp ax, word [edi]
jae 0x5d5440e8
inc eax
mov dword [ebp - 8], eax
cmp byte [esi], 0xff
mov ecx, eax
mov dword [ebp - 0xc], ecx
je 0x5d5440ca
push 0x5d5069c0
push 0x58
call fcn.5d50f318
mov dword [ebp - 0x18], eax
pop ecx
pop ecx
test eax, eax
je 0x5d5440c4
push ebx
mov ecx, eax
call fcn.5d542d7e
mov esi, eax
test esi, esi
je 0x5d5440c1
mov ecx, dword [ebp - 4]
call fcn.5d53f3db
test eax, eax
je 0x5d544031
xor ecx, ecx
push ecx
push ecx
push ecx
push 8
push eax
mov ecx, esi
call fcn.5d546d18
test eax, eax
jne 0x5d544031
mov ecx, esi
call fcn.5d542e43
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x5d5440c1
push dword [ebp - 4]
mov ecx, esi
call fcn.5d542f79
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov byte [eax], 0xff
movzx eax, word [edi]
cmp ecx, eax
jge 0x5d54409f
mov ebx, dword [ebp - 0x18]
movzx eax, word [ebx + 2]
add ebx, eax
mov ecx, ebx
call fcn.5d53f3db
mov dword [ebp - 0x18], eax
test eax, eax
je 0x5d54408e
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x5d54408e
push dword [esi + 0xc]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x5d54408e
push ebx
mov ecx, esi
call fcn.5d542f79
mov byte [ebx], 0xff
mov ecx, dword [ebp - 0x14]
movzx eax, word [edi]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jl 0x5d544054
mov ebx, dword [ebp - 0x1c]
push esi
push dword [ebp + 0xc]
call fcn.5d54315a
cmp eax, 0xffffffff
je 0x5d54401e
push dword [esi + 0xc]
push SysReAllocString
push dword [ebp - 0x10]
call fcn.5d55691a
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], eax
movzx eax, word [esi + 2]
add esi, eax
movzx eax, word [edi]
cmp ecx, eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 8]
jl 0x5d543fc6
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, ebx
call fcn.5d546f92
push dword [ebp + 0xc]
or dword [ebx + 0xac], 2
mov esi, dword [0x5d560e0c]
call dword [sym.imp.USER32.dll_GetParent]
mov edx, dword [ebx + 0x3c]
push ecx
push esi
push eax
push dword [ebx + 8]
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
call fcn.5d53fd88
push ebx
call fcn.5d55688c
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x5d5444cd
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1798
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5d54450b
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x5d544e64
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 0x3e8
push dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [ebp + 0xc]
mov edi, eax
test esi, esi
je 0x5d544e95
movzx ecx, byte [esi]
mov word [ebx + 0x8e], cx
xor edx, edx
mov ecx, edi
xor ebx, ebx
call fcn.5d522d23
test eax, eax
je 0x5d544eae
mov ecx, dword [eax + 0xc]
call fcn.5d53fc9b
mov ebx, eax
push 0
push 0
push 0x1009
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
push esi
push edi
push dword [ebp + 8]
call fcn.5d543f69
test ebx, ebx
je 0x5d544f2b
push 0
push 0
push 0x1004
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [ebp - 0x38], 0
mov esi, eax
mov dword [ebp - 0x40], 4
jmp 0x5d544f15
lea eax, [ebp - 0x40]
dec esi
push eax
push 0
push 0x104b
push edi
mov dword [ebp - 0x3c], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x20]
push dword [eax + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x5d544f1b
test esi, esi
jg 0x5d544eee
jmp 0x5d544f24
mov edx, esi
mov ecx, edi
call fcn.5d52461b
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x5d546ba3
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5d560624]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x3e8
xor edi, edi
push ebx
mov esi, edi
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [ebp - 0x30]
mov ecx, eax
call fcn.5d522d23
test eax, eax
je 0x5d546be8
mov esi, dword [eax + 8]
test esi, esi
je 0x5d546be5
mov dword [ebp - 0x2c], edi
jmp 0x5d546bef
mov esi, dword [eax + 4]
mov dword [ebp - 0x2c], edi
test esi, esi
je 0x5d546bf4
push esi
push 0x55
jmp 0x5d546bf7
push edi
push 0x50
push dword [0x5d560df4]
lea eax, [ebp - 0x2c]
push eax
call fcn.5d555706
add esp, 0x10
test eax, eax
je 0x5d546d01
push 0x3f0
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
mov edi, eax
push esi
mov dword [ebp - 0x30], edi
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x2c]
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x30]
lea ecx, [ebp - 0x18]
push 0x400
push ecx
push eax
push dword [ebp - 0x2c]
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
test eax, eax
je 0x5d546ca7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jle 0x5d546ca7
push 0x3f0
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1788
jmp 0x5d546ccc
push 0x1788
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f0
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x2c]
call fcn.5d555786
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.5d50eed0
leave
ret 4
Function at 0x5d546d67
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
and dword [ebp - 8], 0
push ebx
push esi
push edi
push 0x7f02
mov ebx, ecx
push 0
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0x3c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x4c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0
push 0
push 0x1004
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x5d546e91
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x4c]
push eax
push 0
push 0x104b
push dword [ebp + 8]
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x48], edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x5d546e87
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x5d546e87
cmp dword [ebp + 0xc], 0
je 0x5d546e0c
push dword [esi + 0xc]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x5d546e87
cmp dword [esi + 0x14], 0
je 0x5d546e1a
cmp dword [ebp + 0xc], 0
jne 0x5d546e91
jmp 0x5d546e87
mov edx, dword [ebx + 0x3c]
lea eax, [ebp - 8]
mov ecx, dword [esi + 0xc]
push eax
push dword [ebx + 8]
call fcn.5d53fce1
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x5d546e84
cmp dword [ebx], 1
jne 0x5d546e84
push dword [esi + 0xc]
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
call fcn.5d53f7e7
mov dword [esi + 0x10], eax
mov ecx, esi
push dword [ebx + 0xc]
push dword [ebx + 8]
call fcn.5d546b28
mov dword [ebp - 0x4c], 3
mov eax, dword [esi + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0x104c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp - 0xc]
jl 0x5d546dc1
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8