joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017d10
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1013cf71
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 + 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_]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x4c], 0
call fcn.10003040
add esp, 4
push str.EditPartion.ini
lea ecx, [esp + 0x24]
call dword [0x101464cc]
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_]
mov byte [esp + 0x48], 1
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x10017d8a
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 8]
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 + 0x1c], 8
mov eax, dword [esp + 8]
jae 0x10017da4
lea eax, [esp + 8]
push eax
push 0
push str.ResizePart
push str.EditPartition
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esp + 0x50], 0
jne 0x10017dc9
test eax, eax
je 0x10017dc9
push str.resizepart1
jmp 0x10017dce
push str.resizepart0
mov ecx, esi
call dword [0x10146514]
cmp dword [esp + 0x1c], 8
mov eax, dword [esp + 8]
jae 0x10017de5
lea eax, [esp + 8]
push eax
push 0
push str.ResizePart
push str.EditPartition
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 4]
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 + 0x20]
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 4
Function at 0x10017e40
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1013cf71
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 + 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_]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x4c], 0
call fcn.10003040
add esp, 4
push str.EditPartion.ini
lea ecx, [esp + 0x24]
call dword [0x101464cc]
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_]
mov byte [esp + 0x48], 1
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x10017eba
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 8]
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 + 0x1c], 8
mov eax, dword [esp + 8]
jae 0x10017ed4
lea eax, [esp + 8]
push eax
push 1
push str.EditDiscPartItem
push str.EditPartition
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
je 0x10017f04
sub eax, 1
je 0x10017efd
sub eax, 1
jne 0x10017f11
push 0x1014e4c8
jmp 0x10017f09
push str.space2allpart
jmp 0x10017f09
push str.noresize
mov ecx, esi
call dword [0x10146514]
cmp dword [esp + 0x1c], 8
mov eax, dword [esp + 8]
jae 0x10017f20
lea eax, [esp + 8]
push eax
push 0
push str.EditDiscPartItem
push str.EditPartition
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 4]
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 + 0x20]
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 0x10018090
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1013cf71
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 + 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_]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x4c], 0
call fcn.10003040
add esp, 4
push str.CompleteSettings.ini
lea ecx, [esp + 0x24]
call dword [0x101464cc]
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_]
mov byte [esp + 0x48], 1
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x1001810a
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 8]
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 + 0x1c], 8
mov eax, dword [esp + 8]
jae 0x10018124
lea eax, [esp + 8]
push eax
push 0
push str.CompleteOpt
push str.CompleteSettings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 4
ja case.default.0x1001813c
jmp dword [eax*4 + 0x100181e8]
push str.pcshut0
jmp 0x10018182
push str.pcshut1
mov ecx, esi
call dword [0x10146514]
mov byte [edi + 0x298], 1
jmp case.default.0x1001813c
push str.pcshut2
mov ecx, esi
call dword [0x10146514]
mov byte [edi + 0x298], 1
jmp case.default.0x1001813c
push str.pcshut3
jmp 0x10018182
push str.pcshut4
mov ecx, esi
call dword [0x10146514]
cmp dword [esp + 0x1c], 8
mov eax, dword [esp + 8]
jae 0x10018199
lea eax, [esp + 8]
push eax
push 0
push str.CompleteOpt
push str.CompleteSettings
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 4]
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 + 0x20]
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 0x10018200
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 str.CompleteSettings.ini
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 0x1001827a
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 0x10018294
lea eax, [esp + 0x24]
push eax
push 0
push str.CompleteOpt
push str.CompleteSettings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 4
ja case.default.0x100182ac
jmp dword [eax*4 + 0x10018318]
push str.pcshut0
jmp 0x100182d4
push str.pcshut1
jmp 0x100182d4
push str.pcshut2
jmp 0x100182d4
push str.pcshut3
jmp 0x100182d4
push str.pcshut4
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 0x10018330
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1013cf31
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebp
push esi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], 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 + 0x2c]
push ecx
mov dword [esp + 0x58], 0
call fcn.10003040
add esp, 4
push str.CompleteSettings.ini
lea ecx, [esp + 0x30]
call dword [0x101464cc]
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_]
mov byte [esp + 0x54], 1
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x100183b4
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
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 + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x100183ce
lea eax, [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.CheckIntegrity
push str.CompleteSettings
call esi
cmp dword [esp + 0x28], 8
mov ebp, eax
mov eax, dword [esp + 0x14]
jae 0x100183f4
lea eax, [esp + 0x14]
push eax
push 0
push str.CompleteOpt
push str.CompleteSettings
call esi
cmp eax, 4
ja case.default.0x10018408
jmp dword [eax*4 + 0x10018494]
push str.pcshut0
jmp 0x10018430
push str.pcshut1
jmp 0x10018430
push str.pcshut2
jmp 0x10018430
push str.pcshut3
jmp 0x10018430
push str.pcshut4
mov ecx, ebx
call dword [0x10146514]
test ebp, ebp
mov ecx, dword [esp + 0xc]
je 0x10018447
push 0x1014db00
jmp 0x1001844c
push 0x1014dafc
call dword [0x10146514]
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 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 + 0x2c]
mov dword [esp + 0x54], 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 + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1012d370
add esp, 0x4c
ret 4
Function at 0x10019480
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 0x100194fa
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 0x10019514
lea eax, [esp + 0x24]
push eax
push 0
push str.CheduleItem
push str.BackupParam
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 6
mov ecx, esi
jne 0x10019540
push str.null
call dword [0x10146514]
push str.null
jmp 0x1001956c
cmp dword [esp + 0x50], 0
je 0x1001954e
push str.pre_com1
jmp 0x10019553
push str.pre_com0
call dword [0x10146514]
cmp dword [esp + 0x54], 0
je 0x10019567
push str.post_com1
jmp 0x1001956c
push str.post_com0
mov ecx, edi
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 8
Function at 0x100195c0
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 0x1001963a
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 0x10019654
lea eax, [esp + 0x24]
push eax
push 0
push str.CheduleItem
push str.BackupParam
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 6
jne 0x10019673
push str.null
jmp 0x10019686
cmp dword [esp + 0x50], 0
je 0x10019681
push str.fast_sync1
jmp 0x10019686
push str.fast_sync0
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 4
Function at 0x10020f80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1013ceeb
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 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__::constructor_void_]
lea eax, [esp + 0x10]
mov ebx, 1
push eax
mov dword [esp + 0x58], ebx
call fcn.10003040
add esp, 4
push str.EditPartion.ini
lea ecx, [esp + 0x14]
call dword [0x101464cc]
lea ecx, [esp + 0x2c]
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 + 0x54], 2
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x10021008
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
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 + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x10021022
lea eax, [esp + 0x30]
push eax
push ebx
push str.EditDiscPartItem
push str.EditPartition
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, ebx
mov ecx, esi
je 0x10021069
sub eax, ebx
je 0x1002105c
sub eax, ebx
je 0x1002104f
push str.error
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
jmp 0x10021074
push 0x1014e4c8
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
jmp 0x10021074
push str.space2allpart
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
jmp 0x10021074
push str.noresize
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x2c]
mov dword [esp + 8], ebx
mov byte [esp + 0x54], bl
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 + 0x10]
mov byte [esp + 0x54], 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_]
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1012d370
add esp, 0x50
ret
Function at 0x100210c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1013ceeb
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 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__::constructor_void_]
lea eax, [esp + 0x10]
mov ebx, 1
push eax
mov dword [esp + 0x58], ebx
call fcn.10003040
add esp, 4
push str.EditPartion.ini
lea ecx, [esp + 0x14]
call dword [0x101464cc]
lea ecx, [esp + 0x2c]
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 + 0x54], 2
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x10021148
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
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 + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x10021162
lea eax, [esp + 0x30]
push eax
push 0
push str.ResizePart
push str.EditPartition
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esp + 0x5c], 0
jne 0x1002118f
test eax, eax
je 0x1002118f
push 0x1014db00
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
jmp 0x1002119c
push 0x1014dafc
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x2c]
mov dword [esp + 8], ebx
mov byte [esp + 0x54], bl
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 + 0x10]
mov byte [esp + 0x54], 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_]
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1012d370
add esp, 0x50
ret 4