joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e97d0
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
push 0x104
lea eax, [esp + 0x54]
push eax
push str.AppData
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push str.360safe360SoftMgrLiteTaskBarBtn.ini
lea ecx, [esp + 0x54]
push 0x104
push ecx
call fcn.0058b9ad
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0xc
lea edx, [esp + 0x50]
push edx
push 0
push str.AutoRegularShutdown
push str.SoftMgrLite
call esi
mov edi, eax
lea eax, [esp + 0x50]
push eax
push 0
push str.LastStateRunning
push str.SoftMgrLite
call esi
lea ecx, [esp + 0x50]
push ecx
push 0x10
lea edx, [esp + 0x28]
push edx
push str.RegularShutdownTime
push str.SoftMgrLite
mov ebx, eax
mov dword [0x6250ac], 0x4ea400
mov dword [0x6250b0], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
test eax, eax
jne 0x4e9892
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.005886fc
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
lea esi, [esp + 0x18]
call fcn.004e9af0
push 0
call fcn.0058a429
mov dword [esp + 0x14], eax
add esp, 4
lea esi, [esp + 0x30]
lea eax, [esp + 0x18]
mov dword [esp + 0x14], edx
call fcn.004e99b0
lea esi, [esp + 0x40]
lea eax, [esp + 0x10]
call fcn.004e99b0
test edi, edi
je 0x4e9923
test ebx, ebx
jne 0x4e993d
mov eax, dword [0x62507c]
test eax, eax
jne 0x4e98eb
call dword [sym.imp.KERNEL32.dll_CreateTimerQueue]
mov dword [0x62507c], eax
test eax, eax
je 0x4e9909
mov ecx, dword [0x625080]
test ecx, ecx
je 0x4e9909
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
mov dword [0x625080], 0
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.005886fc
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4e98d3
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
jl 0x4e98d3
jg 0x4e993d
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x10]
jbe 0x4e98d3
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], edx
push edi
mov dword [eax + 0xc], ecx
call fcn.004e9490
mov eax, dword [0x62507c]
test eax, eax
jne 0x4e997b
call dword [sym.imp.KERNEL32.dll_CreateTimerQueue]
mov dword [0x62507c], eax
test eax, eax
je 0x4e9909
cmp dword [0x625080], 0
jne 0x4e9909
push 0
push 0x3e8
push 0
push 0x625078
push 0x4e94e0
push eax
push 0x625080
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
jmp 0x4e9909
Function at 0x4e9af0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push ebp
movzx ebp, word [eax]
mov ecx, 0x76c
push edi
cmp bp, cx
jae 0x4e9b19
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, esi
pop edi
pop ebp
pop ebx
add esp, 0x10
ret
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xa]
movzx edi, word [eax + 8]
movzx ebx, word [eax + 6]
movzx eax, word [eax + 2]
push eax
movzx eax, bp
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004e9a20
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
pop edi
pop ebp
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, esi
pop ebx
add esp, 0x10
ret

