joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c8f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4ea080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x41c97d
push 0x104
push ebx
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00490634
lea eax, [ebp - 0x414]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c932
sub eax, edx
sar eax, 1
je 0x41c95c
lea ecx, [ebp + eax*2 - 0x416]
movzx eax, word [ecx]
cmp eax, 0x2f
je 0x41c957
cmp eax, 0x5c
jne 0x41c95c
xor edx, edx
mov word [ecx], dx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41c97d
push 0
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [edi]
test ax, ax
je 0x41ca65
mov ecx, edi
mov edx, edi
lea ecx, [ecx]
cmp ax, 0x2f
je 0x41c99c
cmp ax, 0x5c
jne 0x41c99e
mov ecx, edx
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x41c990
cmp ecx, edi
je 0x41c9df
sub ecx, edi
push esi
sar ecx, 1
lea esi, [ecx + ecx]
push esi
lea edx, [ebp - 0x414]
push edi
push edx
call fcn.0048e410
lea ecx, [ebp - 0x414]
push ecx
xor eax, eax
push ebx
mov word [ebp + esi - 0x414], ax
call fcn.0041c8f0
add esp, 0x14
pop esi
xor edx, edx
mov word [ebp - 0x20c], dx
test ebx, ebx
je 0x41ca06
push 0x104
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00490634
add esp, 0x10
xor ecx, ecx
lea eax, [ebp - 0x20c]
mov word [ebp - 6], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ca15
sub eax, edx
sar eax, 1
mov ecx, 0x104
sub ecx, eax
push ecx
push edi
push ecx
lea edx, [ebp + eax*2 - 0x20c]
push edx
call fcn.00490634
add esp, 0x10
lea ecx, [ebp - 0x20c]
xor eax, eax
push ecx
mov word [ebp - 6], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41ca65
push 0
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0048ef91
mov esp, ebp
pop ebp
ret
Function at 0x41e470
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x41e537
cmp dword [esi + 4], 0xffffffff
jne 0x41e537
push edi
lea edi, [esi + 0x244]
push edi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e4a1
sub eax, edx
sar eax, 1
movzx ecx, word [esi + eax*2 + 0x242]
cmp ecx, 0x5c
je 0x41e4cd
cmp ecx, 0x2f
je 0x41e4cd
mov dword [esi + eax*2 + 0x244], 0x2f
mov edi, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, 1
jne 0x41e4f7
push 1
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x41e4f7
pop ebx
pop edi
mov eax, 0x2000000
pop esi
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
push ebx
push ecx
push edi
call fcn.0041b5d0
add esp, 0x10
test eax, eax
jne 0x41e517
mov eax, dword [ebp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
push eax
call fcn.0041de80
add esp, 4
mov dword [esi], eax
neg eax
sbb eax, eax
pop ebx
and eax, 0xfffffe00
pop edi
add eax, 0x200
pop esi
pop ebp
ret 0xc
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x41f690
Capabilities:
Delete file
Terminate process

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x310]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
call fcn.00421670
add eax, 0x78
cmp dword [eax + 0x14], 8
jb 0x41f6b2
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
pop esi
ret 0x10

Function at 0x41f7b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x4ea080]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0048f070
add esp, 0xc
push 0x13
xor edx, edx
push str.SoftwareShouyoudao
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x248], 0x208
mov dword [ebp - 0x230], 7
mov dword [ebp - 0x234], 0
mov word [ebp - 0x244], dx
call fcn.004110e0
push 1
push 0x4b1930
lea ecx, [ebp - 0x244]
call fcn.004111d0
push 8
push str.platform
lea ecx, [ebp - 0x244]
call fcn.004111d0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push str.platform
call fcn.00411560
add esp, 0xc
test al, al
je 0x41f97c
push str.SMPlatform.exe
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.0048f473
add esp, 0xc
push 1
xor eax, eax
push 0x4b216c
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
call fcn.004110e0
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f8b2
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x228]
call fcn.004111d0
push 1
push 0x4b216c
lea ecx, [ebp - 0x228]
call fcn.004111d0
push 0x44
lea edx, [ebp - 0x29c]
push 0
push edx
call fcn.0048f070
add esp, 0xc
push 0xfffffffffffffff4
mov dword [ebp - 0x29c], 0x44
mov dword [ebp - 0x270], 0x100
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp dword [ebp - 0x214], 8
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x228]
jae 0x41f930
lea eax, [ebp - 0x228]
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x29c]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41f964
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x214], 8
jb 0x41f97c
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.0048e224
add esp, 4
cmp dword [ebp - 0x230], 8
jb 0x41f994
mov edx, dword [ebp - 0x244]
push edx
call fcn.0048e224
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ef91
mov esp, ebp
pop ebp
ret
Function at 0x41fac0
Capabilities:
Check if file exists
Create directory
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x4ea080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x2e4]
mov byte [esi + 0x6cc], 1
mov eax, dword [ecx]
mov edx, dword [eax + 0xd8]
push edi
push 0
call edx
mov ecx, dword [esi + 0x288]
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 0
call edx
mov ecx, dword [esi + 0x28c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 0
call edx
mov ecx, dword [esi + 0x290]
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 1
call edx
mov ecx, dword [esi + 0x294]
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 0
call edx
mov ecx, dword [esi + 0x2e0]
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 0
call edx
mov ecx, dword [esi + 0x280]
push 0x4b4628
call sym.SMAllSetup.exe_public:_void___thiscall_DuiLib::CControlUI::SetBkImage_wchar_t_const__
mov ecx, dword [esi + 0x2c8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push 0x4b4610
call edx
mov ecx, dword [esi + 0x2d4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push 0x4b4608
call edx
mov ecx, dword [esi + 0x2c0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x88]
push edx
call eax
mov ecx, eax
call sym.SMAllSetup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x88]
sete bl
call sym.SMAllSetup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test bl, bl
je 0x41fbe4
mov ecx, dword [esi + 0x2c0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
push 0
lea eax, [ebp - 0x88]
push eax
call edx
mov ecx, eax
call sym.SMAllSetup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x88]
call sym.SMAllSetup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
call fcn.00421670
mov ecx, dword [esi + 0x2c0]
mov edi, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x88]
push edx
call eax
mov ecx, eax
call sym.SMAllSetup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov ecx, eax
lea ebx, [ecx + 2]
jmp 0x41fc10
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41fc10
sub ecx, ebx
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 8]
call fcn.004110e0
lea ecx, [ebp - 0x88]
call sym.SMAllSetup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov ecx, dword [esi + 8]
push 0x41eff0
push 0x32
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [esi + 8]
call fcn.00422b80
push 0
push 0
push 0x41ef60
mov dword [eax], esi
call fcn.00490828
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ef91
mov esp, ebp
pop ebp
ret
Function at 0x425630
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad25b
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x4ea080]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x2bc]
push eax
xor ebx, ebx
push 0x202
mov dword [ebp - 0x2c0], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x42569d
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x4c72f7
mov ecx, esi
mov byte [esi], bl
call fcn.00404620
jmp 0x425755
push 0xfe
lea ecx, [ebp - 0x10f]
push ebx
push ecx
mov byte [ebp - 0x110], bl
call fcn.0048f070
add esp, 0xc
push 0xff
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x42567f
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], ebx
mov byte [ebp - 0x12c], bl
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x425707
sub ecx, edi
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.00404620
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [ebp - 0x12c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.004034c0
cmp dword [ebp - 0x118], 0x10
jb 0x425755
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.0048e224
add esp, 4
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.0048ef91
mov esp, ebp
pop ebp
ret 4
Function at 0x4289ed
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
jns 0x428a03
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x428a0f
or edi, 1
push 1
call esi
test ax, ax
jns 0x428a1b
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x428a27
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x428a33
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x428b53
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ea080]
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.0048f070
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.SMAllSetup.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.0048ef91
leave
ret

Function at 0x42b105
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]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x42b12a
cmp ebx, dword [esi + 0x54]
je 0x42b12a
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x42b1f1
push edi
test eax, eax
je 0x42b17d
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x54]
mov ecx, esi
call sym.SMAllSetup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [esi + 0x54], edi
test ebx, ebx
jne 0x42b186
and dword [esi + 0x54], ebx
jmp 0x42b1f0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x42b1f0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x42b1f0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x42b1f0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x54], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x54]
mov ecx, esi
call sym.SMAllSetup.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 0x42b3f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xd0]
xor ebx, ebx
call sym.SMAllSetup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x42b449
push ebx
lea ecx, [esi + 0xd0]
mov byte [ebp - 1], 0
call sym.SMAllSetup.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 0x42b4aa
lea ecx, [esi + 0xd0]
inc ebx
call sym.SMAllSetup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x42b410
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x42b503
sub eax, 4
je 0x42b4ae
dec eax
dec eax
jne 0x42b4fa
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.0048f8b1
pop ecx
mov ecx, dword [esi + 0x50]
push reloc.WS2_32.dll_ioctlsocket
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push sym.SMAllSetup.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 0x42b4fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x42b4fc
cmp dword [esi + 0x54], 0
je 0x42b4fa
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 + 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.004289ed
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x42b4fa
cmp dword [esi + 0x54], 0
je 0x42b552
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x42b552
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x42b552
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.00490701
pop ecx
pop ecx
test eax, eax
je 0x42b552
mov ecx, dword [esi + 0x54]
call sym.SMAllSetup.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x42b4fa
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call sym.SMAllSetup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x42b4aa
Function at 0x437e9c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x437eaa
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x437f65
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bb158]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bb158]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bb158]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bb158]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bb158]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bb158]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bb158]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4bb158]
add edx, 8
sub edi, 8
dec esi
jne 0x437ec8
pop ebx
test edi, edi
je 0x437f7e
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x4bb158]
inc edx
dec edi
jne 0x437f69
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x43842b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x43845f
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43845a
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x438487
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x438470
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0048e410
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x4392a9
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4ea080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x439351
movzx ecx, word [esi]
test cx, cx
je 0x439351
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x4392e4
cmp cx, 0x5c
jne 0x4392e6
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x4392d8
cmp eax, esi
je 0x439325
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004916b9
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.004392a9
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00491698
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00491667
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ef91
leave
ret
Function at 0x43a87e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x43a8f9
cmp dword [esi + 4], 0xffffffff
jne 0x43a8f9
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4b1930
push edi
call fcn.00491667
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x43a8cb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x43a8cb
mov eax, 0x2000000
jmp 0x43a8fe
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00438238
add esp, 0x10
test eax, eax
jne 0x43a8e9
mov eax, dword [ebp + 0x10]
jmp 0x43a8fe
push eax
call fcn.0043a46d
mov dword [esi], eax
mov eax, dword [0x4ec47c]
pop ecx
jmp 0x43a8fe
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x441a33
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x4d4], ebx
je 0x441a9b
cmp dword [ebp + 8], 0x100
jne 0x441a8a
cmp word [ebp + 0xc], 0xd
jne 0x441a8a
cmp byte [esi + 0x4da], bl
je 0x441a71
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x441a8a
cmp byte [esi + 0x4db], bl
jne 0x441a8a
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x441a86
push ebx
push ebx
push ebx
push 0x4bb760
push esi
call sym.SMAllSetup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x441a9e
mov eax, dword [esi + 0x4d4]
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 0x44d3bc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4ea080]
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 0x44d42d
cmp dword [esi + 0x10], ebx
je 0x44d42d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004917a0
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x44d42d
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, 0x1b8
call fcn.004261ca
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.SMAllSetup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ef91
leave
ret 0x10