joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42dc36
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x894]
sub esp, 0x914
mov eax, dword [0x56f8f4]
xor eax, ebp
mov dword [ebp + 0x890], eax
push ebx
push esi
mov esi, dword [ebp + 0x89c]
push edi
xor ebx, ebx
push 0xff
lea eax, [ebp + 0x791]
push ebx
push eax
or edi, 0xffffffff
mov dword [ebp - 0x74], ebx
mov byte [ebp + 0x790], bl
call fcn.004c3b30
push esi
lea eax, [ebp + 0x790]
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
push eax
call fcn.004c3cc6
add esp, 0x18
lea eax, [ebp - 0x74]
push eax
push 0x20019
push ebx
lea eax, [ebp + 0x790]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42dd47
push 0x7fe
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push ebx
push eax
call fcn.004c3b30
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push str.PnpInstanceID
push dword [ebp - 0x74]
mov dword [ebp - 0x7c], 0x800
call esi
test eax, eax
jne 0x42dd3e
push 3
push 0x5186b0
lea eax, [ebp - 0x70]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_StrIsIntlEqualW]
test eax, eax
je 0x42dd3e
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push str.MediaSubType
push dword [ebp - 0x74]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], 4
call esi
cmp eax, 2
je 0x42dd3c
cmp eax, ebx
jne 0x42dd3e
cmp dword [ebp - 0x78], 1
je 0x42dd3c
cmp dword [ebp - 0x78], 2
jne 0x42dd3e
xor edi, edi
inc edi
jmp 0x42dd3e
xor edi, edi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x890]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c3202
add ebp, 0x894
leave
ret
Function at 0x42ee9c
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x42ede2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
pop esi
test eax, eax
je 0x42eecb
cmp eax, 0xffffffff
je 0x42eecb
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret

Function at 0x42ef4c
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x43e78e
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
jge 0x43e7a4
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x43e7b0
or edi, 1
push 1
call esi
test ax, ax
jge 0x43e7bc
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x43e7c8
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x43e7d4
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x43e9aa
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x56f8f4]
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.004c3b30
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.tpop4.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.004c3202
leave
ret

Function at 0x442c7a
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 + 0xb4]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x442ca6
cmp ebx, dword [esi + 0x1f4]
je 0x442ca6
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x1f4]
cmp ebx, eax
je 0x442d7d
push edi
test eax, eax
je 0x442d05
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x17
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x1f4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x12c]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x1f4]
mov ecx, esi
call sym.tpop4.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [esi + 0x1f4], edi
test ebx, ebx
je 0x442d7c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x442d7c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test al, al
je 0x442d7c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf8]
test al, al
je 0x442d7c
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x1f4], ebx
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x1f4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x12c]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x1f4]
mov ecx, esi
call sym.tpop4.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 0x443542
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x2a4]
mov ecx, edi
xor ebx, ebx
call sym.tpop4.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x443591
push ebx
mov ecx, edi
mov byte [ebp - 1], 0
call sym.tpop4.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 0x4435f5
mov ecx, edi
inc ebx
call sym.tpop4.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x443560
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x44365a
sub eax, 4
je 0x4435f9
dec eax
dec eax
jne 0x443651
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.004ca3c3
pop ecx
mov ecx, dword [esi + 0x1f0]
push reloc.WS2_32.dll_select
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push sym.tpop4.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
call dword [eax + 0x120]
mov esi, eax
test esi, esi
je 0x443651
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x114]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x443653
cmp dword [esi + 0x1f4], 0
je 0x443651
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 + 0x204]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x208]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.0043e78e
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x1f4]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x12c]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x443651
cmp dword [esi + 0x1f4], 0
je 0x4436b8
mov ecx, dword [esi + 0x1f4]
mov eax, dword [ecx]
call dword [eax + 0xec]
test al, al
je 0x4436b8
mov ecx, dword [esi + 0x1f4]
mov eax, dword [ecx]
call dword [eax + 0xf8]
test al, al
je 0x4436b8
mov ecx, dword [esi + 0x1f4]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.004c4461
pop ecx
pop ecx
test eax, eax
je 0x4436b8
mov ecx, dword [esi + 0x1f4]
call sym.tpop4.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x443651
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
mov ecx, esi
call sym.tpop4.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x4435f5
Function at 0x4489b8
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov cl, byte [esp + 8]
mov byte [esi + 0x13], cl
test eax, eax
je 0x448a34
test cl, cl
je 0x4489d8
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x448a34
push ebx
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
mov ebx, 0x21000000
jne 0x448a01
mov byte [esi + 0x10], 1
jmp 0x448a12
mov edx, eax
and edx, ebx
neg edx
sbb dl, dl
and dl, 0xfe
add dl, 7
mov byte [esi + 0x10], dl
test ecx, ecx
je 0x448a32
test ebx, eax
jne 0x448a32
push 4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 8]
call edi
push eax
mov ecx, esi
call sym.tpop4.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
pop edi
pop ebx
pop esi
ret 4
Function at 0x4513b5
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x100]
test al, al
mov eax, dword [esp + 8]
jne 0x4513ed
mov ecx, dword [eax]
cmp ecx, 8
jle 0x4513ed
cmp ecx, 0x16
jge 0x4513ed
mov ecx, dword [esi + 0x4c8]
push eax
test ecx, ecx
je 0x4514b0
mov edx, dword [ecx]
call dword [edx + 0x14]
jmp 0x4514b7
mov ecx, dword [eax]
cmp ecx, 0xd
jne 0x451447
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x4514b7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x451438
add esi, 0x4b8
push edi
mov edi, dword [esi]
mov ecx, esi
call dword [edi + 0x10]
neg al
sbb al, al
inc al
movzx eax, al
push eax
mov ecx, esi
call dword [edi + 0x18]
pop edi
jmp 0x4514b7
lea ecx, [esi + 0x4b8]
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
jmp 0x4514b7
cmp ecx, 0xe
jne 0x45146f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x4514b7
mov ecx, dword [esi + 0x44]
xor eax, eax
push eax
push eax
push eax
push str.itemclick
push esi
call sym.tpop4.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
jmp 0x4514b7
cmp ecx, 9
je 0x4514b7
cmp ecx, 0xb
jne 0x451497
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x4514b7
or dword [esi + 0x4c4], 8
mov ecx, esi
call sym.tpop4.exe_public:_void___thiscall_DuiLib::CListContainerElementUI::Invalidate_void_
jmp 0x4514b7
cmp ecx, 0xa
jne 0x4514af
lea ecx, [esi + 0x4c4]
mov eax, dword [ecx]
test al, 8
je 0x4514b7
and eax, 0xfffffff7
mov dword [ecx], eax
jmp 0x45148e
push eax
mov ecx, esi
call sym.tpop4.exe_public_virtual:_void___thiscall_DuiLib::CListElementUI::DoEvent_struct_DuiLib::tagTEventUI__
pop esi
ret 4
Function at 0x451c00
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x100]
mov edi, dword [esp + 0xc]
test al, al
jne 0x451c3b
mov eax, dword [edi]
cmp eax, 8
jle 0x451c3b
cmp eax, 0x16
jge 0x451c3b
mov ecx, dword [esi + 0x638]
push edi
test ecx, ecx
jne 0x451d90
mov ecx, esi
call sym.tpop4.exe_public_virtual:_void___thiscall_DuiLib::CContainerUI::DoEvent_struct_DuiLib::tagTEventUI__
jmp 0x451d9e
mov eax, dword [edi]
cmp eax, 0x13
jne 0x451c67
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x451d9e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call sym.tpop4.exe_public:_void___thiscall_DuiLib::CListContainerElementUI::Invalidate_void_
jmp 0x451d9e
cmp eax, 3
jne 0x451c81
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x451c81
cmp word [edi + 0x14], 0xd
je 0x451c54
mov eax, dword [edi]
cmp eax, 0xd
jne 0x451cda
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x451d9e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x451ccd
add esi, 0x628
mov edi, dword [esi]
mov ecx, esi
call dword [edi + 0x10]
neg al
sbb al, al
inc al
movzx eax, al
push eax
mov ecx, esi
call dword [edi + 0x18]
jmp 0x451d9e
lea ecx, [esi + 0x628]
push 1
jmp 0x451d90
cmp eax, 0xe
jne 0x451d09
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x451d9e
xor eax, eax
push eax
push eax
push eax
push str.itemclick
mov ecx, dword [esi + 0x44]
push esi
call sym.tpop4.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
jmp 0x451d9e
cmp eax, 9
je 0x451d9e
cmp eax, 0xb
jne 0x451d31
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
test al, al
je 0x451d9e
or dword [esi + 0x634], 8
jmp 0x451c5b
cmp eax, 0xa
jne 0x451d4c
lea ecx, [esi + 0x634]
mov eax, dword [ecx]
test al, 8
je 0x451d9e
and eax, 0xfffffff7
mov dword [ecx], eax
jmp 0x451c5b
cmp eax, 0x1b
jne 0x451d60
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x451cfb
cmp eax, 0x14
jne 0x451d85
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x451d85
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
jmp 0x451cfb
mov ecx, dword [esi + 0x638]
push edi
test ecx, ecx
je 0x451d97
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x451d9e
mov ecx, esi
call sym.tpop4.exe_public_virtual:_void___thiscall_DuiLib::CControlUI::DoEvent_struct_DuiLib::tagTEventUI__
pop edi
pop esi
ret 4
Function at 0x457eb9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x56f8f4]
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 0x457f45
cmp dword [esi + 0x10], ebx
je 0x457f45
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.004cc270
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x457f45
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, 0x1c4
call fcn.0043dcac
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.tpop4.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.tpop4.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::IsLayered_void_
test al, al
je 0x457f45
mov ecx, dword [esi + 0x10]
call sym.tpop4.exe_public:_void___thiscall_DuiLib::CControlUI::Invalidate_void_
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3202
leave
ret 0x10
Function at 0x45de91
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x604], ebx
je 0x45def9
cmp dword [ebp + 8], 0x100
jne 0x45dee8
cmp word [ebp + 0xc], 0xd
jne 0x45dee8
cmp byte [esi + 0x60a], bl
je 0x45decf
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x45dee8
cmp byte [esi + 0x60b], bl
jne 0x45dee8
mov ecx, dword [esi + 0x44]
cmp ecx, ebx
je 0x45dee4
push ebx
push ebx
push ebx
push str.return
push esi
call sym.tpop4.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x45defc
mov eax, dword [esi + 0x604]
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 0x460803
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
lea ebp, [esp - 0x218]
sub esp, 0x298
mov eax, dword [0x56f8f4]
xor eax, ebp
mov dword [ebp + 0x214], eax
lea eax, [ebp - 0x7c]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x460834
xor eax, eax
jmp 0x4608a4
push 0xfe
lea eax, [ebp + 0x115]
push 0
push eax
mov byte [ebp + 0x114], 0
call fcn.004c3b30
add esp, 0xc
push 0xff
lea eax, [ebp + 0x114]
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp + 0x114]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x460830
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x80]
push eax
call fcn.004c6ad0
movzx eax, byte [ebp - 0x80]
movzx ecx, byte [ebp - 0x7f]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x7e]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x7d]
shl eax, 8
add esp, 0xc
add eax, ecx
mov ecx, dword [ebp + 0x214]
xor ecx, ebp
call fcn.004c3202
add ebp, 0x218
leave
ret
Function at 0x465809
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x14]
push esi
push edi
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebx + 0x470], eax
mov dword [ebx + 0x474], edi
mov dword [ebx + 0x478], ecx
cmp eax, edi
jne 0x465867
call sym.tpop4.exe_public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
push dword [ebp + 0x18]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
cmp dword [ebp + 0x1c], edi
je 0x465867
call sym.tpop4.exe_public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
push dword [ebp + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
lea esi, [ebx + 0x10]
call sym.tpop4.exe_public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
mov ecx, dword [ebx + 0x470]
cmp ecx, edi
jne 0x465885
mov ecx, dword [ebp + 0x18]
jmp 0x46588c
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call sym.tpop4.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
lea ecx, [ebp - 0x10]
mov dword [ebp + 0x1c], eax
call sym.tpop4.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_
push edi
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x88
push connect
movsd dword es:[edi], dword [esi]
push 0
push dword [ebp + 0x1c]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call sym.tpop4.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 0x4658ce
push edi
call esi
mov edi, eax
push edi
call esi
test eax, eax
jne 0x4658c9
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]
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x46b440
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x56f8f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x210], esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ebx, dword [ebp + 0xc]
push eax
push esi
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov esi, eax
cmp ebx, 0x21
jb 0x46b490
cmp ebx, 0x28
jbe 0x46b48a
cmp ebx, 0x2c
jbe 0x46b490
cmp ebx, 0x2e
ja 0x46b490
or esi, 0x100
cmp dword [ebp + 0x10], 0
je 0x46b49c
or esi, 0x1000000
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004c3b30
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
shl esi, 0x10
push esi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call sym.tpop4.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c3202
leave
ret 0xc
Function at 0x476927
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 8]
mov esi, eax
and esi, 7
je 0x47694c
cmp eax, esi
jge 0x476944
mov eax, edi
call fcn.004763b5
mov ecx, esi
shr dword [edi + 0xc], cl
sub dword [edi + 8], esi
xor ecx, ecx
cmp dword [edi + 8], ecx
jle 0x47696e
mov al, byte [edi + 0xc]
shr dword [edi + 0xc], 8
add dword [edi + 8], 0xfffffff8
mov byte [ebp + ecx - 4], al
inc ecx
cmp dword [edi + 8], 0
jg 0x476953
cmp ecx, 4
jge 0x47698a
mov esi, dword [edi + 4]
mov eax, dword [edi]
cmp eax, esi
jb 0x47697b
xor dl, dl
jmp 0x476980
mov dl, byte [eax]
inc eax
mov dword [edi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x476971
movzx esi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl esi, 8
add esi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, esi
xor ecx, 0xffff
cmp eax, ecx
je 0x4769bc
mov eax, str.zlib_corrupt
call fcn.00471dbe
jmp 0x4769f8
mov eax, dword [edi]
add eax, esi
cmp eax, dword [edi + 4]
jbe 0x4769cc
mov eax, str.read_past_buffer
jmp 0x4769b5
mov eax, dword [edi + 0x10]
lea ecx, [eax + esi]
cmp ecx, dword [edi + 0x18]
jbe 0x4769e2
push esi
call fcn.00476484
pop ecx
test eax, eax
je 0x4769f8
push esi
push dword [edi]
push dword [edi + 0x10]
call fcn.004c6ad0
add dword [edi], esi
add dword [edi + 0x10], esi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret