Function at 0x10016fb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005abd6
mov eax, dword fs:[0]
push eax
sub esp, 0x5f4
mov eax, dword [0x10080704]
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 - 0x5d4], edi
movups xmm0, xmmword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x10070970
movups xmmword [ebp - 0x5c8], xmm0
call esi
mov dword [edi], 0
call fcn.10014720
cmp eax, 0xffffffff
jne 0x10017017
push 0x10070994
jmp 0x1001734b
push 0x200
lea eax, [ebp - 0x3a0]
push 0
push eax
call fcn.10033470
push 0x200
lea eax, [ebp - 0x5a0]
push 0
push eax
call fcn.10033470
push 0x7c4
call fcn.1001bee1
mov dword [ebp - 0x5d0], eax
add esp, 0x10
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.100108f0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10017346
cmp dword [edi + 0x18], 0
lea ecx, [edi + 0x18]
je 0x10017346
push 0x1006f964
lea eax, [ebp - 0x5d0]
push eax
push str.Switches
lea eax, [ebp - 0x5f8]
push eax
push str.Config
lea eax, [ebp - 0x5fc]
push eax
call fcn.10013130
mov ecx, eax
call fcn.10013130
mov ecx, eax
call fcn.10013130
cmp dword [ebp - 0x5d0], 0
je 0x10017346
push ecx
lea eax, [ebp - 0x600]
push eax
lea ecx, [ebp - 0x5d0]
call fcn.100131a0
mov eax, dword [eax]
test eax, eax
je 0x100170e0
mov eax, dword [eax + 8]
test eax, eax
jne 0x100170e5
mov eax, 0x1006e8bc
push eax
call fcn.10042ff6
add esp, 4
test eax, eax
je 0x10017346
lea eax, [ebp - 0x5a0]
mov ecx, edi
push eax
lea eax, [ebp - 0x3a0]
push eax
call fcn.10010af0
test eax, eax
jne 0x10017123
push str.GetUserData_Failed
call esi
push ecx
mov ecx, edi
call fcn.100148e0
jmp 0x1001734d
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.10033470
push 0xc8
lea eax, [ebp - 0x1a0]
push 0
push eax
call fcn.10033470
add esp, 0x18
lea eax, [ebp - 0x1a0]
push 0x64
push eax
lea eax, [ebp - 0x5c8]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0xd8]
push 0x64
push eax
call fcn.1004304a
call fcn.100145b0
mov ecx, dword [ebp - 0x5ec]
and ecx, 0xffffff01
mov dword [ebp - 0x5d0], eax
or ecx, 1
mov dword [ebp - 0x5e8], 0
mov dword [ebp - 0x5ec], ecx
mov dword [ebp - 0x5f4], 0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x5dc]
and ecx, 0xffffff01
mov dword [ebp - 0x5d8], 0
or ecx, 1
mov dword [ebp - 0x5e4], 0
mov dword [ebp - 0x5dc], ecx
lea eax, [ebp - 0x5e4]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x3a0]
lea ecx, [ebp - 0xd8]
call fcn.10013cf0
mov eax, dword [ebp - 0x5a8]
add esp, 0x10
and eax, 0xffffff01
mov dword [ebp - 0x5a4], 0
or eax, 1
mov dword [ebp - 0x5b0], 0
mov dword [ebp - 0x5a8], eax
lea eax, [ebp - 0x5b0]
push eax
lea ecx, [ebp - 0x5e4]
call fcn.10009c40
lea ecx, [ebp - 0x5b0]
mov byte [ebp - 0x5c9], al
mov byte [ebp - 4], 2
call fcn.10009b00
cmp byte [ebp - 0x5c9], 0
jne 0x100172ce
push ecx
push str.remain_count
lea ecx, [ebp - 0x5e4]
call fcn.1000a3e0
lea ecx, [ebp - 0x5b8]
push ecx
mov ecx, eax
call fcn.10009e10
cmp dword [eax + 0x14], 0x10
jb 0x10017279
mov eax, dword [eax]
push eax
call fcn.10043020
mov edx, dword [ebp - 0x5a4]
add esp, 4
mov esi, eax
cmp edx, 0x10
jb 0x100172be
mov ecx, dword [ebp - 0x5b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100172b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001736d
push edx
push ecx
call fcn.1001bf11
add esp, 8
push esi
push str.GetUserAuthoritiesWithOffline_remain_count:_d
call fcn.10010e40
add esp, 8
jmp 0x100172d3
mov esi, 0xfffffffe
mov eax, dword [ebp - 0x5d0]
cmp eax, 0xffffffff
je 0x100172e2
test eax, eax
jne 0x1001730b
lea eax, [ebp - 0x5f4]
push eax
lea edx, [ebp - 0x3a0]
lea ecx, [ebp - 0xd8]
call fcn.100140f0
add esp, 4
test eax, eax
je 0x1001730b
push 1
lea ecx, [ebp - 0x5f4]
jmp 0x10017313
push 0
lea ecx, [ebp - 0x5e4]
push esi
call fcn.10016590
mov ecx, dword [ebp - 0x5d4]
add esp, 8
mov dword [ecx], eax
push ecx
mov ecx, edi
call fcn.100148e0
lea ecx, [ebp - 0x5e4]
call fcn.10009b00
lea ecx, [ebp - 0x5f4]
call fcn.10009b00
xor eax, eax
jmp 0x10017352
push 0x100709c4
call esi
mov eax, 1
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.1001bcd0
mov esp, ebp
pop ebp
ret
call fcn.10041b97
int3