Function at 0x4277f9
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x8ec
lea ebp, [esp - 4]
mov eax, dword [0x4490e8]
xor eax, ebp
mov dword [ebp + 0x8ec], eax
push 0xd0
mov eax, 0x432149
call fcn.00425cc9
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 [0x44ca64], 0
mov byte [ebp - 4], 4
je 0x4278d1
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 0x43c918
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 [0x44ca64]
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 6
call fcn.0042704d
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.0042cded
pop ecx
test al, al
jne 0x427905
lea eax, [ebp + 0x98]
push eax
mov ecx, edi
call fcn.00426eb1
test al, al
jne 0x427905
push 0x43ef3e
lea ecx, [ebp + 0x98]
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__]
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.00428179
add esp, 0x14
push str.pub_store.dat
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 7
call dword [0x4342d0]
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 0x427957
lea ecx, [ebp + 0x2c]
cmp dword [ebp + 0x5c], 0x10
mov eax, dword [ebp + 0x48]
jae 0x427963
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 0x427995
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.00426d5e
pop ecx
pop ecx
cmp dword [ebp + 0x74], 0
mov byte [ebp - 4], 9
je 0x427cb9
and dword [ebp - 0x34], 0
cmp dword [ebp + 0x78], 0x10
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x38], 0x58912317
jae 0x4279c9
lea eax, [ebp + 0x64]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp + 0x74]
push eax
call fcn.0042b535
add esp, 0x10
lea ecx, [ebp]
call fcn.00428901
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.0042b0c4
pop ecx
pop ecx
push str.serial
lea ecx, [ebp]
call fcn.0042aab5
mov ecx, eax
call fcn.0042a552
push eax
lea ecx, [ebp + 0x7c]
call dword [0x434344]
push 0x43c8fc
lea ecx, [ebp]
call fcn.0042aab5
mov ecx, eax
call fcn.0042a552
push eax
lea ecx, [ebp + 0xd0]
call dword [0x434344]
push str.hash
lea ecx, [ebp]
call fcn.0042aab5
mov ecx, eax
call fcn.0042a552
push eax
lea ecx, [ebp + 0xb4]
call dword [0x434344]
cmp dword [ebp + 0xe4], 0xc
je 0x427aba
lea eax, [ebp + 0xd0]
push eax
call fcn.0042bda4
pop ecx
test al, al
jne 0x427aba
lea eax, [ebp + 0xd0]
push eax
mov ecx, edi
call fcn.00426eb1
test al, al
jne 0x427aba
push str.FFFFFFFFFFFF
lea ecx, [ebp + 0xd0]
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__]
cmp dword [ebp + 0xc8], 3
je 0x427af5
lea eax, [ebp + 0x98]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004270b5
push eax
lea ecx, [ebp + 0xb4]
mov byte [ebp - 4], 0xc
call dword [0x434344]
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 0x427be8
cmp dword [ebp + 0x90], 0
je 0x427be8
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.00427602
cmp dword [ebp - 0x14], 0
jne 0x427b95
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 0x44ca44
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.00428913
jmp 0x427de2
add esp, 0xc
lea eax, [ebp + 0x98]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.004270b5
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 0x44ca44
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 0x427b6a
lea eax, [ebp + 0xd0]
push eax
call fcn.0042bf80
pop ecx
test al, al
je 0x427c9d
lea eax, [ebp + 0x98]
push eax
lea ecx, [ebp + 0x7c]
call dword [0x434344]
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.00427602
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x427c5c
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 0x44ca44
push eax
push esi
mov byte [ebp - 4], 0x10
call edi
add esp, 0x18
jmp 0x427b64
lea eax, [ebp + 0x98]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.004270b5
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 0x44ca44
push eax
push esi
mov byte [ebp - 4], 0x12
call edi
mov byte [ebp - 4], 0x11
jmp 0x427bd4
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.00428913
lea eax, [ebp + 0x98]
push eax
lea ecx, [ebp + 0x7c]
call dword [0x434344]
lea eax, [ebp + 0xd0]
push eax
call fcn.0042bda4
pop ecx
test al, al
jne 0x427cfd
lea eax, [ebp + 0xd0]
push eax
mov ecx, edi
call fcn.00426eb1
test al, al
jne 0x427cfd
push str.FFFFFFFFFFFF
lea ecx, [ebp + 0xd0]
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__]
cmp dword [ebp + 0xc8], 3
je 0x427d38
lea eax, [ebp + 0x98]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004270b5
push eax
lea ecx, [ebp + 0xb4]
mov byte [ebp - 4], 0x13
call dword [0x434344]
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.00427602
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x427d8a
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 0x44ca44
push eax
push esi
mov byte [ebp - 4], 0x14
call edi
add esp, 0x18
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x30]
jmp 0x427dd8
lea eax, [ebp + 0x98]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.004270b5
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 0x44ca44
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.00425cba
add ebp, 0x8f0
leave
ret 4