joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100165d0
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1014006b
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
push esi
push edi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
xor edi, edi
push 0x206
lea eax, [esp + 0x23a]
push edi
push eax
mov word [esp + 0x240], di
call sub.MSVCR80.dll_memset
push 0x206
lea ecx, [esp + 0x3e]
push edi
push ecx
mov word [esp + 0x44], di
call sub.MSVCR80.dll_memset
add esp, 0x18
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea edx, [esp + 0x234]
push edx
mov dword [esp + 0x44c], edi
call fcn.10016760
mov esi, eax
cmp esi, edi
jne 0x1001669b
push 0xab3
call fcn.1000d520
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call sub.Comn.dll_GetObjectLog
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push ebx
push str.GetModuleDir_NULL__stCurDir__sizeof_stCurDir__sizeof_stCurDir_0___
push str._s_return_code:_0x_08X___s.
push eax
call edx
add esp, 0x14
jmp 0x10016720
lea eax, [esp + 0x234]
push eax
push str._sOther.ini
lea edx, [esp + 0x34]
call fcn.10003fc0
add esp, 8
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10016708
lea ecx, [esp + 0x2c]
call fcn.10016900
mov esi, eax
cmp esi, edi
jne 0x10016708
push 0xabb
call fcn.1000d520
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call sub.Comn.dll_GetObjectLog
mov edx, dword [eax]
push edi
push ebx
push str.CreateAndInitOtherIni_FALSE__stCfgFile_
push str._s_return_code:_0x_08X___s.
push eax
mov eax, dword [edx + 0xc]
call eax
add esp, 0x14
jmp 0x10016720
lea ecx, [esp + 0x2c]
push ecx
push edi
push str.ExperienceValue
push str.UserExperience
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x448], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.1012d370
add esp, 0x43c
ret
Function at 0x10016900
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x424
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [esp + 0x22a]
push ebx
push eax
mov edi, ecx
mov esi, 1
mov word [esp + 0x230], bx
call sub.MSVCR80.dll_memset
push 0x206
lea ecx, [esp + 0x2e]
push ebx
push ecx
mov word [esp + 0x34], bx
call sub.MSVCR80.dll_memset
add esp, 0x18
cmp edi, ebx
jne 0x100169ba
lea edx, [esp + 0x224]
push edx
call fcn.10016760
mov esi, eax
cmp esi, ebx
jne 0x1001699f
push 0xaee
call fcn.1000d520
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call sub.Comn.dll_GetObjectLog
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push ebx
push str.GetModuleDir_NULL__stCurDir__sizeof_stCurDir__sizeof_stCurDir_0___
push str._s_return_code:_0x_08X___s.
push eax
call edx
add esp, 0x14
jmp 0x10016a1d
lea eax, [esp + 0x224]
push eax
push str._sOther.ini
lea edx, [esp + 0x24]
call fcn.10003fc0
add esp, 8
jmp 0x100169ce
push edi
lea ecx, [esp + 0x20]
push 0x104
push ecx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10016a1d
xor eax, eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov word [esp + 0x1a], ax
lea eax, [esp + 0x1c]
push eax
push 8
lea ecx, [esp + 0x14]
push ecx
push ebx
mov word [esp + 0x1c], bx
call dword [sym.imp.MSVCR80.dll__itow]
add esp, 0xc
push eax
push str.ExperienceValue
push str.UserExperience
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0x42c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.1012d370
add esp, 0x424
ret

Function at 0x10016c40
Capabilities:
Get disk information

Disassembly:
sub esp, 0x14
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [0x1014c728]
mov ecx, dword [0x1014c72c]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
mov dword [esp + 0xc], ecx
mov word [esp + 8], dx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
cmp eax, 5
sete cl
mov eax, ecx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1012d370
add esp, 0x14
ret

Function at 0x10016c90
Capabilities:
Get disk information

Disassembly:
sub esp, 0x14
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [0x1014c728]
mov ecx, dword [0x1014c72c]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
mov dword [esp + 0xc], ecx
mov word [esp + 8], dx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
cmp eax, 2
sete cl
mov eax, ecx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1012d370
add esp, 0x14
ret
Function at 0x10016ce0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x10
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [0x1014c728]
mov ecx, dword [0x1014c72c]
push ebx
lea edx, [esp + 4]
mov dword [esp + 4], eax
push edx
mov dword [esp + 0xc], ecx
mov word [esp + 8], si
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10016d3a
mov ecx, esi
call fcn.10016d50
cmp eax, 7
jne 0x10016d3a
mov al, 1
movzx eax, al
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.1012d370
add esp, 0x10
ret
mov ecx, dword [esp + 0xc]
movzx eax, bl
pop ebx
xor ecx, esp
call fcn.1012d370
add esp, 0x10
ret
Function at 0x10016d50
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x24c
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x244], eax
mov eax, dword [str._:]
mov edx, dword [0x1014c67c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [0x1014c678]
push 0x1fa
xor edi, edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], eax
mov ax, word [0x1014c680]
lea ecx, [esp + 0x5a]
push edi
push ecx
xor ebp, ebp
mov dword [esp + 0x5c], edx
mov word [esp + 0x60], ax
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0xc
cmp si, 0x41
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
jb 0x10016def
cmp si, 0x5a
jbe 0x10016dfc
lea edx, [esi - 0x61]
cmp dx, 0x19
ja 0x10016ed3
push edi
push 0x80
push 3
push edi
push 3
push SysReAllocString
lea eax, [esp + 0x60]
push eax
mov word [esp + 0x6c], si
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10016e5a
push 0xb7f
call fcn.1000d520
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.Comn.dll_GetObjectLog
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push edi
push str.hDrv_INVALID_HANDLE_VALUE
push str._s_return_code:_0x_08X___s.
push eax
call edx
add esp, 0x14
mov eax, ebp
jmp 0x10016ed5
push edi
lea eax, [esp + 0x14]
push eax
push 0x28
lea ecx, [esp + 0x2c]
push ecx
push 0xc
lea edx, [esp + 0x28]
push edx
push 0x2d1400
push esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10016ec4
push 0xb89
call fcn.1000d520
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call sub.Comn.dll_GetObjectLog
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push ebx
push str.DeviceIoControl_hDrv___IOCTL_STORAGE_QUERY_PROPERTY___ProQuery__sizeof_ProQuery____DevDesc__sizeof_DevDesc____ulBytesResult___NULL_
push str._s_return_code:_0x_08X___s.
push eax
call edx
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
jmp 0x10016ed5
mov ebp, dword [esp + 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
jmp 0x10016ed5
xor eax, eax
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1012d370
add esp, 0x24c
ret
Function at 0x100175d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1013cff1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea ecx, [esp + 4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [esp + 4]
push eax
mov dword [esp + 0x4c], 0
call fcn.10003040
add esp, 4
push 0x1014cde8
lea ecx, [esp + 8]
call dword [0x101464cc]
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x48], 1
cmp dword [esp + 0x1c], 8
mov eax, dword [esp + 8]
jae 0x1001764a
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x10017664
lea eax, [esp + 0x24]
push eax
push 0
push str.Password
push str.BackupParam
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
mov ecx, edi
je 0x10017684
push str.encrypt1
jmp 0x10017689
push str.encrypt0
call dword [0x10146514]
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 4]
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1012d370
add esp, 0x48
ret
Function at 0x10017710
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1013cff1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea ecx, [esp + 4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [esp + 4]
push eax
mov dword [esp + 0x4c], 0
call fcn.10003040
add esp, 4
push 0x1014cde8
lea ecx, [esp + 8]
call dword [0x101464cc]
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x48], 1
cmp dword [esp + 0x1c], 8
mov eax, dword [esp + 8]
jae 0x1001778a
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x100177a4
lea eax, [esp + 0x24]
push eax
push 0
push str.SplitMethod
push str.BackupParam
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
mov ecx, edi
jne 0x100177c4
push str.auto_split
jmp 0x100177c9
push str.manual_split
call dword [0x10146514]
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 4]
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1012d370
add esp, 0x48
ret
Function at 0x10017810
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1013cff1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea ecx, [esp + 4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [esp + 4]
push eax
mov dword [esp + 0x4c], 0
call fcn.10003040
add esp, 4
push 0x1014cde8
lea ecx, [esp + 8]
call dword [0x101464cc]
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x48], 1
cmp dword [esp + 0x1c], 8
mov eax, dword [esp + 8]
jae 0x1001788a
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x100178a4
lea eax, [esp + 0x24]
push eax
push 1
push str.UseVSS
push str.BackupParam
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
mov ecx, esi
jne 0x100178c5
push str.vss1
jmp 0x100178ca
push str.vss0
call dword [0x10146514]
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 4]
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1012d370
add esp, 0x48
ret
Function at 0x10017910
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1013cff1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea ecx, [esp + 4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [esp + 4]
push eax
mov dword [esp + 0x4c], 0
call fcn.10003040
add esp, 4
push 0x1014cde8
lea ecx, [esp + 8]
call dword [0x101464cc]
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x48], 1
cmp dword [esp + 0x1c], 8
mov eax, dword [esp + 8]
jae 0x1001798a
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x100179a4
lea eax, [esp + 0x24]
push eax
push 0
push str.SecBySec
push str.BackupParam
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
mov ecx, edi
jne 0x100179c5
push str.sbs1
jmp 0x100179ca
push str.sbs0
call dword [0x10146514]
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 4]
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1012d370
add esp, 0x48
ret
Function at 0x10017a10
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1013cff1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea ecx, [esp + 4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [esp + 4]
push eax
mov dword [esp + 0x4c], 0
call fcn.10003040
add esp, 4
push 0x1014cde8
lea ecx, [esp + 8]
call dword [0x101464cc]
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x48], 1
cmp dword [esp + 0x1c], 8
mov eax, dword [esp + 8]
jae 0x10017a8a
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x10017aa4
lea eax, [esp + 0x24]
push eax
push 0
push str.PolicyType
push str.BackupParam
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 5
ja case.0x10017abc.0
jmp dword [eax*4 + 0x10017b30]
push str.scheme_full
jmp 0x10017aeb
push str.scheme_inc
jmp 0x10017aeb
push str.scheme_diff
jmp 0x10017aeb
push str.scheme_space
jmp 0x10017aeb
push str.scheme_other
jmp 0x10017aeb
push str.scheme0
mov ecx, esi
call dword [0x10146514]
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 4]
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1012d370
add esp, 0x48
ret
Function at 0x10017b50
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1013cfb1
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x5c], 0
call fcn.10003040
add esp, 4
push str.CompleteSettings.ini
lea ecx, [esp + 0x34]
call dword [0x101464cc]
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x58], 1
mov eax, dword [esp + 0x34]
mov esi, 8
cmp dword [esp + 0x48], esi
jae 0x10017bdd
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [esp + 0x2c], esi
mov eax, dword [esp + 0x18]
jae 0x10017bf6
lea eax, [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.CheckIntegrity
push str.CompleteSettings
call esi
cmp dword [esp + 0x2c], 8
mov ebx, eax
mov eax, dword [esp + 0x18]
jae 0x10017c1c
lea eax, [esp + 0x18]
push eax
push 0
push str.CompleteOpt
push str.CompleteSettings
call esi
cmp eax, 4
ja case.default.0x10017c30
jmp dword [eax*4 + 0x10017cf8]
push str.pcshut0
jmp 0x10017c76
push str.pcshut1
mov ecx, edi
call dword [0x10146514]
mov byte [ebp + 0x298], 1
jmp case.default.0x10017c30
push str.pcshut2
mov ecx, edi
call dword [0x10146514]
mov byte [ebp + 0x298], 1
jmp case.default.0x10017c30
push str.pcshut3
jmp 0x10017c76
push str.pcshut4
mov ecx, edi
call dword [0x10146514]
test ebx, ebx
mov ecx, dword [esp + 0x10]
je 0x10017c8d
push str.checkimg1
jmp 0x10017c92
push str.checkimg0
call dword [0x10146514]
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x10017ca7
lea eax, [esp + 0x18]
push eax
push 0
push 0
push str.CompleteSettings
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1012d370
add esp, 0x4c
ret 8