Function at 0x4a9970
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d9d5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x8f9064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 1
mov eax, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::constructor_class_QObject__]
push 0
mov dword [ebp - 0x18], eax
call eax
movups xmm0, xmmword [ebx + 0x14]
mov dword [esi], vtable.galaxy::http::internals::RequestQueueProcessor.0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
movups xmmword [esi + 8], xmm0
mov byte [ebx + 0x14], 0
movq xmm0, qword [ebx + 0x24]
movq qword [esi + 0x18], xmm0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0xf
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x24], eax
add esi, 0x28
mov eax, dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
push 2
push esi
mov dword [ebp - 0x24], eax
call eax
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
mov dword [esi + 0x5c], 0
lea edi, [esi + 0x58]
mov dword [esi + 0x60], 0
add esp, 0xc
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov byte [ebp - 4], 4
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.0056d2dd
add esp, 4
mov dword [eax + 4], 0
mov dword [edi], eax
mov dword [eax], edi
mov esi, dword [ebp - 0x20]
mov byte [esi + 0x94], 1
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov eax, dword [ebx + 0x3c]
lea edi, [esi + 0xb8]
mov ecx, dword [ebx + 0x40]
push 0x30
mov dword [esi + 0xa8], eax
mov eax, dword [ebx + 0x44]
mov dword [esi + 0xac], ecx
mov ecx, dword [ebx + 0x48]
push 0
push edi
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], ecx
mov dword [ebp - 0x28], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 2
push edi
call dword [ebp - 0x24]
add esp, 8
mov byte [edi + 0x30], 0
cmp byte [ebx + 0x34], 0
mov byte [edi + 0x38], 0
je 0x4a9b11
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x30]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
mov byte [edi + 0x38], 1
mov byte [ebx + 0x34], 0
push 0xd8
mov byte [ebp - 4], 7
call fcn.0056d2dd
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
push esi
mov ecx, edi
mov byte [ebp - 4], 8
call dword [ebp - 0x18]
mov byte [ebp - 4], 9
push 0x18
mov dword [edi], vtable.galaxy::http::internals::ByteSpeedCalculator.0
call fcn.0056d2dd
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push edi
mov ecx, esi
mov byte [ebp - 4], 0xa
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QTimer::constructor_class_QObject__]
mov dword [esi], vtable.QTimer.0
push 0xc8
mov dword [edi + 8], esi
lea esi, [edi + 0x10]
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c], esi
push 2
push esi
call dword [ebp - 0x24]
add esp, 8
lea edi, [esi + 0x30]
mov dword [ebp - 0x18], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0x4bc680
push 0x4c1440
push 5
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0xc
push 0x18
push esi
mov dword [ebp - 0x24], esi
call fcn.0056d7a9
xor eax, eax
mov word [esi + 0x78], ax
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], eax
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x14]
mov eax, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QTimer::timeout_struct_QTimer::QPrivateSignal_]
mov esi, dword [sym.imp.Qt5Core.dll_struct_QMetaObject_const_QTimer::staticMetaObject]
push 0xc
mov edi, dword [edi + 8]
mov dword [ebp - 0x24], fcn.004bcae0
mov dword [ebp - 0x18], eax
call fcn.0056d2dd
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x24]
mov dword [eax], 1
push esi
mov esi, dword [ebp - 0x14]
push 0
push 0
push eax
mov dword [eax + 4], 0x433590
mov dword [eax + 8], ecx
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
mov edi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
lea ecx, [ebp - 0x1c]
add esp, 0x24
call edi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
push 0x98
mov dword [eax + 0xf8], esi
call fcn.0056d2dd
mov ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, esp
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x20]
mov dword [eax], esi
call fcn.004a7760
push dword [ebx + 8]
mov byte [ebp - 4], 7
mov ecx, esi
mov dword [esi + 0xfc], eax
call fcn.004a9f30
mov esi, dword [esi + 0xf8]
push 0xc
mov dword [ebp - 0x14], fcn.004b84f0
mov dword [ebp - 0x1c], 0x4b7bb0
call fcn.0056d2dd
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x14]
mov dword [eax], 1
push 0x8f9ec0
push 0
push 0
push eax
mov dword [eax + 4], 0x433470
mov dword [eax + 8], ecx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
add esp, 0x24
lea ecx, [ebp - 0x18]
call edi
mov eax, dword [ebp - 0x20]
push 0xc
mov dword [ebp - 0x14], fcn.004bcb70
mov dword [ebp - 0x1c], 0x4b8170
mov esi, dword [eax + 0xf8]
mov edi, dword [eax + 0xfc]
call fcn.0056d2dd
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x14]
mov dword [eax], 1
push 0x8f9ea8
push 0
push 0
push eax
mov dword [eax + 4], 0x4b20a0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
add esp, 0x24
lea ecx, [ebp - 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
mov esi, dword [ebp - 0x28]
push esi
mov dword [ebp - 0x30], esi
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x4a9d52
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
lea ecx, [esi + 0x30]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 0xf
cmp byte [ecx + 8], 0
mov edi, dword [ebp - 0x20]
je 0x4a9d7e
mov esi, dword [edi + 0xfc]
call fcn.004afa00
push eax
mov ecx, esi
call fcn.004a7cf0
lea esi, [edi + 0xb8]
push esi
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov edx, dword [ebx + 0x28]
add esp, 4
cmp edx, 0x10
jb 0x4a9dbe
mov ecx, dword [ebx + 0x14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a9db4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a9db4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0056d673
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x44