Function at 0x1006afe0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014a959
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x1018d0d0]
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 esi, ecx
mov eax, dword [ebp + 8]
xor bh, bh
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov eax, dword [0x1018f1b8]
test al, 1
jne 0x1006b06b
or eax, 1
mov dword [0x1018f1b8], eax
mov ecx, 0x1018f198
mov byte [ebp - 4], 1
call fcn.10042790
push 0x10151030
call fcn.1011a62e
add esp, 4
mov byte [ebp - 4], bh
lea eax, [ebp - 0x40]
mov ecx, 0x1018f198
push eax
call fcn.10047360
test eax, eax
je 0x1006b084
xor bh, bh
jmp 0x1006b246
push 0xd
push str.ktoolupd.dll
lea ecx, [ebp - 0x40]
call fcn.1000c1d0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1006b246
push str.UrlPostData
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006b23d
mov dword [ebp - 0x74], edi
lea edi, [esi + 0xe8]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 3
test esi, esi
je 0x1006b0ef
lea ecx, [esi + 4]
jmp 0x1006b0f1
xor ecx, ecx
lea edx, [ebp - 0x74]
push edx
push ecx
push 0
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp - 0x60]
call eax
mov eax, dword [ebp - 0x6c]
cmp byte [eax], 0
jne 0x1006b235
lea ecx, [ebp - 0xc4]
call fcn.10073080
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
mov ecx, edi
call fcn.1003fb30
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 5
jb 0x1006b133
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xc4]
call fcn.10073400
test eax, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
sete bl
call fcn.10001d00
lea ecx, [ebp - 0xc4]
test bl, bl
jne 0x1006b22c
push str.root_success
call fcn.100731f0
test eax, eax
jne 0x1006b1ad
push str.rooterror_msg
lea ecx, [ebp - 0xc4]
call fcn.100731f0
test eax, eax
je 0x1006b226
lea ecx, [ebp - 0x60]
call fcn.1005c980
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xc4]
call fcn.10073420
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x60]
jmp 0x1006b221
lea ecx, [ebp - 0x5c]
call fcn.1005c980
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xc4]
call fcn.10073420
push dword [ebp - 0x5c]
call fcn.1011bf9b
add esp, 4
test eax, eax
je 0x1006b21e
push str.root_ticket
lea ecx, [ebp - 0xc4]
call fcn.100731f0
test eax, eax
je 0x1006b21e
lea ecx, [ebp - 0x64]
call fcn.1005c980
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xc4]
call fcn.10073420
push dword [ebp - 0x64]
lea ecx, [esi + 0xb4]
call fcn.1000bb20
lea ecx, [ebp - 0x64]
mov bh, 1
call fcn.100610c0
lea ecx, [ebp - 0x5c]
call fcn.100610c0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 3
call fcn.10067b70
lea ecx, [ebp - 0x28]
call fcn.10001d00
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x2c], 8
jb 0x1006b257
push dword [ebp - 0x40]
call fcn.1011a1ea
add esp, 4
mov al, bh
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.1011a3e5
mov esp, ebp
pop ebp
ret 8