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

Disassembly:
mov ecx, dword [0x5d5324]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x88]
cmp eax, dword [ecx + 8]
jbe 0x4c2270
sub esp, 0x108
mov eax, 0
mov dword [esp + 0x104], eax
mov byte [esp + 0x2b], 0
mov eax, dword [esp + 0x11c]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x44], eax
nop
cmp eax, 0x14
ja 0x4c198a
lea edx, [eax - 0x12]
cmp edx, 1
jbe 0x4c19ad
cmp eax, 0x14
je 0x4c1994
jmp 0x4c2229
cmp eax, 0x16
jbe 0x4c19ad
cmp eax, 0x17
jne 0x4c19a4
mov edx, dword [esp + 0x118]
mov ebx, dword [edx]
test ebx, ebx
setne bl
jmp 0x4c19d6
cmp eax, 0x1a
jne 0x4c2229
test ecx, 0x200
jne 0x4c1a04
test ecx, 0x80
je 0x4c19c8
mov edx, dword [esp + 0x118]
mov ebx, dword [edx]
jmp 0x4c19d1
mov edx, dword [esp + 0x118]
mov ebx, edx
test ebx, ebx
setne bl
test bl, bl
jne 0x4c1a0b
mov eax, dword [esp + 0x110]
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
add esp, 0x108
ret
mov edx, dword [esp + 0x118]
mov ebx, dword [esp + 0x110]
mov ebp, dword [ebx + 0x14]
inc ebp
mov dword [ebx + 0x14], ebp
cmp ebp, 0x3e8
ja 0x4c1a28
xor ebp, ebp
jmp 0x4c1b3f
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.reflect.Value.UnsafePointer
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
lea ecx, [0x4db0e0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x110]
mov ebx, dword [edx + 0x18]
lea ebp, [0x4dc080]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [esp + 0x70]
mov dword [esp + 8], ebx
call sym.runtime.mapaccess2
movzx eax, byte [esp + 0x10]
test al, al
je 0x4c1a96
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x4c20b9
jmp 0x4c21f7
lea eax, [0x4db0e0]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x110]
mov ebx, dword [edx + 0x18]
lea ebp, [0x4dc080]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [esp + 0x70]
mov dword [esp + 8], ebx
call sym.runtime.mapassign
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea edx, [sym.encoding_json.mapEncoder.encode.func2]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
lea ecx, [0x4db0e0]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x104], ecx
mov byte [esp + 0x2b], 1
mov ebx, eax
mov ebp, 1
xchg ebp, eax
mov byte [esp + 0x2a], al
xchg ebp, eax
mov dword [esp], ebx
mov byte [esp + 4], 0x7b
call sym.bytes._Buffer_.WriteByte
mov eax, dword [esp + 0x44]
cmp eax, 0x17
jne 0x4c1b67
mov ecx, dword [esp + 0x118]
mov edx, dword [ecx + 4]
jmp 0x4c1b90
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov ecx, dword [esp + 0x118]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x11c]
mov dword [esp + 8], edx
call sym.reflect.Value.lenNonSlice
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2c], edx
lea eax, [0x4e4800]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
nop
mov ecx, dword [esp + 0x44]
cmp ecx, 0x15
je 0x4c1bcf
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
call sym.reflect.flag.panicNotMap
mov eax, dword [esp + 0x5c]
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.004661f1
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0xd0], ecx
mov edx, dword [esp + 0x114]
mov dword [esp + 0xc8], edx
mov ebx, dword [esp + 0x118]
mov dword [esp + 0xcc], ebx
xor eax, eax
jmp 0x4c1c12
mov ecx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0xc8]
mov dword [esp], ecx
call sym.reflect._MapIter_.Next
movzx eax, byte [esp + 4]
test al, al
je 0x4c1d14
lea eax, [esp + 0xc8]
mov dword [esp], eax
call sym.reflect._MapIter_.Key
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jae 0x4c20b4
shl eax, 5
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x5c]
lea esi, [ebp + eax]
mov dword [esp + 0x58], esi
mov edi, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [ebp + eax + 8], ebx
mov ebx, dword [0x5d5420]
test ebx, ebx
je 0x4c1c96
mov ebx, edi
call sym.runtime.gcWriteBarrier4
mov dword [edi], ebx
mov edx, dword [ebp + eax]
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov edx, dword [ebp + eax + 4]
mov dword [edi + 0xc], edx
mov edi, ebx
mov dword [esp + 0x40], eax
mov dword [ebp + eax], edi
mov dword [ebp + eax + 4], ecx
lea ecx, [esp + 0xc8]
mov dword [esp], ecx
call sym.reflect._MapIter_.Value
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x5c]
mov dword [ebp + ebx + 0x14], eax
mov eax, dword [0x5d5420]
test eax, eax
je 0x4c1ceb
call sym.runtime.gcWriteBarrier4
mov dword [edi], ecx
mov eax, dword [ebp + ebx + 0xc]
mov dword [edi + 4], eax
mov dword [edi + 8], edx
mov eax, dword [ebp + ebx + 0x10]
mov dword [edi + 0xc], eax
mov dword [ebp + ebx + 0xc], ecx
mov dword [ebp + ebx + 0x10], edx
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call sym.encoding_json._reflectWithString_.resolve
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4c1c0b
jmp 0x4c1f2d
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [sym.encoding_json.mapEncoder.encode.func1]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x8c], edx
lea ebx, [0x4d82c0]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
call sym.sort.Slice
mov eax, dword [esp + 0x5c]
xor ecx, ecx
jmp 0x4c1ea5
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x110]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx + 8]
sub esi, ebp
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and ebp, esi
add ebp, dword [ebx]
inc ecx
mov dword [esp + 0x40], ecx
lea esi, [0x5190a0]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], 0
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
movzx eax, byte [esp + 0x121]
mov byte [esp + 0x18], al
call sym.encoding_json.appendString_go.shape.string_
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x110]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.bytes._Buffer_.Write
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov byte [esp + 4], 0x3a
call sym.bytes._Buffer_.WriteByte
mov edx, dword [esp + 0x10c]
mov eax, dword [edx]
mov ecx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0x110]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
movzx ecx, byte [esp + 0x120]
mov byte [esp + 0x10], cl
movzx ebx, byte [esp + 0x121]
mov byte [esp + 0x11], bl
call eax
mov eax, dword [esp + 0x5c]
add eax, 0x20
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
cmp ecx, edx
jge 0x4c1eec
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], eax
lea edi, [esp + 0xa8]
mov esi, eax
call fcn.004666c0
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x4c1dae
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov byte [esp + 4], 0x2c
call sym.bytes._Buffer_.WriteByte
mov ecx, dword [esp + 0x30]
jmp 0x4c1dae
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov byte [esp + 4], 0x7d
call sym.bytes._Buffer_.WriteByte
mov eax, dword [esp + 0x110]
dec dword [eax + 0x14]
movzx eax, byte [esp + 0x2a]
test al, 1
je 0x4c1f26
and eax, 0xfffffffe
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0x104]
mov eax, dword [edx]
call eax
add esp, 0x108
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x11c]
test edx, edx
je 0x4c2089
test edx, 0x200
jne 0x4c2089
lea edx, [0x5195a0]
mov ebx, dword [esp + 0x114]
mov eax, dword [edx + 0x80]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x38]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x4dad20]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x4dad20]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x4f8102]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x98]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
lea eax, [0x4e20a0]
mov dword [esp], eax
lea ecx, [esp + 0x60]
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
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.reflect.Value.typeSlow
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
jmp 0x4c1f5d
call sym.runtime.panicIndex
test eax, 0x200
jne 0x4c21f7
lea ecx, [0x5195a0]
mov edx, dword [esp + 0x114]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
test ecx, ecx
je 0x4c20e8
mov ecx, dword [ecx + 4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
lea eax, [0x4f5794]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x68]
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 + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
lea edx, [0x4e1c80]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x11c]
mov dword [eax + 8], ecx
mov ecx, dword [0x5d5420]
test ecx, ecx
jne 0x4c21da
mov ecx, dword [esp + 0x114]
mov dword [eax], ecx
mov ecx, dword [esp + 0x118]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5d5420]
test ecx, ecx
jne 0x4c21cd
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ecx, [0x5192fc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x4e20a0]
mov dword [esp], eax
lea ecx, [esp + 0x60]
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 + 0x54]
mov dword [edi], ecx
jmp 0x4c217c
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x114]
mov dword [edi], ecx
mov edx, dword [esp + 0x118]
mov dword [edi + 4], edx
jmp 0x4c2158
mov ecx, dword [esp + 0x114]
mov dword [esp], ecx
mov edx, dword [esp + 0x118]
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 + 0x11c]
jmp 0x4c20d1
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 + 0x44]
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
add esp, 0x108
ret
call sym.runtime.morestack_noctxt
jmp sym.encoding_json.mapEncoder.encode