Function at 0x10013f99
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x8ec
lea ebp, [esp - 4]
mov eax, dword [0x1002b1f0]
xor eax, ebp
mov dword [ebp + 0x8ec], eax
push 0xd0
mov eax, 0x1001a74f
call fcn.10018de1
mov esi, dword [ebp + 0x8f8]
and dword [ebp - 0x10], 0
mov edi, ecx
lea ecx, [ebp + 0x7c]
mov dword [ebp - 0x58], esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor ebx, ebx
inc ebx
lea ecx, [ebp + 0xd0]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [ebp + 0xb4]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [ebp + 0x98]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
and dword [ebp - 0x14], 0
cmp dword [0x1002ce80], 0
mov byte [ebp - 4], 4
je 0x10014071
push str.generate_peerid_strategy
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0x10024160
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [0x1002ce80]
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 6
call fcn.100174e9
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp + 0x98]
push eax
call fcn.10018aca
pop ecx
test al, al
jne 0x100140a5
lea eax, [ebp + 0x98]
push eax
mov ecx, edi
call fcn.100136f1
test al, al
jne 0x100140a5
push 0x10020047
lea ecx, [ebp + 0x98]
call dword [0x1001b234]
push 0x7ff
lea eax, [ebp + 0xed]
push 0
push eax
mov byte [ebp + 0xec], 0
call sub.MSVCR90.dll_memset
lea eax, [ebp + 0x28]
push ebx
push eax
call fcn.100148c6
add esp, 0x14
push str.pub_store.dat
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [ebp + 0x44]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp dword [ebp + 0x40], 0x10
mov ecx, dword [ebp + 0x2c]
mov byte [ebp - 4], 8
jae 0x100140f7
lea ecx, [ebp + 0x2c]
cmp dword [ebp + 0x5c], 0x10
mov eax, dword [ebp + 0x48]
jae 0x10014103
lea eax, [ebp + 0x48]
push ecx
push 0x800
lea ecx, [ebp + 0xec]
push ecx
push eax
push str.computer
push str.peerid
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x10014135
lea eax, [ebp + 0xec]
push eax
lea ecx, [ebp + 0x44]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__]
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.100135a4
pop ecx
pop ecx
cmp dword [ebp + 0x74], 0
mov byte [ebp - 4], 9
je 0x10014459
and dword [ebp - 0x34], 0
cmp dword [ebp + 0x78], 0x10
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x38], 0x58912317
jae 0x10014169
lea eax, [ebp + 0x64]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp + 0x74]
push eax
call fcn.100173b7
add esp, 0x10
lea ecx, [ebp]
call fcn.100151b5
push ebx
push ebx
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [ebp]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.10016f46
pop ecx
pop ecx
push str.serial
lea ecx, [ebp]
call fcn.10016ae8
mov ecx, eax
call fcn.100166d6
push eax
lea ecx, [ebp + 0x7c]
call dword [0x1001b268]
push 0x10024144
lea ecx, [ebp]
call fcn.10016ae8
mov ecx, eax
call fcn.100166d6
push eax
lea ecx, [ebp + 0xd0]
call dword [0x1001b268]
push str.hash
lea ecx, [ebp]
call fcn.10016ae8
mov ecx, eax
call fcn.100166d6
push eax
lea ecx, [ebp + 0xb4]
call dword [0x1001b268]
cmp dword [ebp + 0xe4], 0xc
je 0x1001425a
lea eax, [ebp + 0xd0]
push eax
call fcn.10017b13
pop ecx
test al, al
jne 0x1001425a
lea eax, [ebp + 0xd0]
push eax
mov ecx, edi
call fcn.100136f1
test al, al
jne 0x1001425a
push str.FFFFFFFFFFFF
lea ecx, [ebp + 0xd0]
call dword [0x1001b234]
cmp dword [ebp + 0xc8], 3
je 0x10014295
lea eax, [ebp + 0x98]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.1001388a
push eax
lea ecx, [ebp + 0xb4]
mov byte [ebp - 4], 0xc
call dword [0x1001b268]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp + 0x98]
push eax
lea eax, [ebp + 0x7c]
push eax
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
pop ecx
pop ecx
test al, al
je 0x10014388
cmp dword [ebp + 0x90], 0
je 0x10014388
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.10013da2
cmp dword [ebp - 0x14], 0
jne 0x10014335
mov edi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp - 0x30]
push eax
call edi
push 0x1002ce60
push eax
push esi
mov byte [ebp - 4], 0xd
call edi
add esp, 0x24
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void_]
lea ecx, [ebp]
mov byte [ebp - 4], 9
call fcn.100151c7
jmp 0x10014582
add esp, 0xc
lea eax, [ebp + 0x98]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.1001388a
mov edi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xe
call edi
push 0x1002ce60
push eax
push esi
mov byte [ebp - 4], 0xf
call edi
mov byte [ebp - 4], 0xe
add esp, 0x18
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x54]
jmp 0x1001430a
lea eax, [ebp + 0xd0]
push eax
call fcn.10017cef
pop ecx
test al, al
je 0x1001443d
lea eax, [ebp + 0x98]
push eax
lea ecx, [ebp + 0x7c]
call dword [0x1001b268]
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.10013da2
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x100143fc
mov edi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp - 0x30]
push eax
call edi
push 0x1002ce60
push eax
push esi
mov byte [ebp - 4], 0x10
call edi
add esp, 0x18
jmp 0x10014304
lea eax, [ebp + 0x98]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.1001388a
mov edi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x11
call edi
push 0x1002ce60
push eax
push esi
mov byte [ebp - 4], 0x12
call edi
mov byte [ebp - 4], 0x11
jmp 0x10014374
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void_]
lea ecx, [ebp]
mov byte [ebp - 4], 9
call fcn.100151c7
lea eax, [ebp + 0x98]
push eax
lea ecx, [ebp + 0x7c]
call dword [0x1001b268]
lea eax, [ebp + 0xd0]
push eax
call fcn.10017b13
pop ecx
test al, al
jne 0x1001449d
lea eax, [ebp + 0xd0]
push eax
mov ecx, edi
call fcn.100136f1
test al, al
jne 0x1001449d
push str.FFFFFFFFFFFF
lea ecx, [ebp + 0xd0]
call dword [0x1001b234]
cmp dword [ebp + 0xc8], 3
je 0x100144d8
lea eax, [ebp + 0x98]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.1001388a
push eax
lea ecx, [ebp + 0xb4]
mov byte [ebp - 4], 0x13
call dword [0x1001b268]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.10013da2
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x1001452a
mov edi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp - 0x30]
push eax
call edi
push 0x1002ce60
push eax
push esi
mov byte [ebp - 4], 0x14
call edi
add esp, 0x18
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x30]
jmp 0x10014578
lea eax, [ebp + 0x98]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.1001388a
mov edi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x15
call edi
push 0x1002ce60
push eax
push esi
mov byte [ebp - 4], 0x16
call edi
add esp, 0x18
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 0x15
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0x44]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0x98]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0xb4]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0xd0]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0x7c]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8ec]
xor ecx, ebp
call fcn.10018dd2
add ebp, 0x8f0
leave
ret 4