joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4587f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5960
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x537700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ebx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
push 8
mov dword [ebx], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.004b80fd
mov edi, eax
add esp, 4
test edi, edi
je 0x45889d
push 1
mov dword [ebp - 4], 0
call fcn.004b7406
add esp, 4
mov dword [edi + 4], eax
jmp 0x45889f
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.00451460
mov dword [esi + 0xc], ebx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea edx, [esi + 0x18]
mov byte [esi + 0x48], 0
lea edi, [esi + 0x24]
mov byte [esi + 0x3d], 0
lea ebx, [esi + 0x28]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov dword [eax], 0
mov dword [edx], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
mov dword [ecx], 0
mov dword [edi], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x53b600]
mov ecx, dword [0x53b604]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9697
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x537700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x45899d
lea ecx, [edi + 0x78]
mov dword [edi], 0x4f5558
mov dword [edi + 0x10], 0x4f5560
call fcn.00458b40
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
lea esi, [edi + 0x18]
push 0
push esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.0045b950
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 4]
mov dword [edi + eax + 0x10], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi + 0xc], eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
push 8
mov dword [ebp - 4], 5
mov dword [ebp + 8], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ecx + edi - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.004b80fd
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x458aa7
push 1
mov byte [ebp - 4], 6
call fcn.004b7406
add esp, 4
mov dword [ebx + 4], eax
jmp 0x458aa9
xor ebx, ebx
mov ecx, esi
mov dword [esi + 0x34], ebx
call fcn.00451460
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
mov byte [esi + 0x48], 0
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea edx, [esi + 0x14]
mov byte [esi + 0x3d], 0
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
lea ebx, [esi + 0x18]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], ebx
mov dword [ecx], 0
mov dword [ebx], 0
mov dword [eax], 0
mov dword [esi + 4], 0
mov dword [edx], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x53b600]
mov ecx, dword [0x53b604]
mov dword [esi + 0x40], eax
mov eax, edi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45c6c0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x14]
test eax, eax
jg 0x45c6e1
jl 0x45c6d7
test esi, esi
jne 0x45c6e1
pop esi
xor eax, eax
xor edx, edx
pop ebx
pop ecx
ret 0xc
cmp dword [ebx + 0x38], 0
push ebp
push edi
mov edi, esi
je 0x45c794
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
nop dword [eax]
mov ecx, ebx
call fcn.00451440
mov esi, eax
mov eax, edx
mov dword [esp + 0x10], eax
test eax, eax
jl 0x45c751
jg 0x45c719
test esi, esi
je 0x45c751
cmp ebp, eax
jg 0x45c729
jl 0x45c723
cmp edi, esi
jae 0x45c729
mov esi, edi
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push dword [esp + 0x20]
call fcn.004ba120
mov eax, dword [ebx + 0x2c]
add esp, 0xc
sub edi, esi
sbb ebp, dword [esp + 0x10]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x18]
jmp 0x45c770
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x45c780
mov eax, dword [esp + 0x18]
add edi, 0xffffffff
mov esi, 1
adc ebp, 0xffffffff
mov byte [eax], cl
add eax, esi
mov dword [esp + 0x18], eax
test ebp, ebp
jg 0x45c700
jl 0x45c780
test edi, edi
jne 0x45c700
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, edi
pop edi
sbb edx, ebp
pop ebp
pop esi
pop ebx
pop ecx
ret 0xc
mov eax, dword [ebx + 0x1c]
mov ebp, dword [esp + 0x18]
mov edx, dword [eax]
test edx, edx
je 0x45c7d9
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x45c7e0
mov edi, dword [esp + 0x1c]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ebp
call fcn.004ba120
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x45c7e0
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x45c849
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x45c80a
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x45c834
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call fcn.004ca3ac
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x45c849
cmp edi, eax
ja 0x45c812
test edi, edi
je 0x45c849
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call fcn.004ca3ac
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x20]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
pop ecx
ret 0xc
Function at 0x45cc20
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x537700]
xor eax, esp
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x40c]
push esi
mov esi, dword [esp + 0x414]
push 0x4f55b0
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
call fcn.004ca181
mov eax, dword [esp + 0x10]
add esp, 0xc
test eax, eax
je 0x45cce2
push eax
push 0x400
lea eax, [esp + 0x10]
mov dword [esi + 4], 0
push 1
push eax
mov dword [esi], 0
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
call fcn.004ca3ac
add esp, 0x10
test eax, eax
je 0x45ccd0
push eax
lea eax, [esp + 0xc]
push eax
push esi
call fcn.0045cb60
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push 0x400
push 1
push eax
call fcn.004ca3ac
add esp, 0x1c
test eax, eax
jne 0x45cca8
push esi
call fcn.0045ca50
push dword [esp + 8]
call fcn.004c9fd9
add esp, 8
mov ecx, dword [esp + 0x408]
pop esi
xor ecx, esp
call fcn.004b847a
add esp, 0x408
ret
Function at 0x45df30
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, ecx
push 0x20c
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x20], eax
call fcn.004b80fd
push dword [esp + 0x1c]
mov esi, eax
lea ecx, [esi + 4]
mov dword [esi], edi
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0
push 0
push esi
push 0x45e050
push 0
push 0
call fcn.004c3dcf
add esp, 0x24
mov dword [edi + 0x18], eax
pop edi
pop esi
ret 0x10

Function at 0x45df90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9bbd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x537700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
test eax, eax
je 0x45dfd9
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x45dfe9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea edi, [esi + 0x3c]
mov ecx, edi
call fcn.004b5780
lea eax, [ebp - 0x10]
push eax
call fcn.004b5720
add esp, 4
mov esi, eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004b5730
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x45e02a
mov ecx, edi
call fcn.004b5c30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.boost_thread:_trying_joining_itself
push 0x24
lea ecx, [ebp - 0x2c]
call fcn.00411910
push eax
mov dword [ebp - 4], 0
call fcn.004024b0
int3
Function at 0x460950
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9dbd
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x537700]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x238], edi
lea esi, [edi + 4]
mov dword [edi], vtable.CLog.0
xorps xmm0, xmm0
movups xmmword [esi], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [edi + 0x1c]
mov dword [ebp - 4], eax
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], eax
push 7
push str.log.log
mov byte [ebp - 4], 3
call fcn.004566c0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x208
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ba6a0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 1
jl 0x460b3b
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
movups xmmword [ebp - 0x230], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460a46
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00406460
lea eax, [ebp - 0x230]
cmp esi, eax
je 0x460ae0
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x460aab
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x460aa1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460b69
mov eax, edx
push ecx
push eax
call fcn.004b812d
add esp, 8
movups xmm0, xmmword [ebp - 0x230]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov ecx, 7
movups xmmword [esi], xmm0
mov word [ebp - 0x230], ax
movq xmm0, qword [ebp - 0x220]
movq qword [esi + 0x10], xmm0
jmp 0x460ae6
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x460b1c
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x460b12
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460b69
push ecx
push edx
call fcn.004b812d
add esp, 8
push 8
push str.yjs_log
mov ecx, esi
call fcn.00460120
cmp dword [esi + 0x14], 7
jbe 0x460b32
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [edi + 0x38]
mov dword [edi + 0x50], 4
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b847a
mov esp, ebp
pop ebp
ret
call fcn.004be0cf
int3
Function at 0x46c600
Capabilities:
Get common file path

Disassembly:
sub esp, 0x218
mov eax, dword [0x537700]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov esi, dword [esp + 0x220]
lea eax, [esp + 0xc]
push 0x20a
push 0
push eax
mov dword [esp + 0x10], esi
call fcn.004ba6a0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004b847a
add esp, 0x218
ret

Function at 0x46d420
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
push 0x11
call ebx
movsx esi, ax
sar esi, 0x1f
push 2
and esi, 8
call ebx
mov edi, esi
or edi, 1
test ax, ax
push 1
cmovns edi, esi
call ebx
mov esi, edi
or esi, 2
test ax, ax
push 0x10
cmovns esi, edi
call ebx
mov edi, esi
or edi, 4
test ax, ax
push 0x12
cmovns edi, esi
call ebx
mov ecx, edi
or ecx, 0x20
test ax, ax
cmovns ecx, edi
pop edi
pop esi
mov eax, ecx
pop ebx
ret
Function at 0x46efd0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0x1c4]
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov edi, dword [esp + 0x34]
test eax, eax
jle 0x46f030
nop
push esi
lea ecx, [ebx + 0x1c4]
mov byte [esp + 0x38], 0
call sym.ClientofCSP.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
lea ecx, [esp + 0x34]
push ecx
push dword [esp + 0x40]
mov edx, dword [eax]
mov ecx, eax
push dword [esp + 0x40]
push edi
call dword [edx]
cmp byte [esp + 0x34], 0
jne 0x46f18d
lea ecx, [ebx + 0x1c4]
inc esi
call sym.ClientofCSP.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp esi, eax
jl 0x46eff0
sub edi, 0x100
je 0x46f115
sub edi, 4
je 0x46f0a3
sub edi, 2
jne 0x46f109
push dword [esp + 0x38]
mov dword [esp + 0x38], edi
call fcn.004ccab9
mov ecx, dword [ebx + 0x144]
lea edx, [esp + 0x38]
add esp, 4
mov word [esp + 0x34], ax
mov eax, dword [ecx]
push reloc.WS2_32.dll_ioctlsocket
push edx
push sym.ClientofCSP.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 0x46f109
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20
ret 0x10
cmp dword [ebx + 0x148], 0
je 0x46f109
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
mov ecx, dword [ebx + 0x15c]
mov word [esp + 0x24], ax
mov eax, dword [ebx + 0x158]
mov dword [esp + 0x14], 0
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x10], 6
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.0046d420
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x148]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20
ret 0x10
cmp dword [esp + 0x38], 9
jne 0x46f109
mov ecx, dword [ebx + 0x148]
test ecx, ecx
je 0x46f174
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x46f174
mov ecx, dword [ebx + 0x148]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x46f174
mov ecx, dword [ebx + 0x148]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004bac62
add esp, 8
test eax, eax
je 0x46f174
mov ecx, dword [ebx + 0x148]
call sym.ClientofCSP.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x46f109
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr ax, 0xf
mov ecx, ebx
xor al, 1
movzx eax, al
push eax
call sym.ClientofCSP.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4700e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
mov esi, dword [esp + 0x2c]
cmp eax, ecx
je 0x470106
cmp esi, dword [edi + 0x148]
je 0x470106
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x148]
cmp esi, eax
je 0x47020b
test eax, eax
je 0x47017a
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x148]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push 0
push 0
push 0
push str.killfocus
push dword [edi + 0x148]
mov ecx, edi
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [edi + 0x148], 0
test esi, esi
je 0x47020b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x47020b
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x47020b
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x47020b
xorps xmm0, xmm0
mov dword [edi + 0x148], esi
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 8], 0x15
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x148]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push 0
push 0
push 0
push str.setfocus
push dword [edi + 0x148]
mov ecx, edi
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x470650
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov ecx, dword [sym.ClientofCSP.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hResourceInstance]
test ecx, ecx
movzx eax, word [esp + 4]
cmove ecx, dword [sym.ClientofCSP.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
push esi
push 0x4f93d8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4706c9
mov ecx, dword [sym.ClientofCSP.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hResourceInstance]
test ecx, ecx
push edi
cmove ecx, dword [sym.ClientofCSP.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push esi
test edi, edi
je 0x4706c2
mov eax, dword [sym.ClientofCSP.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hResourceInstance]
test eax, eax
cmove eax, dword [sym.ClientofCSP.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4706c8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call sym.ClientofCSP.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int_
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
ret

Function at 0x471ff0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x472033
cmp byte [esp + 8], 0
je 0x472027
cmp byte [esp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 8
Function at 0x48db70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x537700]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x48dbe0
cmp dword [esi + 0x10], 0
je 0x48dbe0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004b8af0
mov ebx, esp
test ebx, ebx
je 0x48dbe0
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1b8
call fcn.00466510
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
push 0
push 0
push 0
push str.textchanged
push dword [esi + 0x10]
mov ecx, eax
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b847a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x495ee0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x109c], 0
je 0x495f4a
cmp dword [esp + 8], 0x100
jne 0x495f3b
cmp word [esp + 0xc], 0xd
jne 0x495f3b
cmp byte [esi + 0x10a2], 0
je 0x495f1d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x495f3b
cmp byte [esi + 0x10a3], 0
jne 0x495f3b
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x495f35
push 0
push 0
push 0
push str.return
push esi
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esi + 0x109c]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
jmp dword [eax + 0xc]
mov eax, 1
pop esi
ret 0x10