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

Disassembly:
mov ecx, dword [0x776294]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x583865
sub esp, 0x8c
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x38], edx
xor ebx, ebx
xor ebp, ebp
jmp 0x58361a
inc ebx
cmp ebx, edx
jge 0x58383c
mov esi, dword [ecx + ebx*4]
movzx edi, byte [esi + 5]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x583619
mov dword [esp + 0x34], ebx
mov dword [esp + 0x6c], esi
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [0x72f564]
mov dword [esp + 0x40], ecx
lea edi, [esp + 0x58]
mov edx, eax
xor eax, eax
call fcn.0046ab9b
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov byte [esp + 8], 1
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x78]
lea esi, [esp + 0xc]
call fcn.0046b07e
lea edi, [esp + 0x58]
lea esi, [esp + 0x78]
call fcn.0046b07e
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
inc ecx
mov dword [esp + 0x28], ecx
mov edx, dword [0x72f564]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x2c], ebx
lea edi, [esp + 0x44]
xor eax, eax
call fcn.0046ab9b
mov dword [esp], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x78]
lea esi, [esp + 0xc]
call fcn.0046b07e
lea edi, [esp + 0x44]
lea esi, [esp + 0x78]
call fcn.0046b07e
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
call sym.main._Package_.rewriteCall
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x14]
test eax, eax
je 0x58381d
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
cmp ebx, ebp
jl 0x58384c
test ebp, ebp
jl 0x58384c
mov esi, dword [esp + 0x94]
mov edi, dword [esi + 0x54]
cmp dword [edi + 4], ebx
jl 0x58384c
mov byte [esp + 0x22], dl
mov dword [esp + 0x3c], ecx
mov esi, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
inc ecx
mov edx, dword [edi + 0xc]
cmp esi, ecx
jae 0x5837d7
mov dword [esp + 0x70], edi
mov dword [esp + 0x30], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x5d5060]
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 + 0x70]
mov dword [ebx + 0x14], eax
mov eax, dword [0x776350]
test eax, eax
je 0x5837c0
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0xc]
mov dword [edi + 4], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov edi, ebx
mov ebx, dword [esp + 0x24]
mov esi, edx
mov edx, ecx
mov ecx, esi
mov dword [edi + 0x10], ecx
dec ecx
shl ecx, 4
mov dword [edx + ecx], ebp
mov dword [edx + ecx + 4], ebx
mov dword [edx + ecx + 0xc], eax
mov eax, dword [0x776350]
movzx ebx, byte [esp + 0x22]
movzx ebp, byte [esp + 0x23]
or ebx, ebp
test eax, eax
jne 0x583805
mov eax, dword [esp + 0x3c]
jmp 0x583817
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
mov ebp, dword [edx + ecx + 8]
mov dword [edi + 4], ebp
mov dword [edx + ecx + 8], eax
jmp 0x583822
movzx ebx, byte [esp + 0x23]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
mov ebp, ebx
mov ebx, dword [esp + 0x34]
jmp 0x583619
xchg ebp, eax
mov byte [esp + 0x98], al
xchg ebp, eax
add esp, 0x8c
ret
lea eax, [0x5c2b40]
mov dword [esp], eax
lea eax, [0x6341b4]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.main._Package_.rewriteCalls