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

Disassembly:
mov ecx, dword [0x69e340]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x60]
cmp eax, dword [ecx + 8]
jbe 0x4c0dea
sub esp, 0xe0
mov eax, 0
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov byte [esp + 0x37], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov eax, dword [esp + 0xe4]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp], ecx
call sym.sync_atomic.LoadUint32
mov eax, dword [esp + 4]
test eax, eax
jne 0x4c0daa
call sym.time.Now
lea edi, [esp + 0x4c]
lea esi, [esp]
call fcn.0046b21e
mov eax, dword [esp + 0xe4]
lea ecx, [eax + 0x10]
mov dword [esp], ecx
call sym.sync_atomic.LoadPointer
mov eax, dword [esp + 4]
test eax, eax
je 0x4c0a0e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4c0a12
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0xe4]
lea ebx, [edx + 0x14]
nop
nop
mov dword [esp], ebx
call sym.sync_atomic.LoadInt32
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
test eax, 0x18
je 0x4c0b66
mov ecx, dword [esp + 0xe8]
test ecx, ecx
jne 0x4c0a86
mov eax, dword [esp + 0xec]
mov dword [esp], eax
call sym.runtime.Caller
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test al, al
jne 0x4c0b6c
xor edx, edx
mov ebx, 3
lea ecx, [0x552723]
jmp 0x4c0b6c
lea eax, [0x531c80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0xe8]
mov dword [eax], ecx
lea ecx, [0x53f120]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov ecx, dword [0x69e3e8]
lea edx, [eax + 0x18]
test ecx, ecx
jne 0x4c0ade
mov ecx, dword [esp + 0x98]
jmp 0x4c0aef
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x98]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x60], eax
mov dword [eax], ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 2
mov dword [eax + 0xc], edx
lea edi, [esp + 0xac]
xor eax, eax
call fcn.0046ad35
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
call sym.runtime._Frames_.Next
lea edi, [esp + 0xac]
lea esi, [esp + 4]
call fcn.0046b1e2
lea edi, [esp + 0x68]
lea esi, [esp + 0xac]
call fcn.0046b1e2
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
test ecx, ecx
jne 0x4c0b57
mov ecx, 3
lea edx, [0x552723]
mov eax, dword [esp + 0x80]
mov ebx, ecx
mov ecx, edx
mov edx, eax
jmp 0x4c0b6c
xor ebx, ebx
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x40], edx
lea eax, [0x6521d0]
mov dword [esp], eax
call sym.sync._Pool_.Get
mov eax, dword [esp + 4]
lea ecx, [0x52eea0]
cmp eax, ecx
jne 0x4c0dc7
mov eax, dword [esp + 8]
mov dword [esp + 0x94], eax
mov dword [eax + 4], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [sym.log._Logger_.output.deferwrap1]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0xd8], ecx
mov byte [esp + 0x37], 1
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x4c]
call fcn.0046b21e
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
call sym.log.formatHeader
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
mov ecx, dword [esp + 0x94]
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x94]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ebp, dword [0x69e3e8]
test ebp, ebp
je 0x4c0c80
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
test eax, eax
je 0x4c0c90
lea ebp, [eax + edx - 1]
cmp byte [ebp], 0xa
je 0x4c0cf1
inc eax
cmp ecx, eax
jae 0x4c0ce9
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x533a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x94]
mov dword [ebx + 8], eax
mov eax, dword [0x69e3e8]
test eax, eax
je 0x4c0ce3
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, edx
mov edx, ecx
mov dword [ebx + 4], eax
mov byte [eax + edx - 1], 0xa
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
call sym.sync._Mutex_.Lock
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea eax, [sym.log._Logger_.output.deferwrap2]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xa0], eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0xdc], ecx
mov byte [esp + 0x37], 3
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ecx + 0x10]
mov edx, dword [esp + 0x94]
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
call ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ecx
mov byte [esp + 0x37], 1
mov edx, dword [esp + 0xdc]
mov eax, dword [edx]
call eax
mov byte [esp + 0x37], 0
mov edx, dword [esp + 0xd8]
mov eax, dword [edx]
call eax
add esp, 0xe0
ret
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
add esp, 0xe0
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5345a0]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeE
nop
call sym.runtime.deferreturn
add esp, 0xe0
ret
call sym.runtime.morestack_noctxt
jmp sym.log._Logger_.output