joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486873
Capabilities:
Terminate process

Disassembly:
push 0x1e4
mov eax, 0x4e1931
call fcn.004b6c27
push 0xfffffffffffffff0
mov esi, ecx
call sym.WEMediaSetup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
mov ecx, esi
call sym.WEMediaSetup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call sym.WEMediaSetup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push 0x20
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
xor ebx, ebx
push eax
push dword [ebp - 0x1c]
mov ecx, esi
push dword [ebp - 0x20]
push ebx
call sym.WEMediaSetup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esi + 4]
lea edi, [esi + 0x2c]
mov ecx, edi
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Init_struct_HWND____
lea eax, [esi + 0x24]
push eax
mov ecx, edi
call sym.WEMediaSetup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddPreMessageFilter_class_DuiLib::IMessageFilterUI__
lea ecx, [ebp - 0x1ec]
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_
mov eax, dword [esi]
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
call dword [eax + 0x24]
push ebx
push edi
lea edx, [esi + 0x28]
push edx
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call sym.WEMediaSetup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1f0], esp
call sym.WEMediaSetup.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 4], bl
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x1f0], ebx
jne 0x486979
push 0x10
push str.Duilib
push 0x4f8524
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp - 0x1f0]
mov ecx, edi
call sym.WEMediaSetup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AttachDialog_class_DuiLib::CControlUI__
lea eax, [esi + 0x20]
push eax
mov ecx, edi
call sym.WEMediaSetup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddNotifier_class_DuiLib::INotifyUI__
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
xor eax, eax
call fcn.004b6caa
ret 0x10
Function at 0x48fbed
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x48fc5e
cmp dword [esi + 0x10], ebx
je 0x48fc5e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004b9de0
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x48fc5e
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.00475f1e
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b1c2d
leave
ret 0x10

Function at 0x4943f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10b8], ebx
je 0x49445c
cmp dword [ebp + 8], 0x100
jne 0x49444b
cmp word [ebp + 0xc], 0xd
jne 0x49444b
cmp byte [esi + 0x10be], bl
je 0x494432
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x49444b
cmp byte [esi + 0x10bf], bl
jne 0x49444b
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x494447
push ebx
push ebx
push ebx
push str.return
push esi
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x49445f
mov eax, dword [esi + 0x10b8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x496987
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x28], ebx
cmp edi, 0x4e
jne 0x4969b2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp edi, 8
jne 0x496a7f
push ebx
push str.SysMonthCal32
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x496a39
push 0x20
pop esi
push esi
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.004b9c60
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x24]
push eax
push ebx
push 0x100e
push edi
mov dword [ebp - 0x24], esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x18], 0x1010003
jne 0x496a1c
xor eax, eax
inc eax
jmp 0x496a28
cmp dword [ebp - 0x18], 0x2010003
je 0x496a17
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b1c2d
leave
ret 0xc
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x14]
jl 0x496a67
cmp eax, dword [ebp - 0xc]
jg 0x496a67
cmp eax, dword [ebp - 0x10]
jl 0x496a67
cmp eax, dword [ebp - 8]
jle 0x496a25
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push 8
call fcn.0049671b
mov dword [ebp - 0x28], eax
jmp 0x496a25
mov ecx, dword [ebp + 0xc]
mov eax, 0x101
cmp edi, eax
jne 0x496af0
cmp ecx, 0x2e
je 0x496a95
cmp ecx, 8
jne 0x496acc
push dword [ebp + 0x10]
push ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov edi, eax
mov eax, dword [esi + 0x10]
mov dword [eax + 0x14f4], 2
mov ecx, dword [esi + 0x10]
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CDateTimeUI::UpdateText_void_
push ebx
push ebx
push 0x10
mov ecx, esi
call sym.WEMediaSetup.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_
mov eax, edi
jmp 0x496a28
cmp ecx, 0x1b
jne 0x496af0
push dword [ebp + 0x10]
push ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x14f4], 3
mov edi, eax
jmp 0x496aba
push dword [ebp + 0x10]
push ecx
push edi
mov ecx, esi
call sym.WEMediaSetup.exe_protected_virtual:_long_int___thiscall_DuiLib::CWindowWnd::HandleMessage_unsigned_int__unsigned_int__long_int_
jmp 0x496a28
Function at 0x49b3b5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
and dword [ebx + 0x368], 0
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x1c]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebx + 0x364], eax
mov dword [ebx + 0x36c], ecx
test eax, eax
jne 0x49b41d
call sym.WEMediaSetup.exe_public:_static_class_DuiLib::ObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0xc]
test esi, esi
je 0x49b41d
call sym.WEMediaSetup.exe_public:_static_class_DuiLib::ObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x14]
lea esi, [ebx + 0x10]
call sym.WEMediaSetup.exe_public:_static_class_DuiLib::ObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
mov ecx, dword [ebx + 0x364]
test ecx, ecx
jne 0x49b43a
mov ecx, edi
jmp 0x49b441
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call sym.WEMediaSetup.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_
push 0
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x88
push SysReAllocString
movsd dword es:[edi], dword [esi]
push 0
push dword [ebp - 0x18]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call sym.WEMediaSetup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x49b484
push edi
call esi
mov edi, eax
push edi
call esi
test eax, eax
jne 0x49b47f
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b1c2d
leave
ret 0x1c
Function at 0x4a5641
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x90
mov eax, 0x4e2c1c
call fcn.004b6c27
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
call sym.WEMediaSetup.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp - 0x94]
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
xor edi, edi
push ebx
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], edi
call sym.WEMediaSetup.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call sym.WEMediaSetup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4a56b8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
xor eax, eax
call fcn.004b6caa
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi], eax
cmp eax, edi
je 0x4a56a1
push eax
mov dword [ebp - 0x9c], edi
call fcn.0046b8db
pop ecx
push edi
lea ecx, [ebp - 0x9c]
push ecx
push dword [esi]
mov dword [ebp - 0x98], eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x9c]
cmp eax, dword [esi]
je 0x4a571b
push dword [ebp - 0x98]
call fcn.004b23b5
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov eax, edi
jmp 0x4a56b2
mov edi, dword [ebp - 0x98]
jmp 0x4a5708

Function at 0x4a58b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call sym.WEMediaSetup.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4a58d9
xor eax, eax
jmp 0x4a5937
push edi
call sym.WEMediaSetup.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4a58f6
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4a58d5
push esi
push edi
call sym.WEMediaSetup.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
test eax, eax
je 0x4a5936
push ebx
push eax
call fcn.0046b8db
pop ecx
push dword [esi]
mov ebx, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push ebx
call fcn.004b63e0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop ebx
pop esi
pop edi
leave
ret
Function at 0x4a593a
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4a5967
xor eax, eax
jmp 0x4a59b7
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp + 0xc]
mov dword [esi], eax
cmp eax, ebx
jne 0x4a597d
xor eax, eax
jmp 0x4a59b6
push eax
mov dword [ebp - 8], ebx
call fcn.0046b8db
pop ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push dword [esi]
mov dword [ebp - 4], eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
cmp eax, dword [esi]
je 0x4a59b3
push dword [ebp - 4]
call fcn.004b23b5
pop ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop esi
pop edi
pop ebx
leave
ret

Function at 0x4ac1d1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 8]
mov esi, eax
and esi, 7
je 0x4ac1f6
cmp eax, esi
jge 0x4ac1ee
mov eax, edi
call fcn.004abbee
mov ecx, esi
shr dword [edi + 0xc], cl
sub dword [edi + 8], esi
mov esi, dword [edi + 8]
xor ecx, ecx
test esi, esi
jle 0x4ac223
mov eax, dword [edi + 0xc]
push ebx
mov dl, byte [edi + 0xc]
sub esi, 8
mov byte [ebp + ecx - 4], dl
shr eax, 8
mov ebx, esi
inc ecx
mov dword [edi + 0xc], eax
test ebx, ebx
jg 0x4ac203
mov dword [edi + 8], ebx
pop ebx
cmp ecx, 4
jge 0x4ac23f
mov esi, dword [edi + 4]
mov eax, dword [edi]
cmp eax, esi
jb 0x4ac230
xor dl, dl
jmp 0x4ac235
mov dl, byte [eax]
inc eax
mov dword [edi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x4ac226
movzx esi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl esi, 8
add esi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, esi
xor ecx, 0xffff
cmp eax, ecx
je 0x4ac271
mov eax, str.zlib_corrupt
call fcn.004a74ae
jmp 0x4ac2ad
mov eax, dword [edi]
add eax, esi
cmp eax, dword [edi + 4]
jbe 0x4ac281
mov eax, str.read_past_buffer
jmp 0x4ac26a
mov eax, dword [edi + 0x10]
lea ecx, [eax + esi]
cmp ecx, dword [edi + 0x18]
jbe 0x4ac297
push esi
call fcn.004abd31
pop ecx
test eax, eax
je 0x4ac2ad
push esi
push dword [edi]
push dword [edi + 0x10]
call fcn.004b63e0
add dword [edi], esi
add dword [edi + 0x10], esi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret

Function at 0x4b1c2d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x53f1e4]
jne 0x4b1c37
repz ret
jmp fcn.004be284
Function at 0x4cc866
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4cc88d
call fcn.004b9820
mov dword [eax], esi
call fcn.004b980d
push 0x16
pop esi
mov dword [eax], esi
call fcn.004bf91d
mov eax, esi
jmp 0x4cc8e2
test dword [ebp + 0xc], 0xfffffff9
jne 0x4cc873
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4cc8ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004b9833
pop ecx
call fcn.004b980d
mov eax, dword [eax]
jmp 0x4cc8e2
test al, 0x10
jne 0x4cc8e0
test al, 1
je 0x4cc8e0
test byte [ebp + 0xc], 2
je 0x4cc8e0
call fcn.004b9820
mov dword [eax], 5
call fcn.004b980d
mov dword [eax], 0xd
jmp 0x4cc8b1
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4d8466
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004c330b
and dword [ebp - 0x14], 0
cmp dword [0x543038], 0
mov dword [ebp - 0x18], eax
jne 0x4d8519
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4d85c1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x501464
push ebx
call edi
test eax, eax
je 0x4d85c1
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x543038], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x54303c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x543040], eax
call edi
push eax
call esi
mov dword [0x543048], eax
test eax, eax
je 0x4d8519
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x543044], eax
mov eax, dword [0x543044]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4d8572
cmp dword [0x543048], ecx
je 0x4d8572
push eax
call esi
push dword [0x543048]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4d8572
test ebx, ebx
je 0x4d8572
call edi
test eax, eax
je 0x4d8569
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4d8569
test byte [ebp - 8], 1
jne 0x4d8572
or dword [ebp + 0x10], 0x200000
jmp 0x4d85a5
mov eax, dword [0x54303c]
cmp eax, dword [ebp - 0x18]
je 0x4d85a5
push eax
call esi
test eax, eax
je 0x4d85a5
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4d85a5
mov eax, dword [0x543040]
cmp eax, dword [ebp - 0x18]
je 0x4d85a5
push eax
call esi
test eax, eax
je 0x4d85a5
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x543038]
call esi
test eax, eax
je 0x4d85c1
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4d85c3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b1c2d
leave
ret
Function at 0x401209
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x581a60]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x20]
push ebx
push edi
lea eax, [esp + 0x2c]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [fcn.00536724]
fld qword [esi + 0x88]
mov eax, dword [esp + 0x34]
fmul qword [0x560e70]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
lea ebx, [eax - 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call 0x513ad9
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x7c], edi
jg 0x4012d1
mov eax, dword [esi + 0x7c]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul qword [esi + 0x88]
call 0x513ad9
mov ecx, dword [esp + 0x3c]
pop edi
pop ebx
xor ecx, esp
call 0x50d7b4
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test edi, edi
js 0x401377
cmp edi, dword [esi + 0x7c]
jge 0x401377
mov edx, dword [esi + 0x78]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x10]
push 1
sub eax, edx
push eax
mov eax, dword [esp + 0x14]
sub ebx, eax
push ebx
push edx
mov dword [esp + 0x18], ecx
push eax
add ecx, 0x138
call fcn.00415c1b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00415c1b
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x513ad9
mov ebx, dword [0x536728]
push eax
push 0
lea eax, [esp + 0x14]
push eax
call ebx
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x513ad9
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
call ebx
inc edi
cmp edi, dword [esi + 0x7c]
jl 0x4012c9
jmp 0x401299
call fcn.00419e42
int3
Function at 0x418279
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x581a60]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x20]
push ebx
push edi
lea eax, [esp + 0x2c]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [fcn.00536724]
fld qword [esi + 0x88]
mov eax, dword [esp + 0x34]
fmul qword [0x560e70]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
lea ebx, [eax - 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call 0x52ab49
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x7c], edi
jg 0x418341
mov eax, dword [esi + 0x7c]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul qword [esi + 0x88]
call 0x52ab49
mov ecx, dword [esp + 0x3c]
pop edi
pop ebx
xor ecx, esp
call 0x524824
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test edi, edi
js 0x4183e7
cmp edi, dword [esi + 0x7c]
jge 0x4183e7
mov edx, dword [esi + 0x78]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x10]
push 1
sub eax, edx
push eax
mov eax, dword [esp + 0x14]
sub ebx, eax
push ebx
push edx
mov dword [esp + 0x18], ecx
push eax
add ecx, 0x138
call fcn.0042cc8b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0042cc8b
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x52ab49
mov ebx, dword [0x536728]
push eax
push 0
lea eax, [esp + 0x14]
push eax
call ebx
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x52ab49
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
call ebx
inc edi
cmp edi, dword [esi + 0x7c]
jl 0x418339
jmp 0x418309
call fcn.00430eb2
int3