joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4643c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 8], ebx
cmp dword [ebx], 0
jne 0x46456d
cmp dword [ebx + 4], 0xffffffff
jne 0x46456d
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464400
sub ecx, edx
sar ecx, 1
movzx eax, word [ebx + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x464437
cmp eax, 0x2f
je 0x464437
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x464424
mov eax, dword [0x5010bc]
mov dword [edi], eax
mov edi, dword [ebp + 0x10]
cmp edi, 1
jne 0x464461
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x46447c
mov eax, 0x2000000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 2
je 0x464479
cmp edi, 3
je 0x464479
mov eax, 0x10000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 8]
xor ebx, ebx
xor al, al
mov byte [ebp - 1], al
mov byte [ebp + 0x13], bl
cmp edi, 1
je 0x4644c2
cmp edi, 2
jne 0x4644de
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4644bc
mov eax, 0x200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov byte [ebp + 0x13], 1
jmp 0x4644c8
mov ebx, esi
mov byte [ebp + 0x13], 0
push 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
setne al
mov byte [ebp - 1], al
push 0x20
call fcn.004bdd09
add esp, 4
mov esi, eax
cmp edi, 1
je 0x464519
cmp edi, 2
je 0x464519
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov word [esi], 0x100
mov byte [esi + 0x10], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0xc], 0
jmp 0x46454a
mov al, byte [ebp + 0x13]
mov byte [esi + 0x10], al
mov al, byte [ebp - 1]
mov byte [esi], 1
mov byte [esi + 1], al
mov dword [esi + 4], ebx
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
test al, al
je 0x46454a
push 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0xc], eax
mov ecx, esi
call fcn.00463390
mov ecx, dword [ebp - 8]
mov edx, 0x200
mov dword [ecx], eax
xor ecx, ecx
test eax, eax
cmove ecx, edx
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x464be0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
test esi, esi
je 0x464c12
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x464c12
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x464cfc
push edi
mov edi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x464c31
cmp dx, 0x5c
jne 0x464c33
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x464c25
cmp edi, ebx
je 0x464c7e
sub edi, ebx
lea eax, [ebp - 0x414]
and edi, 0xfffffffe
push edi
push ebx
push eax
call fcn.004c0b40
add esp, 0xc
cmp edi, 0x208
jae 0x464d0c
xor eax, eax
lea edx, [ebp - 0x414]
mov ecx, esi
mov word [ebp + edi - 0x414], ax
call fcn.00464be0
xor eax, eax
mov word [ebp - 0x20c], ax
test esi, esi
je 0x464ca3
lea ecx, [ebp - 0x20c]
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x464c93
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x464ca5
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x464cc0
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
cmp eax, 0xffffffff
jne 0x464cfc
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
call fcn.004bdc2f
int3
Function at 0x46db27
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x120]
mov edi, dword [ebp + 8]
test al, al
jne 0x46db60
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x46db60
mov ecx, dword [esi + 0x568]
push edi
test ecx, ecx
je 0x46dc33
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x46dc3a
mov ecx, dword [esi + 0x568]
test ecx, ecx
je 0x46dbc3
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x46dbc3
cmp dword [edi], 0xf
jne 0x46dbc3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x118]
test al, al
je 0x46dc3a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea esi, [esi + 0x558]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x46dbbc
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
push eax
call dword [edi + 0x18]
jmp 0x46dc3a
push 1
call dword [edi + 0x14]
jmp 0x46dc3a
cmp dword [edi], 0xd
je 0x46db7d
cmp dword [edi], 0xe
jne 0x46dbf0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x118]
test al, al
je 0x46dc3a
mov ecx, dword [esi + 0x44]
xor eax, eax
push eax
push eax
push eax
push str.itemclick
push esi
call sym.360huabaosetup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
jmp 0x46dc3a
cmp dword [edi], 9
je 0x46dc3a
cmp dword [edi], 0xb
jne 0x46dc18
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x118]
test al, al
je 0x46dc3a
or dword [esi + 0x564], 8
mov ecx, esi
call sym.360huabaosetup.exe_public:_void___thiscall_DuiLib::CListContainerElementUI::Invalidate_void_
jmp 0x46dc3a
cmp dword [edi], 0xa
jne 0x46dc32
mov eax, dword [esi + 0x564]
test al, 8
je 0x46dc3a
and eax, 0xfffffff7
mov dword [esi + 0x564], eax
jmp 0x46dc0f
push edi
mov ecx, esi
call sym.360huabaosetup.exe_public_virtual:_void___thiscall_DuiLib::CListElementUI::DoEvent_struct_DuiLib::tagTEventUI__
pop edi
pop esi
pop ebp
ret 4
Function at 0x473b16
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x210], ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x21
jb 0x473b64
cmp esi, 0x28
jbe 0x473b5e
lea eax, [esi - 0x2d]
cmp eax, 1
ja 0x473b64
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c05c0
add esp, 0xc
shl edi, 0x10
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call sym.360huabaosetup.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
leave
ret
Function at 0x473e3b
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x4e3b6c
call fcn.004be65b
mov esi, ecx
mov dword [ebp - 0x98], esi
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
test eax, eax
je 0x473f58
lea eax, [ebp - 0xa8]
push eax
call sym.360huabaosetup.exe_public:_struct_tagRECT___thiscall_DuiLib::CHotKeyWnd::CalPos_void_
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call sym.360huabaosetup.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
xor ecx, ecx
lea esi, [ebp - 0xa8]
push ecx
sub esp, 0x10
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
push 0x40000080
push ecx
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x98]
mov ecx, edi
call sym.360huabaosetup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x473f58
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [edi + 0x10]
mov esi, eax
call sym.360huabaosetup.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
push eax
mov ecx, esi
call sym.360huabaosetup.exe_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetFontInfo_int_
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
movzx eax, word [ecx + 0x7ae]
push eax
movzx eax, word [ecx + 0x7ac]
mov ecx, edi
push eax
call sym.360huabaosetup.exe_public:_void___thiscall_DuiLib::CHotKeyWnd::SetHotKey_unsigned_short_int__unsigned_short_int_
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call sym.360huabaosetup.exe_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CHotKeyWnd::GetHotKeyName_void_
mov ecx, dword [edi + 0x10]
and dword [ebp - 4], 0
add ecx, 0x1d4
push eax
call fcn.00477762
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.360huabaosetup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x118]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.004be616
ret 4
Function at 0x4752a6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x475330
cmp dword [esi + 0x10], 0
je 0x475330
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004beac0
mov ebx, esp
test ebx, ebx
je 0x475330
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1d4
call fcn.004777f0
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
xor ecx, ecx
push ecx
push ecx
push ecx
push str.textchanged
push dword [esi + 0x10]
mov ecx, eax
call sym.360huabaosetup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call sym.360huabaosetup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::IsLayered_void_
test al, al
je 0x475330
mov ecx, dword [esi + 0x10]
call sym.360huabaosetup.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.004bdaf8
leave
ret 0x10

Function at 0x47ab38
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x47abd6
push esi
mov esi, 0xff
push esi
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004c05c0
add esp, 0xc
lea eax, [ebp - 0x104]
push esi
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
pop esi
test eax, eax
je 0x47abd6
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.004c0b40
mov ecx, dword [ebp - 0x298]
add esp, 0xc
movzx eax, cl
shl eax, 8
movzx ecx, ch
add eax, ecx
movzx ecx, byte [ebp - 0x296]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x295]
shl eax, 8
add eax, ecx
jmp 0x47abd8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
leave
ret
Function at 0x47d8f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x54c384]
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.004c05c0
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.360huabaosetup.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.004bdaf8
leave
ret

Function at 0x47ec74
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 1
cmovs esi, ecx
call edi
test ax, ax
jns 0x47ec97
or esi, 1
push 2
call edi
test ax, ax
jns 0x47eca3
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x47ecaf
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x47ecbb
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x4839eb
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi + 0xa8]
mov esi, dword [ebp + 8]
cmp eax, ecx
je 0x483a17
cmp esi, dword [edi + 0x108]
je 0x483a17
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x108]
cmp esi, eax
je 0x483afd
test eax, eax
je 0x483a7e
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0x17
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x14c]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x108]
call sym.360huabaosetup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
and dword [edi + 0x108], 0
test esi, esi
je 0x483afd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x483afd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x483afd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x118]
test al, al
je 0x483afd
xorps xmm0, xmm0
mov dword [edi + 0x108], esi
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x14c]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x108]
call sym.360huabaosetup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
leave
ret 4
Function at 0x48967c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.360huabaosetup.exe_public_virtual:_void___thiscall_DuiLib::CListUI::DoEvent_struct_DuiLib::tagTEventUI__
Function at 0x48c7e5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push ebx
mov ecx, eax
mov dword [ebp - 0x214], edx
push esi
mov esi, dword [ebp + 0xc]
shr ecx, 0x10
push edi
test cx, cx
je 0x48c84d
cmp word [eax], 0x3c
lea ebx, [edx + 0x28]
mov ecx, ebx
jne 0x48c83f
push eax
call sym.360huabaosetup.exe_public:_bool___thiscall_DuiLib::CMarkup::Load_wchar_t_const__
test al, al
jne 0x48c8b1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
leave
ret 8
push 0
push eax
call sym.360huabaosetup.exe_public:_bool___thiscall_DuiLib::CMarkup::LoadFromFile_wchar_t_const___int_
test al, al
je 0x48c82c
jmp 0x48c8b1
push esi
push eax
call sym.360huabaosetup.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 0x48c82c
push edi
call sym.360huabaosetup.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 0x48c87d
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x48c82c
call sym.360huabaosetup.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, dword [ebp - 0x214]
push 0
push esi
add ebx, 0x28
push eax
mov ecx, ebx
call sym.360huabaosetup.exe_public:_bool___thiscall_DuiLib::CMarkup::LoadFromMem_unsigned_char___unsigned_long_int__int_
test al, al
je 0x48c82c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call sym.360huabaosetup.exe_public:_class_DuiLib::CMarkupNode___thiscall_DuiLib::CMarkup::GetRoot_void_
sub esp, 0x20c
mov esi, eax
mov edi, esp
mov ecx, 0x83
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x214]
call sym.360huabaosetup.exe_public:_int___thiscall_DuiLib::CResourceManager::LoadResource_class_DuiLib::CMarkupNode_
jmp 0x48c82e
Function at 0x49707c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x6c4], edi
je 0x4970e6
cmp dword [ebp + 8], 0x100
jne 0x4970d5
cmp word [ebp + 0xc], 0xd
jne 0x4970d5
cmp byte [esi + 0x6ca], 0
je 0x4970bc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4970d5
cmp byte [esi + 0x6cb], 0
jne 0x4970d5
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4970d1
push edi
push edi
push edi
push str.return
push esi
call sym.360huabaosetup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x4970e9
mov eax, dword [esi + 0x6c4]
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 0x4a1a45
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov cl, byte [ebp + 8]
mov eax, dword [esi + 8]
mov byte [esi + 0x13], cl
test eax, eax
je 0x4a1abe
test cl, cl
je 0x4a1a67
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4a1abe
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
mov edx, 0x10000000
test edx, ecx
jne 0x4a1a88
mov byte [esi + 0x10], 1
jmp 0x4a1a98
and eax, 0x21000000
neg eax
sbb al, al
and al, 0xfe
add al, 7
mov byte [esi + 0x10], al
and ecx, 0x31000000
cmp ecx, edx
jne 0x4a1abe
push 4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, esi
call sym.360huabaosetup.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
pop esi
pop ebp
ret 4
Function at 0x4a4268
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 0x4a4317
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 0x4a431b
cmp dword [ebp - 0x1c], 0x10
jne 0x4a42e6
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 4]
jne 0x4a42e6
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.360huabaosetup.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::TranslateMessage_struct_tagMSG__const_
pop ecx
test al, al
jne 0x4a4308
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 0x4a431b
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4a42b3
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 0x4a4339
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x4a433e
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 0x4a4370
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