Function at 0x559750
Capabilities:
Acquire debug privileges
Patch process command line

Disassembly:
push ebp
mov eax, 0x2140
push edi
push ebx
call fcn.00567770
sub esp, eax
lea eax, [esp + 0x2140]
mov dword [esp + 0x54], 0x567468
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 0x58], 0x5c5880
mov dword [esp + 0x60], 0x559a8d
mov dword [esp + 0x64], esp
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Register
mov dword [esp], str.ntdll
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 4], str.NtQueryInformationProcess
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub esp, 8
test eax, eax
mov dword [esp + 0x2c], eax
je 0x559a43
mov dword [esp + 0x74], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [esp + 0x74]
mov dword [esp + 4], 0x28
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
sub esp, 0xc
mov eax, dword [esp + 0x74]
mov dword [esp + 8], 1
mov dword [esp + 4], str.SeDebugPrivilege
mov dword [esp], eax
call fcn.00555310
mov eax, dword [esp + 0x2150]
mov dword [esp + 4], 0
mov dword [esp], 0x410
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
sub esp, 0xc
test eax, eax
mov dword [esp + 0x30], eax
je 0x559a73
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], 0x18
mov dword [esp + 4], 0
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], eax
call dword [esp + 0x2c]
sub esp, 0x14
mov dword [esp], 0
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x140]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x34], eax
test ebx, ebx
je 0x559970
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x38], eax
call eax
sub esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [esp + 0x38]
sub esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
lea eax, [esp + 0x78]
mov dword [esp], eax
call dword [method.QString.fromUtf16_unsigned_short_const__int_]
mov ecx, dword [esp + 0x2154]
lea eax, [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 0x40], 1
call dword [method.QString.operator_QString_const_]
sub esp, 4
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
test edx, edx
je 0x559945
cmp edx, 0xffffffff
je 0x559926
lock sub dword [eax], 1
setne dl
test dl, dl
je 0x559941
lea eax, [esp + 0x3c]
mov dword [esp], eax
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Unregister
movzx eax, byte [esp + 0x2c]
add esp, 0x2140
pop ebx
pop edi
pop ebp
ret
mov eax, dword [esp + 0x78]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
mov dword [esp + 0x40], 0xffffffff
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x559926
lea eax, [esp + 0x70]
mov dword [esp + 0xc], 0x1c
mov dword [esp + 0x10], eax
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [esp + 0x2c], eax
call eax
sub esp, 0x14
test eax, eax
je 0x559a50
lea eax, [esp + 0x70]
mov dword [esp + 0xc], 0x90
mov dword [esp + 0x10], eax
lea eax, [esp + 0xb0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [esp + 0x2c]
sub esp, 0x14
test eax, eax
je 0x559a50
mov eax, dword [esp + 0x38]
mov ecx, 0x800
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0xf4]
movzx ebx, word [esp + 0xf0]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [esp + 0x2c]
sub esp, 0x14
test eax, eax
setne byte [esp + 0x2c]
jmp 0x5598a5
mov byte [esp + 0x2c], 0
jmp 0x559926
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x140]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x34], eax
jmp 0x5598a5
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov byte [esp + 0x2c], 0
jmp 0x559926