Function at 0x4ea900
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x224
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esi + 0x124]
push ebx
push edi
mov edi, dword [eax + 0x150]
push 0x104
lea ecx, [esp + 0x1c]
push ecx
push str.AppData
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push str.360safe360SoftMgrLiteTaskBarBtn.ini
lea edx, [esp + 0x1c]
push 0x104
push edx
call fcn.0058b9ad
add esp, 0xc
mov eax, 0x5cb5f8
test edi, edi
jne 0x4ea95c
mov eax, 0x5c9c9c
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x18]
push ecx
push eax
push str.AutoRegularShutdown
push str.SoftMgrLite
call edi
cmp dword [0x625080], 0
mov eax, 0x5cb5f8
jne 0x4ea987
mov eax, 0x5c9c9c
lea edx, [esp + 0x18]
push edx
push eax
push str.LastStateRunning
push str.SoftMgrLite
call edi
movzx eax, word [esi + 0x160]
mov bx, word [esi + 0x15c]
push eax
lea eax, [esp + 0xc]
call fcn.004ea830
lea edx, [esp + 0x18]
push edx
push 0x10
lea eax, [esp + 0x10]
push eax
push str.RegularShutdownTime
mov ecx, 0x3b
push str.SoftMgrLite
mov word [esp + 0x28], cx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructW]
mov ecx, dword [esp + 0x224]
pop edi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.005886fc
add esp, 0x224
ret
Function at 0x4ecf20
Capabilities:
Hide graphical window
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
sub eax, 1
push edi
mov edi, ecx
jne 0x4ecf7f
cmp dword [edi + 0x124], eax
jne 0x4ecf52
mov eax, dword [edi + 0x58]
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.004ec4e0
push 0
push 0xd
call dword [sym.imp.USER32.dll_ExitWindowsEx]
dec dword [edi + 0x124]
call fcn.004ece00
mov ecx, dword [edi + 0x58]
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [edi + 0x58]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4edce0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [edi + 0x134], 0
push ebx
push esi
jne 0x4edd69
mov esi, dword [edi + 0x130]
mov dword [edi + 0x138], 0
test esi, esi
je 0x4edd0b
fldz
push ecx
fstp dword [esp]
call fcn.0042f330
cmp dword [edi + 0x128], 0
je 0x4edd39
mov eax, dword [edi + 0x190]
push ecx
sub eax, 0x10
mov dword [esp + 0xc], esp
mov esi, esp
call fcn.00406580
add eax, 0x10
mov dword [esi], eax
mov ebx, dword [edi + 0x128]
call fcn.0054c660
lea esi, [edi + 0x13c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0
push edi
push 0x4ed520
push 0
push 0
call fcn.00589318
add esp, 0x18
push esi
mov dword [edi + 0x134], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, edi
call fcn.004edc40
mov eax, dword [edi + 0x58]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi]
mov eax, dword [edx + 0x4c]
mov ecx, edi
pop esi
pop ebx
add esp, 4
jmp eax

Function at 0x4edf10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b1918
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 ebx, [edi + 0x13c]
push ebx
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 1
mov byte [esp + 0x10], al
mov dword [esp + 0x20], 0
mov esi, dword [edi + 0x130]
mov dword [edi + 0x138], eax
test esi, esi
je 0x4edf78
fldz
push ecx
fstp dword [esp]
call fcn.0042f330
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
mov ecx, edi
call edx
mov eax, dword [edi + 0x58]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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 0x4f0e00
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x22c
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov edi, 0x5c9b08
lea ebx, [esp + 0xc]
call fcn.0051693e
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push 0x208
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.0058e300
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
push 0x104
lea edx, [esp + 0x30]
push edx
push 0x5c9c9c
push str.LastUseTime
push str.SoftMgrLite
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x28]
push eax
call fcn.0058a9cc
add esp, 4
test eax, eax
jne 0x4f0e95
test edx, edx
je 0x4f0eed
push 0xc9
sub esi, eax
push 0x2a69c000
sbb edi, edx
push edi
push esi
call fcn.0059c9c0
cmp eax, dword [esp + 0x23c]
jge 0x4f0eed
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 0x4f0ed3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.005886fc
add esp, 0x22c
ret
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 0x4f0f0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.005886fc
add esp, 0x22c
ret

Function at 0x4f1410
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5b43a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
mov ecx, str.SMLTaskBarBtn_Win10.ini
call fcn.00406c20
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x20], 0
call fcn.0052fd70
mov eax, dword [eax]
add esp, 8
push eax
push 0
push str.Refuse
push str.StartMenuCustom
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
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 0x4f1494
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f14bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
cmp esi, 1
sete al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4f1610
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5b436b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x228], eax
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov ecx, str.SMLTaskBarBtn_Win10.ini
call fcn.00406c20
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x248], 0
call fcn.0052fd70
mov dword [esp + 0x248], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f16a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push 0x208
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.0058e300
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx]
add esp, 0xc
push edx
push 0x104
lea eax, [esp + 0x34]
push eax
push 0x5c9c9c
push ecx
push str.StartMenuCustom
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x2c]
push edx
call fcn.0058a9cc
add esp, 4
push 0xc9
sub esi, eax
push 0x2a69c000
sbb edi, edx
push edi
push esi
call fcn.0059c9c0
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f173d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.005886fc
add esp, 0x238
ret
Function at 0x4f21b0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x220
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x18], ebx
mov edi, edx
call fcn.00407c80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
call eax
mov edx, dword [eax]
push 0x80088
push 0
mov ecx, eax
mov eax, dword [edx]
push str.XSoftMgrLiteWnd
call eax
mov dword [esp + 0x14], eax
test eax, eax
je 0x4f22c8
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x2a]
push edx
mov word [esp + 0x2c], cx
call fcn.0058e300
add esp, 0xc
xor esi, esi
test ebp, ebp
jbe 0x4f2271
push 0x208
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0058e300
add esp, 0xc
push 0x208
lea ecx, [esp + 0x24]
push ecx
push esi
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
push ecx
mov edx, esp
mov dword [esp + 0x20], esp
push edx
mov ecx, str.OnDragFile
lea ebx, [esp + 0x28]
call fcn.00406c20
call fcn.00568170
inc esi
add esp, 4
cmp esi, ebp
jb 0x4f2224
mov ebx, dword [esp + 0x18]
push edi
call dword [sym.imp.SHELL32.dll_DragFinish]
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
push 1
push esi
call edi
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
push eax
call ebp
test eax, eax
je 0x4f22bd
mov eax, dword [ebx + 0x58]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebx + 0x58]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push esi
call edi
push eax
call ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.005886fc
add esp, 0x220
ret 4
Function at 0x4f24a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5c2678
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x14]
push str.SoftMgrSML_skinSML_SpeedNet.uiz
push eax
call fcn.00516143
add esp, 8
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4f25c0
push esi
call fcn.004f89a0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, str.OnBrowserNavTipClose
xor ebx, ebx
call fcn.00406c20
call fcn.00568170
add esp, 4
call fcn.004f91f0
lea ebp, [esi + 0x178]
mov eax, 1
cmp dword [ebp + 0x14], eax
je 0x4f2530
mov dword [ebp + 0x14], eax
push 0
mov dword [esi + 0x194], eax
call fcn.004e5e60
mov edi, 0x5c9b08
lea ebx, [esp + 0x18]
call fcn.0051693e
mov edx, dword [esp + 0x18]
push edx
push 0x5c9c9c
push str.BNavTipPop
push str.TaskBarBtn
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f2585
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.004f3600
cmp dword [esp + 0x2c], 1
jne 0x4f25a8
mov ecx, dword [esi + 0x58]
push 0
push 0x190
push 0xbe0
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [esi + 0x148]
test esi, esi
je 0x4f25c0
call fcn.004fa8e0
push 1
mov esi, ebp
call fcn.004f8bf0
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4f25e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x4f3600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c2590
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x148]
test ebx, ebx
jne 0x4f3650
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x1a4], 0
je 0x4f3663
mov dword [edi + 0x1a4], 0
call fcn.004fa770
mov ebx, dword [edi + 0x148]
lea esi, [edi + 0x178]
mov eax, esi
call fcn.004f8d40
dec eax
neg eax
sbb eax, eax
neg eax
cmp dword [ebx + 0x138], eax
je 0x4f3699
mov dword [ebx + 0x138], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x48]
mov ecx, ebx
call edx
lea eax, [esp + 0x2c]
push eax
call fcn.004d9400
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x5c], 0
call fcn.004f8cb0
mov edx, dword [esp + 0x44]
mov ebx, dword [edx]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
jmp 0x4f36d0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
test esi, esi
je 0x4f36e2
cmp esi, dword [esp + 0x2c]
je 0x4f36e7
call fcn.00588c45
cmp ebx, dword [esp + 0x28]
je 0x4f3748
test esi, esi
jne 0x4f3740
call fcn.00588c45
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4f3702
call fcn.00588c45
test esi, esi
jne 0x4f3744
call fcn.00588c45
cmp ebx, dword [esi + 0x18]
jne 0x4f3715
call fcn.00588c45
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp + 8]
mov edi, dword [ebx + 0x10]
mov ebx, dword [edx + 0x148]
push ecx
call fcn.004fa6e0
lea esi, [esp + 0x14]
call fcn.004d9480
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 8]
jmp 0x4f36d0
mov eax, dword [esi]
jmp 0x4f36f8
mov esi, dword [esi]
jmp 0x4f370b
mov ecx, dword [edi + 0x148]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc0]
lea edx, [esp + 0x1c]
push edx
call eax
mov ecx, dword [edi + 0x148]
mov ebx, dword [ecx]
xor edx, edx
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
xor esi, esi
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0x4c]
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0x58]
push 0x12
push eax
push ecx
push esi
push esi
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
lea esi, [esp + 0x2c]
mov dword [esp + 0x58], 1
call fcn.00480d80
mov eax, dword [esp + 0x2c]
push eax
call fcn.005851f0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f3930
Capabilities:
Find taskbar

Disassembly:
push 0xffffffffffffffff
push 0x5bd8a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov ecx, 0x5cb5f8
test ebp, ebp
jne 0x4f3969
mov ecx, 0x5c9c9c
lea eax, [esp + 0x18]
push eax
call fcn.00406c20
mov edi, 0x5c9b08
lea ebx, [esp + 0x34]
mov dword [esp + 0x28], 0
call fcn.0051693e
mov byte [esp + 0x28], 1
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
push ecx
push edx
push str.StartBtnMode
push str.TaskBarBtn
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, ebp
neg esi
push 0
sbb esi, esi
push str.XLauncherWnd
add esi, 0xbd3
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4f39dd
lea ecx, [esp + 0x1c]
push ecx
push 0x3e8
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test ebp, ebp
je 0x4f39f7
call fcn.00531a00
push 0x6224f0
push eax
mov dword [0x623038], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x30]
push edx
call fcn.004f3a90
push 0
push 0x5cc7b4
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x4f3a23
push 0
push 0
push 5
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f3a48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f3a70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x4f3a90
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5baeff
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, 0x5c9b08
lea ebx, [esp + 0x2c]
call fcn.0051693e
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x2c]
push eax
push ebx
push str.StartBtnMode
push str.TaskBarBtn
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp + 0x1a0], eax
cmp eax, ebx
je 0x4f3b1c
push 0x24
call fcn.005851c0
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 1
cmp eax, ebx
je 0x4f3b13
push eax
call fcn.00414400
mov esi, eax
jmp 0x4f3be0
xor eax, eax
mov esi, eax
jmp 0x4f3be0
call fcn.00516560
cmp dword [0x6230c0], 0x4000
jne 0x4f3b51
push 0x24
call fcn.005851c0
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 2
cmp eax, ebx
je 0x4f3b13
push eax
call fcn.00414400
mov esi, eax
jmp 0x4f3be0
call fcn.00516560
cmp dword [0x6230c0], 0x1000
jl 0x4f3b83
push 0x24
call fcn.005851c0
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 3
cmp eax, ebx
je 0x4f3b13
push eax
call fcn.00414d30
mov esi, eax
jmp 0x4f3be0
call fcn.00516560
cmp dword [0x6230c0], 0x400
push 0x58
jl 0x4f3bb9
call fcn.005851c0
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 4
cmp eax, ebx
je 0x4f3b13
push eax
call fcn.00412f50
mov esi, eax
jmp 0x4f3be0
call fcn.005851c0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x24], 5
cmp esi, ebx
je 0x4f3bde
push esi
call fcn.00412f50
mov dword [esi], vtable.CLauncherStrategyStartBtn.0
jmp 0x4f3be0
xor esi, esi
mov byte [esp + 0x24], bl
cmp esi, ebx
je 0x4f3c0b
mov edx, dword [esi]
mov eax, dword [ebp + 0x58]
mov edx, dword [edx]
push eax
mov ecx, esi
call edx
mov ecx, dword [ebp + 0x178]
cmp ecx, ebx
je 0x4f3c05
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
mov dword [ebp + 0x178], esi
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f3c33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4