joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406130
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x808
push ebx
push ebp
mov ebp, dword [esp + 0x818]
push esi
test ebp, ebp
push edi
mov esi, ecx
jg 0x40614c
mov ebp, 1
mov eax, dword [esi + 0xb0]
mov dword [esi + 0xd0], ebp
test eax, eax
jne 0x406269
mov eax, dword [0x468ad4]
test eax, eax
je 0x406177
mov ecx, dword [0x468ad8]
test ecx, ecx
jne 0x4062e3
lea eax, [esp + 0x18]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x18]
push ecx
call ebx
mov eax, dword [0x468adc]
xor edi, edi
test eax, eax
jle 0x4061b2
lea edx, [esp + 0x18]
push edx
call ebx
mov eax, dword [0x468adc]
inc edi
cmp edi, eax
jl 0x4061a1
lea eax, [esp + 0x18]
push str.MiniUI.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.004026a0
add esp, 8
test eax, eax
jne 0x40621d
lea edx, [esp + 0x18]
test edx, edx
je 0x406219
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40621d
lea ecx, [esp + 0x18]
push ecx
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x40621d
push 1
call fcn.004568c0
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.00456b50
add esp, 0xc
xor eax, eax
jmp 0x406228
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x468ad8], eax
je 0x406261
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x468ad4], eax
jne 0x4062e3
mov ecx, dword [0x468ad8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x468ad8], 0
xor eax, eax
mov dword [esi + 0xb0], eax
mov ecx, dword [esi + 0xb0]
mov edi, dword [esp + 0x81c]
test ecx, ecx
je 0x406282
mov eax, dword [ecx]
push 0
push edi
call dword [eax + 0xc]
mov ecx, dword [esi + 0xb0]
test ecx, ecx
je 0x4062bf
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne 0x4062bf
mov ecx, dword [esi + 0xb0]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0xb0]
mov dword [esp + 0x14], edx
cdq
idiv ebp
mov ebx, dword [ecx]
push eax
push edi
call dword [ebx + 0xc]
mov ecx, dword [esi + 0xb0]
pop edi
pop esi
pop ebp
test ecx, ecx
pop ebx
je 0x4062f8
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jne 0x4062f8
mov eax, 1
add esp, 0x808
ret 8
call eax
test eax, eax
je 0x406261
mov edx, dword [eax]
push eax
call dword [edx + 0x54]
jmp 0x406263
xor eax, eax
add esp, 0x808
ret 8
Function at 0x4073e0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x22c
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x407404
pop edi
xor eax, eax
pop esi
add esp, 0x22c
ret
lea eax, [esp + 8]
mov dword [esp + 8], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x40742d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x22c
ret
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x23c]
cmp eax, ebx
je 0x407452
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x407464
cmp dword [esp + 0x14], ebx
jne 0x40743d
mov edx, dword [esp + 0x240]
mov eax, dword [esp + 0x24]
mov edi, 1
mov dword [edx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop ebx
pop edi
pop esi
add esp, 0x22c
ret
Function at 0x407f40
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x407faf
push edi
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x10]
push 4
push ecx
lea edx, [esp + 0x1c]
push 4
push edx
push 0x22204c
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
pop edi
je 0x407faf
mov eax, dword [esp + 4]
test eax, eax
jne 0x407fee
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x407fbe
xor eax, eax
pop esi
add esp, 0xc
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407fee
push esi
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x407fee
push 1
call fcn.004568c0
push eax
push esi
call fcn.00456b50
add esp, 0xc
xor eax, eax
pop esi
add esp, 0xc
ret
mov eax, 1
pop esi
add esp, 0xc
ret

Function at 0x408000
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c638
push 0x45785c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0x80
push str..360SelfProtection
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x38], edi
cmp edi, 0xffffffff
jne 0x40805c
xor esi, esi
jmp 0x40808c
push ebx
lea eax, [ebp - 0x3c]
push eax
push 4
lea ecx, [ebp - 0x34]
push ecx
push 4
lea edx, [ebp - 0x40]
push edx
push 0x22204c
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov esi, eax
mov dword [ebp - 0x30], esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg esi
sbb esi, esi
and esi, dword [ebp - 0x34]
mov dword [ebp - 0x44], esi
cmp esi, ebx
je 0x4080a0
mov eax, 1
mov dword [ebp - 0x48], eax
mov esi, dword [ebp + 8]
jmp 0x4080ec
mov dword [ebp - 0x24], ebx
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x4080e4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4080e4
push esi
call fcn.00456c70
add esp, 4
test eax, eax
je 0x4080e4
push esi
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x4080e4
push 1
call fcn.004568c0
push eax
push esi
call fcn.00456b50
add esp, 0xc
xor eax, eax
jmp 0x4080e9
mov eax, 1
mov dword [ebp - 0x48], eax
cmp eax, ebx
jne 0x4080f4
xor eax, eax
jmp 0x408109
push 5
push ebx
push 0x468b0c
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x4c], eax
cmp eax, 0x20
jle 0x408123
mov dword [ebp - 0x1c], 1
jmp 0x408123
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408140
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
push edi
mov ecx, 0x47
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 8]
pop edi
cmp eax, 6
jbe 0x40817d
mov eax, 1
add esp, 0x11c
ret
jne 0x40818c
mov ecx, dword [esp + 8]
mov eax, 1
cmp ecx, eax
jae 0x40818e
xor eax, eax
add esp, 0x11c
ret

Function at 0x4081e0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push eax
push edi
push 0x30
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x468b0c
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
sub esi, ebp
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [esp + 0x14], eax
call ebp
mov ecx, dword [esp + 0x1c]
mov ebx, eax
sub ebx, esi
mov esi, dword [esp + 0x24]
push edi
sub esi, ecx
call ebp
mov ebp, eax
mov eax, dword [esp + 0x10]
sub ebp, esi
cmp eax, edi
je 0x40826d
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
cmp edx, eax
jg 0x40827d
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x40828b
mov edi, ebp
mov eax, dword [esp + 0x40]
mov dword [eax], edi
pop edi
pop esi
mov dword [eax + 4], ebx
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x4082a0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x214
mov ax, word [0x468b0c]
push esi
push edi
mov word [esp + 0x14], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
push str.safemon360TrayLive.dll
push 0
stosw word es:[edi], ax
call fcn.004083e0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x408344
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x10]
push 4
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push 0x22204c
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x408344
mov eax, dword [esp + 8]
test eax, eax
jne 0x40838c
lea edx, [esp + 0x14]
test edx, edx
je 0x40839d
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40838c
lea ecx, [esp + 0x14]
push ecx
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x40838c
push 1
call fcn.004568c0
lea edx, [esp + 0x18]
push eax
push edx
call fcn.00456b50
add esp, 0xc
xor eax, eax
pop edi
pop esi
add esp, 0x214
ret
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x4083a8
pop edi
xor eax, eax
pop esi
add esp, 0x214
ret
push str.IsGameMode
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4083c1
pop edi
pop esi
add esp, 0x214
ret
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
add esp, 0x214
ret

Function at 0x409070
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x409080
mov eax, 0x57
pop esi
ret
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add esp, 4
shl eax, 1
push eax
mov eax, dword [esp + 0x14]
push esi
push 1
push eax
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop esi
ret
Function at 0x40cca0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
mov eax, dword [0x468ab8]
sub esp, 0x80c
test eax, eax
jne 0x40ce40
mov eax, dword [0x468abc]
push esi
test eax, eax
jne 0x40cdd1
push edi
lea eax, [esp + 0x14]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x14]
push ecx
call edi
mov eax, dword [0x468ac0]
xor esi, esi
test eax, eax
jle 0x40ccfd
lea edx, [esp + 0x14]
push edx
call edi
mov eax, dword [0x468ac0]
inc esi
cmp esi, eax
jl 0x40ccec
lea eax, [esp + 0x14]
push str.360Common.dll
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40cd7b
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x10]
push 4
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push 0x22204c
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x40cd7b
mov eax, dword [esp + 8]
test eax, eax
jne 0x40cdbc
lea edx, [esp + 0x14]
test edx, edx
je 0x40cdb8
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40cdbc
lea ecx, [esp + 0x14]
push ecx
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x40cdbc
push 1
call fcn.004568c0
lea edx, [esp + 0x18]
push eax
push edx
call fcn.00456b50
add esp, 0xc
xor eax, eax
jmp 0x40cdc7
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x468abc], eax
pop edi
je 0x40ce2f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Get360CommonInstance
push eax
call esi
mov ecx, dword [0x468abc]
push str.Get360ProductHistoryManager
push ecx
mov dword [0x468ab8], eax
call esi
mov edx, dword [0x468abc]
push str.Create360FireWareStateFunction
push edx
mov dword [0x468ab4], eax
call esi
mov dword [0x468ab0], eax
mov eax, dword [0x468abc]
push str.GetFireWallState
push eax
call esi
mov ecx, dword [0x468abc]
push str.Create360FireWareStateFunction2
push ecx
mov dword [0x468aac], eax
call esi
mov dword [0x468aa8], eax
mov eax, dword [0x468ab8]
pop esi
test eax, eax
jne 0x40ce40
add esp, 0x80c
ret
call eax
add esp, 0x80c
ret
Function at 0x40ce50
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x1800
call fcn.00457870
push esi
mov esi, dword [esp + 0x180c]
test esi, esi
push edi
jne 0x40ce72
pop edi
xor eax, eax
pop esi
add esp, 0x1800
ret
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
test eax, eax
je 0x40ce67
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x808]
push esi
rep stosd dword es:[edi], eax
mov word [esp + 0xc], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x40cefd
mov edx, dword [esp + 0x180c]
lea ecx, [esp + 0x808]
push 0x800
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x808]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x808]
push esi
lea edx, [esp + 0x80c]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x808]
push 0x400
lea ecx, [esp + 0xc]
push eax
push ecx
jmp 0x40cf08
push 0x400
lea edx, [esp + 0xc]
push esi
push edx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop esi
add esp, 0x1800
ret
Function at 0x40da20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4588ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
xor esi, esi
mov dword [esp + 0xc], esi
mov al, byte [esp + 0x30]
mov dword [esp + 0x28], 1
mov byte [esp + 0x10], al
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov ecx, dword [0x4631a0]
mov dword [esp + 4], ecx
mov byte [esp + 0x28], 3
call fcn.004081a0
test eax, eax
je 0x40db1a
mov edx, dword [0x4631a0]
push 0x81
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], edx
call fcn.00405950
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp ecx, eax
mov byte [esp + 0x28], 4
je 0x40dae6
cmp dword [ecx - 0xc], esi
jge 0x40dab2
mov edx, dword [0x4631a4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x40dab7
cmp dword [eax - 0xc], esi
jge 0x40dac7
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0xc]
call fcn.00408770
jmp 0x40dae2
lea ecx, [esp + 4]
call fcn.00405b60
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 8]
mov edx, dword [0x4631a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
mov byte [esp + 0x28], 3
je 0x40dbb8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40dbb8
mov edx, dword [esp + 8]
lea eax, [edx - 0xc]
jmp 0x40dbaf
mov eax, dword [0x4631a0]
push 0x82
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.00405950
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp ecx, eax
mov byte [esp + 0x28], 5
je 0x40db88
cmp dword [ecx - 0xc], esi
jge 0x40db54
mov edx, dword [0x4631a4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x40db59
cmp dword [eax - 0xc], esi
jge 0x40db69
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0xc]
call fcn.00408770
jmp 0x40db84
lea ecx, [esp + 4]
call fcn.00405b60
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 8]
mov ecx, dword [0x4631a4]
lea edx, [eax - 0xc]
cmp edx, ecx
mov byte [esp + 0x28], 3
je 0x40dbb8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40dbb8
mov eax, dword [esp + 8]
add eax, 0xfffffff4
push eax
call fcn.0044bf22
add esp, 4
mov ecx, dword [esp + 4]
cmp dword [ecx - 8], esi
jne 0x40dbe8
mov edx, 0x463adc
test edx, edx
jne 0x40dbce
xor eax, eax
jmp 0x40dbd9
push 0x463adc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x463adc
push eax
lea ecx, [esp + 0xc]
call fcn.00408770
mov esi, dword [esp + 0x30]
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.0040c550
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x28], 2
call fcn.00401c80
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.0040e6a0
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call fcn.00401c80
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x40f520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x458a68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0xc]
xor esi, esi
push eax
push ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
cmp eax, 4
ja case.default.0x40f572
jmp dword [eax*4 + 0x40f680]
mov ecx, dword [0x468c8c]
cmp ecx, esi
je case.default.0x40f572
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne case.default.0x40f572
mov eax, dword [0x468c8c]
push esi
push esi
push esi
push esi
jmp 0x40f618
mov ecx, dword [0x468c84]
cmp ecx, esi
je case.default.0x40f572
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne case.default.0x40f572
mov eax, dword [0x468c84]
push esi
push esi
push esi
push esi
jmp 0x40f618
mov ecx, dword [0x468c80]
cmp ecx, esi
je case.default.0x40f572
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne case.default.0x40f572
mov eax, dword [0x468c80]
push esi
push esi
push esi
push esi
jmp 0x40f618
mov ecx, dword [0x468c88]
cmp ecx, esi
je case.default.0x40f572
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne case.default.0x40f572
mov eax, dword [0x468c88]
push esi
push esi
push esi
push esi
jmp 0x40f618
mov ecx, dword [0x468c94]
cmp ecx, esi
je case.default.0x40f572
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne case.default.0x40f572
mov eax, dword [0x468c94]
push esi
push esi
push esi
push esi
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
sub esp, 0x10
mov ecx, esp
push edi
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.00447e10
add esp, 0x28
mov edx, dword [esp + 0xc]
push 5
mov eax, dword [esp + 0x14]
sub esp, 0x10
mov ecx, esp
push edi
push ebx
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.0040f290
mov ecx, dword [esp + 0x38]
add esp, 0x1c
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x40f6a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x458a88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov esi, dword [esp + 0x48]
xor edi, edi
push esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov ebp, eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
sub eax, ecx
lea edx, [ebx + 0xc]
sub eax, 0xc
mov dword [esp + 0x20], edx
cdq
sub eax, edx
mov dword [esp + 0x2c], ecx
sar eax, 1
add ecx, eax
mov dword [esp + 0x1c], ecx
add ecx, 0xc
cmp ebp, edi
mov dword [esp + 0x24], ecx
je 0x40f765
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edi
push eax
mov dword [esp + 0x18], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x40f765
xor ebp, ebp
jmp 0x40f769
mov ebp, dword [esp + 0x50]
push edi
push edi
push 0xf0
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp ebp, 4
jne 0x40f77e
xor ebp, ebp
mov edx, dword [0x468c98]
mov ecx, dword [esp + 0x4c]
lea eax, [ebp + eax*4]
push edi
push edi
push eax
push 0xc
lea eax, [esp + 0x28]
push edx
push eax
push ecx
call fcn.00444f00
add esp, 0x1c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add ebx, 0x10
push 4
sub esp, 0x10
mov edx, esp
mov dword [edx], ebx
mov dword [edx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [edx + 8], ecx
lea ecx, [esp + 0x60]
mov dword [edx + 0xc], eax
call fcn.004108f0
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call fcn.004108d0
push esi
call fcn.0040f290
mov ecx, dword [esp + 0x54]
add esp, 0x1c
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret