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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4938c3
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4c2594]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x234], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x268]
push 3
push eax
mov dword [ebp - 0x234], 1
call fcn.00411900
add esp, 8
push 1
push 0x49cb30
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.0040b0f0
mov dword [ebp - 0x23c], 0
xor ecx, ecx
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 3
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x24c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x23c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0xd
push str.debug_url.set
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 2
call fcn.0040b0f0
mov dword [ebp - 0x220], 0
xor ecx, ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x234], 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x238]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x40fe9f
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fe95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410009
push edx
push ecx
call fcn.0044c562
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov edx, dword [ebp - 0x254]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x40ff00
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fef6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41000e
push edx
push ecx
call fcn.0044c562
add esp, 8
xor eax, eax
mov dword [ebp - 0x258], 0
cmp dword [ebp - 0x21c], 8
mov word [ebp - 0x268], ax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
mov dword [ebp - 0x254], 7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ffaf
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0046de20
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x49c55c
push 0x49cff8
push str.DebugUrl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ff91
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040b380
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x40ffeb
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ffe1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410013
push edx
push ecx
call fcn.0044c562
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ca21
mov esp, ebp
pop ebp
ret 4
call fcn.00470fb9
call fcn.00470fb9
call fcn.00470fb9
int3