Function at 0x465e00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
mov eax, dword [0x4f6fc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x508], 0
mov al, byte [0x54e2c9]
mov byte [ebp - 0x104], al
push 0xfe
push 0
lea ecx, [ebp - 0x103]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x54e2ca]
mov byte [ebp - 0x204], dl
push 0xfe
push 0
lea eax, [ebp - 0x203]
push eax
call fcn.004b6780
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049cb30
add esp, 4
mov dword [ebp - 0x508], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x508]
push eax
push str.ResolveRecordsIniPath__d___s_
push 1
call fcn.004417b0
add esp, 0x10
push 0x4e9974
mov ecx, dword [ebp + 8]
push ecx
push 0x4e9980
lea edx, [ebp - 0x204]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
call fcn.004196c0
add esp, 4
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x508], 0
jne 0x465f69
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049cb30
add esp, 4
cmp eax, 1
jne 0x465f69
push 0x4e9988
mov edx, dword [ebp + 8]
push edx
push 0x4e9994
lea eax, [ebp - 0x104]
push eax
call fcn.004b6e08
add esp, 0x10
lea ecx, [ebp - 0x104]
push ecx
call fcn.004196c0
add esp, 4
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x508], 0
je 0x465f54
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x204]
push ecx
push str.ERROR:_ResolveRecordsIniPath___s____s____s_
push 1
call fcn.004417b0
add esp, 0x14
push 0
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.0049b690
add esp, 0xc
lea ecx, [ebp - 0x204]
push ecx
call fcn.004196c0
add esp, 4
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x508], 0
je 0x4664b7
mov edx, dword [ebp + 8]
push edx
call fcn.0049cb30
add esp, 4
test eax, eax
jne 0x4664b7
mov al, byte [0x54e2cb]
mov byte [ebp - 0x304], al
push 0xfe
push 0
lea ecx, [ebp - 0x303]
push ecx
call fcn.004b6780
add esp, 0xc
mov dword [ebp - 0x50c], 1
mov dword [ebp - 0x510], 0
push 0x4e99cc
push 0x4fa370
push 0x4e99d8
lea edx, [ebp - 0x204]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
push 0xff
lea ecx, [ebp - 0x104]
push ecx
push 0x54e2cc
push 0x4feb80
push 0x4e99e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x508], 0
je 0x466041
lea edx, [ebp - 0x104]
push edx
call fcn.00419490
add esp, 4
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x508], 1
jne 0x46603c
mov dword [ebp - 0x50c], 0
jmp 0x4660d9
mov al, byte [0x54e2cd]
mov byte [ebp - 0x504], al
push 0xfe
push 0
lea ecx, [ebp - 0x503]
push ecx
call fcn.004b6780
add esp, 0xc
push 0x4e99e8
push 0x4fc4b8
push 0x4e99f4
lea edx, [ebp - 0x504]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x504]
push eax
push 0xff
lea ecx, [ebp - 0x104]
push ecx
push 0x54e2ce
push 0x4feb80
push 0x4e99fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x508], 0
je 0x4660d9
push 0x4fc4b8
lea edx, [ebp - 0x104]
push edx
call fcn.004bab10
add esp, 8
test eax, eax
je 0x4660d9
mov dword [ebp - 0x50c], 0
cmp dword [ebp - 0x50c], 0
je 0x4664b7
push 0
push 0x4fa370
mov eax, dword [ebp + 8]
push eax
push 0x4e9a04
call fcn.0049b320
add esp, 0x10
push 1
push 0x4fa370
mov ecx, dword [ebp + 8]
push ecx
call fcn.00421740
push eax
call fcn.0049b320
add esp, 0x10
push 1
push 0x4fa370
mov edx, dword [ebp + 8]
push edx
push str.VERSION2W.INI
call fcn.0049b320
add esp, 0x10
push 1
push 0x4fa370
mov eax, dword [ebp + 8]
push eax
push str.REDIRECT.EXE
call fcn.0049b320
add esp, 0x10
push 0x4e9a30
push 0x4fa370
push 0x4e9a38
lea ecx, [ebp - 0x104]
push ecx
call fcn.004b6e08
add esp, 0x10
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x104]
push eax
push 0x4fe980
push 0x4e9a40
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x508], eax
lea ecx, [ebp - 0x204]
push ecx
push 0x4fa370
push 0x4feb80
push 0x4e9a48
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x508], eax
lea edx, [ebp - 0x204]
push edx
push 0xff
lea eax, [ebp - 0x104]
push eax
push 0x54e2cf
push 0x4fea80
push 0x4e9a50
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x508], 0
je 0x466238
lea ecx, [ebp - 0x104]
push ecx
call fcn.00419490
add esp, 4
test eax, eax
jne 0x466236
push 0x4e9a58
mov edx, dword [ebp + 8]
push edx
push 0x4e9a60
lea eax, [ebp - 0x104]
push eax
call fcn.004b6e08
add esp, 0x10
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x104]
push edx
push 0x4fea80
push 0x4e9a68
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x508], eax
jmp 0x466279
push 0x4e9a70
mov eax, dword [ebp + 8]
push eax
push 0x4e9a78
lea ecx, [ebp - 0x104]
push ecx
call fcn.004b6e08
add esp, 0x10
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x104]
push eax
push 0x4fea80
push 0x4e9a80
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x508], eax
lea ecx, [ebp - 0x204]
push ecx
push 0xff
lea edx, [ebp - 0x104]
push edx
push 0x54e2d0
push 0x4e9a88
push 0x4e9a9c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x508], 0
je 0x4662ba
mov dword [ebp - 0x510], 1
push 0x4e9aa4
mov eax, dword [ebp + 8]
push eax
push 0x4e9aac
lea ecx, [ebp - 0x304]
push ecx
call fcn.004b6e08
add esp, 0x10
push str.data
push 0x4fa370
push 0x4e9abc
lea edx, [ebp - 0x104]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
call fcn.00419870
add esp, 4
push 0x54e2d1
push 1
push 0
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x304]
push edx
call fcn.004b4a60
add esp, 0x14
cmp dword [ebp - 0x510], 1
jne 0x466395
push 0x4e9ac4
mov eax, dword [ebp + 8]
push eax
push 0x4e9acc
lea ecx, [ebp - 0x304]
push ecx
call fcn.004b6e08
add esp, 0x10
push str.data_i
push 0x4fa370
push 0x4e9adc
lea edx, [ebp - 0x104]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
call fcn.00419870
add esp, 4
push 0x54e2d2
push 1
push 0
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x304]
push edx
call fcn.004b4a60
add esp, 0x14
push 0x4e9ae4
mov eax, dword [ebp + 8]
push eax
push 0x4e9aec
lea ecx, [ebp - 0x304]
push ecx
call fcn.004b6e08
add esp, 0x10
push 0x4e9af4
push 0x4fa370
push 0x4e9afc
lea edx, [ebp - 0x104]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
call fcn.00419870
add esp, 4
push 0x54e2d3
push 1
push 0
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x304]
push edx
call fcn.004b4a60
add esp, 0x14
push 0x4e9b04
mov eax, dword [ebp + 8]
push eax
push 0x4e9b1c
lea ecx, [ebp - 0x304]
push ecx
call fcn.004b6e08
add esp, 0x10
push str.extension_activities
push 0x4fa370
push 0x4e9b3c
lea edx, [ebp - 0x104]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
call fcn.00419870
add esp, 4
push 0x54e2d4
push 1
push 0
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x304]
push edx
call fcn.004b4a60
add esp, 0x14
push 0x4e9b44
mov eax, dword [ebp + 8]
push eax
push 0x4e9b50
lea ecx, [ebp - 0x304]
push ecx
call fcn.004b6e08
add esp, 0x10
push 0x4e9b58
mov edx, dword [ebp + 8]
push edx
push str._s_s.bak
lea eax, [ebp - 0x104]
push eax
call fcn.004b6e08
add esp, 0x10
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x304]
push edx
call fcn.0049b850
add esp, 8
lea eax, [ebp - 0x204]
push eax
call fcn.004196c0
add esp, 4
test eax, eax
jne 0x4664d6
mov dword [ebp - 0x508], 0
jmp 0x466504
lea ecx, [ebp - 0x204]
push ecx
push 0xff
lea edx, [ebp - 0x104]
push edx
push 0x54e2d5
push 0x4feb80
push 0x4e9b70
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x508], 0
je 0x466548
lea eax, [ebp - 0x104]
push eax
call fcn.00419490
add esp, 4
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x508], 1
jne 0x46653e
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004b5e60
add esp, 8
mov dword [ebp - 0x508], 1
cmp dword [ebp - 0x508], 0
jne 0x466609
push 0x4e9b78
push 0x4fa370
push 0x4e9b84
lea eax, [ebp - 0x204]
push eax
call fcn.004b6e08
add esp, 0x10
lea ecx, [ebp - 0x204]
push ecx
push 0xff
lea edx, [ebp - 0x104]
push edx
push 0x54e2d6
push 0x4feb80
push 0x4e9b8c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x508], 0
je 0x4665bf
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b5e60
add esp, 8
jmp 0x466609
lea edx, [ebp - 0x204]
push edx
push 0xff
lea eax, [ebp - 0x104]
push eax
push 0x54e2d7
push str.launch_path_local
push 0x4e9ba8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x508], 0
je 0x466609
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004b5e60
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.00429ab0
add esp, 4
call fcn.0049cfc0
mov ecx, 1
imul ecx, ecx, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x4666b6
mov cl, byte [0x54e2d8]
mov byte [ebp - 0x404], cl
push 0xfe
push 0
lea edx, [ebp - 0x403]
push edx
call fcn.004b6780
add esp, 0xc
push 0x4e9bb0
push 0x4fc4b8
push 0x4e9bbc
lea eax, [ebp - 0x404]
push eax
call fcn.004b6e08
add esp, 0x10
lea ecx, [ebp - 0x404]
push ecx
push 0xff
mov edx, dword [ebp + 8]
push edx
push 0x54e2d9
push 0x4feb80
push 0x4e9bc4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x508], 0
jne 0x4666b6
push 0x4fc4b8
mov eax, dword [ebp + 8]
push eax
call fcn.004b5e60
add esp, 8
push 0x4fc4b8
call fcn.0049cb30
add esp, 4
test eax, eax
jne 0x4666da
mov ecx, dword [ebp + 8]
push ecx
push 0x4fc2b8
call fcn.004b5e60
add esp, 8
jmp 0x4666ec
push 0x4fc4b8
push 0x4fc2b8
call fcn.004b5e60
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret