Function at 0x449050
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
add esi, 0xa4
push esi
lea ecx, [esp + 0x14]
call fcn.0044e4e0
add esp, 4
test eax, eax
jne 0x4490d2
mov dword [esp + 0x138], 0xffffffff
lea ecx, [esp + 0x10]
push ecx
call fcn.00403090
lea eax, [ebx + 1]
jmp 0x44934d
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x4490f4
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
jne 0x44911e
mov dword [esp + 0x138], 0xffffffff
lea edx, [esp + 0x10]
push edx
call fcn.00403090
mov eax, 3
jmp 0x44934d
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 0x449157
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 0x4491ba
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
call fcn.00403090
xor eax, eax
jmp 0x44934d
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 0x4491f2
or esi, 0xffffffff
jmp 0x449211
push str.http:__
push ecx
call fcn.004a4912
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
jne 0x44920d
or esi, 0xffffffff
jmp 0x449211
sub eax, ecx
mov esi, eax
cmp esi, ebx
mov eax, dword [ecx - 0xc]
jl 0x449239
cmp esi, eax
jg 0x449239
lea edx, [esi + ecx]
push 0x5d8804
push edx
call fcn.004a4912
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
je 0x449239
sub eax, ecx
jmp 0x44923c
or eax, 0xffffffff
cmp esi, 0xffffffff
je 0x4492d7
mov ecx, dword [ecx - 0xc]
sub ecx, esi
cmp eax, 0xffffffff
je 0x4492a6
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 0x4492bc
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.004497a0
mov esi, eax
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 eax, esi
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