Function at 0x10016020
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005aa68
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10080704]
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 eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x50], eax
cmp ecx, 1
je 0x1001605e
cmp ecx, 3
jne 0x10016077
cmp edx, 1
jge 0x10016077
push str.nOpenCount___1
call fcn.10010e40
add esp, 4
xor eax, eax
jmp 0x1001621d
cmp ecx, 2
je 0x10016085
cmp ecx, 3
jne 0x10016218
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.GetNetTime_in
movlpd qword [ebp - 0x4c], xmm0
call esi
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x28]
call fcn.10019540
test eax, eax
je 0x100160dd
push str.Error:_GetNetTime_Succeed
call esi
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x100160f4
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10015fb0
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0x3c]
mov esi, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], 0
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x40], 0
push eax
push str._d__d__d
push ebx
mov dword [ebp - 0x3c], 0
call fcn.100194d0
add esp, 0x10
lea ecx, [ebp - 0x4c]
push 0
push 0
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.10015f00
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x44], 0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x3c], 0
push eax
push str._d__d__d
push dword [ebp - 0x50]
call fcn.100194d0
add esp, 0x10
lea ecx, [ebp - 0x54]
push 0x3b
push 0x3b
push 0x17
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.10015f00
cmp edi, dword [ebp - 0x48]
jg 0x1001619b
jl 0x10016194
cmp esi, dword [ebp - 0x4c]
jae 0x1001619b
push str.tNetTime___startTime
jmp 0x100161ac
cmp dword [ebp - 0x50], edi
jg 0x100161e8
jl 0x100161a7
cmp dword [ebp - 0x54], esi
jae 0x100161e8
push str.endTime___tNetTime
call fcn.10010e40
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 0x10
jb 0x100161e4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100161da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016239
push edx
push ecx
call fcn.1001bf11
add esp, 8
xor eax, eax
jmp 0x1001621d
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10016218
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001620e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001623e
push edx
push ecx
call fcn.1001bf11
add esp, 8
mov eax, 1
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.1001bcd0
mov esp, ebp
pop ebp
ret
call fcn.10041b97
call fcn.10041b97
int3