Function at 0x50e570
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e153
mov eax, dword fs:[0]
push eax
mov eax, 0x10f0
call fcn.0050fde0
mov eax, dword [0x573054]
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.0044c880
lea ecx, [ebp - 0x1028]
call fcn.00403340
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1028]
push eax
call fcn.0050e040
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x50e5f3
mov byte [ebp - 0x10c1], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.004032a0
mov al, byte [ebp - 0x10c1]
jmp 0x50e97f
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 0x530624
push str.BrowserFlag
push 0x53038c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x1010]
test eax, eax
je 0x50e73e
lea ecx, [ebp - 0x1010]
push ecx
lea edx, [ebp - 0x1088]
push edx
call fcn.004b66e0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1070]
call fcn.00408b80
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1070]
push eax
push 0x573020
lea ecx, [ebp - 0x1088]
push ecx
call fcn.0050f260
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x50e6db
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 0x50e97f
push 0
lea eax, [ebp - 0x1070]
push eax
lea ecx, [ebp - 0x10b8]
push ecx
call fcn.004b6150
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.004b5190
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 0x50e938
lea ecx, [ebp - 0x1040]
call fcn.00403340
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1040]
push ecx
call fcn.0050df30
add esp, 4
movzx edx, al
test edx, edx
jne 0x50e796
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 0x50e97f
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.004b4b00
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10e4]
call fcn.004032a0
lea eax, [ebp - 0x1058]
push eax
call fcn.004b7500
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x50e82e
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 0x50e97f
xorps xmm0, xmm0
movlpd qword [ebp - 0x10c0], xmm0
lea edx, [ebp - 0x10c0]
push edx
push 3
lea eax, [ebp - 0x1058]
push eax
call fcn.0050e9a0
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x50e89a
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 0x50e97f
mov edx, dword [ebp - 0x10bc]
push edx
mov eax, dword [ebp - 0x10c0]
push eax
lea ecx, [ebp - 0x10a0]
push ecx
call fcn.004b3be0
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 0x530668
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 0x50e951
mov dword [ebp - 0x10cc], 1
jmp 0x50e95b
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.0050f48d
mov esp, ebp
pop ebp
ret