Function at 0x426a00
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x45c168
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0x200000
mov dword [esp + 0x20], eax
call fcn.0044037f
push 0x100000
mov ebp, eax
push 0
push ebp
call fcn.00440500
mov eax, dword [ebx]
add esp, 0x10
push eax
push 0x100000
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
cmp eax, 0xffffe
je 0x426b26
push 0
push eax
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.00426890
add esp, 0xc
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x84], 0
cmp esi, eax
jbe 0x426aa2
call fcn.00443abe
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x34]
mov ebx, eax
cmp dword [esp + 0x40], eax
jbe 0x426ab3
call fcn.00443abe
test edi, edi
je 0x426abd
cmp edi, dword [esp + 0x34]
je 0x426ac2
call fcn.00443abe
cmp esi, ebx
je 0x426b0e
test edi, edi
jne 0x426b06
call fcn.00443abe
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x426adb
call fcn.00443abe
mov ecx, dword [esp + 0x14]
push esi
add ecx, 8
call fcn.00421920
test edi, edi
jne 0x426b0a
call fcn.00443abe
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x426afd
call fcn.00443abe
mov eax, dword [esp + 0x44]
add esi, 4
jmp 0x426aa6
mov eax, dword [edi]
jmp 0x426ad1
mov eax, dword [edi]
jmp 0x426af3
lea ecx, [esp + 0x34]
mov dword [esp + 0x84], 0xffffffff
call fcn.00426040
mov ebx, dword [esp + 0x14]
push ebp
call fcn.00440de3
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax]
mov ebp, dword [ebx + 8]
add esp, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ebp
nop
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 8]
test ebp, ebp
je 0x426b4e
cmp ebp, eax
je 0x426b53
call fcn.00443abe
cmp dword [esp + 0x28], esi
je 0x426dde
push 0x200000
call fcn.0044037f
push 0x100000
mov edi, eax
push 0
push edi
mov dword [esp + 0x28], edi
call fcn.00440500
mov esi, dword [ebx]
add esp, 0x10
test ebp, ebp
jne 0x426d41
call fcn.00443abe
xor eax, eax
mov ebp, dword [esp + 0x28]
cmp ebp, dword [eax + 0x18]
jne 0x426b9c
call fcn.00443abe
mov eax, dword [ebp + 0xc]
push esi
push 0x100000
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
cmp eax, 0xffffe
je 0x426dc3
push 0
push eax
lea edx, [esp + 0x54]
push edx
mov ecx, edi
call fcn.00426890
add esp, 0xc
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x84], 1
cmp esi, eax
jbe 0x426bea
call fcn.00443abe
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x2c], ebp
mov ebx, esi
mov dword [esp + 0x30], ebx
mov esi, eax
cmp dword [esp + 0x58], eax
jbe 0x426c05
call fcn.00443abe
test ebp, ebp
je 0x426c0f
cmp ebp, dword [esp + 0x4c]
je 0x426c14
call fcn.00443abe
cmp ebx, esi
je 0x426dab
test ebp, ebp
jne 0x426d49
call fcn.00443abe
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x426c35
call fcn.00443abe
mov eax, dword [ebx]
mov esi, dword [eax - 0xc]
test ebp, ebp
jne 0x426d51
call fcn.00443abe
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x426c53
call fcn.00443abe
mov ecx, dword [ebx]
push 0x3d
lea edx, [esp + 0x68]
push esi
push edx
call fcn.00426890
mov eax, dword [0x49ea64]
mov edx, dword [eax + 0xc]
add esp, 8
mov ecx, 0x49ea64
mov byte [esp + 0x88], 2
mov dword [esp + 0x24], esp
mov esi, esp
call edx
add eax, 0x10
push 2
lea ecx, [esp + 0x6c]
mov dword [esi], eax
call fcn.004265a0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, 1
ja 0x426cb3
call fcn.00443abe
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
sub eax, ecx
sar eax, 2
lea ebp, [ecx + 4]
test eax, eax
ja 0x426cc8
call fcn.00443abe
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x24]
mov esi, ecx
test eax, eax
jne 0x426d59
call fcn.00443abe
xor eax, eax
mov edi, dword [esp + 0x28]
cmp edi, dword [eax + 0x18]
jne 0x426ceb
call fcn.00443abe
push esi
lea ecx, [edi + 0x10]
call fcn.0041daa0
mov ecx, dword [ebp]
mov edi, eax
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x426d69
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x426d5d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x426d5d
push eax
call fcn.0040c440
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x426d36
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [edi], ebx
mov ebx, dword [esp + 0x30]
jmp 0x426d69
mov eax, dword [ebp]
jmp 0x426b8e
mov eax, dword [ebp]
jmp 0x426c2b
mov eax, dword [ebp]
jmp 0x426c49
mov eax, dword [eax]
jmp 0x426cdd
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, edi
call fcn.0040f380
lea ecx, [esp + 0x64]
mov byte [esp + 0x84], 1
call fcn.00426040
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x426da7
call fcn.00443abe
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x426d93
call fcn.00443abe
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
add ebx, 4
jmp 0x426bf4
mov eax, dword [eax]
jmp 0x426d89
lea ecx, [esp + 0x4c]
mov dword [esp + 0x84], 0xffffffff
call fcn.00426040
mov ebx, dword [esp + 0x14]
push edi
call fcn.00440de3
add esp, 4
lea ecx, [esp + 0x24]
call fcn.004191f0
mov ebp, dword [esp + 0x24]
jmp 0x426b40
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret