joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d650
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3b6b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x509380]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x430], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40d6a2
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x424], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0049e980
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 0x42c], 0
push 0
push eax
call fcn.0049e980
add esp, 0x18
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x40d70e
mov esi, 0x80004005
jmp 0x40d804
lea eax, [ebp - 0x424]
push eax
push 0x4c7700
push 1
push 0
push 0x4c7710
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x40d804
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x428], 0
test eax, eax
je 0x40d76c
mov ecx, dword [eax]
lea edx, [ebp - 0x428]
push edx
push 0x4c769c
push eax
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x424]
jns 0x40d76c
mov dword [ebp - 0x428], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x218]
push edx
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x50]
mov esi, eax
test esi, esi
js 0x40d7f0
mov eax, dword [ebp - 0x424]
mov ecx, 0x4e58c4
mov esi, dword [ebp - 0x430]
test esi, esi
cmovne ecx, esi
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
js 0x40d7f0
test ebx, ebx
je 0x40d7bf
mov eax, dword [ebp - 0x424]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov esi, eax
test esi, esi
js 0x40d7f0
push 0x104
push edi
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004a7fe5
mov eax, dword [ebp - 0x428]
lea edx, [ebp - 0x420]
add esp, 0x10
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x428]
mov byte [ebp - 4], 0
test eax, eax
je 0x40d804
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x40d81b
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
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.0049cd8d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40dc30
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x509380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
mov dword [ebp - 0x828], esi
call edi
test eax, eax
je 0x40ddd4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebx
test eax, eax
jne 0x40ddd3
push 0x208
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.0049e980
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0049e980
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0049e980
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.0049e980
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004a0e63
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0049f34d
add esp, 0x2c
test eax, eax
jne 0x40dd0d
lea eax, [ebp - 0x20c]
push 0x2f
push eax
call fcn.0049f34d
add esp, 8
test eax, eax
je 0x40dd25
add eax, 2
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.004a0e63
add esp, 0xc
xor esi, esi
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0049e980
add esp, 0xc
lea eax, [ebp - 0x824]
test esi, esi
jne 0x40dd6e
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._s_s.del
push eax
call fcn.004035d0
add esp, 0x10
jmp 0x40dd8b
push esi
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._s_s.del_d
push eax
call fcn.004035d0
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x40ddad
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x40ddad
cmp esi, 0xa
jge 0x40ddd3
inc esi
jmp 0x40dd30
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x828]
call fcn.004a0eed
add esp, 8
lea eax, [ebp - 0x20c]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049cd8d
mov esp, ebp
pop ebp
ret 4
Function at 0x40f050
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3d9d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x509380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x4c7614
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00409f50
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x29]
call fcn.0040a230
mov ecx, eax
call fcn.0049d280
movsd xmm1, qword [0x4c76e8]
comisd xmm1, xmm0
jbe 0x40f0e0
push 1
push 0x4c7618
push 0x4c7620
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
je 0x40f148
mov ecx, dword [esi + 0x6e4]
test ecx, ecx
je 0x40f0f4
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x6e8]
test ecx, ecx
je 0x40f108
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x6ec]
test ecx, ecx
je 0x40f11c
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
push 0
push 0
push esi
push 0x40e5b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esi + 0x6c4]
lea ecx, [esi + 0x6c4]
push 0x4e58ae
push 0x7eb
call dword [eax]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40f178
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f16e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f192
push ecx
push edx
call fcn.0049ce1b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049cd8d
mov esp, ebp
pop ebp
ret
call fcn.004a746a
int3

Function at 0x41231c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x509380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.0049e980
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call sym.Install.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.0049cd8d
leave
ret

Function at 0x413334
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
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x413357
or esi, 2
push 1
call edi
test ax, ax
jns 0x413363
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x41336f
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x41337b
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x416bd6
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]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x416c11
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x416c11
cmp esi, dword [edi + 0xe8]
je 0x416c11
cmp byte [edi + 0xe0], 0
jne 0x416c11
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x416cf9
test eax, eax
je 0x416c79
and dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0xe8]
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
and dword [edi + 0xe8], 0
test esi, esi
je 0x416cf9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x416cf9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x416cf9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x416cf9
and dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0xe8], esi
movlpd qword [ebp - 0x14], xmm0
movlpd 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 + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0xe8]
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
pop edi
pop esi
leave
ret 8
Function at 0x418a5d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 7
pop ecx
push dword [ebx + 4]
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_SetFocus]
jmp 0x418b0c
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x418b10
cmp dword [ebp - 0x1c], 0x10
jne 0x418adb
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 4]
jne 0x418adb
mov eax, dword [ebp - 0x18]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
lea eax, [ebp - 0x20]
push eax
call sym.Install.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::TranslateMessage_struct_tagMSG__const_
pop ecx
test al, al
jne 0x418afd
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
je 0x418b10
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x418aa8
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
cmp dword [ebp - 0x1c], 0x12
pop edi
pop esi
pop ebx
jne 0x418b2e
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x418b33
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 0x418b65
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 + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x41cdcc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x509380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call sym.Install.exe_protected:_static_class_CWndShadow____cdecl_CWndShadow::FindShadowWindow_struct_HWND____
mov ebx, dword [ebp + 0x14]
mov esi, eax
mov eax, dword [ebp + 0xc]
dec eax
pop ecx
mov ecx, dword [ebp + 0x10]
sub eax, 1
je 0x41cf76
sub eax, 1
je 0x41cf27
dec eax
sub eax, 1
je 0x41cec4
sub eax, 0xa
je 0x41cea9
sub eax, 9
je 0x41ce67
sub eax, 0x6a
je 0x41ce46
sub eax, 0x1b0
jne 0x41cf7f
test byte [esi + 0xc], 2
je 0x41cf7f
push edi
mov ecx, esi
call sym.Install.exe_protected:_void___thiscall_CWndShadow::Update_struct_HWND____
jmp 0x41cf7f
push edi
call sym.Install.exe_protected:_static_int___cdecl_CWndShadow::GetShadowWindowIndex_struct_HWND____
pop ecx
test eax, eax
js 0x41cf7f
push 1
push eax
mov ecx, sym.Install.exe_class_DuiLib::CDuiValArray_CWndShadow::s_ShadowArray
call sym.Install.exe_public:_bool___thiscall_DuiLib::CDuiValArray::Remove_int__int_
jmp 0x41cf7f
mov al, byte [esi + 0xc]
test al, 1
je 0x41cf7f
test ecx, ecx
jne 0x41ce89
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0xc], 0xf9
jmp 0x41cf7f
test al, 4
jne 0x41cf7f
push 8
push dword [esi + 4]
mov byte [esi + 0x18], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0xc], 6
jmp 0x41cf7f
cmp byte [esi + 0x18], 0
je 0x41cf7f
push edi
mov ecx, esi
call sym.Install.exe_protected:_void___thiscall_CWndShadow::Update_struct_HWND____
mov byte [esi + 0x18], 0
jmp 0x41cf7f
mov al, byte [esi + 0xc]
test al, 1
je 0x41cf7f
cmp ecx, 2
je 0x41cf13
cmp ecx, 1
je 0x41cf13
test al, 4
je 0x41cf22
cmp bx, word [esi + 0x14]
ja 0x41cef8
mov eax, ebx
shr eax, 0x10
cmp ax, word [esi + 0x16]
ja 0x41cef8
push edi
mov ecx, esi
call sym.Install.exe_protected:_void___thiscall_CWndShadow::Update_struct_HWND____
jmp 0x41cefc
mov byte [esi + 0x18], 1
test byte [esi + 0xc], 2
jne 0x41cf22
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0xc], 2
jmp 0x41cf22
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0xc], 0xfd
mov dword [esi + 0x14], ebx
jmp 0x41cf7f
test byte [esi + 0xc], 2
je 0x41cf7f
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
xor edx, edx
push 0x15
push edx
push edx
cmp dword [esi + 0x20], edx
je 0x41cf52
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0x28]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [esi + 0x24]
jmp 0x41cf69
movsx ecx, byte [esi + 0xf]
movsx eax, byte [esi + 0x11]
sub eax, ecx
add eax, dword [ebp - 0x10]
push eax
movsx eax, byte [esi + 0x10]
sub eax, ecx
add eax, dword [ebp - 0x14]
push eax
push edx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x41cf7f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [esi + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049cd8d
leave
ret 0x10
Function at 0x4335fa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x694], edi
je 0x433666
cmp dword [ebp + 8], 0x100
jne 0x433655
cmp word [ebp + 0xc], 0xd
jne 0x433655
cmp byte [esi + 0x69a], 0
je 0x43363a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x433655
cmp byte [esi + 0x69b], 0
jne 0x433655
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x433651
push 1
push edi
push edi
push edi
push str.return
push esi
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
xor eax, eax
jmp 0x433669
mov eax, dword [esi + 0x694]
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 0x433a6d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x509380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x433b58
movzx eax, word [ebx]
test ax, ax
je 0x433b58
push esi
mov esi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x433aaf
cmp dx, 0x5c
jne 0x433ab1
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x433aa3
cmp esi, ebx
je 0x433afe
sub esi, ebx
lea eax, [ebp - 0x20c]
sar esi, 1
push esi
push ebx
push eax
call fcn.004ae440
add esi, esi
add esp, 0xc
cmp esi, 0x208
jae 0x433b66
xor eax, eax
mov word [ebp + esi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00433a6d
pop ecx
pop ecx
lea ecx, [ebp - 0x414]
sub ecx, edi
movzx eax, word [edi]
mov word [ecx + edi], ax
lea edi, [edi + 2]
test ax, ax
jne 0x433b06
mov esi, ebx
xor edx, edx
mov ax, word [ebx]
add ebx, 2
cmp ax, dx
jne 0x433b19
lea edi, [ebp - 0x414]
sub ebx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, dx
jne 0x433b2f
mov ecx, ebx
lea eax, [ebp - 0x414]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0049cd8d
leave
ret
call fcn.0049ccb2
int3
Function at 0x4340e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jne 0x43416f
cmp dword [esi + 4], 0xffffffff
jne 0x43416f
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
sub edi, 2
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bx
jne 0x434112
cmp dword [ebp + 0x10], 1
mov eax, dword [0x4c7194]
mov dword [edi], eax
pop edi
jne 0x434141
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x434141
mov eax, 0x2000000
jmp 0x434174
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043666f
add esp, 0x10
test eax, eax
jne 0x43415f
mov eax, dword [ebp - 4]
jmp 0x434174
push eax
call fcn.00436d97
mov dword [esi], eax
mov eax, dword [0x50d44c]
pop ecx
jmp 0x434174
mov eax, 0x1000000
pop esi
pop ebx
leave
ret 0xc
Function at 0x43677c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x4367af
push 0
lea eax, [ebp + 0x10]
push eax
push ecx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4367aa
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4367d9
mov edx, dword [edi + 0x18]
push esi
mov esi, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x14]
cmovbe esi, ecx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.0049e400
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
pop esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret

Function at 0x436967
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x436975
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x436a34
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce918]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce918]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce918]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce918]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce918]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce918]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce918]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce918]
sub edi, 1
jne 0x43698d
pop edi
test esi, esi
je 0x436a50
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ce918]
inc edx
sub esi, 1
jne 0x436a38
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x449ba3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x509380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call sym.Install.exe_public_virtual:_void___thiscall_DuiLib::CControlUI::Move_struct_tagSIZE__bool_
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x449c1f
lea eax, [ebp - 0x14]
push eax
call fcn.00449151
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6d8]
test eax, eax
je 0x449bfb
push 0
call sym.Install.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x449c1f
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call sym.Install.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0049cd8d
leave
ret 0xc

Function at 0x449c2e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x509380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x449cb8
cmp dword [esi + 0x10], 0
je 0x449cb8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0049d620
mov ebx, esp
test ebx, ebx
je 0x449cb8
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1e4
call fcn.0040ff3b
mov ecx, dword [esi + 0x10]
xor eax, eax
push 1
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call sym.Install.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::IsLayered_void_
test al, al
je 0x449cb8
mov ecx, dword [esi + 0x10]
call sym.Install.exe_public:_void___thiscall_DuiLib::CControlUI::Invalidate_void_
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049cd8d
leave
ret 0x10
Function at 0x44a561
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x509380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sym.Install.exe_public_virtual:_void___thiscall_DuiLib::CControlUI::SetPos_struct_tagRECT__bool_
mov ecx, dword [ebx + 0x6d8]
test ecx, ecx
je 0x44a5e5
lea eax, [ebp - 0x14]
push eax
call fcn.00449151
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6d8]
test eax, eax
je 0x44a5c1
push 0
call sym.Install.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44a5e5
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call sym.Install.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049cd8d
leave
ret 0x14