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

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jns 0x47adfe
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x47ae0a
or edi, 1
push 1
call esi
test ax, ax
jns 0x47ae16
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x47ae22
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x47ae2e
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x47af8e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5441b4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004be120
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004b6111
leave
ret

Function at 0x47d940
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x47d968
cmp ebx, dword [esi + 0x148]
je 0x47d968
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x148]
cmp ebx, eax
je 0x47da3f
push edi
test eax, eax
je 0x47d9c7
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], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x148]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x148]
mov ecx, esi
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [esi + 0x148], edi
test ebx, ebx
je 0x47da3e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x47da3e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x47da3e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x47da3e
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x148], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x148]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x148]
mov ecx, esi
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x47e006
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x1c4]
xor ebx, ebx
call sym.WEMediaSetup.exe_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
test eax, eax
jle 0x47e05b
push ebx
lea ecx, [esi + 0x1c4]
mov byte [ebp - 1], 0
call sym.WEMediaSetup.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x47e0bf
lea ecx, [esi + 0x1c4]
inc ebx
call sym.WEMediaSetup.exe_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
cmp ebx, eax
jl 0x47e022
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x47e124
sub eax, 4
je 0x47e0c3
dec eax
dec eax
jne 0x47e11b
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.004be975
pop ecx
mov ecx, dword [esi + 0x144]
push VariantTimeToDosDateTime
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push sym.WEMediaSetup.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 0x47e11b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x47e11d
cmp dword [esi + 0x148], 0
je 0x47e11b
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x158]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x15c]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.0047ade8
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x148]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x47e11b
cmp dword [esi + 0x148], 0
je 0x47e182
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x47e182
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x47e182
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.004b90cf
pop ecx
pop ecx
test eax, eax
je 0x47e182
mov ecx, dword [esi + 0x148]
call sym.WEMediaSetup.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x47e11b
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call sym.WEMediaSetup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x47e0bf
Function at 0x480695
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4806a3
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x48075e
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4fc2a8]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4fc2a8]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4fc2a8]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4fc2a8]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4fc2a8]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4fc2a8]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4fc2a8]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4fc2a8]
add edx, 8
sub edi, 8
dec esi
jne 0x4806c1
pop ebx
test edi, edi
je 0x480777
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x4fc2a8]
inc edx
dec edi
jne 0x480762
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x480c3e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x480c72
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x480c6d
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x480c9a
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x480c83
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.004ba8a0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x481c18
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5441b4]
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 0x481cc0
movzx ecx, word [esi]
test cx, cx
je 0x481cc0
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x481c53
cmp cx, 0x5c
jne 0x481c55
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x481c47
cmp eax, esi
je 0x481c94
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004b917d
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00481c18
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004be29f
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004be26e
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b6111
leave
ret
Function at 0x483526
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4835a1
cmp dword [esi + 4], 0xffffffff
jne 0x4835a1
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x50b670
push edi
call fcn.004be26e
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x483573
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x483573
mov eax, 0x2000000
jmp 0x4835a6
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00480a4b
add esp, 0x10
test eax, eax
jne 0x483591
mov eax, dword [ebp + 0x10]
jmp 0x4835a6
push eax
call fcn.00483115
mov dword [esi], eax
mov eax, dword [0x5468ac]
pop ecx
jmp 0x4835a6
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x48aca5
Capabilities:
Terminate process

Disassembly:
push 0x1e4
mov eax, 0x4e5e83
call fcn.004bb0e7
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 0x48adab
push 0x10
push str.Duilib
push 0x4fd4e4
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.004bb16a
ret 0x10
Function at 0x49401f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x5441b4]
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 0x494090
cmp dword [esi + 0x10], ebx
je 0x494090
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004be2c0
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x494090
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.0047a2c4
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.004b6111
leave
ret 0x10

Function at 0x498873
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 0x4988db
cmp dword [ebp + 8], 0x100
jne 0x4988ca
cmp word [ebp + 0xc], 0xd
jne 0x4988ca
cmp byte [esi + 0x10be], bl
je 0x4988b1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4988ca
cmp byte [esi + 0x10bf], bl
jne 0x4988ca
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x4988c6
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 0x4988de
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 0x49ae58
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5441b4]
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 0x49ae83
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp edi, 8
jne 0x49af50
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 0x49af0a
push 0x20
pop esi
push esi
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.004be120
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 0x49aeed
xor eax, eax
inc eax
jmp 0x49aef9
cmp dword [ebp - 0x18], 0x2010003
je 0x49aee8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b6111
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 0x49af38
cmp eax, dword [ebp - 0xc]
jg 0x49af38
cmp eax, dword [ebp - 0x10]
jl 0x49af38
cmp eax, dword [ebp - 8]
jle 0x49aef6
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push 8
call fcn.0049abec
mov dword [ebp - 0x28], eax
jmp 0x49aef6
mov ecx, dword [ebp + 0xc]
mov eax, 0x101
cmp edi, eax
jne 0x49afc1
cmp ecx, 0x2e
je 0x49af66
cmp ecx, 8
jne 0x49af9d
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 0x49aef9
cmp ecx, 0x1b
jne 0x49afc1
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 0x49af8b
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 0x49aef9
Function at 0x49f887
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5441b4]
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 0x49f8ef
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 0x49f8ef
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 0x49f90c
mov ecx, edi
jmp 0x49f913
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 0x49f956
push edi
call esi
mov edi, eax
push edi
call esi
test eax, eax
jne 0x49f951
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.004b6111
leave
ret 0x1c
Function at 0x4a9b12
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x90
mov eax, 0x4e71c8
call fcn.004bb0e7
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 0x4a9b89
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.004bb16a
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi], eax
cmp eax, edi
je 0x4a9b72
push eax
mov dword [ebp - 0x9c], edi
call fcn.0046fc33
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 0x4a9bec
push dword [ebp - 0x98]
call fcn.004b77c3
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 0x4a9b83
mov edi, dword [ebp - 0x98]
jmp 0x4a9bd9

Function at 0x4a9d89
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 0x4a9daa
xor eax, eax
jmp 0x4a9e08
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 0x4a9dc7
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4a9da6
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 0x4a9e07
push ebx
push eax
call fcn.0046fc33
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.004ba8a0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop ebx
pop esi
pop edi
leave
ret