Function at 0x50e360
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52eca3
mov eax, dword fs:[0]
push eax
mov eax, 0x10f0
call fcn.0050fbd0
mov eax, dword [0x575054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.0044c7f0
lea ecx, [ebp - 0x1028]
call fcn.00403340
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1028]
push eax
call fcn.0050de30
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x50e3e3
mov byte [ebp - 0x10c1], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.004032a0
mov al, byte [ebp - 0x10c1]
jmp 0x50e76f
push 0x1000
push 0
lea edx, [ebp - 0x1010]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1028]
call fcn.00405910
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x531534
push str.BrowserFlag
push 0x53129c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x1010]
test eax, eax
je 0x50e52e
lea ecx, [ebp - 0x1010]
push ecx
lea edx, [ebp - 0x1088]
push edx
call fcn.004bb570
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1070]
call fcn.00408b70
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1070]
push eax
push 0x575020
lea ecx, [ebp - 0x1088]
push ecx
call fcn.0050f050
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x50e4cb
mov byte [ebp - 0x10c2], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1070]
call fcn.00405a70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1088]
call fcn.00405a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.004032a0
mov al, byte [ebp - 0x10c2]
jmp 0x50e76f
push 0
lea eax, [ebp - 0x1070]
push eax
lea ecx, [ebp - 0x10b8]
push ecx
call fcn.004bafe0
add esp, 0xc
mov byte [ebp - 4], 3
mov edx, dword [ebp + 8]
push edx
push 0x3b
lea eax, [ebp - 0x10b8]
push eax
call fcn.004ba020
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10b8]
call fcn.004032a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1070]
call fcn.00405a70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1088]
call fcn.00405a70
jmp 0x50e728
lea ecx, [ebp - 0x1040]
call fcn.00403340
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1040]
push ecx
call fcn.0050dd20
add esp, 4
movzx edx, al
test edx, edx
jne 0x50e586
mov byte [ebp - 0x10c3], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.004032a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.004032a0
mov al, byte [ebp - 0x10c3]
jmp 0x50e76f
push str.User_DataDefaultPreferencesV2
lea ecx, [ebp - 0x10e4]
call fcn.004032f0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x10e4]
push eax
lea ecx, [ebp - 0x1040]
push ecx
lea edx, [ebp - 0x1058]
push edx
call fcn.004b9990
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10e4]
call fcn.004032a0
lea eax, [ebp - 0x1058]
push eax
call fcn.004bc390
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x50e61e
mov byte [ebp - 0x10c4], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1058]
call fcn.004032a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.004032a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.004032a0
mov al, byte [ebp - 0x10c4]
jmp 0x50e76f
xorps xmm0, xmm0
movlpd qword [ebp - 0x10c0], xmm0
lea edx, [ebp - 0x10c0]
push edx
push 3
lea eax, [ebp - 0x1058]
push eax
call fcn.0050e790
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x50e68a
mov byte [ebp - 0x10c5], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1058]
call fcn.004032a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.004032a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.004032a0
mov al, byte [ebp - 0x10c5]
jmp 0x50e76f
mov edx, dword [ebp - 0x10bc]
push edx
mov eax, dword [ebp - 0x10c0]
push eax
lea ecx, [ebp - 0x10a0]
push ecx
call fcn.004b8a60
add esp, 0xc
mov byte [ebp - 4], 8
lea edx, [ebp - 0x10a0]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405890
lea eax, [ebp - 0x10a0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405890
push 0x531578
lea ecx, [ebp - 0x10fc]
call fcn.004032f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10fc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405830
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10fc]
call fcn.004032a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10a0]
call fcn.004032a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1058]
call fcn.004032a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.004032a0
mov ecx, dword [ebp + 8]
call fcn.004064d0
cmp eax, 3
jb 0x50e741
mov dword [ebp - 0x10cc], 1
jmp 0x50e74b
mov dword [ebp - 0x10cc], 0
mov dl, byte [ebp - 0x10cc]
mov byte [ebp - 0x10c6], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.004032a0
mov al, byte [ebp - 0x10c6]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f27d
mov esp, ebp
pop ebp
ret