joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x40b040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40653c
cmp byte [esi + 0x3d], 0
je 0x40653c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40652a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x4064f1
sub eax, 1
je 0x4064f5
sub eax, 2
jne 0x40652a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406bb2
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x406513
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40652a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406bb2
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406bb2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00406bb2
mov esp, ebp
pop ebp
ret

Function at 0x407453
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407492
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407492
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407492
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407492
cmp dword [ecx + 0x74], 0xe
jbe 0x407492
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100043e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101d737a
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x10263fdc]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xc], edi
push 1
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], vtable.boost::exception.0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x14], str.bad_allocation
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const___int_]
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_alloc_.1.0
mov dword [esp + 0x2c], vtable.boost::exception_detail::bad_alloc_.0
push 1
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], edi
call fcn.10004c00
test byte [0x10268358], 1
mov dword [esp + 0x40], str.class_boost::exception_ptr___cdecl_boost::exception_detail::get_static_exception_object_struct_boost::exception_detail::bad_alloc___void_
mov dword [esp + 0x44], str.E:workC_thirdDepsinclude_boost_exception_detail_exception_ptr.hpp
mov dword [esp + 0x48], 0x8a
jne 0x10004533
or dword [0x10268358], 1
push 0x2c
mov byte [esp + 0x74], 2
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x70], 3
cmp eax, edi
je 0x100044c3
push 1
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
call fcn.10004850
jmp 0x100044c5
xor eax, eax
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 2
call fcn.100051f0
mov ecx, dword [eax]
mov dword [0x1026835c], ecx
mov eax, dword [eax + 4]
mov dword [0x10268360], eax
cmp eax, edi
je 0x100044f4
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x10004526
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10004526
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10004526
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x101d8b70
call fcn.101cebcb
add esp, 4
mov eax, dword [0x1026835c]
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov ecx, dword [0x10268360]
mov eax, ecx
mov dword [esi + 4], ecx
cmp eax, edi
je 0x10004558
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
lea ecx, [esp + 0x38]
call fcn.10004ce0
mov dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_alloc_.1.0
mov dword [esp + 0x2c], vtable.std::bad_alloc.0
call dword [sym.imp.MSVCR100.dll_public_virtual:_void___thiscall_std::exception::destructor_void_]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], vtable.boost::exception.0
cmp ecx, edi
je 0x100045a2
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100045c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101d732a
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x10263fdc]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xc], edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], vtable.boost::exception.0
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], str.bad_exception
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_exception_.1.0
mov dword [esp + 0x2c], vtable.boost::exception_detail::bad_exception_.0
push 1
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], edi
call fcn.10004e10
test byte [0x10268364], 1
mov dword [esp + 0x40], str.class_boost::exception_ptr___cdecl_boost::exception_detail::get_static_exception_object_struct_boost::exception_detail::bad_exception___void_
mov dword [esp + 0x44], str.E:workC_thirdDepsinclude_boost_exception_detail_exception_ptr.hpp
mov dword [esp + 0x48], 0x8a
jne 0x10004711
or dword [0x10268364], 1
push 0x2c
mov byte [esp + 0x74], 2
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x70], 3
cmp eax, edi
je 0x100046a1
push 1
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
call fcn.10004950
jmp 0x100046a3
xor eax, eax
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 2
call fcn.100052b0
mov ecx, dword [eax]
mov dword [0x10268368], ecx
mov eax, dword [eax + 4]
mov dword [0x1026836c], eax
cmp eax, edi
je 0x100046d2
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x10004704
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10004704
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10004704
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x101d8b30
call fcn.101cebcb
add esp, 4
mov eax, dword [0x10268368]
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov ecx, dword [0x1026836c]
mov eax, ecx
mov dword [esi + 4], ecx
cmp eax, edi
je 0x10004736
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
lea ecx, [esp + 0x38]
call fcn.10004ef0
mov dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x18], vtable.boost::exception_detail::bad_exception_.1.0
mov dword [esp + 0x2c], vtable.std::bad_exception.0
call dword [sym.imp.MSVCR100.dll_public_virtual:_void___thiscall_std::exception::destructor_void_]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], vtable.boost::exception.0
cmp ecx, edi
je 0x10004780
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000e100
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d4704
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x10263fdc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_]
lea ecx, [ebp - 0x9c]
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_void_]
lea eax, [ebp - 0x1ac]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.DuiLib_u.dll_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_]
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 1
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 - 0x9c]
call dword [0x101d9b14]
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
push str.Default.ini
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x9c]
call dword [sym.imp.szutils.dll_public:_class_TCommon::TString___thiscall_TCommon::TString::operator_wchar_t_const__]
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 2
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
push eax
push 8
push str.PenSize
push str.HandWritParam
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x504], eax
mov byte [ebp - 4], 0
mov esi, dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
lea ecx, [ebp - 0x128]
call esi
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 0xffffffff
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101ce9e2
mov esp, ebp
pop ebp
ret
Function at 0x10012030
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x10012060
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0xc], 0
jg 0x10012070
jl 0x1001204a
cmp dword [esp + 8], 0
jbe 0x1001204a
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x10]
push ecx
xor esi, esi
call edi
test eax, eax
jne 0x10012094
inc esi
cmp esi, 3
ja 0x1001204a
lea edx, [esp + 0x10]
push edx
call edi
test eax, eax
je 0x10012083
fild qword [esp + 0x10]
fmul qword [0x10250d78]
fild qword [esp + 8]
fdivp st(1)
call fcn.101cf076
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100120c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d6aec
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x10263fdc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, esi
mov dword [ebp - 0x2a8], esi
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::WindowImplBase::constructor_void_]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_void_]
lea ecx, [esi + 0x4d0]
mov dword [esi], vtable.FaceMatchM11.0
mov dword [esi + 0x10], vtable.FaceMatchM11.1.0
mov dword [esi + 0x20], vtable.FaceMatchM11.2.0
mov dword [esi + 0x24], vtable.FaceMatchM11.3.0
mov dword [esi + 0x28], vtable.FaceMatchM11.4.0
mov dword [esi + 0x4b8], eax
call edi
lea ecx, [esi + 0x55c]
mov byte [ebp - 4], 1
call edi
lea ecx, [esi + 0x5e8]
mov byte [ebp - 4], 2
call edi
lea ecx, [esi + 0x6a0]
mov byte [ebp - 4], 3
call fcn.10026980
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
mov byte [ebp - 4], 4
push edx
mov word [ebp - 0x218], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [esi + 0x5e8]
call dword [0x101d9b14]
push str.Face.bmp
lea edx, [ebp - 0x2a4]
push edx
lea ecx, [esi + 0x5e8]
call dword [sym.imp.szutils.dll_public:_class_TCommon::TString___thiscall_TCommon::TString::operator_wchar_t_const__]
mov byte [ebp - 4], 5
mov ebx, dword [sym.imp.szutils.dll_public:_class_TCommon::TString_const____thiscall_TCommon::TString::operator_class_TCommon::TString_const__]
push eax
lea ecx, [esi + 0x4d0]
call ebx
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 4
call dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
push str.Video.jpg
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [esi + 0x5e8]
call dword [sym.imp.szutils.dll_public:_class_TCommon::TString___thiscall_TCommon::TString::operator_wchar_t_const__]
push eax
lea ecx, [esi + 0x55c]
mov byte [ebp - 4], 6
call ebx
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 4
call dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101ce9e2
mov esp, ebp
pop ebp
ret 4
Function at 0x100124c0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d4484
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x10263fdc]
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 - 0x3b4]
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
push 0xffffffffffffffff
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 - 0x2a4]
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_wchar_t_const___int_]
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 2
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
push str.devicem11_
lea ecx, [ebp - 0x2a4]
call dword [sym.imp.szutils.dll_public:_class_TCommon::TString_const____thiscall_TCommon::TString::operator_wchar_t_const__]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebp - 0x2a4]
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::GetUnicode_void_]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push eax
call edi
push str.VIEW_SIGN.dll
lea ecx, [ebp - 0x330]
push ecx
lea ecx, [ebp - 0x2a4]
call dword [sym.imp.szutils.dll_public:_class_TCommon::TString___thiscall_TCommon::TString::operator_wchar_t_const__]
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 3
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea edx, [ebp - 0x218]
push edx
mov dword [esi + 0x69c], eax
call edi
mov eax, dword [esi + 0x69c]
test eax, eax
je 0x1001261b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getDeviceInfo
push eax
call edi
mov dword [esi + 0x68c], eax
mov eax, dword [esi + 0x69c]
push str.openDevice
push eax
call edi
mov ecx, dword [esi + 0x69c]
push str.closeDevice
push ecx
mov dword [esi + 0x690], eax
call edi
mov edx, dword [esi + 0x69c]
push str.getPackets
push edx
mov dword [esi + 0x694], eax
call edi
mov dword [esi + 0x698], eax
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
lea ecx, [ebp - 0x330]
call esi
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 4], 0xffffffff
call esi
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.101ce9e2
mov esp, ebp
pop ebp
ret
Function at 0x10013470
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
push 1
mov esi, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
call dword [sym.imp.DuiLib_u.dll_public_virtual:_void___thiscall_DuiLib::CControlUI::SetPos_struct_tagRECT__bool_]
cmp dword [esi + 0x658], 0
jne 0x100134f1
call fcn.100135a0
mov eax, dword [esi + 0x65c]
push 0
push 0
push 0
push eax
push 0
push 0
push 0
push 0
push 0x50000000
push 0x1024d710
push str.SZCA_HWP_CLS_M11_VIDEO
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x658], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x658]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esi + 0x658]
test esi, esi
je 0x1001351a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push 0x14
sub edx, eax
push edx
mov edx, dword [ebp + 0x10]
sub edx, ecx
push edx
push eax
push ecx
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
pop ebp
ret 0x14
Function at 0x100159d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x10263fdc]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x402]
push ecx
mov word [ebp - 0x404], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ecx, esi
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
push eax
push 0x200
lea edx, [ebp - 0x404]
push edx
push str.00000000
push str.Color
push str.FontToSeal
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x10
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x404]
push ecx
mov dword [ebp - 0x408], 0
call dword [sym.imp.MSVCR100.dll_wcstoul]
mov ecx, eax
mov edx, ecx
shr edx, 8
movzx eax, dl
movzx edx, cl
shr ecx, 0x10
shl edx, 8
or eax, edx
movzx ecx, cl
shl eax, 8
or eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0xc
call fcn.101ce9e2
mov esp, ebp
pop ebp
ret

Function at 0x10015a80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x10263fdc]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x402]
push ecx
mov dword [ebp - 0x408], 0
mov word [ebp - 0x404], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov ecx, edi
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
push eax
push 0x200
lea edx, [ebp - 0x404]
push edx
push 0x1024d710
push str.Name
push str.FontToSeal
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
mov ecx, esi
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_wchar_t_const___int_]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.101ce9e2
mov esp, ebp
pop ebp
ret
Function at 0x10015b10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10263fdc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x402]
push edx
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x40c], 0
mov word [ebp - 0x404], cx
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
add esp, 0xc
lea ecx, [esi + 0x8c]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x200
lea eax, [ebp - 0x404]
push eax
push 0x1024d710
push str.RSAUrl
push str.TimeStamp
call ebx
lea eax, [ebp - 0x404]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10015b94
sub eax, edx
sar eax, 1
jne 0x10015bc7
mov ecx, esi
call edi
push eax
push 0x200
lea ecx, [ebp - 0x404]
push ecx
push 0x1024d710
push str.RSAUrl
push str.TimeStamp
call ebx
mov esi, dword [ebp - 0x408]
push 0xffffffffffffffff
lea edx, [ebp - 0x404]
push edx
mov ecx, esi
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_wchar_t_const___int_]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.101ce9e2
mov esp, ebp
pop ebp
ret 4

Function at 0x10015c00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10263fdc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x402]
push edx
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x40c], 0
mov word [ebp - 0x404], cx
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
add esp, 0xc
lea ecx, [esi + 0x8c]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x200
lea eax, [ebp - 0x404]
push eax
push 0x1024d710
push str.SM2Url
push str.TimeStamp
call ebx
lea eax, [ebp - 0x404]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10015c84
sub eax, edx
sar eax, 1
jne 0x10015cb7
mov ecx, esi
call edi
push eax
push 0x200
lea ecx, [ebp - 0x404]
push ecx
push 0x1024d710
push str.SM2Url
push str.TimeStamp
call ebx
mov esi, dword [ebp - 0x408]
push 0xffffffffffffffff
lea edx, [ebp - 0x404]
push edx
mov ecx, esi
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_wchar_t_const___int_]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.101ce9e2
mov esp, ebp
pop ebp
ret 4