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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
push esi
add eax, eax
lea edx, [ebp + 8]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0
mov dword [edi], 0
mov ecx, dword [eax]
push str.ProcessorNameString
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000198f
mov eax, dword [ebp + 8]
cmp eax, 1
je 0x1000195e
cmp eax, 2
jne 0x10001979
mov eax, dword [ebp - 4]
test esi, esi
je 0x10001989
test eax, eax
je 0x10001984
test al, 1
jne 0x10001979
mov edx, eax
shr edx, 1
cmp word [esi + edx*2 - 2], 0
je 0x10001989
mov eax, 0xd
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
mov word [esi], cx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10001f80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d4bc5
mov eax, dword fs:[0]
push eax
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 esi, dword [ebp + 8]
xor ebx, ebx
lea ecx, [esi + 0x18]
mov dword [ebp - 4], ebx
call dword [0x100ec970]
lea ecx, [esi + 0x1c]
call dword [0x100ec970]
lea ecx, [esi + 0x20]
call dword [0x100ec970]
lea ecx, [esi + 0x4c]
call dword [0x100ec970]
lea ecx, [esi + 0x58]
call dword [0x100ec970]
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov word [esi + 0x38], bx
mov byte [esi + 0x48], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x54], ebx
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 + 0xc]
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
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10005020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100df428
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10145188]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x10005146
cmp byte [edi + 0x49], 0
je 0x10005146
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x1000513a
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x10005095
lea eax, [ebp - 0x2c]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
lea ebx, [edi + 0x4c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov ecx, eax
cmp edx, 0x10
jae 0x100050b5
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
push ebx
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x100050da
dec eax
je 0x100050de
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x10005135
jmp 0x10005141
mov byte [edi + 0x49], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp edx, 0x10
jae 0x100050ee
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x10005118
cmp edx, 0x10
jae 0x100050fd
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x10005132
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x1000513e
test esi, esi
jne 0x100050a9
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10004f70
jmp 0x100050a3
lea ecx, [ebp - 0x2c]
call fcn.10001b30
xor al, al
jmp 0x10005148
lea ecx, [ebp - 0x2c]
call fcn.10001b30
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d0962
mov esp, ebp
pop ebp
ret
Function at 0x1000fd20
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d47b8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x10145188]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
mov dword [esi + 8], edx
call dword [0x100ec964]
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], edx
call dword [0x100ec964]
lea ecx, [edi + 0x1c]
push ecx
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 1
call dword [0x100ec964]
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10011a40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x10145188]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
push 0
mov esi, ecx
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x220], esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
xor ebx, ebx
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x10011b2f
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10011a96
mov esi, dword [ebp - 0x220]
push 0x208
lea ecx, [ebp - 0x214]
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
push str.OnDropFile_DragQueryFileW
call edi
push 0x104
lea edx, [ebp - 0x214]
push edx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
push str.OnDropFile_AddSendFile
call edi
sub esp, 0x1c
mov esi, esp
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x224], esp
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x10011af5
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp - 0x214]
call fcn.10018190
mov ecx, dword [ebp - 0x218]
call fcn.10011b50
push str.OnDropFile_AddSendFile_end
call edi
inc ebx
cmp ebx, dword [ebp - 0x21c]
jb 0x10011a90
mov eax, dword [ebp - 0x218]
call fcn.10011580
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d0962
mov esp, ebp
pop ebp
ret 4
Function at 0x10012fd0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1c08
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10145188]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x684]
push eax
push 0
mov byte [esi + 0x60b], 0
call dword [sym.imp.RJCTeacher.dll_bool___cdecl_RJCTLIB::cm_on_enable_submit_file_bool__int_]
add esp, 8
mov eax, esi
call fcn.10011680
cmp dword [esi + 0x738], 0
je 0x10013030
lea ecx, [esi + 0x6e0]
push ecx
call fcn.10003990
push str..lock
add esi, 0x6a4
lea edx, [ebp - 0x2c]
push esi
push edx
call fcn.10016370
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x10013058
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10013075
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x1001306e
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x18], esi
jb 0x10013087
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.mfc100u.dll_delete_1]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d0962
mov esp, ebp
pop ebp
ret
Function at 0x100145f0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1b78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10145188]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x738], 0
je 0x10014631
lea eax, [esi + 0x6e0]
push eax
call fcn.10003990
push str..lock
lea eax, [esi + 0x6a4]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.10016370
add esp, 0xc
cmp byte [ebp + 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
je 0x100146b5
cmp dword [ebp - 0x18], 8
lea edi, [esi + 0x6e0]
jae 0x10014668
lea eax, [ebp - 0x2c]
push eax
lea esi, [edi + 4]
call fcn.10015480
push 0
test eax, eax
jne 0x10014696
mov edx, dword [edi]
mov ecx, dword [edx + 4]
push 2
add ecx, edi
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push str.CMR_Need_Lock_The_Receive_Folder.
push edi
call fcn.10003d30
add esp, 8
jmp 0x100146dc
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push 0
add ecx, edi
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
push str.CMR_Need_Lock_The_Receive_Folder.
push edi
call fcn.10003d30
add esp, 8
jmp 0x100146dc
cmp dword [ebp - 0x18], 8
jae 0x100146be
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100146dc
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x100146d5
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x18], 8
jb 0x100146ef
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.mfc100u.dll_delete_1]
add esp, 4
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.100d0962
mov esp, ebp
pop ebp
ret 4
Function at 0x10019ce0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100da2b1
mov eax, dword fs:[0]
push eax
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 esi, dword [ebp + 8]
lea ecx, [esi + 8]
call dword [0x100ec970]
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
call dword [0x100ec970]
mov byte [ebp - 4], 1
mov eax, 1
mov dword [esi + 0x18], eax
mov byte [esi + 0x20], al
mov dword [esi + 0x1c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], eax
mov byte [esi + 0x38], al
lea eax, [esi + 0x50]
push eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.10019b10
lea ecx, [esi + 0x1e8]
push ecx
mov byte [ebp - 4], 2
call fcn.10019c00
mov byte [ebp - 4], 3
push 0x100ee700
lea ecx, [esi + 8]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0x10], 0xffffffff
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push 0x100ee700
lea ecx, [esi + 0xc]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov dword [esi + 0x48], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x1e0], 1
mov dword [esi + 0x1e4], 0xe
mov dword [esi + 0x4c], edi
mov eax, esi
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 0x1001dec0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dc589
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10145188]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0x10]
call fcn.10027430
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x1001df09
push 0x100f4858
mov ecx, esi
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push str.Group_File
lea ecx, [ebp - 0x10]
call dword [0x100ec930]
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]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100212b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100da194
mov eax, dword fs:[0]
push eax
push ecx
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 edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
lea edx, [edi + 8]
mov dword [esi + 4], ecx
push edx
lea ecx, [esi + 8]
call dword [0x100ec964]
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call dword [0x100ec964]
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x3c], edx
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x44], ecx
mov edx, dword [edi + 0x48]
mov dword [esi + 0x48], edx
mov eax, dword [edi + 0x4c]
lea edx, [esi + 0x50]
lea ecx, [edi + 0x50]
push edx
mov dword [esi + 0x4c], eax
call fcn.100213f0
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x1e0]
mov dword [esi + 0x1e0], eax
mov ecx, dword [edi + 0x1e4]
lea ebx, [esi + 0x1e8]
mov dword [esi + 0x1e4], ecx
add edi, 0x1e8
push edi
mov ecx, ebx
mov dword [ebp - 0x10], ebx
call dword [0x100ec964]
lea edx, [edi + 4]
push edx
lea ecx, [ebx + 4]
mov byte [ebp - 4], 3
call dword [0x100ec964]
lea eax, [edi + 8]
push eax
lea ecx, [ebx + 8]
mov byte [ebp - 4], 4
call dword [0x100ec964]
add edi, 0xc
push edi
lea ecx, [ebx + 0xc]
mov byte [ebp - 4], 5
call dword [0x100ec964]
mov eax, esi
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 0x10023bc0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d45c3
mov eax, dword fs:[0]
push eax
sub esp, 0x3b8
mov eax, dword [0x10145188]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x98]
push eax
mov esi, ecx
call dword [sym.imp.DuiLib_u.dll_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_]
add esp, 4
mov ecx, eax
mov dword [ebp - 4], 0
call dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
lea ecx, [ebp - 0x3c4]
call dword [0x100ec95c]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov ecx, 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 [0x100ec970]
push ecx
push edx
push 0x64
push 4
lea eax, [ebp - 0x3bc]
push eax
call fcn.100d0b49
lea ecx, [ebp - 0x3c0]
push ecx
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.RJDataBase.dll_int___cdecl_RJCDATABASE::cm_stu_get_sys_info_unsigned_int__long_int_]
mov eax, dword [ebp - 0x3c0]
mov edx, dword [ebp + eax*4 - 0x228]
mov edi, eax
add esp, 8
lea eax, [ebp + eax*4 - 0x3bc]
push eax
lea ecx, [ebp - 0x3c4]
mov dword [esi + 0x4d0], edx
call dword [0x100ec92c]
mov ecx, dword [ebp - 0x3c4]
push ecx
call dword [sym.imp.DuiLib_u.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__]
add esp, 4
call dword [sym.imp.DuiLib_u.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::ReloadSkin_void_]
mov eax, dword [0x101489d4]
mov esi, dword [esi + 0x4d0]
mov dword [eax + 0xc0], esi
mov dword [eax + 0xc4], edi
mov eax, dword [eax + 0x30]
test eax, eax
je 0x10023ccc
push 0
inc edi
push edi
push 0x17a0
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 4], 2
mov edx, dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
push edx
push 0x64
push 4
lea eax, [ebp - 0x3bc]
push eax
call fcn.100d0ae6
lea ecx, [ebp - 0x3c4]
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d0962
mov esp, ebp
pop ebp
ret
Function at 0x10026550
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ebp + 8], 0
mov dword [ebp - 4], 4
je 0x10026568
mov dword [ebp - 4], 3
lea eax, [ebp + 8]
push eax
push str.SYSTEMCurrentControlSetServicesUSBSTOR
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x10026597
push eax
push str.CDuiMainWndStuAc::EnableUDisk_RegCreateKey_fail__d_
push 0
call dword [sym.imp.Common.dll_int___cdecl_COMMON::WriteLog_int__wchar_t_const__]
add esp, 0xc
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp + 8]
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.Start
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100265c5
push eax
push str.CDuiMainWndStuAc::EnableUDisk_RegSetValueEx_fail__d_
push 0
call dword [sym.imp.Common.dll_int___cdecl_COMMON::WriteLog_int__wchar_t_const__]
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 4
Function at 0x1002ecf0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x10145188]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov ebx, dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push str.windowinit
mov ecx, edi
call ebx
test al, al
je 0x1002ed38
xor ebx, ebx
push 1
lea ecx, [esi - 0x20]
push ebx
mov byte [ecx + 0x46c], bl
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
jmp 0x1002ee0a
push str.timer
mov ecx, edi
call ebx
test al, al
je 0x1002ee0a
lea ecx, [esi + 0xc]
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::GetRoot_void_const]
cmp dword [edi + 0x108], eax
jne 0x1002ee0a
cmp dword [edi + 0x118], 0x65
jne 0x1002ee0a
push str.DUI_MSGTYPE_TIMER
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi - 0x1c]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x458]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1002edf5
cmp byte [esi + 0x5b4], bl
jne 0x1002edf5
lea ecx, [esi - 0x20]
call fcn.1002f170
push 0x65
lea ecx, [esi + 0xc]
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::GetRoot_void_const]
push eax
lea ecx, [esi + 0xc]
call dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::KillTimer_class_DuiLib::CControlUI___unsigned_int_]
push edi
mov ecx, esi
call dword [sym.imp.DuiLib_u.dll_public_virtual:_void___thiscall_DuiLib::WindowImplBase::Notify_struct_DuiLib::tagTNotifyUI__]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d0962
mov esp, ebp
pop ebp
ret 4