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

Disassembly:
push 0xffffffffffffffff
push 0x58f4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
mov esi, ecx
call fcn.004030f0
xor ebx, ebx
mov dword [esp + 0x138], ebx
push esi
lea ecx, [esp + 0x14]
call fcn.0044e4e0
add esp, 4
test eax, eax
jne 0x449524
mov dword [esp + 0x138], 0xffffffff
lea ecx, [esp + 0x10]
push ecx
jmp 0x449774
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x449546
xor ecx, ecx
lea eax, [esp + 0x10]
call fcn.00403340
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4495d5
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004488a0
mov byte [esp + 0x138], 1
mov edx, dword [esp + 0x20]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x44958e
xor ecx, ecx
lea eax, [esp + 0x20]
call fcn.00403340
mov edx, dword [esp + 0x20]
push edx
push 0x104
lea edx, [esp + 0x2c]
push edx
push str.null
push 0x5d87f4
push str.update_BD.txt
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x24]
push str.null
push eax
call fcn.004a47ba
add esp, 8
test eax, eax
jne 0x4495ea
mov byte [esp + 0x138], bl
lea ecx, [esp + 0x20]
push ecx
call fcn.00403090
mov dword [esp + 0x138], 0xffffffff
lea edx, [esp + 0x10]
push edx
jmp 0x449774
lea eax, [esp + 0x18]
push eax
call fcn.004030f0
mov byte [esp + 0x138], 2
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
call fcn.00402fe0
mov byte [esp + 0x138], 3
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jge 0x449622
or esi, 0xffffffff
jmp 0x449641
push str.http:__
push ecx
call fcn.004a4912
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
jne 0x44963d
or esi, 0xffffffff
jmp 0x449641
sub eax, ecx
mov esi, eax
cmp esi, ebx
mov eax, dword [ecx - 0xc]
jl 0x449669
cmp esi, eax
jg 0x449669
lea edx, [esi + ecx]
push 0x5d8804
push edx
call fcn.004a4912
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
je 0x449669
sub eax, ecx
jmp 0x44966c
or eax, 0xffffffff
cmp esi, 0xffffffff
je 0x449707
mov ecx, dword [ecx - 0xc]
sub ecx, esi
cmp eax, 0xffffffff
je 0x4496d6
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x18]
call fcn.0040c330
mov byte [esp + 0x138], 4
lea ebx, [esp + 0x18]
call fcn.00406760
mov byte [esp + 0x138], 3
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403090
mov ecx, esi
mov edx, 0x5d8804
mov esi, ebx
call fcn.00408c50
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
mov edx, ebx
call fcn.00408930
mov byte [esp + 0x138], 5
jmp 0x4496ec
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x18]
call fcn.0040c330
mov byte [esp + 0x138], 6
lea ebx, [esp + 0x18]
call fcn.00406760
mov byte [esp + 0x138], 3
lea eax, [esp + 0x1c]
push eax
call fcn.00403090
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
lea edx, [esp + 0x1c]
push edx
push ecx
call fcn.00406380
mov byte [esp + 0x13c], 7
mov byte [esp + 0x13c], 3
call fcn.00449380
mov byte [esp + 0x138], 2
lea eax, [esp + 0x14]
push eax
call fcn.00403090
mov byte [esp + 0x138], 1
lea ecx, [esp + 0x18]
push ecx
call fcn.00403090
mov byte [esp + 0x138], 0
lea edx, [esp + 0x20]
push edx
call fcn.00403090
mov dword [esp + 0x138], 0xffffffff
lea eax, [esp + 0x10]
push eax
call fcn.00403090
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004a314d
add esp, 0x130
ret