Function at 0x10003f70
Capabilities:
Create process on windows
Download url
Read .ini file
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d365
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x1017f064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x68]
call fcn.10024860
push 0
push 0x10
push str.._Libertys_Legacy_updates_check.ini
push str.https:__raw.githubusercontent.com_KonstantinosTourtsakis_public_web_file_access_main_texts_updates_check.ini
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
cmp eax, 0x8007000e
je 0x100041bf
cmp eax, 0x800c0008
je 0x100041b8
test eax, eax
je 0x10003fee
mov edx, str.Couldnt_check_for_updates._Make_sure_youre_gconnected_sto_the_internet.
jmp 0x100041c4
push 0xdb
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.1004b130
mov eax, dword [0x10077020]
lea edi, [ebp + 0x38]
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 0x20]
movups xmm0, xmmword [str..Libertys_Legacy_updates_check.ini]
mov dword [ebp - 0x148], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x4c], 0x10
movups xmmword [ebp - 0x168], xmm0
cmovae edi, dword [ebp + 0x38]
movups xmm0, xmmword [0x10077010]
cmp dword [ebp + 0x34], 0x10
push 0xff
cmovae esi, dword [ebp + 0x20]
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x170], eax
call fcn.100498e9
push 0xff
push 0
push eax
mov dword [ebp - 0x16c], eax
call fcn.1004b130
add esp, 0x1c
lea eax, [ebp - 0x168]
push eax
push 0xff
push dword [ebp - 0x16c]
push dword [ebp - 0x170]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x16c]
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100040a0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.10025820
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov edi, dword [ebp - 0x68]
lea edx, [ebp - 0x68]
cmovae ecx, dword [ebp + 8]
cmp dword [ebp - 0x54], 0x10
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp - 0x58]
cmovae edx, edi
cmp eax, esi
cmovb esi, eax
sub esi, 4
jb 0x100040f1
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x100040f6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x100040e0
cmp esi, 0xfffffffc
je 0x1000412a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x10004123
cmp esi, 0xfffffffd
je 0x1000412a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x10004123
cmp esi, 0xfffffffe
je 0x1000412a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x10004123
cmp esi, 0xffffffff
je 0x1000412a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1000412a
sbb eax, eax
or eax, 1
jmp 0x1000412c
xor eax, eax
test eax, eax
jne 0x1000413a
mov eax, dword [ebp + 0x18]
cmp dword [ebp - 0x58], eax
jb 0x1000413a
jbe 0x1000418b
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
cmovae eax, edi
push eax
push str.gLibertys_Legacy_y_s_sis_available.
lea eax, [ebp - 0x50]
push 0x40
push eax
call fcn.10001270
push 0x10077054
push 0x10077058
mov edx, str.sDo_you_want_to_update_now_
lea ecx, [ebp - 0x50]
call fcn.1002f550
add esp, 0x18
test al, al
je 0x10004188
push 5
push 0
push 0
push str.https:__www.nexusmods.com_gta4_mods_100
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x10004206
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100041b4
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100042eb
push ecx
push edi
jmp 0x100041fe
mov edx, str.rINET_E_DOWNLOAD_FAILUREs:_couldnt_complete_updates_check
jmp 0x100041c4
mov edx, str.rE_OUTOFMEMORYs:_couldnt_complete_updates_check
push ecx
push 0x1b58
call fcn.10029500
mov ecx, dword [ebp - 0x54]
add esp, 8
cmp ecx, 0x10
jb 0x10004206
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100041fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100042eb
push ecx
push edx
call fcn.100498b8
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp ecx, 0x10
jb 0x1000424c
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004242
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100042eb
push ecx
push edx
call fcn.100498b8
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x1000428e
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004284
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100042eb
push ecx
push edx
call fcn.100498b8
add esp, 8
mov ecx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp ecx, 0x10
jb 0x100042d0
mov edx, dword [ebp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100042c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100042eb
push ecx
push edx
call fcn.100498b8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004955b
mov esp, ebp
pop ebp
ret
call fcn.10051d01
int3