Function at 0x1002f970
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e6c35
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
mov eax, dword [0x10275008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov esi, dword [ebx + 8]
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x284], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x284], 1
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov dword [ebp - 4], 1
lea edx, [ebp - 0x238]
lea ecx, [eax + 0x1a]
call fcn.100ea410
test al, al
je 0x1002fd48
push 0x10
xor eax, eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x268]
push str.MozillaFirefox
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
call fcn.10005390
mov byte [ebp - 4], 2
lea eax, [ebp - 0x268]
push eax
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x2a0]
call fcn.100e17c0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x238]
cmp eax, edi
je 0x1002face
mov ecx, eax
call fcn.10005300
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0x228], xmm0
mov word [edi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a0]
call fcn.10005300
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x268]
call fcn.10005300
push 0xd
xor eax, eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
lea ecx, [ebp - 0x280]
push str.profiles.ini
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
call fcn.10005390
mov byte [ebp - 4], 4
lea eax, [ebp - 0x280]
push eax
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x250]
call fcn.100e17c0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.10005300
lea ecx, [ebp - 0x250]
call fcn.100e0140
test al, al
je 0x1002fd39
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x250]
cmp dword [ebp - 0x23c], 8
cmovae eax, dword [ebp - 0x250]
push eax
push 0x103
lea eax, [ebp - 0x220]
push eax
push 0x10225df4
push str.Path
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [ebp - 0x270], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x270], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002fbf6
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x280]
call fcn.10005390
mov byte [ebp - 4], 7
lea eax, [ebp - 0x280]
push eax
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x2a0]
call fcn.100e17c0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 8
cmp esi, edi
je 0x1002fc6b
mov ecx, esi
call fcn.10005300
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2a0]
call fcn.10005300
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.10005300
push 0x15
xor eax, eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x268]
push str._sessionstore.jsonlz4
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
call fcn.10005390
mov byte [ebp - 4], 9
lea eax, [ebp - 0x268]
push eax
mov edx, esi
lea ecx, [ebp - 0x2a0]
call fcn.100e17c0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xa
cmp esi, edi
je 0x1002fd1b
mov ecx, esi
call fcn.10005300
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2a0]
call fcn.10005300
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x268]
call fcn.10005300
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x250]
call fcn.10005300
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.10005300
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101c837b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4