joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459e50
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push edi
mov edi, 0x5c9b08
lea ebx, [esp + 8]
call fcn.0051693e
mov eax, dword [esp + 8]
push eax
push 0x5c9c9c
push str.GameTip
push str.SoftMgrLite
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esi + 0x58]
push 0x8fd
push ecx
mov dword [esi + 0x12c], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0x58]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop ebx
test edx, edx
jg 0x459ec2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop ecx
ret

Function at 0x45cf90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
mov ebx, eax
mov ecx, dword [ebx + 0x144]
push edi
xor edi, edi
cmp ecx, edi
je 0x45cfb5
mov eax, dword [ecx]
mov edx, dword [eax + 0xfc]
push edi
call edx
mov esi, dword [ebx + 0x1d8]
cmp esi, edi
jne 0x45cfcb
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x1fc], edi
jne 0x45d034
cmp dword [ebx + 0x200], 0xa
jg 0x45d034
call fcn.0045f6e0
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xd9
mov dword [esp + 0x1c], 0x46
call int.0041e2e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x1d8]
call fcn.00542180
jmp 0x45d0ed
mov ecx, dword [esi + 0x12c]
cmp ecx, edi
je 0x45d065
cmp dword [esi + 0x130], edi
je 0x45d065
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 1
call edx
mov esi, dword [esi + 0x130]
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
push edi
mov ecx, esi
call edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
lea edi, [esp + 0x10]
mov dword [esp + 0x18], 0xd9
mov dword [esp + 0x1c], 0xa0
call int.0041e2e0
mov eax, dword [ebx + 0x1d8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea esi, [eax + 0x9c]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x45d0ce
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [ebx + 0x200]
mov eax, dword [ebx + 0x204]
mov ecx, dword [ebx + 0x1fc]
push edx
mov edx, dword [ebx + 0x1d8]
push eax
call fcn.0045f3d0
mov eax, dword [ebx + 0x1d8]
call fcn.0045f970
mov ebx, dword [ebx + 0x1d8]
mov ecx, dword [ebx + 0x58]
push 0
push 0x7d0
push 0x8fd
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, ebx
call fcn.0045f600
mov edx, dword [ebx + 0x58]
push 4
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov dword [ebx + 0x174], 1
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d140
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5bef18
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, 0x5c9b08
lea ebx, [esp + 0x10]
call fcn.0051693e
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push str.DesktopAcceSwitch
push str.SoftMgrLite
call esi
test eax, eax
jne 0x45d27a
mov ecx, dword [esp + 0x10]
push ecx
push ebx
push str.DesktopAcceTips
push str.SoftMgrLite
call esi
test eax, eax
je 0x45d27a
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edx
push 0x5c9c9c
push str.DesktopAcceTips
push str.SoftMgrLite
call edi
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x58]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push ecx
mov edx, esp
mov dword [esp + 0x3c], esp
push edx
mov ecx, 0x5caac0
mov esi, eax
call fcn.00406c20
push ecx
mov byte [esp + 0x38], 1
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, 0x5d1a28
call fcn.00406c20
push ecx
mov ecx, esp
mov byte [esp + 0x3c], 2
mov dword [esp + 0x28], esp
push ecx
mov ecx, 0x5d1a30
call fcn.00406c20
push ecx
mov byte [esp + 0x40], 3
mov edx, esp
mov dword [esp + 0x30], esp
push edx
mov ecx, 0x5d1a38
call fcn.00406c20
push 1
push ecx
mov eax, esp
mov dword [esp + 0x3c], esp
push eax
mov ecx, 0x5d1a4c
mov byte [esp + 0x4c], 4
call fcn.00406c20
mov byte [esp + 0x48], bl
mov ebx, esi
call fcn.00492e30
add esp, 0x1c
cmp eax, 1
jne 0x45d27a
mov ecx, dword [esp + 0x10]
push ecx
push 0x5cb5f8
push str.DesktopAcceSwitch
push str.SoftMgrLite
call edi
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45d2a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4

Function at 0x45d440
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
lea eax, [esi - 0x124]
push eax
call fcn.0045b110
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x45d462
mov edx, dword [ecx]
mov eax, dword [edx + 0xfc]
push 0
call eax
mov eax, dword [esi + 0x54]
test eax, eax
je 0x45d471
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push eax
call edx
mov eax, dword [esi - 0xcc]
push 5
push eax
mov dword [esi + 0xcc], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi - 0xcc]
push 0
push 0x3e8
push 0x907
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
pop esi
ret
Function at 0x45d550
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x78], 0
je 0x45d5e4
cmp dword [esi + 0x1e4], 0
jne 0x45d5e4
push esi
mov dword [esi + 0x1e4], 1
mov dword [esi + 0x1e8], 1
call fcn.0045c9d0
mov eax, dword [esi + 0x170]
test eax, eax
je 0x45d598
mov ecx, dword [esi + 0x78]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x8c]
call eax
mov ecx, dword [esi + 0x160]
test ecx, ecx
je 0x45d5ae
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
push 1
call eax
mov ecx, dword [esi + 0x168]
test ecx, ecx
je 0x45d5c4
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
push 1
call eax
mov ecx, dword [esi + 0x16c]
test ecx, ecx
je 0x45d5da
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
push 1
call eax
mov ecx, dword [esi + 0x58]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [esi + 0x1d8]
test esi, esi
je 0x45d613
mov edx, dword [esi + 0x58]
push 0x8fd
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x58]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x174], 0
xor eax, eax
pop esi
ret

Function at 0x45d620
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x45d69c
cmp dword [esi + 0x1e4], 0
je 0x45d69c
mov dword [esi + 0x1e4], 0
mov eax, dword [ecx]
mov edx, dword [eax + 0x8c]
push 0
call edx
mov ecx, dword [esi + 0x160]
test ecx, ecx
je 0x45d65f
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 0
call edx
mov ecx, dword [esi + 0x168]
test ecx, ecx
je 0x45d675
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 0
call edx
mov ecx, dword [esi + 0x16c]
test ecx, ecx
je 0x45d68b
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 0
call edx
mov eax, dword [esi + 0x58]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [esi + 0x1dc]
test esi, esi
je 0x45d6cb
mov ecx, dword [esi + 0x58]
push 0x8fd
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0x58]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x14c], 0
xor eax, eax
pop esi
ret
Function at 0x45e650
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x45e808
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
cmp esi, 0x112
jne 0x45e6bb
cmp dword [ebp + 0x10], 0xf060
mov dword [esp + 0xc], 1
jne 0x45e69f
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0xc]
push eax
push ecx
lea esi, [edi - 0x54]
call fcn.0045eb70
mov ecx, dword [esp + 0xc]
mov esi, dword [ebp + 0xc]
jmp 0x45e6a3
xor ecx, ecx
xor eax, eax
mov dword [ebx], eax
test ecx, ecx
je 0x45e7cf
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x84
jne 0x45e6d9
mov edx, ebx
mov dword [edx], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x203
jne 0x45e6f7
mov eax, ebx
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x2a3
jne 0x45e72f
lea ecx, [esp + 0xc]
push ecx
lea esi, [edi - 0x54]
mov dword [esp + 0x10], 1
call fcn.0045f160
cmp dword [esp + 0xc], 0
mov dword [ebx], eax
je 0x45e7cc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x200
jne 0x45e773
cmp dword [edi + 0x11c], 0
lea esi, [edi - 0x54]
mov dword [esp + 0xc], 1
jne 0x45e75b
lea edx, [esp + 0xc]
push edx
call fcn.0045f1a0
mov ecx, dword [esp + 0xc]
jmp 0x45e75f
xor ecx, ecx
xor eax, eax
mov dword [ebx], eax
test ecx, ecx
je 0x45e7cc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x113
jne 0x45e7bf
cmp dword [ebp + 0x10], 0x8fd
jne 0x45e7a9
mov eax, dword [edi + 4]
push 0x8fd
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [edi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi + 0x120], 0
mov edx, ebx
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 2
jne 0x45e7cf
mov dword [ebx], 0
jmp 0x45e7cf
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push 0
push ebx
push eax
push ecx
push esi
push edx
mov ecx, edi
call fcn.00410760
test eax, eax
jne 0x45e6ad
cmp esi, 1
jne 0x45e808
add edi, 0xffffffac
call fcn.0045ebb0
mov dword [ebx], eax
mov eax, esi
pop edi
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 0x45eb70
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
jne 0x45eba1
mov eax, dword [esi + 0x58]
push 0x8fd
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x58]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x174], 0
xor eax, eax
ret 8
mov edx, dword [esp + 8]
mov dword [edx], 0
xor eax, eax
ret 8

Function at 0x45f160
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x58]
push 0x8fd
push eax
mov dword [esi + 0x170], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x58]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esp + 4]
mov dword [esi + 0x174], 0
mov dword [edx], 0
xor eax, eax
ret 4
Function at 0x4602d0
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
push 0x7d0
mov esi, eax
mov eax, dword [esi + 0x58]
push 0x8fd
push eax
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.00460320
mov ecx, dword [esi + 0x58]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
mov ecx, esi
call eax
mov dword [esi + 0x14c], 1
xor eax, eax
pop esi
ret
Function at 0x464ca0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x14
push esi
push edi
xor edi, edi
push edi
push 0x5cc7b4
push edi
push edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
call dword [sym.imp.USER32.dll_FindWindowExW]
cmp eax, edi
je 0x464d85
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test byte [0x624870], 1
jne 0x464d01
or dword [0x624870], 1
push 0x5c5670
mov dword [0x624814], edi
call fcn.00588d7c
add esp, 4
mov esi, 0x624814
call fcn.004192e0
cmp eax, edi
je 0x464d85
cmp eax, 1
jne 0x464d2b
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [ebx + 4], eax
mov dword [ebx], edx
mov eax, ebx
pop edi
pop esi
add esp, 0x14
ret 0x10
cmp eax, 2
jne 0x464d47
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov eax, ebx
pop edi
pop esi
add esp, 0x14
ret 0x10
cmp eax, 3
jne 0x464d6b
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
add eax, dword [esp + 8]
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov eax, ebx
pop edi
pop esi
add esp, 0x14
ret 0x10
cmp eax, 4
jne 0x464d85
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x2c]
mov edx, dword [esp + 8]
add eax, dword [esp + 0xc]
mov dword [ebx], edx
mov dword [ebx + 4], eax
pop edi
mov eax, ebx
pop esi
add esp, 0x14
ret 0x10

Function at 0x464e30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push edi
call edx
test eax, eax
je 0x464e50
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x464e63
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 0
call edx
lea edi, [esi - 0x124]
call fcn.00464d90
mov eax, dword [esi - 0xcc]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi]
mov eax, dword [edx + 0x4c]
mov ecx, edi
call eax
push 0x5caac0
push 0x5caac0
push 0x5caac0
push str.show
call fcn.004039e0
mov ecx, str.popuprecom
mov ebx, eax
call fcn.00444560
mov ecx, dword [esi - 0xcc]
push 0
push 0x927c0
push 0x8fd
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x464ed0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi - 0xcc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x464f2a
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
test eax, eax
je 0x464f2a
mov ecx, dword [esi - 0xcc]
push 0x8fd
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi - 0xcc]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x465e50
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
call edx
test eax, eax
jne 0x465e62
xor eax, eax
pop esi
ret
mov eax, dword [esi - 0xcc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x465e5e
mov ecx, dword [esi - 0xcc]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
ret

Function at 0x467151
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push edi
call edx
test eax, eax
jne 0x467164
pop edi
pop esi
pop ecx
ret
mov eax, dword [esi - 0xcc]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + 0x94]
lea ecx, [esi + 0x1c]
push 1
call eax
cmp dword [esi + 0x68], 0
je 0x4671a3
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push ecx
mov ecx, 0x5caac0
call fcn.00406c20
mov edi, dword [esi + 0x68]
call fcn.0047dac0
mov esi, dword [esi + 0x3c]
test esi, esi
je 0x4671b1
mov edi, esi
call fcn.0055e420
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x46a750
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
push edi
call edx
test eax, eax
je 0x46a7b1
lea edi, [esi - 0x124]
push 1
mov eax, edi
mov dword [esi + 0xac], 0
call fcn.0046cf20
mov eax, edi
call fcn.0046a470
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
mov ecx, edi
call edx
mov eax, dword [esi - 0xcc]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi - 0xcc]
push 0
push 0
push 0x2b66
push ecx
jmp 0x46a827
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
test eax, eax
je 0x46a7c7
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0xac], 0
call fcn.00407c80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
push 0x5c9a90
call eax
lea edi, [esi - 0x124]
push 1
mov eax, edi
call fcn.0046cf20
mov eax, edi
call fcn.0046a470
call fcn.00473150
mov edx, dword [edi]
mov eax, dword [edx + 0x4c]
mov ecx, edi
call eax
mov ecx, dword [esi - 0xcc]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi - 0xcc]
push 0
push 0
push 0x2b66
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x5caac0
push 0x5caac0
push 0x5caac0
push str.main
call fcn.004039e0
mov ecx, str.startmenu
mov ebx, eax
call fcn.00444560
push 0
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push eax
mov ecx, str.OnStartMenuWndShowed
call fcn.00406c20
call fcn.005682b0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470b31
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push edi
call edx
test eax, eax
jne 0x470b46
xor eax, eax
pop edi
pop esi
pop ecx
ret
mov eax, dword [esi - 0xcc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x470b40
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x204], 1
test eax, eax
je 0x470b72
mov dword [eax + 0x1f4], 0
mov eax, dword [esi + 0x60]
test eax, eax
je 0x470b83
mov dword [eax + 0x1f4], 0
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + 0x94]
lea ecx, [esi + 0x1c]
push 1
call eax
cmp dword [esi + 0xa4], 0
je 0x470bb9
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push ecx
mov ecx, 0x5caac0
call fcn.00406c20
mov edi, dword [esi + 0xa4]
call fcn.0047dac0
mov edi, dword [esi + 0x5c]
test edi, edi
je 0x470bc5
call fcn.0055e420
mov edx, dword [esi - 0xcc]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x473f70
Capabilities:
Lock the desktop
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c1618
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov ecx, str.XNBPowerMenu
call fcn.00406c20
mov dword [esp + 0x20], 0
mov eax, dword [edi + 0x158]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
mov dword [ecx], eax
test eax, eax
je 0x473fcd
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
push edi
lea ecx, [esp + 0x14]
call fcn.004753c0
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x474001
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0x7545
ja 0x4740f1
je 0x4740be
sub esi, 0x272f
je 0x47407d
sub esi, 0x4e0d
je 0x47404a
sub esi, 1
jne 0x47413b
mov esi, 0x10
call fcn.00486850
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_LockWorkStation]
call esi
test eax, eax
jne 0x47413b
call fcn.004867c0
test eax, eax
je 0x47413b
call esi
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x140]
mov eax, dword [edx + 8]
lea ecx, [edi + 0x140]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push ecx
mov ecx, 0x5d0110
mov ebx, eax
call fcn.00406c20
call fcn.00568170
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push 1
call sub.KERNEL32.dll_SetSystemPowerState
test eax, eax
jne 0x47413b
call fcn.004867c0
test eax, eax
je 0x47413b
push 1
push 1
call sub.KERNEL32.dll_SetSystemPowerState
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub esi, 0x7546
je 0x47411c
sub esi, 1
jne 0x47413b
push esi
mov esi, dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0x12
call esi
test eax, eax
jne 0x47413b
call fcn.004867c0
test eax, eax
je 0x47413b
push 0
push 0x12
jmp 0x474139
mov esi, dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
push 0x11
call esi
test eax, eax
jne 0x47413b
call fcn.004867c0
test eax, eax
je 0x47413b
push 0
push 0x11
call esi
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4741d0
Capabilities:
Create process on windows
Lock the desktop
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c1618
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
mov ecx, str.XNBAccountMenu
call fcn.00406c20
mov dword [esp + 0x20], 0
mov eax, dword [esi + 0x14c]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
mov dword [ecx], eax
test eax, eax
je 0x47422f
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
push esi
lea ecx, [esp + 0x14]
call fcn.004753c0
mov edi, eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x474263
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
sub eax, 0x753b
je 0x4742d7
sub eax, 1
je 0x4742ac
sub eax, 1
jne 0x474306
mov esi, dword [sym.imp.USER32.dll_ExitWindowsEx]
push eax
push 0x10
call esi
test eax, eax
jne 0x474306
call fcn.004867c0
test eax, eax
je 0x474306
push 0
push 0x10
call esi
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_LockWorkStation]
call esi
test eax, eax
jne 0x474306
call fcn.004867c0
test eax, eax
je 0x474306
call esi
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x124]
mov eax, dword [edx + 0x10]
lea ecx, [esi + 0x124]
call eax
push 1
push 0x5caac0
push str.ms_settings:
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret