joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e3130
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5be9c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x20], 0
je 0x4e319e
cmp dword [esi + 0x18], 0
je 0x4e319e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004d5060
mov ebx, esp
test ebx, ebx
je 0x4e319e
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x18]
push ebx
add ecx, 0x1bc
call fcn.004ed7f0
mov ecx, dword [esi + 0x18]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call sym.xIns.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c2ee0
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4eb3f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4eb435
cmp byte [ebp + 8], 0
je 0x4eb429
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8

Function at 0x4f3810
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x4dc], 0
je 0x4f387f
cmp dword [ebp + 8], 0x100
jne 0x4f386f
cmp word [ebp + 0xc], 0xd
jne 0x4f386f
cmp byte [esi + 0x4e2], 0
push 0x11
je 0x4f3864
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4f386f
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4f385d
push 0
push 0
push 0
push 0x56bdfc
push esi
call sym.xIns.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
pop esi
pop ebp
ret 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4f3845
mov eax, dword [esi + 0x4dc]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x4f45f0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555f74
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5be9c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x18]
mov dword [edi], vtable.DuiLib::WindowImplBase.0
mov dword [esi], vtable.DuiLib::WindowImplBase.1.0
mov dword [edi + 0x28], vtable.DuiLib::WindowImplBase.2.0
mov dword [edi + 0x2c], vtable.DuiLib::WindowImplBase.3.0
mov dword [edi + 0x30], vtable.DuiLib::WindowImplBase.4.0
mov dword [ebp - 4], 2
push edi
call sym.xIns.exe_public:_static_class_DuiLib::DialogManager____cdecl_DuiLib::DialogManager::getInstance_void_
mov ecx, eax
call sym.xIns.exe_public:_void___thiscall_DuiLib::DialogManager::unRegisterDialog_class_DuiLib::WindowImplBase__
mov byte [ebp - 4], 1
lea ecx, [edi + 0x34]
call sym.xIns.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::destructor_void_
mov byte [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0
lea ecx, [esi + 4]
call sym.xIns.exe_public:_void___thiscall_DuiLib::CStdStringPtrMap::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea esi, [edi + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 6
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0048bc10
mov dword [ebp - 4], 0xffffffff
push dword [esi]
call fcn.004b0c50
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ff970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556db2
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5be9c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x208
mov dword [ebp - 0x220], 0
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x224], esi
call fcn.004c62d0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call sym.xIns.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c2ee0
mov esp, ebp
pop ebp
ret

Function at 0x500540
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x500565
or esi, 1
push 1
call edi
test ax, ax
jns 0x500571
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x50057d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x500589
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x5022f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [edi + 0x1bc]
call sym.xIns.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov ebx, dword [ebp + 8]
test eax, eax
jle 0x50234b
nop
push esi
lea ecx, [edi + 0x1bc]
mov byte [ebp + 0xb], 0
call sym.xIns.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push ebx
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x5024a3
lea ecx, [edi + 0x1bc]
inc esi
call sym.xIns.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp esi, eax
jl 0x502310
sub ebx, 0x100
je 0x502423
sub ebx, 4
je 0x5023b7
sub ebx, 2
jne 0x502418
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.004c4b9b
mov ecx, dword [edi + 0x138]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push reloc.OLEAUT32.dll_VariantCopyInd
push edx
push sym.xIns.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x502418
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [edi + 0x13c], 0
je 0x502418
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movq qword [ebp - 0xc], xmm0
mov word [ebp - 0xc], ax
mov eax, dword [edi + 0x14c]
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x150]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.00500540
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x13c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [edi + 0x1a0], 0
je 0x502418
cmp dword [ebp + 0xc], 9
jne 0x502418
mov ecx, dword [edi + 0x13c]
test ecx, ecx
je 0x50248a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x50248a
mov ecx, dword [edi + 0x13c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x50248a
mov ecx, dword [edi + 0x13c]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004c54af
add esp, 8
test eax, eax
je 0x50248a
mov ecx, dword [edi + 0x13c]
call sym.xIns.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x502418
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, edi
setns al
movzx eax, al
push eax
call sym.xIns.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5024b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5be9c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0x20a
jne 0x5025c9
movsx eax, word [edi + 0xe]
movsx ecx, word [edi + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov ebx, eax
test ebx, ebx
je 0x5025c9
cmp ebx, dword [edi]
je 0x5025c9
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push eax
call fcn.004c62d0
add esp, 0xc
lea eax, [ebp - 0x104]
push 0x80
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0x80
lea eax, [ebp - 0x204]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x104]
push 0x56fdf4
push eax
call esi
test eax, eax
je 0x5025c9
push str.Chrome_WidgetWin_0
lea eax, [ebp - 0x104]
push eax
call esi
test eax, eax
je 0x5025c9
push str.Chrome_RenderWidgetHostHWND
lea eax, [ebp - 0x104]
push eax
call esi
test eax, eax
je 0x5025c9
push str.Chrome_Legacy_Window
lea eax, [ebp - 0x204]
push eax
call esi
test eax, eax
je 0x5025c9
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x20c]
push eax
push dword [edi]
mov dword [ebp - 0x20c], 0xffffffff
mov dword [ebp - 0x208], 0xfffffffe
call esi
lea eax, [ebp - 0x208]
push eax
push ebx
call esi
mov eax, dword [ebp - 0x20c]
cmp eax, dword [ebp - 0x208]
jne 0x5025c9
mov dword [edi], ebx
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2ee0
mov esp, ebp
pop ebp
ret
Function at 0x503440
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi + 4]
mov esi, dword [ebp + 8]
cmp eax, ecx
je 0x503469
cmp esi, dword [edi + 0x13c]
je 0x503469
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x13c]
cmp esi, eax
je 0x503560
test eax, eax
je 0x5034d6
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x20], 0x14
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x13c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push 0
push 0
push 0
push str.killfocus
push dword [edi + 0x13c]
mov ecx, edi
call sym.xIns.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [edi + 0x13c], 0
test esi, esi
je 0x503560
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x503560
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x503560
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x503560
xorps xmm0, xmm0
mov dword [edi + 0x13c], esi
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 4], 0
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x13c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push 0
push 0
push 0
push str.setfocus
push dword [edi + 0x13c]
mov ecx, edi
call sym.xIns.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x508070
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55746b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5be9c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x18], eax
mov dword [eax + 0x59c], 0
cmp dword [edi + 4], 0
jne 0x50811f
lea eax, [ebp - 0xa4]
push eax
call fcn.00507c60
mov ecx, dword [edi + 0x18]
movdqu xmm0, xmmword [ebp - 0xa4]
push 1
push 0
sub esp, 0x10
mov eax, esp
push 0
movdqu xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
call dword [eax + 0x1c]
mov ecx, eax
call sym.xIns.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
mov ecx, edi
call sym.xIns.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU_____int_
mov esi, dword [edi + 0x18]
mov ecx, esi
call sym.xIns.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call sym.xIns.exe_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetFontInfo_int_
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x18]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov dword [ebp - 4], 0
mov ecx, eax
call sym.xIns.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.xIns.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test bl, bl
je 0x508163
mov eax, dword [edi + 0x18]
add eax, 0x58c
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x18]
add eax, 0x58c
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x20], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c2ee0
mov esp, ebp
pop ebp
ret 4
Function at 0x50a1d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5be9c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push str.AdjustPostion
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x14]
call sym.xIns.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x14]
call sym.xIns.exe_public:_int___thiscall_DuiLib::CDuiRect::GetWidth_void_const
lea ecx, [ebp - 0x14]
mov edi, eax
call sym.xIns.exe_public:_int___thiscall_DuiLib::CDuiRect::GetHeight_void_const
mov ecx, dword [esi]
mov ebx, eax
mov edx, dword [esi + 4]
lea eax, [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
add ecx, edi
mov dword [ebp - 0xc], ecx
lea ecx, [edx + ebx]
mov dword [ebp - 0x10], edx
push eax
mov dword [ebp - 8], ecx
mov ecx, esi
movdqu xmmword [ebp - 0x4c], xmm0
push 1
movdqu xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x4c], 0x28
movq qword [ebp - 0x2c], xmm0
call sym.xIns.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call sym.xIns.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_struct_tagRECT_const__
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jle 0x50a2a3
lea ecx, [ebp - 0x24]
call sym.xIns.exe_public:_int___thiscall_DuiLib::CDuiRect::GetHeight_void_const
cmp ebx, eax
jl 0x50a298
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], ebx
jmp 0x50a2a3
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
sub eax, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x1c]
jle 0x50a2ce
lea ecx, [ebp - 0x24]
call sym.xIns.exe_public:_int___thiscall_DuiLib::CDuiRect::GetWidth_void_const
cmp edi, eax
jl 0x50a2c3
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], edi
jmp 0x50a2ce
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
sub eax, edi
mov dword [ebp - 0x14], eax
push 0x15
lea ecx, [ebp - 0x14]
call sym.xIns.exe_public:_int___thiscall_DuiLib::CDuiRect::GetHeight_void_const
push eax
lea ecx, [ebp - 0x14]
call sym.xIns.exe_public:_int___thiscall_DuiLib::CDuiRect::GetWidth_void_const
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2ee0
mov esp, ebp
pop ebp
ret 4
Function at 0x50b9a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5be9c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
push edi
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x3f8], eax
mov dword [esi + 0x3fc], 0
test ecx, ecx
je 0x50b9e4
push ecx
lea ecx, [esi + 0x38]
call fcn.004ed7f0
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x18]
mov dword [esi + 0x34], eax
test edi, edi
je 0x50ba13
push 0x5bfb4c
mov ecx, 0x5bfb44
call fcn.00509d90
push 0x5bfb40
mov ecx, edi
mov dword [eax], edi
mov eax, dword [edi]
call dword [eax]
inc dword [0x5bfb4c]
mov ecx, dword [esi + 0x3f8]
test ecx, ecx
jne 0x50ba22
mov edi, dword [esi + 0x28]
jmp 0x50ba30
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call sym.xIns.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov edi, eax
lea ecx, [ebp - 0x14]
call sym.xIns.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_
push 1
push 0
sub esp, 0x10
movdqu xmm0, xmmword [eax]
mov ecx, esp
push 0x88
push SysReAllocString
push 0
movdqu xmmword [ecx], xmm0
push edi
mov ecx, esi
call sym.xIns.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU_____int_
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x50ba7c
lea ecx, [ecx]
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x50ba70
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp + 0x14]
mov ecx, esi
push eax
call sym.xIns.exe_public:_void___thiscall_DuiLib::CMenuWnd::AdjustPostion_struct_tagPOINT_const__
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2ee0
mov esp, ebp
pop ebp
ret 0x14
Function at 0x5193e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x5be9c0]
xor eax, ebp
mov dword [ebp - 4], eax
movsd xmm1, qword [ebp + 8]
xorps xmm0, xmm0
comisd xmm0, xmm1
jae 0x51949f
movsd xmm2, qword [ebp + 0x10]
comisd xmm0, xmm2
jae 0x51949f
movsd xmm0, qword [0x586240]
comisd xmm0, xmm1
ja 0x519449
comisd xmm0, xmm2
ja 0x519449
push str.set_dpi_zoom_model_2
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movups xmm0, xmmword [ebp + 8]
movups xmmword [0x5bfb58], xmm0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c2ee0
mov esp, ebp
pop ebp
ret
push str.set_dpi_zoom_model_1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movaps xmm1, xmmword [0x572810]
movaps xmm0, xmm1
movss dword [0x5bfb58], xmm1
shufps xmm0, xmm1, 0x55
movss dword [0x5bfb5c], xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
movss xmm1, dword [0x57281c]
movss dword [0x5bfb60], xmm0
movss dword [0x5bfb64], xmm1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c2ee0
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x572820]
sub esp, 0x10
mov eax, esp
movdqu xmmword [eax], xmm0
lea eax, [ebp - 0x54]
push eax
call fcn.0051a190
push 0x3f
push 0
movdqu xmm0, xmmword [eax]
lea eax, [ebp - 0x43]
mov byte [ebp - 0x44], 0
push eax
movdqu xmmword [ebp - 0x54], xmm0
movdqu xmmword [0x5bfb58], xmm0
call fcn.004c62d0
movdqu xmm1, xmmword [ebp - 0x54]
add esp, 0x10
lea eax, [ebp - 0x44]
movaps xmm0, xmm1
unpckhpd xmm0, xmm1
movsd qword [esp + 8], xmm0
movsd qword [esp], xmm1
push str.set_dpi_zoom_0_:__lf__lf
push 0x40
push eax
call fcn.004c3635
add esp, 0x1c
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c2ee0
mov esp, ebp
pop ebp
ret
Function at 0x51a190
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x5be9c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 0x58
push esi
call edi
movsd xmm1, qword [0x572808]
movsd qword [ebp - 0x4c], xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jbe 0x51a1d9
movsd qword [ebp - 0x54], xmm1
jmp 0x51a1eb
push 0x58
push esi
call edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x54], xmm0
push 0x5a
push esi
call edi
movsd xmm1, qword [0x572808]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
ja 0x51a218
push 0x5a
push esi
call edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x4c], xmm0
push 0x3f
lea eax, [ebp - 0x43]
mov byte [ebp - 0x44], 0
push 0
push eax
call fcn.004c62d0
movsd xmm0, qword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push ecx
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x54]
movsd qword [esp], xmm0
push str.scaling_:__lf__lf
push 0x40
push eax
call fcn.004c3635
add esp, 0x1c
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
movsd xmm0, qword [ebp - 0x54]
divsd xmm0, qword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
movsd qword [eax], xmm0
movsd xmm0, qword [ebp - 0x4c]
divsd xmm0, qword [ebp + 0x14]
movsd qword [eax + 8], xmm0
call fcn.004c2ee0
mov esp, ebp
pop ebp
ret

Function at 0x51a330
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5be9c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x51a42a
movzx eax, word [ebx]
test ax, ax
je 0x51a42a
push edi
mov edi, ebx
mov ecx, ebx
cmp ax, 0x2f
je 0x51a370
cmp ax, 0x5c
jne 0x51a372
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x51a364
cmp edi, ebx
je 0x51a3bf
sub edi, ebx
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push ebx
push eax
call fcn.0053adbe
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x51a43a
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.0051a330
add esp, 8
lea ecx, [ebp - 0x414]
sub ecx, esi
jmp 0x51a3d0
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x51a3d0
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x51a3e2
lea edi, [ebp - 0x414]
sub ebx, esi
add edi, 0xfffffffe
jmp 0x51a400
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x51a400
mov ecx, ebx
lea eax, [ebp - 0x414]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2ee0
mov esp, ebp
pop ebp
ret
call fcn.004c40d5
int3