Function at 0x521770
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a3c6
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x8f9064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x60], edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
push 0
mov dword [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::constructor_class_QObject__]
mov eax, dword [ebp + 8]
mov dword [edi], vtable.galaxy::updater_metadata::UpdateScheduler.0
mov dword [ebp + 8], 0
mov dword [edi + 8], eax
lea esi, [edi + 0x10]
mov byte [edi + 0xc], 0
push 2
push esi
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
mov byte [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], 0
mov dword [edi + 0x48], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
push dword [ebp - 0x54]
mov edx, dword [edi + 8]
call fcn.005214b0
mov edi, eax
mov dword [ebp - 0x50], 0x8a8900
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 7
lea edx, [ebp - 0x64]
mov ecx, dword [eax + 8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
push 0x20
mov esi, eax
call fcn.0042bbc0
movups xmm0, xmmword [str.System_Self_update_Check]
mov dword [ebp - 0x18], 0x18
mov dword [ebp - 0x14], 0x1f
movups xmmword [eax], xmm0
mov dword [ebp - 0x28], eax
movq xmm0, qword [0x8a7f54]
movq qword [eax + 0x10], xmm0
mov byte [eax + 0x18], 0
push ecx
push edi
mov byte [ebp - 4], 8
lea eax, [ebp - 0x50]
mov edi, dword [ebp - 0x58]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x50]
call fcn.00523400
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5218c0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5218b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5218b6
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 ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x5218d7
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
push eax
call edx
mov byte [edi + 0x120], 0
mov byte [edi + 0x124], 0
mov ecx, dword [ebp - 0x54]
lea esi, [edi + 0x140]
xorps xmm0, xmm0
mov dword [ebp - 0x60], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x12c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [edi + 0x128], eax
movq qword [edi + 0x130], xmm0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov ax, word [ecx]
mov word [edi + 0x138], ax
mov al, byte [ecx + 2]
mov byte [edi + 0x13a], al
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp + 0x40]
test ecx, ecx
je 0x521953
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 0xe
mov byte [edi + 0x168], 0
mov esi, dword [edi + 0x48]
push 0xc
mov dword [ebp - 0x54], fcn.00522500
mov dword [ebp - 0x5c], 0x55ca90
call fcn.0056d2dd
mov ecx, eax
push 0x8fb754
push 0
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x54]
push 1
push ecx
mov dword [ecx], 1
mov dword [ecx + 8], eax
lea eax, [ebp - 0x54]
push eax
push edi
lea eax, [ebp - 0x5c]
mov dword [ecx + 4], 0x433470
push eax
lea eax, [ebp - 0x60]
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__]
mov edi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
lea ecx, [ebp - 0x60]
add esp, 0x28
call edi
mov esi, dword [ebp - 0x58]
push 0xc
mov dword [ebp - 0x54], fcn.00522550
mov dword [ebp - 0x60], 0x55cac0
mov esi, dword [esi + 0x48]
call fcn.0056d2dd
mov ecx, eax
push 0x8fb754
push 0
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x54]
push 1
push ecx
mov dword [ecx], 1
mov dword [ecx + 8], eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x60]
mov dword [ecx + 4], 0x433470
push eax
lea eax, [ebp - 0x5c]
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, 0x28
lea ecx, [ebp - 0x5c]
call edi
mov eax, dword [ebp - 0x58]
push 0xc
mov dword [ebp - 0x54], fcn.00522b80
mov dword [ebp - 0x60], fcn.0055caf0
mov esi, dword [eax + 0x48]
call fcn.0056d2dd
mov ecx, eax
push 0x8fb754
push 0
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x54]
push 1
mov dword [ecx], 1
push ecx
mov dword [ecx + 8], eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x60]
mov dword [ecx + 4], 0x433470
push eax
push esi
mov esi, 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__]
lea eax, [ebp - 0x5c]
push eax
call esi
add esp, 0x28
lea ecx, [ebp - 0x5c]
call edi
push 0xc
mov dword [ebp - 0x54], fcn.00521d30
mov dword [ebp - 0x60], 0x536050
call fcn.0056d2dd
mov ecx, eax
push 0x8fa7b8
push 0
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x54]
push 1
push ecx
mov dword [ecx], 1
mov dword [ecx + 8], eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x60]
mov dword [ecx + 4], 0x433590
push eax
push dword [ebp - 0x68]
lea eax, [ebp - 0x5c]
push eax
call esi
add esp, 0x28
lea ecx, [ebp - 0x5c]
call edi
push 0xc
mov dword [ebp - 0x54], fcn.00521d60
mov dword [ebp - 0x60], 0x536070
call fcn.0056d2dd
mov ecx, eax
push 0x8fa7b8
push 0
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x54]
push 1
push ecx
mov dword [ecx], 1
mov dword [ecx + 8], eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x60]
mov dword [ecx + 4], 0x433470
push eax
push dword [ebp - 0x68]
lea eax, [ebp - 0x5c]
push eax
call esi
add esp, 0x28
lea ecx, [ebp - 0x5c]
call edi
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x521b25
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x521b33
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, dword [ebp + 0x40]
test ecx, ecx
je 0x521b4b
mov esi, dword [ecx]
lea eax, [ebp + 0x1c]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d0b2
mov esp, ebp
pop ebp
ret 0x3c