Function at 0x49abe6
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x8ec
lea ebp, [esp - 4]
mov eax, dword [0x4c3a60]
xor eax, ebp
mov dword [ebp + 0x8ec], eax
push 0xd0
mov eax, 0x4a2526
call fcn.004771fb
mov eax, dword [ebp + 0x8f8]
push 0xf
pop edi
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
push ebx
lea ecx, [ebp + 0x7c]
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x94], edi
call fcn.0040282f
push ebx
lea ecx, [ebp + 0xd0]
mov dword [ebp - 4], ebx
mov dword [ebp + 0xe8], edi
call fcn.0040282f
push ebx
lea ecx, [ebp + 0xb4]
mov dword [ebp + 0xcc], edi
call fcn.0040282f
push ebx
lea ecx, [ebp + 0x98]
mov dword [ebp + 0xb0], edi
call fcn.0040282f
xor esi, esi
inc esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], ebx
cmp dword [0x4d1a18], ebx
je 0x49accc
push str.generate_peerid_strategy
lea ecx, [ebp - 0x38]
call fcn.00402477
push 0x4b2708
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00402477
mov ecx, dword [0x4d1a18]
push ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 5
call fcn.0049f466
push ebx
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x18], eax
call fcn.0040284b
push ebx
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0040284b
lea eax, [ebp + 0x98]
push eax
call fcn.004a0b24
pop ecx
test al, al
jne 0x49ad00
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x98]
push eax
call fcn.0049a271
test al, al
jne 0x49ad00
push 0x4b3732
lea ecx, [ebp + 0x98]
call fcn.00402454
push 0x7ff
lea eax, [ebp + 0xed]
push ebx
push eax
mov byte [ebp + 0xec], bl
call fcn.00476cc0
lea eax, [ebp + 0x28]
push esi
push eax
call fcn.0049b5c2
add esp, 0x14
push str.pub_store.dat
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 6
call fcn.00416ccd
push ebx
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x78], edi
call fcn.0040282f
cmp dword [ebp + 0x40], 0x10
mov ecx, dword [ebp + 0x2c]
mov byte [ebp - 4], 7
jae 0x49ad52
lea ecx, [ebp + 0x2c]
cmp dword [ebp + 0x78], 0x10
mov eax, dword [ebp + 0x64]
jae 0x49ad5e
lea eax, [ebp + 0x64]
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 0x49ad8f
lea eax, [ebp + 0xec]
push eax
lea ecx, [ebp + 0x60]
call fcn.00402454
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x44]
push eax
call fcn.0049a331
pop ecx
pop ecx
or edi, 0xffffffff
mov byte [ebp - 4], 8
cmp dword [ebp + 0x58], ebx
je 0x49b09b
cmp dword [ebp + 0x5c], 0x10
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x1c], 0x58912317
mov dword [ebp - 0x3c], ebx
jae 0x49adc4
lea eax, [ebp + 0x48]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 0x58]
push eax
call fcn.0049f403
add esp, 0x10
lea ecx, [ebp]
call fcn.0049b74d
push esi
push esi
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 9
call fcn.0049a92c
lea eax, [ebp + 0x44]
push eax
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xa
call fcn.0049a1a1
lea eax, [ebp]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.0049ef8a
pop ecx
pop ecx
push str.serial
lea ecx, [ebp]
call fcn.0049eb2e
mov ecx, eax
call fcn.0049e73a
push edi
push ebx
push eax
lea ecx, [ebp + 0x7c]
call fcn.0040271f
push 0x4b26ec
lea ecx, [ebp]
call fcn.0049eb2e
mov ecx, eax
call fcn.0049e73a
push edi
push ebx
push eax
lea ecx, [ebp + 0xd0]
call fcn.0040271f
push str.hash
lea ecx, [ebp]
call fcn.0049eb2e
mov ecx, eax
call fcn.0049e73a
push edi
push ebx
push eax
lea ecx, [ebp + 0xb4]
call fcn.0040271f
cmp dword [ebp + 0xe4], 0xc
je 0x49aeb6
lea eax, [ebp + 0xd0]
push eax
call fcn.0049fb8a
pop ecx
test al, al
jne 0x49aeb6
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0xd0]
push eax
call fcn.0049a271
test al, al
jne 0x49aeb6
push str.FFFFFFFFFFFF
lea ecx, [ebp + 0xd0]
call fcn.00402454
cmp dword [ebp + 0xc8], 3
je 0x49aef3
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x98]
push eax
push ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0049a458
push edi
push ebx
push eax
lea ecx, [ebp + 0xb4]
mov byte [ebp - 4], 0xb
call fcn.0040271f
push ebx
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.0040284b
lea eax, [ebp + 0x98]
push eax
lea ecx, [ebp + 0x7c]
call fcn.0049a0e6
test eax, eax
jne 0x49afd8
cmp dword [ebp + 0x90], ebx
je 0x49afd8
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.0049a9f5
cmp dword [ebp - 0x18], ebx
jne 0x49af88
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0049a1ce
push 0x4d19f8
push eax
push dword [ebp - 0x10]
mov byte [ebp - 4], 0xc
call fcn.0049a1ce
add esp, 0x24
lea ecx, [ebp - 0x38]
push ebx
push esi
call fcn.0040284b
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 9
call fcn.0049a168
lea ecx, [ebp]
mov byte [ebp - 4], 8
call fcn.0049b75f
jmp 0x49b1bf
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp + 0x98]
push eax
push esi
lea eax, [ebp - 0x58]
push eax
call fcn.0049a458
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xd
call fcn.0049a1ce
mov byte [ebp - 4], 0xe
push 0x4d19f8
push eax
push dword [ebp - 0x10]
call fcn.0049a1ce
add esp, 0x18
push ebx
push esi
lea ecx, [ebp - 0x38]
call fcn.0040284b
lea ecx, [ebp - 0x58]
jmp 0x49af61
lea eax, [ebp + 0xd0]
push eax
call fcn.0049fd5a
pop ecx
test al, al
je 0x49b080
push edi
push ebx
lea eax, [ebp + 0x98]
push eax
lea ecx, [ebp + 0x7c]
call fcn.0040271f
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.0049a9f5
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jne 0x49b04e
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0049a1ce
push 0x4d19f8
push eax
push dword [ebp - 0x10]
mov byte [ebp - 4], 0xf
call fcn.0049a1ce
add esp, 0x18
jmp 0x49af5e
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x98]
push eax
push esi
lea eax, [ebp - 0x58]
push eax
call fcn.0049a458
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x10
call fcn.0049a1ce
mov byte [ebp - 4], 0x11
jmp 0x49afb8
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 9
call fcn.0049a168
lea ecx, [ebp]
mov byte [ebp - 4], 8
call fcn.0049b75f
push edi
push ebx
lea eax, [ebp + 0x98]
push eax
lea ecx, [ebp + 0x7c]
call fcn.0040271f
lea eax, [ebp + 0xd0]
push eax
call fcn.0049fb8a
pop ecx
test al, al
jne 0x49b0e0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0xd0]
push eax
call fcn.0049a271
test al, al
jne 0x49b0e0
push str.FFFFFFFFFFFF
lea ecx, [ebp + 0xd0]
call fcn.00402454
cmp dword [ebp + 0xc8], 3
je 0x49b11d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x98]
push eax
push ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0049a458
push edi
push ebx
push eax
lea ecx, [ebp + 0xb4]
mov byte [ebp - 4], 0x12
call fcn.0040271f
push ebx
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.0040284b
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.0049a9f5
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jne 0x49b16d
lea eax, [ebp + 0xb4]
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0049a1ce
push 0x4d19f8
push eax
push dword [ebp - 0x10]
mov byte [ebp - 4], 0x13
call fcn.0049a1ce
add esp, 0x18
lea ecx, [ebp - 0x38]
jmp 0x49b1b8
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x98]
push eax
push esi
lea eax, [ebp - 0x58]
push eax
call fcn.0049a458
push eax
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x14
call fcn.0049a1ce
push 0x4d19f8
push eax
push dword [ebp - 0x10]
mov byte [ebp - 4], 0x15
call fcn.0049a1ce
add esp, 0x18
push ebx
push esi
lea ecx, [ebp - 0x38]
call fcn.0040284b
lea ecx, [ebp - 0x58]
push ebx
push esi
call fcn.0040284b
push ebx
push esi
lea ecx, [ebp + 0x44]
call fcn.0040284b
push ebx
push esi
lea ecx, [ebp + 0x60]
call fcn.0040284b
push ebx
push esi
lea ecx, [ebp + 0x28]
call fcn.0040284b
push ebx
push esi
lea ecx, [ebp + 0x98]
call fcn.0040284b
push ebx
push esi
lea ecx, [ebp + 0xb4]
call fcn.0040284b
push ebx
push esi
lea ecx, [ebp + 0xd0]
call fcn.0040284b
push ebx
push esi
lea ecx, [ebp + 0x7c]
call fcn.0040284b
mov eax, dword [ebp - 0x10]
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.00476d3a
add ebp, 0x8f0
leave
ret 4