joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10077e80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d4e79
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x10145188]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp byte [ebp + 0xc], 0
je 0x10077eeb
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
mov ebx, str._select_
call fcn.10001dc0
mov eax, dword [eax]
add esp, 4
push 1
push 0
push eax
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 0xc]
mov esi, eax
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
jmp 0x10077f04
mov ecx, dword [ebp + 8]
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x20
jae 0x10077f84
cmp esi, 0x1f
ja case.0x10077f15.1
movzx edx, byte [esi + 0x10077fcc]
jmp dword [edx*4 + 0x10077fa0]
push 0x10108c68
jmp 0x10077f60
push 0x10108c74
jmp 0x10077f60
push str.__rT
jmp 0x10077f60
push str.EXE
jmp 0x10077f60
push 0x10108ca0
jmp 0x10077f60
push 0x10108cb0
jmp 0x10077f60
push 0x10108cc4
jmp 0x10077f60
push str.DDE
jmp 0x10077f60
push str.ck_W
jmp 0x10077f60
push 0x10108cfc
mov ecx, edi
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10077ff0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d65ab
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10145188]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x100780fc
lea ecx, [ebp - 0x38]
call dword [0x100ec590]
lea ecx, [ebp - 0x10]
call dword [0x100ec970]
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x10]
push str._s_.
push edx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov eax, dword [ebp - 0x10]
add esp, 0xc
push 0
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100u.dll_CFileFind::FindFile]
test eax, eax
je 0x100780e6
mov esi, dword [sym.imp.mfc100u.dll_CFileFind::GetFilePath]
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100u.dll_CFileFind::FindNextFileW]
mov edx, dword [ebp - 0x38]
mov edi, eax
mov eax, dword [edx + 0x40]
push 0x10
lea ecx, [ebp - 0x38]
call eax
test eax, eax
je 0x100780c7
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100u.dll_CFileFind::IsDots]
test eax, eax
jne 0x100780c7
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ecx
lea ecx, [ebp - 0x38]
call esi
call fcn.10077ff0
add esp, 4
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x38]
call esi
mov eax, dword [eax]
push eax
call ebx
lea ecx, [ebp - 0x14]
jmp 0x100780dc
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
call esi
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
test edi, edi
jne 0x10078077
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_CFileFind::CFileFind]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
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 0x10078120
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d656b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
mov eax, dword [0x10145188]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call dword [0x100ec964]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x10]
test eax, eax
je 0x100781b6
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp byte [ebp + 0xc], 0
jne 0x1007822c
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp + 8]
mov ebx, str._select_
call fcn.10001dc0
mov eax, dword [eax]
add esp, 4
push 1
push 0
push eax
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
jmp 0x10078243
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x10]
call dword [0x100ec970]
push 0x5c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
cmp eax, 0xffffffff
je 0x10078207
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov ecx, dword [ebp - 0x10]
push 1
push 0
push ecx
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
jmp 0x10078243
mov ecx, dword [ebp + 8]
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10078260
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6534
mov eax, dword fs:[0]
push eax
sub esp, 8
push edi
mov eax, dword [0x10145188]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call dword [0x100ec970]
push 0x100ee440
push 0x100fceec
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push 0x104
push 0x105
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBufferSetLength]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push 0x5c
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
push str._tmp
lea ecx, [ebp - 0x10]
call dword [0x100ec930]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Trim]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edi, 0x100ee440
call fcn.10001a90
add esp, 8
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call dword [0x100ec92c]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10078385
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call dword [0x100ec964]
call fcn.10078490
add esp, 4
test al, al
jne 0x10078385
push 0x100ee700
mov ecx, esi
call dword [0x100ec95c]
jmp 0x10078391
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call dword [0x100ec964]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10078450
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10078477
test al, 0x10
je 0x10078477
lea ecx, [ebp + 8]
mov bl, 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov al, bl
pop ebx
pop ebp
ret
lea ecx, [ebp + 8]
xor bl, bl
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov al, bl
pop ebx
pop ebp
ret
Function at 0x10079a80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
cmp eax, 5
je 0x10079bac
cmp eax, 0x100
jne 0x10079b8f
cmp word [ebp + 0xc], 0xd
jne 0x10079b34
mov edi, dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
add esi, 0x2c
push str.closebtn
mov ecx, esi
call edi
push str.maxbtn
mov ecx, esi
mov ebx, eax
call edi
push str.restorebtn
mov ecx, esi
mov dword [ebp - 8], eax
call edi
push str.minbtn
mov ecx, esi
mov dword [ebp - 0xc], eax
call edi
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xfc]
mov ecx, ebx
call edx
test al, al
jne 0x10079b29
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xfc]
call edx
test al, al
jne 0x10079b29
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xfc]
call edx
test al, al
jne 0x10079b29
mov eax, dword [esi]
mov edx, dword [eax + 0xfc]
mov ecx, esi
call edx
test al, al
je 0x10079b34
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
movzx edi, ax
push 0x10
and edi, 0x8000
call ebx
movzx esi, ax
push 0x12
and esi, 0x8000
call ebx
and eax, 0x8000
cmp dword [ebp + 0xc], 0x7b
jne 0x10079b8c
test edi, edi
je 0x10079b8c
test eax, eax
je 0x10079b8c
test esi, esi
je 0x10079b8c
push str._tc_vN
push 0
call dword [sym.imp.Common.dll_int___cdecl_COMMON::WriteLog_int__wchar_t_const__]
mov eax, dword [ebp - 4]
add esp, 8
mov edi, 1
call fcn.1007f380
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov ecx, esi
call dword [sym.imp.DuiLib_u.dll_public_virtual:_long_int___thiscall_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x10079bfd
cmp byte [esi + 0x570], al
je 0x10079c02
push str.restorebtn
lea ecx, [esi + 0x2c]
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
push str.maxbtn
lea ecx, [esi + 0x2c]
mov ebx, eax
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov edi, eax
test ebx, ebx
je 0x10079c02
mov eax, dword [ebx]
mov edx, dword [eax + 0xdc]
push 0
mov ecx, ebx
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xdc]
push 1
mov ecx, edi
call edx
jmp 0x10079c02
cmp eax, 1
je 0x10079b8f
push 0
push 0
push 0x502
mov ecx, esi
call dword [sym.imp.DuiLib_u.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_]
jmp 0x10079b8f
Function at 0x1007f380
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
cmp edi, 1
jne 0x1007f392
mov eax, dword [esi + 0x3bc]
push edi
push eax
jmp 0x1007f39b
mov ecx, dword [esi + 0x3bc]
push 0
push ecx
call dword [sym.imp.CMBrowser.dll_struct_HWND______cdecl_CMBROWSER::GetWindowHandle_void__]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x3c4]
push edi
call dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
cmp dword [esi + 0x4a0], 0
je 0x1007f3d3
mov ecx, dword [esi + 0x4a0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xdc]
push 0
call eax
xor al, al
cmp dword [esi + 0x600], 0xc
jl 0x1007f3e0
mov al, 1
cmp dword [esi + 0x578], 0x800e
jb 0x1007f420
cmp byte [0x10148959], 0
jne 0x1007f420
test al, al
je 0x1007f420
cmp dword [esi + 0x4b0], 0
je 0x1007f461
mov ecx, dword [esi + 0x4b0]
mov edx, dword [ecx + 0x468]
mov eax, dword [edx + 0xdc]
add ecx, 0x468
push 0
call eax
pop esi
ret
cmp dword [esi + 0x4ac], 0
je 0x1007f461
mov ecx, dword [esi + 0x4ac]
mov edx, dword [ecx + 0x468]
mov eax, dword [edx + 0xe0]
add ecx, 0x468
push 0
call eax
mov ecx, dword [esi + 0x4ac]
mov edx, dword [ecx + 0x468]
mov eax, dword [edx + 0xdc]
add ecx, 0x468
push 0
call eax
pop esi
ret
Function at 0x10080520
Capabilities:
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100dbba8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10145188]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
lea ebx, [edi + 0x2c]
push str.Tab_BrowserClient
mov ecx, ebx
call esi
push str.BrowserArea
mov ecx, ebx
mov dword [edi + 0x494], eax
call esi
xor ecx, ecx
mov dword [edi + 0x470], eax
push ecx
mov eax, 0x1003a4d0
push eax
push edi
lea esi, [esp + 0x20]
call fcn.100813b0
add esp, 0xc
mov dword [esp + 0x38], 0
mov ecx, dword [edi + 0x470]
push eax
add ecx, 0x1c
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CEventSource::operator_class_DuiLib::CDelegateBase_const__]
mov ecx, esi
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.DuiLib_u.dll_public_virtual:_void___thiscall_DuiLib::CDelegateBase::destructor_void_]
mov esi, dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
push str.BrowserClientWaitingLayout
mov ecx, ebx
call esi
push str.main_left_title
mov ecx, ebx
mov dword [edi + 0x490], eax
call esi
test eax, eax
je 0x100805f5
mov ecx, dword [0x101489d4]
cmp dword [ecx + 0x54], 1
mov ecx, eax
jne 0x100805ea
push str.Exam_138
jmp 0x100805ef
push str.Stu_15
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CControlUI::SetTextId_wchar_t_const__]
mov edx, dword [edi + 0x46c]
push 0
push edx
call dword [sym.imp.CMBrowser.dll_struct_HWND______cdecl_CMBROWSER::GetWindowHandle_void__]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x494]
push 0
call dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
mov ecx, edi
lea esi, [edi + 0x498]
call dword [sym.imp.DuiLib_u.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
mov eax, esi
call fcn.100c60e0
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov bl, 2
mov byte [esi + 0xf], 0xa
test byte [esi + 0xc], bl
je 0x10080650
mov eax, dword [esi + 4]
push eax
call edi
mov ecx, eax
call fcn.100c6490
mov byte [esi + 0xe], 0x14
test byte [esi + 0xc], bl
je 0x10080666
mov ecx, dword [esi + 4]
push ecx
call edi
mov ecx, eax
call fcn.100c6490
mov byte [esi + 0xd], 0x64
test byte [esi + 0xc], bl
je 0x1008067c
mov edx, dword [esi + 4]
push edx
call edi
mov ecx, eax
call fcn.100c6490
mov word [esi + 0x10], 0xff
test byte [esi + 0xc], bl
je 0x10080694
mov eax, dword [esi + 4]
push eax
call edi
mov ecx, eax
call fcn.100c6490
mov dword [esi + 0x1c], 0
test byte [esi + 0xc], bl
je 0x100806ad
mov ecx, dword [esi + 4]
push ecx
call edi
mov ecx, eax
call fcn.100c6490
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10080890
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp esi, 0x17ac
ja 0x1008093a
je 0x1008093a
cmp esi, 5
je 0x10080952
cmp esi, 0x100
jne 0x1008093a
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
movzx esi, ax
push 0x10
and esi, 0x8000
call edi
movzx ebx, ax
push 0x12
and ebx, 0x8000
call edi
and eax, 0x8000
cmp dword [ebp + 0xc], 0x7b
jne 0x10080935
test esi, esi
je 0x10080935
test eax, eax
je 0x10080935
test ebx, ebx
je 0x10080935
push str._tc_vN
push 0
call dword [sym.imp.Common.dll_int___cdecl_COMMON::WriteLog_int__wchar_t_const__]
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x46c]
add esp, 8
push 1
push eax
call dword [sym.imp.CMBrowser.dll_struct_HWND______cdecl_CMBROWSER::GetWindowHandle_void__]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x494]
push 1
call dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
mov esi, dword [ebp + 8]
pop edi
pop ebx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 4]
push edx
push esi
call fcn.100028c0
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0
push 0
push 0x502
call dword [sym.imp.DuiLib_u.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_]
jmp 0x1008093a
Function at 0x10080a40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e05a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x10145188]
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]
mov edi, ecx
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x94]
push edx
call eax
push str.btn_close
mov ecx, eax
mov dword [ebp - 4], 0
call dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const]
lea ecx, [ebp - 0x94]
mov bl, al
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
test bl, bl
je 0x10080ad5
mov eax, dword [edi + 0x46c]
test eax, eax
je 0x10080ad5
push eax
call dword [sym.imp.CMBrowser.dll_void___cdecl_CMBROWSER::StopLoad_void__]
mov ecx, dword [edi + 0x46c]
push ecx
call dword [sym.imp.CMBrowser.dll_void___cdecl_CMBROWSER::CloseBrowser_void__]
add esp, 8
mov ecx, dword [esi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [ebp - 0x118]
push eax
call edx
push str.Btn_Refresh
mov ecx, eax
mov dword [ebp - 4], 1
call dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const]
lea ecx, [ebp - 0x118]
mov bl, al
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
test bl, bl
je 0x10080b54
mov ecx, edi
call fcn.10080f60
mov eax, dword [edi + 0x46c]
push eax
call dword [sym.imp.CMBrowser.dll_void___cdecl_CMBROWSER::ReLoad_void__]
mov ecx, dword [edi + 0x46c]
add esp, 4
push 0
push ecx
call dword [sym.imp.CMBrowser.dll_struct_HWND______cdecl_CMBROWSER::GetWindowHandle_void__]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x494]
push 0
call dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
push esi
mov ecx, edi
call dword [sym.imp.DuiLib_u.dll_protected_virtual:_void___thiscall_DuiLib::WindowImplBase::OnClick_struct_DuiLib::tagTNotifyUI__]
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.100d0962
mov esp, ebp
pop ebp
ret 4
Function at 0x10080b80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dbb80
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10145188]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x1c]
push 0x10107edc
mov edi, 4
lea ecx, [ebp + 0xc]
call fcn.100168f0
test eax, eax
jne 0x10080c1d
mov eax, dword [ebp + 0x28]
mov esi, 8
cmp dword [ebp + 0x3c], esi
jae 0x10080bd6
lea eax, [ebp + 0x28]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, dword [sym.imp.mfc100u.dll_delete_1]
cmp dword [ebp + 0x20], esi
jb 0x10080bfe
mov eax, dword [ebp + 0xc]
push eax
call edi
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x20], 7
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], cx
cmp dword [ebp + 0x3c], esi
jb 0x10080c92
mov edx, dword [ebp + 0x28]
push edx
jmp 0x10080c8d
mov eax, dword [ebp + 0x1c]
push str.LoadEnd
mov edi, 7
lea ecx, [ebp + 0xc]
call fcn.100168f0
test eax, eax
jne 0x10080c57
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.CMBrowser.dll_struct_HWND______cdecl_CMBROWSER::GetWindowHandle_void__]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x2c]
push 1
call dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
mov edi, dword [sym.imp.mfc100u.dll_delete_1]
mov esi, 8
cmp dword [ebp + 0x20], esi
jb 0x10080c70
mov ecx, dword [ebp + 0xc]
push ecx
call edi
add esp, 4
xor edx, edx
mov dword [ebp + 0x20], 7
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], dx
cmp dword [ebp + 0x3c], esi
jb 0x10080c92
mov eax, dword [ebp + 0x28]
push eax
call edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x40