Function at 0x10001f40
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
call sym.HttpLoad.dll_private:_void___thiscall_CHttpLoadThreads::DestroyData_void_
mov edi, dword [esp + 0x20]
xor eax, eax
mov dword [esi + 0x82c], eax
mov dword [esi + 0x830], eax
mov eax, dword [esp + 0x24]
lea edx, [esi + 0x2c]
mov dword [esi + 0x24], eax
mov dword [esi + 0x10], 1
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10001f73
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push ecx
mov ecx, esi
call sym.HttpLoad.dll_private:_unsigned_long_int___thiscall_CHttpLoadThreads::GetLoadFileLength_char___char___char__
mov eax, dword [esi + 0x82c]
test eax, eax
jne 0x10001fbb
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
push ebx
push edx
push edi
push ebp
push eax
mov ecx, esi
call sym.HttpLoad.dll_public:_int___thiscall_CHttpLoadThreads::RequestHttp_char___char___char___int__char__
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14
mov ecx, 1
mov dword [esi + 0x28], ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x20]
xor edx, edx
div ecx
xor edi, edi
xor ebx, ebx
cmp ecx, edi
mov dword [esp + 0x24], eax
jle 0x10002101
mov dword [esp + 0x20], edi
mov ecx, dword [esi + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [edi + ecx], esi
mov edx, dword [esi + 0x1c]
mov dword [edi + edx + 4], eax
mov ebp, dword [esi + 0x20]
lea ecx, [ebp - 1]
cmp ebx, ecx
jne 0x1000201d
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x82c]
lea ecx, [edi + edx]
xor edx, edx
div ebp
mov eax, dword [esp + 0x24]
add edx, dword [ecx + 4]
lea edx, [edx + eax - 1]
mov dword [ecx + 8], edx
jmp 0x10002031
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + edi + 4]
mov edx, dword [esp + 0x24]
add eax, edi
lea ecx, [ecx + edx - 1]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x1c]
fldz
xor ebp, ebp
mov dword [edi + edx + 0xc], ebp
mov eax, dword [esi + 0x1c]
fstp dword [edi + eax + 0x10]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [edi + ecx + 0x14], eax
mov edx, dword [esi + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, 1
mov dword [edi + edx + 0x18], ebp
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x1c]
lea edx, [edi + eax + 0x1c]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x10002067
mov edx, dword [esi + 0x1c]
mov ecx, dword [esp + 0x1c]
lea edx, [edi + edx + 0x80]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x10002083
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x100020b3
mov eax, dword [esi + 0x1c]
lea edx, [edi + eax + 0x480]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x100020a3
jmp 0x100020cc
mov ecx, dword [esi + 0x1c]
push 0x400
lea edx, [edi + ecx + 0x480]
push ebp
push edx
call fcn.10006220
add esp, 0xc
mov eax, dword [esi + 0x1c]
push ebp
push ebp
add eax, edi
push eax
push sym.HttpLoad.dll_private:_static_unsigned_long_int___stdcall_CHttpLoadThreads::MultiThreadReadData_void__
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0x18]
mov edx, dword [esp + 0x24]
add dword [esp + 0x20], edx
mov dword [ecx + ebx*4], eax
add ebx, 1
add edi, 0x880
cmp ebx, dword [esi + 0x20]
jl 0x10001fe2
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x14