Function at 0x440230
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4dd1ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8b4
push ebx
push ebp
push esi
mov dword [esp + 0x1c], ecx
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa6]
mov word [esp + 0xa4], si
rep stosd dword es:[edi], eax
mov ecx, 0x514ff8
stosw word es:[edi], ax
call fcn.00407c50
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push str._sdataURLTitle.ini
lea eax, [esp + 0xac]
push 0x103
push eax
call ebx
lea ecx, [esp + 0xb4]
push esi
push ecx
call fcn.00432970
add esp, 0x18
test eax, eax
je 0x440579
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2ae]
mov word [esp + 0x2ac], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x4b6]
mov word [esp + 0x4b4], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x26]
mov word [esp + 0x24], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x6be]
mov word [esp + 0x6bc], si
rep stosd dword es:[edi], eax
lea edx, [esp + 0xa4]
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edx
lea eax, [esp + 0x6c0]
push 0x103
push eax
push 0x514ff0
push str.Count
push 0x504a3c
call edi
lea ecx, [esp + 0x6bc]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov dword [esp + 0x1c], eax
mov ebp, 1
cmp eax, 0xa
jb 0x44035f
mov eax, 0xa
cmp ebp, eax
ja 0x440579
push ebp
push str.URL_d
lea edx, [esp + 0x2c]
push 0x3f
push edx
call ebx
add esp, 0x10
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x2ac]
lea edx, [esp + 0x24]
push eax
push 0x103
push ecx
push 0x514ff0
push edx
push 0x504a3c
call edi
push ebp
push str.Title_d
lea eax, [esp + 0x2c]
push 0x3f
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x4b4]
lea eax, [esp + 0x24]
push ecx
push 0x103
push edx
push 0x514ff0
push eax
push 0x504a3c
call edi
mov eax, dword [0x4f6eb4]
mov dword [esp + 0x18], esi
mov edi, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x2ac]
mov dword [esp + 0x8cc], esi
test ecx, ecx
jne 0x440400
xor ebx, ebx
jmp 0x440414
lea edx, [esp + 0x2ac]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [esp + 0x10]
mov ebx, eax
cmp dword [edi - 0xc], 1
jg 0x44041f
cmp ebx, dword [edi - 4]
jle 0x44043a
lea ecx, [esp + 0x10]
call fcn.00415410
push ebx
lea ecx, [esp + 0x14]
call fcn.004152b0
cmp eax, esi
je 0x440467
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
lea esi, [esp + 0x2ac]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
xor esi, esi
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
lea eax, [esp + 0x4b4]
test eax, eax
jne 0x440476
xor ebx, ebx
jmp 0x440486
lea ecx, [esp + 0x4b4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], 1
jg 0x440495
cmp ebx, dword [edi - 4]
jle 0x4404b0
lea ecx, [esp + 0x14]
call fcn.00415410
push ebx
lea ecx, [esp + 0x18]
call fcn.004152b0
cmp eax, esi
je 0x4404dd
mov edi, dword [esp + 0x14]
lea eax, [ebx + ebx]
lea esi, [esp + 0x4b4]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
xor esi, esi
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x14]
mov word [eax + edx], 0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x10]
push edx
push 1
lea ecx, [eax + 0x238]
mov eax, dword [eax + 0x240]
push eax
call fcn.0043b9b0
mov eax, dword [esp + 0x14]
mov edx, dword [0x4f6100]
mov dword [esp + 0x8cc], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x440534
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x440534
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004d9644
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4f6100]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x440563
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x440563
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004d9644
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [esp + 0x1c]
inc ebp
jmp 0x440355
mov ecx, dword [esp + 0x8c4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c0
ret