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

Disassembly:
mov ecx, dword [0x5d5324]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c2c57
add esp, 0xffffff80
mov eax, 0
mov dword [esp + 0x7c], eax
mov byte [esp + 0x1f], 0
mov eax, dword [esp + 0x94]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x24], eax
nop
cmp eax, 0x14
ja 0x4c27cd
lea ebx, [eax - 0x12]
cmp ebx, 1
jbe 0x4c27f4
cmp eax, 0x14
je 0x4c27d7
jmp 0x4c2c13
cmp eax, 0x16
jbe 0x4c27f4
cmp eax, 0x17
jne 0x4c27eb
mov ebx, dword [esp + 0x90]
mov ebp, dword [ebx]
test ebp, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
jmp 0x4c282a
cmp eax, 0x1a
jne 0x4c2c13
test ecx, 0x200
je 0x4c2805
mov ebx, dword [esp + 0x90]
jmp 0x4c2834
test ecx, 0x80
je 0x4c2818
mov ebx, dword [esp + 0x90]
mov ebp, dword [ebx]
jmp 0x4c2821
mov ebx, dword [esp + 0x90]
mov ebp, ebx
test ebp, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4c2a6d
mov ebp, dword [esp + 0x88]
mov esi, dword [ebp + 0x14]
inc esi
mov dword [ebp + 0x14], esi
cmp esi, 0x3e8
ja 0x4c2851
xor eax, eax
jmp 0x4c2a09
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call sym.reflect.Value.UnsafePointer
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
cmp ecx, 0x17
jne 0x4c2881
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 4]
jmp 0x4c28b2
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
call sym.reflect.Value.lenNonSlice
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ecx, [0x4db0e0]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
lea eax, [0x4dea40]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x18]
lea ebx, [0x4dc080]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x40]
mov dword [esp + 8], edx
call sym.runtime.mapaccess2
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4c2a94
lea eax, [0x4dea40]
mov dword [esp], eax
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov eax, dword [esp + 8]
lea ecx, [0x4dea40]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x88]
mov edx, dword [eax + 0x18]
lea ebx, [0x4dc080]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x40]
mov dword [esp + 8], edx
call sym.runtime.mapassign
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea edx, [sym.encoding_json.sliceEncoder.encode.func1]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
lea ecx, [0x4dea40]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x1f], 1
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x90]
mov ebp, eax
mov eax, 1
mov byte [esp + 0x1e], al
mov edx, dword [esp + 0x84]
mov esi, dword [edx]
mov dword [esp], ebp
mov edi, dword [esp + 0x8c]
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
movzx ecx, byte [esp + 0x98]
mov byte [esp + 0x10], cl
movzx ecx, byte [esp + 0x99]
mov byte [esp + 0x11], cl
call esi
mov eax, dword [esp + 0x88]
dec dword [eax + 0x14]
movzx eax, byte [esp + 0x1e]
test al, 1
je 0x4c2a69
and eax, 0xfffffffe
mov byte [esp + 0x1f], al
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
call eax
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x88]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x4f0431]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call sym.bytes._Buffer_.WriteString
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x94]
test eax, eax
je 0x4c2be1
test eax, 0x200
jne 0x4c2be1
lea ecx, [0x5195a0]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
test ecx, ecx
je 0x4c2ad2
mov ecx, dword [ecx + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea eax, [0x4f5794]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Sprintf
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
lea edx, [0x4e1c80]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x94]
mov dword [eax + 8], ecx
mov ecx, dword [0x5d5420]
test ecx, ecx
jne 0x4c2bc4
mov ecx, dword [esp + 0x8c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5d5420]
test ecx, ecx
jne 0x4c2bb7
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea ecx, [0x5192fc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
lea eax, [0x4e20a0]
mov dword [esp], eax
lea ecx, [esp + 0x30]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov eax, dword [esp + 8]
lea ecx, [0x4e20a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.gopanic
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x28]
mov dword [edi], ecx
jmp 0x4c2b66
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
mov edx, dword [esp + 0x90]
mov dword [edi + 4], edx
jmp 0x4c2b42
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.reflect.Value.typeSlow
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x94]
jmp 0x4c2abb
lea eax, [0x4e0b40]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x4f2e22]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
lea ecx, [0x4dcd80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.deferreturn
sub esp, 0xffffff80
ret
call sym.runtime.morestack_noctxt
jmp sym.encoding_json.sliceEncoder.encode