Function at 0x4168d5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff14
mov eax, 0x4b0aa0
push ebx
push esi
push edi
lea edi, [ebp - 0x70]
mov esi, str.Serv_U___d_
call fcn.0049d698
mov word [edi + 0x10], 8
lea edx, [ebp - 0x20]
push edx
call fcn.00407174
pop ecx
add dword [edi + 0x1c], 2
mov word [edi + 0x10], 0x14
mov word [edi + 0x10], 0x20
lea ecx, [ebp - 0x40]
push ecx
call fcn.00407174
pop ecx
lea eax, [ebp - 0xec]
add dword [edi + 0x1c], 2
mov word [edi + 0x10], 0x14
push 0x4afe1c
push 0x50
push eax
lea edx, [esi + 0x28]
push edx
lea ecx, [esi + 0x7ab]
push ecx
lea eax, [esi + 0x4b4]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [esi + 0x28]
push edx
lea ecx, [ebp - 0xec]
push ecx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x41699f
lea eax, [esi + 0x2d]
push eax
lea edx, [ebp - 0xec]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x41699f
lea ecx, [esi + 0x31]
push ecx
lea eax, [ebp - 0xec]
push eax
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
je 0x41699f
lea edx, [esi + 0x234]
push edx
lea ecx, [ebp - 0xec]
push ecx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x4169a8
mov dword [ebp - 0x74], 1
jmp 0x4169ad
xor eax, eax
mov dword [ebp - 0x74], eax
mov ebx, 1
push ebx
lea eax, [esi + 0x7ba]
push eax
lea edx, [esi + 0x49d]
push edx
lea ecx, [ebp - 0x9c]
push ecx
call fcn.004a00a0
add esp, 0x10
lea eax, [ebp - 0xec]
lea edx, [esi + 0xb]
lea ecx, [ebp - 0x9c]
push 0x4afe1c
push 0x50
push eax
push edx
push ecx
lea eax, [esi + 0x4b4]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x416a3c
mov word [edi + 0x10], 0x2c
lea edx, [ebp - 0xec]
push edx
lea ecx, [ebp - 0x48]
push ecx
call fcn.004aa30c
add esp, 8
inc dword [edi + 0x1c]
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x20]
push edx
call fcn.004073c0
add esp, 8
dec dword [edi + 0x1c]
push 2
lea ecx, [ebp - 0x48]
push ecx
call fcn.004aac40
add esp, 8
inc ebx
jmp 0x4169b2
mov ebx, 1
push ebx
lea eax, [esi + 0x7c1]
push eax
lea edx, [esi + 0x49d]
push edx
lea ecx, [ebp - 0x9c]
push ecx
call fcn.004a00a0
add esp, 0x10
lea eax, [ebp - 0xec]
lea edx, [esi + 0xb]
lea ecx, [ebp - 0x9c]
push 0x4afe1c
push 0x50
push eax
push edx
push ecx
lea eax, [esi + 0x4b4]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x416acb
mov word [edi + 0x10], 0x38
lea edx, [ebp - 0xec]
push edx
lea ecx, [ebp - 0x4c]
push ecx
call fcn.004aa30c
add esp, 8
inc dword [edi + 0x1c]
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x40]
push edx
call fcn.004073c0
add esp, 8
dec dword [edi + 0x1c]
push 2
lea ecx, [ebp - 0x4c]
push ecx
call fcn.004aac40
add esp, 8
inc ebx
jmp 0x416a41
mov word [edi + 0x10], 0x44
lea eax, [ebp - 0x44]
mov ebx, 1
push eax
call fcn.004aa26c
pop ecx
inc dword [edi + 0x1c]
mov word [edi + 0x10], 0x14
mov byte [ebp - 0x75], 0x4e
cmp dword [ebp - 0x74], 0
je 0x416b01
lea edx, [ebp - 0x20]
mov dword [ebp - 0x7c], edx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x80], ecx
jmp 0x416b0d
lea eax, [ebp - 0x40]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], edx
lea ecx, [ebp - 0x44]
push ecx
push dword [ebp - 0x7c]
call fcn.004076e8
add esp, 8
test eax, eax
je 0x416bc9
cmp dword [ebp - 0x74], 0
je 0x416b41
push esi
push edi
add esi, 0x7c7
lea edi, [ebp - 0xec]
mov eax, edi
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x416b56
push esi
push edi
add esi, 0x7ca
lea edi, [ebp - 0xec]
mov eax, edi
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0xec]
push dword [edx + 2]
push ecx
call fcn.0049ae68
add esp, 8
lea eax, [esi + 0x4b1]
lea edx, [esi + 0x49d]
lea ecx, [ebp - 0x9c]
push ebx
push eax
push edx
push ecx
call fcn.004a00a0
add esp, 0x10
lea eax, [ebp - 0xec]
lea edx, [ebp - 0x9c]
lea ecx, [esi + 0x4b4]
push 0x4afe1c
push eax
push edx
push ecx
call sub.KERNEL32.dll_WritePrivateProfileStringA
mov al, byte [ebp - 0xec]
lea edx, [ebp - 0x44]
mov byte [ebp - 0x75], al
push edx
push dword [ebp - 0x7c]
inc ebx
call fcn.0040771c
add esp, 8
test eax, eax
jne 0x416b24
lea ecx, [ebp - 0x44]
push ecx
push dword [ebp - 0x80]
call fcn.004076e8
add esp, 8
test eax, eax
je 0x416c85
cmp dword [ebp - 0x74], 0
je 0x416bfd
push esi
push edi
add esi, 0x7ca
lea edi, [ebp - 0xec]
mov eax, edi
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x416c12
push esi
push edi
add esi, 0x7c7
lea edi, [ebp - 0xec]
mov eax, edi
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0xec]
push dword [edx + 2]
push ecx
call fcn.0049ae68
add esp, 8
lea eax, [esi + 0x4b1]
lea edx, [esi + 0x49d]
lea ecx, [ebp - 0x9c]
push ebx
push eax
push edx
push ecx
call fcn.004a00a0
add esp, 0x10
lea eax, [ebp - 0xec]
lea edx, [ebp - 0x9c]
lea ecx, [esi + 0x4b4]
push 0x4afe1c
push eax
push edx
push ecx
call sub.KERNEL32.dll_WritePrivateProfileStringA
mov al, byte [ebp - 0xec]
lea edx, [ebp - 0x44]
mov byte [ebp - 0x75], al
push edx
push dword [ebp - 0x80]
inc ebx
call fcn.0040771c
add esp, 8
test eax, eax
jne 0x416be0
movsx ecx, byte [ebp - 0x75]
cmp ecx, 0x44
jne 0x416ccc
push ebx
lea eax, [esi + 0x4b1]
push eax
lea edx, [esi + 0x49d]
push edx
lea ecx, [ebp - 0x9c]
push ecx
call fcn.004a00a0
add esp, 0x10
lea eax, [esi + 0x7cd]
lea edx, [ebp - 0x9c]
lea ecx, [esi + 0x4b4]
push 0x4afe1c
push eax
push edx
push ecx
call sub.KERNEL32.dll_WritePrivateProfileStringA
inc ebx
push ebx
lea eax, [esi + 0x4b1]
push eax
lea edx, [esi + 0x49d]
push edx
lea ecx, [ebp - 0x9c]
push ecx
call fcn.004a00a0
add esp, 0x10
lea eax, [ebp - 0x9c]
lea edx, [esi + 0x4b4]
push 0x4afe1c
push 0
push eax
push edx
call sub.KERNEL32.dll_WritePrivateProfileStringA
dec dword [edi + 0x1c]
push 2
lea ecx, [ebp - 0x44]
push ecx
call fcn.004aac40
add esp, 8
sub dword [edi + 0x1c], 2
push 2
lea eax, [ebp - 0x40]
push eax
call fcn.00407354
add esp, 8
sub dword [edi + 0x1c], 2
push 2
lea edx, [ebp - 0x20]
push edx
call fcn.00407354
add esp, 8
mov ecx, dword [edi]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret