joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45eb80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov ecx, eax
shr ecx, 0x10
push esi
push edi
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x45ebdc
cmp word [eax], 0x3c
lea esi, [ebx + 0x28]
mov ecx, esi
jne 0x45ebc1
push eax
call sym.zSignInstall.exe_public:_bool___thiscall_DuiLib::CMarkup::Load_wchar_t_const__
test al, al
jne 0x45ec6c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push eax
call sym.zSignInstall.exe_public:_bool___thiscall_DuiLib::CMarkup::LoadFromFile_wchar_t_const___int_
test al, al
jne 0x45ec6c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [sym.zSignInstall.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hResourceInstance]
test ecx, ecx
jne 0x45ebec
mov ecx, dword [sym.zSignInstall.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
mov edx, dword [ebp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x45ebb6
mov eax, dword [sym.zSignInstall.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hResourceInstance]
test eax, eax
jne 0x45ec0c
mov eax, dword [sym.zSignInstall.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x45ec2c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [sym.zSignInstall.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hResourceInstance]
test eax, eax
jne 0x45ec3a
mov eax, dword [sym.zSignInstall.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
mov esi, dword [ebp - 4]
push 0
push edi
push eax
add esi, 0x28
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, esi
call sym.zSignInstall.exe_public:_bool___thiscall_DuiLib::CMarkup::LoadFromMem_unsigned_char___unsigned_long_int__int_
test al, al
je 0x45ebb6
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ebx, dword [ebp - 4]
xor eax, eax
cmp dword [esi + 8], eax
jne 0x45ec78
mov dword [ebp - 8], eax
jmp 0x45ec8b
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x20c], eax
mov dword [ebp - 8], esi
sub esp, 0x20c
mov edi, esp
mov ecx, 0x83
lea esi, [ebp - 0x210]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call sym.zSignInstall.exe_public:_int___thiscall_DuiLib::CResourceManager::LoadResource_class_DuiLib::CMarkupNode_
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x461fe0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x69c], 0
je 0x462066
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp edi, 0x100
jne 0x462045
cmp bx, 0xd
jne 0x462045
cmp byte [esi + 0x6a2], 0
je 0x462024
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x462045
cmp byte [esi + 0x6a3], 0
jne 0x462045
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x46203c
push 0
push 0
push 0
push str.return
push esi
call sym.zSignInstall.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x69c]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push ebx
push edi
call edx
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x466620
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x588790]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [esi + 0x10], 0
push ebx
push edi
je 0x4666a6
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0050c0f0
mov ebx, esp
test ebx, ebx
je 0x4666a6
mov ecx, dword [esi + 4]
push edi
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push 0xffffffffffffffff
add ecx, 0x1c8
push ebx
call sym.zSignInstall.exe_public:_void___thiscall_DuiLib::CDuiString::Assign_wchar_t_const___int_
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push 0
push 0
push 0
push str.textchanged
push ecx
call eax
mov ecx, eax
call sym.zSignInstall.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
cmp byte [eax + 0x1f9], 0
je 0x4666a6
mov ecx, dword [esi + 0x10]
call sym.zSignInstall.exe_public:_void___thiscall_DuiLib::CControlUI::Invalidate_void_
xor eax, eax
lea esp, [ebp - 0xc]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00503edf
mov esp, ebp
pop ebp
ret
Function at 0x477ba0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x298
mov eax, dword [0x588790]
xor eax, esp
mov dword [esp + 0x294], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x477be1
xor eax, eax
mov ecx, dword [esp + 0x294]
xor ecx, esp
call fcn.00503edf
mov esp, ebp
pop ebp
ret
push 0xfe
lea ecx, [esp + 0x195]
push 0
push ecx
mov byte [esp + 0x19c], 0
call fcn.00509940
add esp, 0xc
push 0xff
lea edx, [esp + 0x194]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [esp + 0x190]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x477bcd
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov ecx, dword [edx]
mov eax, ecx
shr eax, 8
movzx edx, cl
movzx eax, al
shl edx, 8
add eax, edx
mov edx, ecx
shr edx, 0x10
shl eax, 8
movzx edx, dl
add eax, edx
shr ecx, 0x18
shl eax, 8
add eax, ecx
mov ecx, dword [esp + 0x294]
xor ecx, esp
call fcn.00503edf
mov esp, ebp
pop ebp
ret
Function at 0x477ca0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [0x588790]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
push ebx
mov dword [eax + 0x590], 0
cmp dword [esi + 4], 0
push edi
jne 0x477d6e
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 8
mov dword [esp + 0x10], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x477d45
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x1c]
call edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x134]
push 0
sub ebx, edx
push ebx
sub edi, ecx
push edi
push edx
push ecx
push 0
push 0x40030000
push 0
push eax
mov ecx, esi
call sym.zSignInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 0x558]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call sym.zSignInstall.exe_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetFontInfo_int_
mov ecx, dword [eax]
mov edx, dword [esi + 4]
push 1
push ecx
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x20]
push edx
call eax
mov ecx, dword [eax]
cmp word [ecx], 0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
sete bl
cmp eax, edx
je 0x477d9b
push eax
call fcn.0050567c
add esp, 4
test bl, bl
je 0x477dad
call fcn.00477ba0
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x588], eax
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x588]
mov ecx, dword [esi + 4]
push eax
push 0
push 0x465
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0xac]
pop edi
pop ebx
xor ecx, esp
mov byte [esi + 0x18], 1
call fcn.00503edf
mov esp, ebp
pop ebp
ret 4
Function at 0x477f60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
push esi
call ebx
mov esi, eax
test esi, esi
je 0x477f87
call ebx
cmp eax, dword [edi + 4]
je 0x477feb
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x477f73
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov esi, eax
mov eax, dword [edi + 0x10]
cmp dword [eax + 0x590], 0
jne 0x477fd7
mov edx, dword [edi + 4]
add eax, 0x588
push eax
push 0
push 0x466
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x10]
mov dword [eax + 0x590], 1
mov ecx, dword [edi + 0x10]
call sym.zSignInstall.exe_public:_void___thiscall_DuiLib::CIPAddressUI::UpdateText_void_
mov ecx, dword [edi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
pop esi
mov dword [eax], 1
xor eax, eax
pop ebx
pop ebp
ret 0x10

Function at 0x478c80
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x588790]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ebx, dword [ebp + 0xc]
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
lea eax, [ebx - 0x21]
cmp eax, 0xd
ja case.0x478cbf.41
movzx eax, byte [eax + 0x478d44]
jmp dword [eax*4 + 0x478d3c]
or edi, 0x100
cmp dword [ebp + 0x10], 0
je 0x478cd8
or edi, 0x1000000
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.00509940
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
shl edi, 0x10
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
lea eax, [esi + 4]
xor ecx, ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x20c]
mov word [eax], cx
push edx
mov ecx, esi
mov dword [esi], eax
call sym.zSignInstall.exe_public:_void___thiscall_DuiLib::CDuiString::Assign_wchar_t_const___int_
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00503edf
mov esp, ebp
pop ebp
ret 0xc
Function at 0x479c40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [0x588790]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x10], eax
mov dword [eax + 0x598], 0
cmp dword [esi + 4], 0
push edi
jne 0x479ce3
lea edi, [esp + 0x10]
mov ecx, esi
call fcn.00479d90
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [eax + 0x134]
push 0
sub edx, ecx
push edx
mov edx, dword [esp + 0x18]
sub edi, edx
push edi
push ecx
push edx
push 0
push 0x40000000
push 0
push eax
mov ecx, esi
call sym.zSignInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 0x558]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call sym.zSignInstall.exe_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetFontInfo_int_
mov ecx, dword [eax]
mov edx, dword [esi + 4]
push 1
push ecx
push 0x30
push edx
call ebx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x20]
push edx
call eax
mov ecx, dword [eax]
cmp word [ecx], 0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
sete byte [esp + 0xf]
cmp eax, edx
je 0x479d12
push eax
call fcn.0050567c
add esp, 4
cmp byte [esp + 0xf], 0
je 0x479d28
mov eax, dword [esi + 0x10]
add eax, 0x588
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x588]
add eax, 0x588
mov dword [esi + 0x1a], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x1e], edx
mov ecx, dword [eax + 8]
push eax
mov dword [esi + 0x22], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 4]
push 0
push 0x1002
push eax
mov dword [esi + 0x26], edx
call ebx
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0xac]
pop edi
pop ebx
xor ecx, esp
mov byte [esi + 0x18], 1
call fcn.00503edf
mov esp, ebp
pop ebp
ret 4

Function at 0x47af50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.zSignInstall.exe_public_virtual:_void___thiscall_DuiLib::CListUI::DoEvent_struct_DuiLib::tagTEventUI__
Function at 0x47ba70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esi + 0x2c], edx
mov edx, dword [ebp + 0x24]
push edi
mov dword [esi + 0x760], eax
mov dword [esi + 0x764], 0
mov dword [esi + 0x768], ecx
mov dword [esi + 0x76c], edx
test eax, eax
jne 0x47badf
call sym.zSignInstall.exe_public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push ebx
call eax
mov edi, dword [ebp + 0x1c]
test edi, edi
je 0x47badf
call sym.zSignInstall.exe_public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
push edi
call eax
lea edi, [esi + 0x10]
call sym.zSignInstall.exe_public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push edi
call eax
mov ecx, dword [esi + 0x760]
test ecx, ecx
jne 0x47bb02
mov eax, dword [ebx + 0x134]
jmp 0x47bb0f
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov eax, dword [eax + 0x134]
push 0
push 0
push 0
push 0
push 0
push 0x88
push SysReAllocStringLen
push 0
push eax
mov ecx, esi
call sym.zSignInstall.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____
cmp dword [esi + 0x770], 0
je 0x47bb46
mov ecx, esi
call sym.zSignInstall.exe_public:_unsigned_int___thiscall_DuiLib::CMenuWnd::ShowModal_void_
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x47bb62
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x47bb56
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x47bc40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
xor eax, eax
push edi
mov edi, ecx
mov ebx, dword [edi + 4]
push ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
call esi
test eax, eax
je 0x47bc85
push ebx
call esi
push eax
mov dword [ebp - 4], eax
call esi
mov ebx, dword [ebp - 4]
test eax, eax
jne 0x47bc75
mov eax, dword [edi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x47bdef
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
nop
mov edx, dword [edi + 4]
push edx
call ebx
mov esi, eax
test esi, esi
je 0x47bdac
mov eax, dword [ebp - 0x1c]
cmp eax, 0x201
je 0x47bd7d
cmp eax, 0x202
je 0x47bd7d
cmp eax, 0x203
je 0x47bd7d
cmp eax, 0x204
je 0x47bd7d
cmp eax, 0x205
je 0x47bd7d
cmp eax, 0x206
je 0x47bd7d
cmp eax, 0x207
je 0x47bd7d
cmp eax, 0x208
je 0x47bd7d
cmp eax, 0x209
je 0x47bd7d
cmp eax, 0x20a
je 0x47bd7d
cmp eax, 0x20b
je 0x47bd7d
cmp eax, 0x20c
je 0x47bd7d
cmp eax, 0x20d
je 0x47bd7d
cmp eax, 0xa1
je 0x47bd7d
cmp eax, 0xa2
je 0x47bd7d
cmp eax, 0xa3
je 0x47bd7d
cmp eax, 0xa4
je 0x47bd7d
cmp eax, 0xa5
je 0x47bd7d
cmp eax, 0xa6
je 0x47bd7d
cmp eax, 0xa7
je 0x47bd7d
cmp eax, 0xa8
je 0x47bd7d
cmp eax, 0xa9
jne 0x47bdac
mov eax, dword [ebp - 0x20]
push eax
mov ecx, edi
call sym.zSignInstall.exe_public:_int___thiscall_DuiLib::CMenuWnd::IsMenuWnd_struct_HWND____
test eax, eax
jne 0x47bdac
mov ecx, dword [edi + 4]
push ecx
call ebx
test eax, eax
je 0x47bdaa
mov edx, dword [edi + 4]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [edi + 0x20], 1
xor esi, esi
lea eax, [ebp - 0x20]
push eax
call sym.zSignInstall.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::TranslateMessage_struct_tagMSG__const_
add esp, 4
test al, al
jne 0x47bdd0
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
test esi, esi
je 0x47bdec
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x47bcc0
mov ebx, dword [ebp - 4]
mov eax, dword [edi + 0x76c]
test eax, eax
je 0x47be0e
mov esi, dword [sym.imp.USER32.dll_SetFocus]
push eax
call esi
push ebx
call esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x480fc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov cl, byte [ebp + 8]
mov byte [esi + 0x13], cl
test eax, eax
je 0x48103d
test cl, cl
je 0x480fe5
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
push 0xfffffffffffffff0
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x10000000
jne 0x481008
mov byte [esi + 0x10], 1
jmp 0x481017
test eax, 0x21000000
sete dl
lea edx, [edx + edx + 5]
mov byte [esi + 0x10], dl
test ecx, ecx
je 0x48103c
test eax, 0x21000000
jne 0x48103c
mov eax, dword [esi + 8]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 8]
push ecx
call edi
push eax
mov ecx, esi
call sym.zSignInstall.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
pop edi
pop esi
pop ebp
ret 4
Function at 0x494b70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x494b94
cmp eax, edi
jge 0x494b8c
call fcn.004943e0
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edi, dword [esi + 8]
xor eax, eax
test edi, edi
jle 0x494bbf
mov ecx, dword [esi + 0xc]
mov dl, byte [esi + 0xc]
sub edi, 8
mov byte [ebp + eax - 4], dl
shr ecx, 8
mov ebx, edi
inc eax
mov dword [esi + 0xc], ecx
test ebx, ebx
jg 0x494ba0
mov dword [esi + 8], ebx
cmp eax, 4
jge 0x494bdb
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jb 0x494bcc
xor dl, dl
jmp 0x494bd1
mov dl, byte [ecx]
inc ecx
mov dword [esi], ecx
mov byte [ebp + eax - 4], dl
inc eax
cmp eax, 4
jl 0x494bc2
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp - 2]
movzx ebx, ah
movzx eax, al
shl ebx, 8
add ebx, eax
shl ecx, 8
mov eax, ebx
add ecx, edx
xor eax, 0xffff
cmp ecx, eax
je 0x494c14
mov dword [0x58f2d4], str.zlib_corrupt
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
add ecx, ebx
cmp ecx, dword [esi + 4]
jbe 0x494c30
pop edi
pop esi
mov dword [0x58f2d4], 0x545dc0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
lea edx, [eax + ebx]
cmp edx, dword [esi + 0x18]
jbe 0x494c4a
push ebx
mov edi, esi
call fcn.004944e0
add esp, 4
test eax, eax
je 0x494c0b
mov edi, dword [esi]
mov eax, dword [esi + 0x10]
push ebx
push edi
push eax
call fcn.00509040
mov eax, dword [esi + 0x10]
add edi, ebx
add esp, 0xc
add eax, ebx
mov dword [esi], edi
pop edi
mov dword [esi + 0x10], eax
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a6147
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4a6155
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4a6165
xor al, al
pop ebp
ret
shr eax, 4
and eax, 1
pop ebp
ret

Function at 0x4a616d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4a617b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
pop ebp
ret

Function at 0x4a661b
Capabilities:
Move file

Disassembly:
push 0x44
mov eax, 0x52368a
call fcn.00509809
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x50], 0
cmp dword [esi + 0x14], 8
mov edi, dword [ebp + 8]
jb 0x4a663b
mov ecx, dword [esi]
jmp 0x4a663d
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x4a6647
mov eax, dword [edi]
jmp 0x4a6649
mov eax, edi
xor ebx, ebx
inc ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4a66a3
cmp dword [esi + 0x14], 8
jb 0x4a6661
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x48]
call fcn.004043f0
and dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x50], ebx
jb 0x4a6679
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x2c]
call fcn.004043f0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x50], 3
call fcn.004a661b
pop ecx
pop ecx
mov byte [ebp - 0x49], 0
test al, al
je 0x4a66a6
mov byte [ebp - 0x49], bl
test byte [ebp - 0x50], 2
je 0x4a66bb
and dword [ebp - 0x50], 0xfffffffd
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00401d60
test byte [ebp - 0x50], bl
je 0x4a66cb
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.00401d60
mov al, byte [ebp - 0x49]
call fcn.0050988c
ret