Function at 0x5c7b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x80b088]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c7ded
sub esp, 0x68
mov eax, 0
mov dword [esp + 0x64], eax
mov byte [esp + 0x37], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x6c]
cmp dword [ecx + 0x14], eax
jg 0x5c7db8
call sym.time.Now
lea edi, [esp + 0x50]
lea esi, [esp]
call fcn.004678be
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call sym.sync._Mutex_.Lock
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea eax, [sym.github.com_qiniu_x_log._Logger_.Output.func1]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], ecx
mov byte [esp + 0x37], 1
mov ecx, dword [eax + 0x10]
test ecx, 0x98
jne 0x5c7c1b
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x5c7c79
mov dword [esp], eax
call sym.sync._Mutex_.Unlock
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call sym.runtime.Caller
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test al, al
jne 0x5c7c51
mov ebx, 3
xor ecx, ecx
lea edx, [0x63daa7]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call sym.sync._Mutex_.Lock
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x78]
cmp ebp, 6
jae 0x5c7dd7
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
lea esi, [eax + ebp*8 + 0x34]
mov edi, dword [esi]
mov edx, dword [esi + 4]
lea ebp, [eax + ebp*8 + 0x38]
lea ecx, [eax + 0x20]
mov dword [esp + 0x44], ecx
add edi, 1
mov dword [esi], edi
adc edx, 0
mov dword [ebp], edx
nop
mov dword [eax + 0x24], 0
mov dword [eax + 0x2c], 0
mov byte [eax + 0x30], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edi, [esp + 8]
lea esi, [esp + 0x50]
call fcn.004678be
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x30], ecx
call sym.github.com_qiniu_x_log._Logger_.formatHeader
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 8], edx
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x84]
test eax, eax
je 0x5c7d53
mov edx, dword [esp + 0x80]
lea edx, [eax + edx - 1]
cmp byte [edx], 0xa
je 0x5c7d53
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call sym.bytes._Buffer_.WriteByte
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx + 0x24]
mov eax, dword [edx + 0x2c]
cmp ecx, eax
jb 0x5c7dd2
mov ebx, dword [edx + 0x18]
mov ebp, dword [edx + 0x1c]
mov ebx, dword [ebx + 0x10]
mov esi, dword [edx + 0x20]
mov edx, dword [edx + 0x28]
mov dword [esp], ebp
sub edx, eax
sub ecx, eax
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, eax
lea eax, [esi + edx]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x37], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x68
ret
call sym.runtime.panicSliceB
mov eax, ebp
mov ecx, 6
call sym.runtime.panicIndex
nop
call sym.runtime.deferreturn
add esp, 0x68
ret
call sym.runtime.morestack_noctxt
jmp sym.github.com_qiniu_x_log._Logger_.Output