Function at 0x403e38
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x41e31e
call fcn.004132a4
sub esp, 0x5c
mov eax, dword [0x4290c8]
push str.CDownloadFile::ContinueDownload_begin.__n
mov dword [ebp - 0x10], eax
call fcn.0040b9f0
lea eax, [ebx + 0x54]
mov dword [esp], 0x41f43c
push eax
call fcn.00405126
test eax, eax
pop ecx
pop ecx
jne 0x403e75
push 2
pop eax
jmp 0x40400f
push esi
lea ecx, [ebp - 0x68]
lea esi, [ebx + 0x38]
mov eax, dword [esi]
push ecx
push eax
call fcn.0041106c
test eax, eax
pop ecx
pop ecx
je 0x403e92
xor eax, eax
jmp 0x40400e
mov eax, dword [esi]
push edi
mov edi, dword [eax - 0xc]
push 0x5c
call fcn.00404a5e
mov ecx, edi
sub ecx, eax
lea eax, [ebp - 0x38]
push eax
dec ecx
mov eax, esi
call fcn.00404a7c
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebx + 0x40]
push str.CDownloadFile::ContinueDownload_m_nThreadNumber_d.__n
call fcn.0040b9f0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop ecx
pop ecx
push dword [ebx + 0x48]
push edi
push str.ThreadNumber
push dword [ebp - 0x38]
call esi
cmp dword [ebx + 0x40], eax
jne 0x404000
push dword [ebx + 0x48]
push edi
push str.DownloadSize
push dword [ebp - 0x38]
call esi
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x40]
shl eax, 3
push eax
call fcn.0040f9d2
and dword [ebp - 0x3c], 0
cmp dword [ebx + 0x40], 0
mov edi, eax
mov eax, dword [ebp - 0x40]
pop ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x34], eax
jle 0x403f7a
push dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
push str.Thread_dEnd
push eax
call fcn.004114b3
add esp, 0xc
push dword [ebx + 0x48]
lea eax, [ebp - 0x30]
push 0
push eax
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp - 0x3c]
push ecx
mov dword [edi + ecx*8], eax
lea eax, [ebp - 0x30]
push 0x422344
push eax
call fcn.004114b3
add esp, 0xc
push dword [ebx + 0x48]
lea eax, [ebp - 0x30]
push 0
push eax
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp - 0x3c]
mov edx, dword [edi + ecx*8]
mov dword [edi + ecx*8 + 4], eax
sub edx, eax
mov eax, dword [ebp - 0x34]
inc ecx
cmp ecx, dword [ebx + 0x40]
lea eax, [eax + edx + 1]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ecx
jl 0x403f13
push dword [ebp - 0x34]
push str.CDownloadFile::ContinueDownload_lTmp_d.__n
call fcn.0040b9f0
mov eax, dword [ebx + 0x30]
cmp dword [ebp - 0x34], eax
pop ecx
pop ecx
je 0x403f9b
push edi
call fcn.00411428
xor edi, edi
jmp 0x403fff
mov ecx, dword [ebp - 0x40]
mov dword [ebx + 0x3c], ecx
cmp dword [ebx + 0x3c], eax
jge 0x403fea
and dword [ebp - 0x34], 0
cmp dword [ebx + 0x40], 0
jle 0x403fea
push 0x44
call fcn.0040f9d7
test eax, eax
pop ecx
je 0x403fd5
mov ecx, dword [ebp - 0x34]
shl ecx, 3
push dword [ecx + edi]
mov edi, dword [ecx + edi + 4]
mov esi, eax
call fcn.004062aa
mov edi, dword [ebp - 0x44]
jmp 0x403fd7
xor eax, eax
push ebx
mov esi, eax
call fcn.00402ded
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebx + 0x40]
jl 0x403fb0
push edi
call fcn.00411428
mov dword [esp], str.CDownloadFile::ContinueDownload_OK.__n
call fcn.0040b9f0
xor edi, edi
inc edi
pop ecx
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.00402528
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00412aab
leave
ret