Function at 0x410600
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44b6ec
mov eax, dword fs:[0]
push eax
sub esp, 0xbe4
mov eax, dword [0x466910]
xor eax, esp
mov dword [esp + 0xbe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466910]
xor eax, esp
push eax
lea eax, [esp + 0xbf8]
mov dword fs:[0], eax
xor eax, eax
push 0xc6
mov esi, ecx
push eax
lea ecx, [esp + 0x726]
push ecx
mov word [esp + 0x728], ax
call fcn.00437170
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
lea ebp, [esi + 0xb1c]
push ebp
push 0x64
lea edx, [esp + 0x724]
push edx
push 0x455c0c
push str.SourceUrl
lea ebx, [esi + 0xdec]
push ebx
call edi
push ebp
push 0
push str.FullFileSize
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x1b78], eax
test eax, eax
je 0x410a02
push 0xc00
call fcn.00415923
add esp, 4
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov dword [esp + 0xc00], ecx
cmp eax, ecx
je 0x4106ce
push eax
call fcn.0040fa10
mov dword [esp + 0x20], eax
jmp 0x4106d2
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0x126c]
push eax
lea edx, [esp + 0x720]
mov dword [esp + 0xc04], 0xffffffff
call fcn.0040fbe0
mov eax, dword [esi + 0x126c]
test eax, eax
je 0x410a02
cmp dword [esi + 0x1b78], eax
jne 0x410a02
push ebp
push 0
push str.NOOFPARTS
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x467bb4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x9f6]
push ecx
mov word [esp + 0x9f8], ax
call fcn.00437170
add esp, 0xc
push ebp
push 0x104
lea edx, [esp + 0x9f4]
push edx
push 0x455c0c
push str.ETAG
push ebx
call edi
lea eax, [esp + 0x9ec]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410767
sub eax, edx
sar eax, 1
je 0x4107ad
lea edx, [esi + 0x1754]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410783
sub eax, edi
sar eax, 1
je 0x4107ad
lea eax, [esp + 0x9ec]
push eax
push edx
call fcn.0043343c
add esp, 8
test eax, eax
je 0x4109f5
mov eax, dword [esi + 0x1b78]
cmp eax, dword [esi + 0x126c]
jne 0x4109f5
push eax
mov ecx, esi
call fcn.00410370
test al, al
je 0x4109f5
lea eax, [esi + 0x1000]
push eax
mov dword [esp + 0x20], eax
call fcn.004123b0
xor edi, edi
cmp dword [0x467bb4], edi
jbe 0x4109f1
lea ecx, [esi + 0x414]
add esi, 0x20c
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
test edi, edi
je 0x410875
push 0xc00
call fcn.00415923
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0xc00], 1
test eax, eax
je 0x41082d
push eax
call fcn.0040fa10
jmp 0x41082f
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0xc00], 0xffffffff
mov esi, eax
test eax, eax
je 0x410879
push 0x6ec
lea edx, [esp + 0x34]
push 0
push edx
mov dword [esp + 0x38], 0
call fcn.00437170
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x720]
mov ecx, esi
call fcn.0040fbe0
jmp 0x410879
mov esi, dword [esp + 0x20]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x7ee]
push edx
mov word [esp + 0x7f0], cx
call fcn.00437170
mov ecx, dword [esp + 0x34]
mov eax, dword [0x467bb4]
add esp, 0xc
push ecx
lea edx, [esi + 0x45c]
push 0x104
push edx
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], eax
call fcn.0043349d
mov eax, dword [esp + 0x30]
add esp, 0xc
push eax
lea ecx, [esi + 0x254]
push 0x104
push ecx
call fcn.0043349d
mov edx, dword [0x467bb4]
add esp, 0xc
push edi
push edx
lea eax, [esp + 0x7ec]
push 0x458a58
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x7ec]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [0x467bb4]
push edi
push edx
mov dword [esp + 0x20], eax
mov dword [esi + 0x48], eax
lea eax, [esp + 0x7ec]
push str.PARTS__ld__ld_ASSIGNEDSIZE
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x7ec]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [0x467bb4]
push edi
push edx
mov dword [esi + 0x30], eax
lea eax, [esp + 0x7ec]
push str.PARTS__ld__ld_BYTERANGESTART
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x7ec]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [0x467bb4]
push edi
push edx
mov dword [esi + 0x38], eax
lea eax, [esp + 0x7ec]
push str.PARTS__ld__ld_BYTERANGEEND
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x7ec]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x18]
cmp dword [esi + 0x30], eax
jne 0x4109c1
or eax, 0xffffffff
mov byte [esi + 0x669], 1
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
jmp 0x4109cb
add dword [esi + 0x38], eax
mov byte [esi + 0x669], 0
mov edx, dword [esp + 0x1c]
push esi
push edx
mov dword [esi + 0x24], 1
call fcn.00412a90
inc edi
mov byte [esi + 0x668], 1
cmp edi, dword [0x467bb4]
jb 0x410801
mov al, 1
jmp 0x410a04
mov eax, dword [esp + 0x20]
test eax, eax
je 0x410a02
call fcn.0040fd80
xor al, al
mov ecx, dword [esp + 0xbf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbe0]
xor ecx, esp
call fcn.004331c4
add esp, 0xbf0
ret