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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a19c3
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4d6390]
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.0040feb0
add esp, 8
push 1
push 0x4ab60c
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00409f70
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.00409f70
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 0x40ebff
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ebf5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed69
push edx
push ecx
call fcn.0045801e
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 0x40ec60
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ec56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed6e
push edx
push ecx
call fcn.0045801e
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 0x40ed0f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00479790
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 0x4ab610
push str.test_url
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 0x40ecf1
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040a200
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x40ed4b
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ed41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed73
push edx
push ecx
call fcn.0045801e
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.004582e2
mov esp, ebp
pop ebp
ret 4
call fcn.0047cbf9
call fcn.0047cbf9
call fcn.0047cbf9
int3