joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41af1e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x1c4]
call sym.STSGameSDK.exe_public_virtual:_int___thiscall_DuiLib::CListContainerElementUI::GetIndex_void_const
mov edi, dword [ebp + 8]
test eax, eax
jle 0x41af74
push ebx
lea ecx, [esi + 0x1c4]
mov byte [ebp + 0xb], 0
call sym.STSGameSDK.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 edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x41afd2
lea ecx, [esi + 0x1c4]
inc ebx
call sym.STSGameSDK.exe_public_virtual:_int___thiscall_DuiLib::CListContainerElementUI::GetIndex_void_const
cmp ebx, eax
jl 0x41af3d
sub edi, 0x100
je 0x41b038
sub edi, 4
je 0x41afd6
dec edi
dec edi
jne 0x41b02d
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0045390b
pop ecx
mov ecx, dword [esi + 0x144]
lea edx, [ebp + 8]
push reloc.WS2_32.dll_ioctlsocket
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push sym.STSGameSDK.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 0x41b02d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x41b02f
cmp dword [esi + 0x148], 0
je 0x41b02d
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x158]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x15c]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.00419889
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x148]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x41b02d
mov ecx, dword [esi + 0x148]
test ecx, ecx
je 0x41b091
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x41b091
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x41b091
mov ecx, dword [esi + 0x148]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.00452756
pop ecx
pop ecx
test eax, eax
je 0x41b091
mov ecx, dword [esi + 0x148]
call sym.STSGameSDK.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x41b02d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call sym.STSGameSDK.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x41afd2
Function at 0x41bbc3
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx]
je 0x41bbea
cmp esi, dword [ebx + 0x148]
je 0x41bbea
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x148]
cmp esi, eax
je 0x41bcc1
push edi
test eax, eax
je 0x41bc49
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x148]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x148]
call sym.STSGameSDK.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [ebx + 0x148], edi
test esi, esi
je 0x41bcc0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x41bcc0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
test al, al
je 0x41bcc0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x41bcc0
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x148], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x148]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x148]
call sym.STSGameSDK.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41d438
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41d46a
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x423332
Capabilities:
Terminate process

Disassembly:
push 0x1e4
mov eax, 0x46b42d
call fcn.00451fc3
mov edi, ecx
push 0xfffffffffffffff0
call sym.STSGameSDK.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call sym.STSGameSDK.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]
mov ecx, edi
push eax
call sym.STSGameSDK.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]
mov ecx, edi
sub eax, dword [ebp - 0x1c]
push 0x20
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0
call sym.STSGameSDK.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi + 8]
lea ebx, [edi + 0x30]
mov ecx, ebx
call sym.STSGameSDK.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Init_struct_HWND____
lea eax, [edi + 0x28]
mov ecx, ebx
push eax
call sym.STSGameSDK.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddPreMessageFilter_class_DuiLib::IMessageFilterUI__
lea ecx, [ebp - 0x1ec]
call sym.STSGameSDK.exe_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_
mov eax, dword [edi]
lea ecx, [ebp - 0xa4]
and dword [ebp - 4], 0
lea esi, [edi + 0x2c]
push ecx
mov ecx, edi
call dword [eax + 0x24]
push 0
push ebx
push esi
push 0
mov ecx, eax
mov byte [ebp - 4], 1
call sym.STSGameSDK.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x1ec]
call sym.STSGameSDK.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 byte [ebp - 4], 0
mov esi, eax
call sym.STSGameSDK.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x42342d
push 0x10
push str.Duilib
push 0x472508
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov ecx, ebx
call sym.STSGameSDK.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AttachDialog_class_DuiLib::CControlUI__
lea eax, [edi + 0x24]
mov ecx, ebx
push eax
call sym.STSGameSDK.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddNotifier_class_DuiLib::INotifyUI__
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.STSGameSDK.exe_public:_void___thiscall_DuiLib::CMarkup::destructor_void_
xor eax, eax
call fcn.00451f81
ret 0x10
Function at 0x4309a8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4a2300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x1c], 0
je 0x430a15
cmp dword [esi + 0x14], 0
je 0x430a15
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00453210
mov ebx, esp
test ebx, ebx
je 0x430a15
push edi
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x14]
push ebx
add ecx, 0x1b8
call fcn.004154ae
mov ecx, dword [esi + 0x14]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call sym.STSGameSDK.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.0045094b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x436ce5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x109c], edi
je 0x436d4f
cmp dword [ebp + 8], 0x100
jne 0x436d3e
cmp word [ebp + 0xc], 0xd
jne 0x436d3e
cmp byte [esi + 0x10a2], 0
je 0x436d25
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x436d3e
cmp byte [esi + 0x10a3], 0
jne 0x436d3e
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x436d3a
push edi
push edi
push edi
push str.return
push esi
call sym.STSGameSDK.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x436d52
mov eax, dword [esi + 0x109c]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x437332
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4a2300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
cmp esi, 0x4e
jne 0x43735a
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, 8
jne 0x437419
push ebx
push str.SysMonthCal32
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4373d2
push 0x20
pop edi
push edi
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.00451650
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], edi
push eax
push ebx
push 0x100e
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x18], 0x1010003
jne 0x4373c7
xor eax, eax
inc eax
jmp 0x437493
cmp dword [ebp - 0x18], 0x2010003
jne 0x437415
jmp 0x4373bf
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x14]
push eax
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x14]
jl 0x437400
cmp eax, dword [ebp - 0xc]
jg 0x437400
cmp eax, dword [ebp - 0x10]
jl 0x437400
cmp eax, dword [ebp - 8]
jle 0x437415
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 8
call fcn.004375db
mov ebx, eax
mov eax, ebx
jmp 0x437493
mov eax, dword [ebp + 0xc]
mov ecx, 0x101
cmp esi, ecx
jne 0x437487
cmp eax, 0x2e
je 0x437453
cmp eax, 8
je 0x437453
cmp eax, 0x1b
jne 0x437487
push dword [ebp + 0x10]
push eax
push ecx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [edi + 0x14]
mov esi, eax
mov dword [ecx + 0x14dc], 3
jmp 0x437478
push dword [ebp + 0x10]
push eax
push ecx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [edi + 0x14]
mov esi, eax
mov dword [ecx + 0x14dc], 2
mov ecx, dword [edi + 0x14]
call sym.STSGameSDK.exe_public:_void___thiscall_DuiLib::CDateTimeUI::UpdateText_void_
push ebx
push ebx
push 0x10
mov ecx, edi
call sym.STSGameSDK.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_
mov eax, esi
jmp 0x437493
push dword [ebp + 0x10]
mov ecx, edi
push eax
push esi
call sym.STSGameSDK.exe_protected_virtual:_long_int___thiscall_DuiLib::CWindowWnd::HandleMessage_unsigned_int__unsigned_int__long_int_
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045094b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4374a6
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x46bb46
call fcn.00451fc3
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x14], eax
mov dword [eax + 0x14dc], ebx
cmp dword [edi + 8], ebx
jne 0x437538
lea eax, [ebp - 0xa8]
push eax
call fcn.00437101
mov ecx, dword [edi + 0x14]
lea esi, [ebp - 0xa8]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call sym.STSGameSDK.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call sym.STSGameSDK.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov esi, dword [edi + 0x14]
mov ecx, esi
call sym.STSGameSDK.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.STSGameSDK.exe_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetFontInfo_int_
push 1
push dword [eax]
push 0x30
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x14]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call sym.STSGameSDK.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
mov bl, al
call sym.STSGameSDK.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov esi, 0x14cc
test bl, bl
je 0x437577
mov eax, dword [edi + 0x14]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x14]
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x1c], 1
call fcn.00451f81
ret 4
Function at 0x43b9b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4a2300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x1c]
push edi
and dword [ebx + 0x36c], 0
mov edi, dword [ebp + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x368], ecx
mov dword [ebx + 0x370], eax
test ecx, ecx
jne 0x43ba1e
call sym.STSGameSDK.exe_public:_static_class_DuiLib::ObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
test esi, esi
je 0x43ba1e
call sym.STSGameSDK.exe_public:_static_class_DuiLib::ObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea esi, [ebx + 0x14]
call sym.STSGameSDK.exe_public:_static_class_DuiLib::ObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebx + 0x368]
test ecx, ecx
jne 0x43ba3b
mov ecx, edi
jmp 0x43ba42
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call sym.STSGameSDK.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call sym.STSGameSDK.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
mov ecx, ebx
push 0x88
movsd dword es:[edi], dword [esi]
push SysReAllocString
push 0
push dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sym.STSGameSDK.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov esi, dword [ebx + 8]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x43ba85
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x43ba80
push 5
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045094b
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x441879
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4418a5
xor eax, eax
jmp 0x4418ed
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
test eax, eax
je 0x4418ec
push eax
mov dword [ebp - 4], esi
call fcn.00453200
pop ecx
push 0
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [ebx]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp eax, dword [ebx]
je 0x4418ea
push esi
call fcn.00451f05
pop ecx
xor esi, esi
mov eax, esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4418f3
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x8c
mov eax, 0x46c0c5
call fcn.00451fc3
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
call sym.STSGameSDK.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp - 0x94]
call sym.STSGameSDK.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
xor edi, edi
lea ecx, [ebp - 0x94]
push esi
mov dword [ebp - 4], edi
call sym.STSGameSDK.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.STSGameSDK.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44199d
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx], eax
test eax, eax
je 0x44199d
and dword [ebp - 0x98], 0
push eax
call fcn.00453200
pop ecx
push 0
mov esi, eax
lea eax, [ebp - 0x98]
push eax
push dword [ebx]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebx]
je 0x44199f
push esi
call fcn.00451f05
pop ecx
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.STSGameSDK.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov eax, esi
call fcn.00451f81
ret
Function at 0x4419b6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call sym.STSGameSDK.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
je 0x441a33
push ebx
push edi
call sym.STSGameSDK.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push edi
test ebx, ebx
jne 0x4419ef
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x441a04
call sym.STSGameSDK.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
test eax, eax
jne 0x441a08
xor eax, eax
jmp 0x441a32
push esi
push eax
call fcn.00453200
mov esi, eax
mov eax, dword [ebp + 0x10]
pop ecx
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call fcn.00451000
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x443637
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4a2300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4436ed
movzx eax, word [esi]
test ax, ax
je 0x4436ed
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x443677
cmp ax, 0x5c
jne 0x443679
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x44366b
cmp edi, esi
je 0x4436c0
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.00452670
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x4436fd
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00443637
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00451e53
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00451e24
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
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.0045094b
mov esp, ebp
pop ebp
ret
call fcn.00455e10
int3
Function at 0x443cd2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x443d4e
cmp dword [edi + 4], 0xffffffff
jne 0x443d4e
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x475d40
push esi
call fcn.00451e24
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x443d20
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x443d20
mov eax, 0x2000000
jmp 0x443d53
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004461d8
add esp, 0x10
test eax, eax
jne 0x443d3e
mov eax, dword [ebp - 4]
jmp 0x443d53
push eax
call fcn.004468df
mov dword [edi], eax
mov eax, dword [0x4a582c]
pop ecx
jmp 0x443d53
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc