Function at 0x41bb60
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4634b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x14], 8
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x40], 0
jb 0x41bbb6
mov eax, dword [edi]
jmp 0x41bbb8
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41bbec
push 0x19
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
push 0x45b38c
mov word [ebx], ax
call fcn.0040c0f0
mov eax, ebx
jmp 0x41bd73
xor ecx, ecx
mov dword [ebp - 0x30], 1
mov eax, 0x104
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420d2e
mov ebx, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
add esp, 4
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
cmp dword [edi + 0x14], 8
jb 0x41bc34
mov esi, dword [edi]
jmp 0x41bc36
mov esi, edi
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x41bc43
mov edx, dword [eax]
jmp 0x41bc45
mov edx, eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x14], 8
jb 0x41bc52
mov ecx, dword [eax]
jmp 0x41bc54
mov ecx, eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x14], 8
jb 0x41bc5f
mov eax, dword [eax]
push esi
push 0x104
push ebx
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, 0x104
cmp dword [edi + 0x14], 8
jb 0x41bc7e
mov eax, dword [edi]
jmp 0x41bc80
mov eax, edi
mov ecx, dword [ebp - 0x2c]
push eax
push esi
push ebx
call fcn.0040c250
mov ecx, dword [ebp - 0x38]
push eax
call fcn.0040c250
mov ecx, dword [ebp - 0x34]
push eax
call fcn.0040c250
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esi - 1]
cmp eax, ecx
jb 0x41bd19
mov ecx, dword [ebp - 0x2c]
call fcn.0040c250
mov ecx, ebx
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41bcdb
test dx, dx
je 0x41bcd7
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41bcdb
add ecx, 4
add eax, 4
test dx, dx
jne 0x41bcb5
xor eax, eax
jmp 0x41bce0
sbb eax, eax
or eax, 1
test eax, eax
je 0x41bd19
push ebx
call fcn.00435220
mov eax, dword [ebp - 0x30]
xor ecx, ecx
inc eax
mov edx, 2
imul esi, eax, 0x104
mov dword [ebp - 0x30], eax
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420d2e
add esp, 8
mov ebx, eax
jmp 0x41bc74
cmp word [ebx], 0
jne 0x41bd23
xor ecx, ecx
jmp 0x41bd3f
mov ecx, ebx
lea edx, [ecx + 2]
jmp 0x41bd30
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41bd30
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040c0f0
push ebx
call fcn.00435220
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
add esp, 4
mov ecx, esi
push eax
call fcn.00409aa0
cmp dword [ebp - 0x14], 8
jb 0x41bd71
push dword [ebp - 0x28]
call fcn.00434302
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00434307
mov esp, ebp
pop ebp
ret 0x10