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

Disassembly:
mov ecx, dword [0x5ef9b4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c92b6
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x34]
inc edx
mov ebx, dword [eax + 0x30]
cmp ecx, edx
jae 0x4c8dec
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x4f4920]
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 + 0x6c]
mov dword [ebx + 0x38], eax
mov eax, dword [0x5efab0]
test eax, eax
je 0x4c8de5
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x30]
mov dword [edi + 4], eax
mov dword [ebx + 0x30], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 0x34], edx
mov ecx, dword [0x5efab0]
test ecx, ecx
jne 0x4c8dff
mov ecx, dword [esp + 0x70]
jmp 0x4c8e11
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov ebp, dword [ebx + edx*4 - 4]
mov dword [edi + 4], ebp
mov dword [ebx + edx*4 - 4], ecx
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x3c], edx
mov ebx, dword [ecx + 0x18]
mov ebp, dword [ecx + 0x1c]
mov esi, 0xffffffff
sub esi, ebx
mov edi, 0x7fffffff
sbb edi, ebp
test edi, edi
xchg edi, ebx
setg bl
xchg edi, ebx
sete al
cmp esi, edx
xchg esi, ebx
setae bl
xchg esi, ebx
and eax, esi
or edi, eax
xchg edi, eax
test al, al
xchg edi, eax
je 0x4c8e56
add ebx, edx
adc ebp, 0
jmp 0x4c8e60
mov ebp, 0x7fffffff
mov ebx, 0xffffffff
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
lea eax, [0x4f5a80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
jne 0x4c8e90
mov ecx, dword [esp + 0x78]
jmp 0x4c8e9b
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 0
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0x1c], edx
mov edx, dword [0x5efab0]
test edx, edx
jne 0x4c8ed4
mov edx, dword [esp + 0x70]
jmp 0x4c8ee5
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x48]
mov dword [edi + 4], ebx
mov dword [edx + 0x48], eax
lea ebx, [0x531058]
mov dword [edx + 0x40], ebx
mov ebx, dword [0x5efab0]
test ebx, ebx
je 0x4c8f08
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebx, dword [edx + 0x44]
mov dword [edi + 4], ebx
mov dword [edx + 0x44], eax
mov eax, dword [edx + 0x2c]
test eax, eax
jbe 0x4c927d
mov ebx, eax
shl eax, 3
shr ebx, 0x1d
mov ebp, dword [edx + 0x28]
mov esi, dword [esp + 0x74]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebp
call sym.internal_saferio.ReadDataAt
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4c9031
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
nop
mov edx, dword [esp + 0x18]
mov dword [esp + 0x5c], edx
lea ebx, [0x4f2fa0]
mov dword [esp], ebx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
jne 0x4c8f9a
mov ecx, dword [esp + 0x5c]
jmp 0x4c8fa5
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [esp + 0x58], eax
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xffffffff
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x1c]
mov dword [esp + 0x44], ebp
mov ebx, dword [ebx + 0x20]
mov dword [esp + 0x60], ebx
lea esi, [0x4fa420]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call sym.runtime.makeslice
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0xc]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
je 0x4c9017
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ebx, dword [eax + 0x34]
mov dword [edi + 4], ebx
mov dword [eax + 0x34], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x58]
xor ecx, ecx
jmp 0x4c905f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
lea ecx, [ebp + 1]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x58]
cmp ecx, edx
jge 0x4c927d
mov edi, dword [eax + 0x38]
mov eax, dword [eax + 0x34]
cmp ecx, edi
jae 0x4c92ac
mov dword [esp + 0x64], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x531148]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
lea ecx, [0x4e4c20]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x50]
mov dword [esp + 0x14], edx
call sym.encoding_binary.Read
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4c9266
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x40]
mov ebp, ebx
shl ebx, 4
test edx, 0x80000000
je 0x4c9126
and edx, 0xffffff
mov esi, dword [esp + 0x64]
mov dword [esi + ebx], edx
mov edx, dword [esp + 0x50]
shr edx, 0x18
and edx, 0xf
mov byte [esi + ebx + 8], dl
mov edx, dword [esp + 0x50]
shr edx, 0x1c
and edx, 3
mov byte [esi + ebx + 9], dl
mov edx, dword [esp + 0x50]
test edx, 0x40000000
setne dl
mov byte [esi + ebx + 0xa], dl
mov edx, dword [esp + 0x54]
mov dword [esi + ebx + 4], edx
mov byte [esi + ebx + 0xc], 1
jmp 0x4c9048
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x44]
lea ecx, [0x5315ec]
cmp eax, ecx
jne 0x4c91d2
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
lea edx, [0x5ef880]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c91c0
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x64]
mov dword [ebp + ebx], edx
mov edx, dword [esp + 0x54]
and edx, 0xffffff
mov dword [ebp + ebx + 4], edx
mov edx, dword [esp + 0x54]
test edx, 0x1000000
setne dl
mov byte [ebp + ebx + 0xa], dl
mov edx, dword [esp + 0x54]
shr edx, 0x19
and edx, 3
mov byte [ebp + ebx + 9], dl
mov edx, dword [esp + 0x54]
test edx, 0x8000000
setne dl
mov byte [ebp + ebx + 0xb], dl
mov edx, dword [esp + 0x54]
shr edx, 0x1c
and edx, 0xf
mov byte [ebp + ebx + 8], dl
jmp 0x4c925d
mov eax, dword [esp + 0x44]
lea ecx, [0x5315ec]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
lea edx, [0x531618]
cmp eax, edx
jne 0x4c9294
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
lea edx, [0x5ef880]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c9294
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x64]
mov dword [ebp + ebx], edx
mov edx, dword [esp + 0x54]
shr edx, 8
mov dword [ebp + ebx + 4], edx
mov edx, dword [esp + 0x54]
test edx, 0x80
setne dl
mov byte [ebp + ebx + 0xa], dl
mov edx, dword [esp + 0x54]
shr edx, 5
and edx, 3
mov byte [ebp + ebx + 9], dl
mov edx, dword [esp + 0x54]
test edx, 0x10
setne dl
mov byte [ebp + ebx + 0xb], dl
mov edx, dword [esp + 0x54]
and edx, 0xf
mov byte [ebp + ebx + 8], dl
mov ebp, dword [esp + 0x40]
jmp 0x4c9048
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
lea eax, [0x4e9d80]
mov dword [esp], eax
lea eax, [0x530ba4]
mov dword [esp + 4], eax
call sym.runtime.gopanic
mov eax, ecx
mov ecx, edi
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.debug_macho._File_.pushSection