Function at 0x42407f
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x8ec
lea ebp, [esp - 4]
mov eax, dword [0x445bbc]
xor eax, ebp
mov dword [ebp + 0x8ec], eax
push 0xd0
mov eax, 0x430ccf
call fcn.00428eb0
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 [0x446a3c], 0
mov byte [ebp - 4], 4
je 0x424157
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 0x435dcc
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 [0x446a3c]
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 6
call fcn.00426be6
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.00428175
pop ecx
test al, al
jne 0x42418b
lea eax, [ebp + 0x98]
push eax
mov ecx, edi
call fcn.004237d7
test al, al
jne 0x42418b
push 0x439098
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.00424994
add esp, 0x14
push str.pub_store.dat
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 7
call dword [0x434334]
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 0x4241dd
lea ecx, [ebp + 0x2c]
cmp dword [ebp + 0x5c], 0x10
mov eax, dword [ebp + 0x48]
jae 0x4241e9
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 0x42421b
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.0042368a
pop ecx
pop ecx
cmp dword [ebp + 0x74], 0
mov byte [ebp - 4], 9
je 0x42453f
and dword [ebp - 0x34], 0
cmp dword [ebp + 0x78], 0x10
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x38], 0x58912317
jae 0x42424f
lea eax, [ebp + 0x64]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp + 0x74]
push eax
call fcn.00426ab4
add esp, 0x10
lea ecx, [ebp]
call fcn.00424bae
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.00426643
pop ecx
pop ecx
push str.serial
lea ecx, [ebp]
call fcn.004261e5
mov ecx, eax
call fcn.00425e2a
push eax
lea ecx, [ebp + 0x7c]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x435db0
lea ecx, [ebp]
call fcn.004261e5
mov ecx, eax
call fcn.00425e2a
push eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push str.hash
lea ecx, [ebp]
call fcn.004261e5
mov ecx, eax
call fcn.00425e2a
push eax
lea ecx, [ebp + 0xb4]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
cmp dword [ebp + 0xe4], 0xc
je 0x424340
lea eax, [ebp + 0xd0]
push eax
call fcn.004271be
pop ecx
test al, al
jne 0x424340
lea eax, [ebp + 0xd0]
push eax
mov ecx, edi
call fcn.004237d7
test al, al
jne 0x424340
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 0x42437b
lea eax, [ebp + 0x98]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.00423970
push eax
lea ecx, [ebp + 0xb4]
mov byte [ebp - 4], 0xc
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
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 0x42446e
cmp dword [ebp + 0x90], 0
je 0x42446e
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.00423e88
cmp dword [ebp - 0x14], 0
jne 0x42441b
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 0x446a1c
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.00424bc0
jmp 0x424668
add esp, 0xc
lea eax, [ebp + 0x98]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.00423970
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 0x446a1c
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 0x4243f0
lea eax, [ebp + 0xd0]
push eax
call fcn.0042739a
pop ecx
test al, al
je 0x424523
lea eax, [ebp + 0x98]
push eax
lea ecx, [ebp + 0x7c]
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_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 + 0x7c]
push eax
call fcn.00423e88
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x4244e2
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 0x446a1c
push eax
push esi
mov byte [ebp - 4], 0x10
call edi
add esp, 0x18
jmp 0x4243ea
lea eax, [ebp + 0x98]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.00423970
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 0x446a1c
push eax
push esi
mov byte [ebp - 4], 0x12
call edi
mov byte [ebp - 4], 0x11
jmp 0x42445a
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.00424bc0
lea eax, [ebp + 0x98]
push eax
lea ecx, [ebp + 0x7c]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [ebp + 0xd0]
push eax
call fcn.004271be
pop ecx
test al, al
jne 0x424583
lea eax, [ebp + 0xd0]
push eax
mov ecx, edi
call fcn.004237d7
test al, al
jne 0x424583
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 0x4245be
lea eax, [ebp + 0x98]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.00423970
push eax
lea ecx, [ebp + 0xb4]
mov byte [ebp - 4], 0x13
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
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.00423e88
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x424610
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 0x446a1c
push eax
push esi
mov byte [ebp - 4], 0x14
call edi
add esp, 0x18
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x30]
jmp 0x42465e
lea eax, [ebp + 0x98]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.00423970
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 0x446a1c
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.0042898c
add ebp, 0x8f0
leave
ret 4