Function at 0x423640
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x4f6fc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x718], 0
mov dword [ebp - 0x70c], 0
mov al, byte [0x4fc09a]
mov byte [ebp - 0x404], al
push 0xfe
push 0
lea ecx, [ebp - 0x403]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x4fc09b]
mov byte [ebp - 0x604], dl
push 0x1ff
push 0
lea eax, [ebp - 0x603]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x4fc09c]
mov byte [ebp - 0x304], cl
push 0x1ff
push 0
lea edx, [ebp - 0x303]
push edx
call fcn.004b6780
add esp, 0xc
mov al, byte [0x4fc09d]
mov byte [ebp - 0x104], al
push 0xfe
push 0
lea ecx, [ebp - 0x103]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x4fc09f]
mov byte [ebp - 0x704], dl
push 0xfe
push 0
lea eax, [ebp - 0x703]
push eax
call fcn.004b6780
add esp, 0xc
mov dword [ebp - 0x710], 0
mov dword [ebp - 0x714], 0
mov dword [ebp - 0x708], 0
push str.ParseInternetIni
push 5
call fcn.004417b0
add esp, 8
push 0x4fa370
push str._sINTERNET.INI
lea ecx, [ebp - 0x404]
push ecx
call fcn.004b6e08
add esp, 0xc
mov edx, 1
imul edx, edx, 0
mov eax, 1
imul eax, eax, 0
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov dl, byte [esi + edx]
mov byte [ecx + eax], dl
push 0x4e0d04
mov eax, dword [ebp + 8]
push eax
push 0x4e0d10
lea ecx, [ebp - 0x604]
push ecx
call fcn.004b6e08
add esp, 0x10
lea edx, [ebp - 0x604]
push edx
push 0x200
lea eax, [ebp - 0x304]
push eax
push 0x4fc0a0
push 0x4e0d18
push 0x4e0d3c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x70c], eax
mov ecx, 1
imul ecx, ecx, 0
movsx edx, byte [ebp + ecx - 0x304]
test edx, edx
jne 0x4237ed
push 1
push 0x4e0d44
lea eax, [ebp - 0x404]
push eax
call fcn.00419d20
add esp, 0xc
mov dword [ebp - 0x708], eax
cmp dword [ebp - 0x708], 0
je 0x423b1d
mov dword [ebp - 0x718], 1
push 0x4e0d48
mov ecx, dword [ebp + 8]
push ecx
push 0x4e0d54
lea edx, [ebp - 0x604]
push edx
call fcn.004b6e08
add esp, 0x10
push 1
push 0x4e0d5c
lea eax, [ebp - 0x604]
push eax
call fcn.00419d20
add esp, 0xc
mov dword [ebp - 0x714], eax
cmp dword [ebp - 0x714], 0
jne 0x42387a
mov ecx, dword [ebp - 0x708]
push ecx
call fcn.00419ca0
add esp, 4
mov dword [ebp - 0x708], 0
lea edx, [ebp - 0x604]
push edx
lea eax, [ebp - 0x404]
push eax
call fcn.0049b850
add esp, 8
jmp 0x423b1d
mov ecx, dword [ebp - 0x714]
push ecx
call fcn.00419ca0
add esp, 4
mov dword [ebp - 0x714], 0
mov edx, 1
imul edx, edx, 0
mov dword [ebp - 0x71c], edx
cmp dword [ebp - 0x71c], 0x200
jae 0x4238af
jmp 0x4238b4
call fcn.004b64ae
mov eax, dword [ebp - 0x71c]
mov byte [ebp + eax - 0x304], 0
mov ecx, dword [ebp - 0x708]
push ecx
push 0xff
lea edx, [ebp - 0x304]
push edx
call fcn.004b6cc9
add esp, 0xc
push 0x4e0d60
lea eax, [ebp - 0x304]
push eax
call fcn.004b6b14
add esp, 8
push 0x3d
lea ecx, [ebp - 0x304]
push ecx
call fcn.004b95a0
add esp, 8
mov dword [ebp - 0x710], eax
cmp dword [ebp - 0x710], 0
je 0x423ade
mov edx, 1
imul edx, edx, 0
movsx eax, byte [ebp + edx - 0x304]
cmp eax, 0x3b
je 0x423ade
mov ecx, dword [ebp - 0x710]
add ecx, 1
push ecx
lea edx, [ebp - 0x704]
push edx
call fcn.004b5e60
add esp, 8
mov eax, dword [ebp - 0x710]
mov byte [eax], 0
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.004b5e60
add esp, 8
lea eax, [ebp - 0x104]
push eax
push 3
call fcn.0042d840
add esp, 8
lea ecx, [ebp - 0x704]
push ecx
push 3
call fcn.0042d840
add esp, 8
lea edx, [ebp - 0x604]
push edx
push 0x200
lea eax, [ebp - 0x304]
push eax
push 0x4fc0a5
lea ecx, [ebp - 0x104]
push ecx
push 0x4e0d64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x70c], eax
push str.internet_lan
lea edx, [ebp - 0x104]
push edx
call fcn.004b68e0
add esp, 8
test eax, eax
je 0x423a64
push 0x4e0d7c
lea eax, [ebp - 0x104]
push eax
call fcn.004b68e0
add esp, 8
test eax, eax
je 0x423a64
push 0x4e0d94
lea ecx, [ebp - 0x104]
push ecx
call fcn.004b68e0
add esp, 8
test eax, eax
je 0x423a64
push 0x4e0da4
lea edx, [ebp - 0x104]
push edx
call fcn.004b68e0
add esp, 8
test eax, eax
je 0x423a64
push 0x4e0db8
lea eax, [ebp - 0x104]
push eax
call fcn.004b68e0
add esp, 8
test eax, eax
je 0x423a64
push 0x4e0dcc
lea ecx, [ebp - 0x104]
push ecx
call fcn.004b68e0
add esp, 8
test eax, eax
je 0x423a64
push 0x4e0dfc
lea edx, [ebp - 0x104]
push edx
call fcn.004b68e0
add esp, 8
test eax, eax
jne 0x423a86
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [ebp + eax - 0x304]
test ecx, ecx
je 0x423a86
mov edx, dword [ebp - 0x70c]
mov dword [ebp - 0x70c], edx
jmp 0x423ade
lea eax, [ebp - 0x604]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x70c], eax
lea ecx, [ebp - 0x604]
push ecx
lea edx, [ebp - 0x704]
push edx
lea eax, [ebp - 0x104]
push eax
push 0x4e0e50
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x70c], eax
lea ecx, [ebp - 0x604]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x70c], eax
mov edx, dword [ebp - 0x708]
push edx
call fcn.004b6ca3
add esp, 4
test eax, eax
je 0x423893
mov eax, dword [ebp - 0x708]
push eax
call fcn.00419ca0
add esp, 4
mov dword [ebp - 0x708], 0
lea ecx, [ebp - 0x404]
push ecx
call fcn.00419360
add esp, 4
mov eax, dword [ebp - 0x718]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret