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

Disassembly:
mov ecx, dword [0x75421c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x4a1dab
sub esp, 0xa8
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x6c], ecx
lea edx, [esp + 0x9c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
lea eax, [esp + 0x6c]
mov dword [esp], eax
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
mov byte [esp + 0x14], 1
call sym.runtime.selectgo
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a1cc0
mov eax, dword [esp + 0xac]
mov edx, dword [eax + 0x68]
test edx, edx
jne 0x4a1976
xor ecx, ecx
xor edx, edx
jmp 0x4a1a36
mov eax, dword [edx]
call eax
mov eax, dword [esp]
mov ecx, dword [esp + 4]
test eax, eax
je 0x4a1a0e
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], ecx
mov eax, dword [0x7318e8]
mov ecx, dword [0x7318ec]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.errors.Is
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a19b9
xor eax, eax
xor ecx, ecx
jmp 0x4a1a2b
lea eax, [0x4c3d7f]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0x13
mov eax, dword [esp + 0x30]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
lea eax, [0x4b8ec0]
mov dword [esp], eax
lea ecx, [esp + 0x8c]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov eax, dword [esp + 8]
mov ecx, eax
lea eax, [0x6b5a24]
jmp 0x4a1a2b
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x14]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0xac]
mov ebx, dword [eax + 0x6c]
mov ebp, dword [eax + 0x70]
test ebx, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
test ebp, ebp
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, esi
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4a1c86
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], edx
mov dword [esp], ebx
mov dword [esp + 4], ebp
call sym.time.NewTimer
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x9c], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
mov eax, dword [eax]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x5c], ebx
lea ebp, [esp + 0x9c]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
mov dword [esp], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
mov byte [esp + 0x14], 1
call sym.runtime.selectgo
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a1c7f
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x50]
mov edx, dword [0x7318f0]
mov ebx, dword [0x7318f4]
nop
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.os._Process_.signal
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
test eax, eax
jne 0x4a1b5a
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
jmp 0x4a1be2
mov dword [esp + 0x58], ecx
mov edx, dword [0x7318e8]
mov ebx, dword [0x7318ec]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.errors.Is
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a1b91
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
jmp 0x4a1be2
lea eax, [0x4c364c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0x11
mov eax, dword [esp + 0x44]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x98], ecx
lea ecx, [0x4b8ec0]
mov dword [esp], ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov edx, dword [esp + 8]
lea eax, [0x6b5a24]
mov ecx, dword [esp + 0xac]
mov ebx, dword [ecx + 0x98]
test ebx, ebx
je 0x4a1cf8
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], ebx
call sym.runtime.selectnbrecv
movzx eax, byte [esp + 8]
test al, al
jne 0x4a1c53
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x38], edx
xor ebx, ebx
jmp 0x4a1d5c
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4a1c61
mov edx, dword [esp + 0x54]
jmp 0x4a1cc7
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4a1c79
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
jmp 0x4a1cc7
mov edx, dword [esp + 0x54]
jmp 0x4a1cc7
add esp, 0xa8
ret
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
lea eax, [esp + 0x9c]
mov dword [esp + 4], eax
call sym.runtime.chansend1
add esp, 0xa8
ret
add esp, 0xa8
ret
mov ecx, dword [0x754308]
test ecx, ecx
jne 0x4a1cda
mov ecx, dword [esp + 0xac]
jmp 0x4a1cee
mov ecx, dword [esp + 0xac]
mov ebx, dword [ecx + 0x98]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebx
mov dword [ecx + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
lea eax, [esp + 0x9c]
mov dword [esp + 4], eax
call sym.runtime.chansend1
add esp, 0xa8
ret
mov dword [esp + 0x3c], ebx
lea eax, [ecx + ebx*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0xc]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x3c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
cmp ebx, edx
jl 0x4a1d32
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov ecx, dword [eax + 0x98]
mov dword [esp], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 4], ecx
call sym.runtime.chanrecv1
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4a1d9a
mov edx, dword [esp + 0x54]
jmp 0x4a1cc7
mov eax, dword [0x731900]
mov edx, dword [0x731904]
jmp 0x4a1cc7
call sym.runtime.morestack_noctxt
jmp sym.os_exec._Cmd_.watchCtx