Function at 0x1006ddf0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014acb1
mov eax, dword fs:[0]
push eax
sub esp, 0x98
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 edi, ecx
mov eax, dword [ebp + 8]
xor bh, bh
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
xor eax, eax
mov byte [ebp - 0x4c], bh
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov eax, dword [0x1018f1b8]
test al, 1
jne 0x1006de7a
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 - 0x28]
mov ecx, 0x1018f198
push eax
call fcn.10047360
test eax, eax
je 0x1006de93
xor bh, bh
jmp 0x1006dff7
push 0xd
push str.ktoolupd.dll
lea ecx, [ebp - 0x28]
call fcn.1000c1d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x1006dfe9
push str.CreateHttpUploadInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006dfe0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push ecx
call eax
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x1006dfe0
test edi, edi
je 0x1006def4
lea edx, [edi + 8]
jmp 0x1006def6
xor edx, edx
mov eax, dword [ecx]
push edx
call dword [eax]
mov ecx, dword [ebp - 0x48]
push str.up_file
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x48]
push 0
push esi
push dword [ebp - 0x44]
mov eax, dword [ecx]
push dword [ebp - 0x50]
call dword [eax + 8]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp byte [edi + 0xc], 0
jne 0x1006dfe0
lea ecx, [ebp - 0xa4]
call fcn.10073080
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x198]
call fcn.1003fb30
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x1006df55
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xa4]
call fcn.10073400
test eax, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
sete bl
call fcn.10001d00
lea ecx, [ebp - 0xa4]
test bl, bl
jne 0x1006dfd7
push str.root_success
call fcn.100731f0
lea ecx, [ebp - 0xa4]
test eax, eax
jne 0x1006dfd2
push str.rooterror_msg
call fcn.100731f0
test eax, eax
je 0x1006dfca
lea ecx, [ebp - 0x44]
call fcn.1005c980
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xa4]
call fcn.10073420
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x44]
call fcn.100610c0
lea ecx, [ebp - 0xa4]
jmp 0x1006dfd7
mov bh, 1
mov byte [ebp - 0x4c], bh
mov byte [ebp - 4], 0
call fcn.10067b70
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x1006dff7
push dword [ebp - 0x4c]
mov eax, dword [esi]
push 0x64
push esi
call dword [eax]
cmp dword [ebp - 0x14], 8
jb 0x1006e008
push dword [ebp - 0x28]
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 0xc