Function at 0x4864d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x612721
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4867b3
call fcn.00488990
mov esi, eax
test esi, esi
je 0x48660a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
jne 0x48660a
call fcn.00478bf0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4865df
push 0x2e
push str.d:_buildlib_common_netulcurldllhttptask.cpp
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.00408d00
push 3
push 0x622424
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00408d00
mov byte [ebp - 4], 1
call fcn.00478bf0
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x6a
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d3b0
mov esi, eax
push str.Release_httptask_thread_is_dwonload_thread
push esi
mov byte [ebp - 4], 2
call fcn.0040b300
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.0040ec90
lea ecx, [ebp - 0x2c]
call fcn.00405e70
lea ecx, [ebp - 0x44]
call fcn.00405e70
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push ebx
push 0x4867e0
push 0
push 0
call fcn.005c3209
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4867bc
mov ecx, dword [ebx + 0xc]
add ecx, 4
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
je 0x4866fc
call fcn.00478bf0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4866d4
push 0x2e
push str.d:_buildlib_common_netulcurldllhttptask.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], al
call fcn.00408d00
push 3
push 0x622424
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 3
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00408d00
mov byte [ebp - 4], 4
call fcn.00478bf0
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x73
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040d3b0
mov esi, eax
push str.cancel_task_sucess
push esi
mov byte [ebp - 4], 5
call fcn.0040e670
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.0040ec90
lea ecx, [ebp - 0x44]
call fcn.00405e70
lea ecx, [ebp - 0x2c]
call fcn.00405e70
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x4866f0
mov ecx, esi
call fcn.004878e0
push 0x560
push esi
call fcn.0052dbb4
add esp, 8
mov dword [ebx + 0xc], 0
jmp 0x4867b3
call fcn.00478bf0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4867b3
push 0x2e
push str.d:_buildlib_common_netulcurldllhttptask.cpp
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], al
call fcn.00408d00
push 3
push 0x622424
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 6
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.00408d00
mov byte [ebp - 4], 7
call fcn.00478bf0
mov edi, eax
lea ecx, [ebp - 0x1a4]
push 0x79
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040d3b0
mov esi, eax
push str.httptaskimp_ptr__CancelTask_failed
push esi
mov byte [ebp - 4], 8
call fcn.0040b300
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1a4]
call fcn.0040ec90
lea ecx, [ebp - 0x5c]
call fcn.00405e70
lea ecx, [ebp - 0x74]
call fcn.00405e70
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0x44]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret