Function at 0x427fd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x473026
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov eax, dword [0x492f50]
push ebx
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0xc]
test eax, eax
push esi
push edi
mov ebx, ecx
jne 0x428013
mov eax, 0x80070057
jmp 0x4281fe
push str.Count
lea ecx, [esp + 0x10]
call fcn.00404830
mov dword [esp + 0x9c], 0
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
push eax
push 0
push edx
push ecx
mov byte [esp + 0xac], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, eax
xor eax, eax
test edx, edx
mov byte [esp + 0x20], 0
mov ecx, 0x18
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
jle 0x4281ad
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], edx
jmp 0x428090
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push str.IP_d
push ecx
call fcn.00403c50
mov edx, dword [ebp + 8]
add esp, 0xc
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
mov ecx, dword [edx]
mov edx, dword [esp + 0xc]
push eax
push 0x64
lea eax, [esp + 0x28]
push eax
push 0x476ba8
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x20]
lea ecx, [eax + 1]
jmp 0x4280e0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4280e0
sub eax, ecx
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.00403ad0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x428195
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.00419e40
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 8]
add esp, 8
push 0
push ecx
mov ecx, edi
call fcn.004189a0
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x42813b
mov dword [ecx], eax
jmp 0x42813e
mov dword [edi + 4], eax
test esi, esi
mov dword [edi + 8], eax
je 0x428195
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push str.StaticIPFlag_d
push ecx
call fcn.00403c50
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
add esp, 0xc
push eax
mov eax, dword [esp + 0x10]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esi + 8]
push 0
push ecx
mov ecx, esi
mov edi, eax
call fcn.004189a0
mov dword [eax + 8], edi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x42818f
mov dword [ecx], eax
jmp 0x428192
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc ecx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jne 0x428090
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x9c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4281d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x9c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4281fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x8c]
call fcn.00449c1e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc