Function at 0x431950
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x4852e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4b445c]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x19]
call dword [sym.imp.RTSKeyGenDll.Dll_public:_void___thiscall_CRSSKeyGenDll::constructor_void_]
cmp byte [ebp + 0x20c], 0
je 0x431bd4
mov dword [ebp - 4], 0
push str..RTSServer.ini
push 0x200
lea eax, [ebp]
push eax
push 0x48a0f8
lea ecx, [esi + 0x108]
push ecx
push str.RTS_Options_With_String_Type
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esi + 0x40c]
lea edx, [ebp]
push edx
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call ebx
mov eax, edi
lea edx, [eax + 1]
jmp 0x4319f0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4319f0
sub eax, edx
je 0x431a26
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.00431690
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x308]
push ecx
call ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401ab0
mov dword [ebp - 4], 0xffffffff
jmp 0x431a45
mov dword [ebp - 4], 3
push str..RTSServer.ini
push 0x200
lea edx, [esi + 0x1b28]
push edx
push 0x48a0f8
push 0x494490
push str.RTS_Tunnel_Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 4], 0xffffffff
jmp 0x431a91
mov dword [ebp - 4], 5
push str..RTSServer.ini
push 0x200
lea eax, [ebp]
push eax
push 0x48a0f8
lea ecx, [esi + 0x1320]
push ecx
push str.RTS_Tunnel_Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esi + 0x1624]
lea edx, [ebp]
push edx
push edi
call ebx
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x431ad0
sub eax, edx
je 0x431b06
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.00431690
add esp, 8
mov byte [ebp - 4], 6
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x1520]
push ecx
call ebx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.00401ab0
mov dword [ebp - 4], 0xffffffff
jmp 0x431b25
mov dword [ebp - 4], 8
push str..RTSServer.ini
push 0x200
lea edx, [ebp]
push edx
push 0x48a0f8
lea eax, [esi + 0xd18]
push eax
push str.RTS_Tunnel_Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esi + 0x101c]
lea ecx, [ebp]
push ecx
push edi
call ebx
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x431b63
sub eax, edx
je 0x431b99
push edi
lea edx, [ebp - 0x14]
push edx
call fcn.00431690
add esp, 8
mov byte [ebp - 4], 9
mov eax, dword [eax]
push eax
add esi, 0xf18
push esi
call ebx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
call fcn.00401ab0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.0045e17e
add ebp, 0x204
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xb
push str..RTSClient.ini
push 0x200
lea eax, [ebp]
push eax
push 0x48a0f8
lea ecx, [esi + 0x710]
push ecx
push str.RTS_Options_With_String_Type
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ebx, [esi + 0xa14]
lea edx, [ebp]
push edx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call edi
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x431c18
sub eax, edx
je 0x431c4e
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.00431690
add esp, 8
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x910]
push ecx
call edi
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.00401ab0
mov dword [ebp - 4], 0xffffffff
jmp 0x431c6d
mov dword [ebp - 4], 0xe
push str..RTSClient.ini
push 0x200
lea edx, [ebp]
push edx
push 0x48a0f8
lea eax, [esi + 0x1928]
push eax
push str.RTS_Tunnel_Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ebx, [esi + 0x1c2c]
lea ecx, [ebp]
push ecx
push ebx
call edi
mov eax, ebx
lea edx, [eax + 1]
jmp 0x431cb0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x431cb0
sub eax, edx
je 0x431ce6
push ebx
lea edx, [ebp - 0x14]
push edx
call fcn.00431690
add esp, 8
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
push eax
lea eax, [esi + 0x1b28]
push eax
call edi
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x14]
call fcn.00401ab0
push str..RTSClient.ini
push 0x200
lea ecx, [ebp]
push ecx
push 0x48a0f8
lea edx, [esi + 0x1824]
push edx
push str.RTS_Tunnel_Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x431d11
sub eax, edx
je 0x431d2b
lea eax, [ebp]
push eax
lea ecx, [esi + 0x1b28]
push ecx
call edi
mov dword [ebp - 4], 0xffffffff
jmp 0x431d4a
mov dword [ebp - 4], 0x11
push str..RTSClient.ini
push 0x200
lea edx, [ebp]
push edx
push 0x48a0f8
lea eax, [esi + 0x1320]
push eax
push str.RTS_Tunnel_Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ebx, [esi + 0x1624]
lea ecx, [ebp]
push ecx
push ebx
call edi
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x431d88
sub eax, edx
je 0x431dbe
push ebx
lea edx, [ebp - 0x14]
push edx
call fcn.00431690
add esp, 8
mov byte [ebp - 4], 0x12
mov eax, dword [eax]
push eax
lea eax, [esi + 0x1520]
push eax
call edi
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x14]
call fcn.00401ab0
mov dword [ebp - 4], 0xffffffff
jmp 0x431ddd
mov dword [ebp - 4], 0x14
push str..RTSClient.ini
push 0x200
lea ecx, [ebp]
push ecx
push 0x48a0f8
lea edx, [esi + 0xd18]
push edx
push str.RTS_Tunnel_Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ebx, [esi + 0x101c]
lea eax, [ebp]
push eax
push ebx
call edi
mov eax, ebx
lea edx, [eax + 1]
jmp 0x431e20
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x431e20
sub eax, edx
je 0x431e56
push ebx
lea ecx, [ebp - 0x14]
push ecx
call fcn.00431690
add esp, 8
mov byte [ebp - 4], 0x15
mov eax, dword [eax]
push eax
lea edx, [esi + 0xf18]
push edx
call edi
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x14]
call fcn.00401ab0
mov dword [ebp - 4], 0xffffffff
jmp 0x431e75
mov dword [ebp - 4], 0x17
push str..RTSClient.ini
push 0x200
lea eax, [ebp]
push eax
push 0x48a0f8
lea ecx, [esi + 0x1f30]
push ecx
push str.RTS_Tunnel_Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ebx, [esi + 0x2234]
lea edx, [ebp]
push edx
push ebx
call edi
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x431eb3
sub eax, edx
je 0x431ee9
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.00431690
add esp, 8
mov byte [ebp - 4], 0x18
mov eax, dword [eax]
push eax
add esi, 0x2130
push esi
call edi
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x14]
call fcn.00401ab0
mov dword [ebp - 4], 0xffffffff
jmp 0x431ba0