Function at 0x4c1670
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 0x4c191d
sub esp, 0x54
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
xor eax, eax
mov ecx, 0x7b
jmp 0x4c16bd
mov edi, dword [esp + 0x24]
inc edi
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
mov ecx, eax
mov eax, edi
cmp eax, edx
jge 0x4c181e
mov edi, dword [esp + 0x5c]
cmp eax, edi
jae 0x4c1915
mov dword [esp + 0x24], eax
mov byte [esp + 0x1f], cl
mov edi, dword [esp + 0x58]
mov dword [esp + 0x50], edi
shl eax, 6
mov edx, dword [esp + 0x24]
lea eax, [eax + edx*4]
mov dword [esp + 0x34], eax
mov edx, dword [edi + eax + 0x28]
mov dword [esp + 0x4c], edx
mov ecx, dword [edi + eax + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
jmp 0x4c189b
movzx eax, byte [esp + 0x1f]
jmp 0x4c16a4
mov dword [esp + 0x44], ebp
mov edx, dword [esp + 0x50]
movzx edi, byte [edx + eax + 0x3c]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4c1730
xor ecx, ecx
jmp 0x4c175b
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call sym.encoding_json.isEmptyValue
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov ecx, eax
mov eax, dword [esp + 0x34]
test cl, cl
je 0x4c1769
movzx eax, byte [esp + 0x1f]
jmp 0x4c16a4
mov eax, dword [esp + 0x6c]
test byte [eax], al
mov dword [esp], eax
movzx ecx, byte [esp + 0x1f]
mov byte [esp + 4], cl
call sym.bytes._Buffer_.WriteByte
movzx eax, byte [esp + 0x7d]
test al, al
je 0x4c17af
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + eax + 0x1c]
mov ebx, dword [ecx + eax + 0x20]
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.bytes._Buffer_.WriteString
jmp 0x4c17d3
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + eax + 0x14]
mov ebx, dword [ecx + eax + 0x18]
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
movzx ebx, byte [ecx + eax + 0x3d]
mov edx, dword [ecx + eax + 0x40]
mov eax, dword [edx]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], bl
movzx ebx, byte [esp + 0x7d]
mov byte [esp + 0x11], bl
call eax
mov eax, 0x2c
jmp 0x4c16a4
cmp cl, 0x7b
jne 0x4c1845
mov eax, dword [esp + 0x6c]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x4f01e1]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.bytes._Buffer_.WriteString
jmp 0x4c1858
mov eax, dword [esp + 0x6c]
test byte [eax], al
mov dword [esp], eax
mov byte [esp + 4], 0x7d
call sym.bytes._Buffer_.WriteByte
add esp, 0x54
ret
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call sym.reflect.Value.Field
mov eax, dword [esp + 0x2c]
inc eax
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov ecx, edx
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], esi
mov edi, dword [esp + 0x2c]
cmp edi, ecx
jge 0x4c1719
and ebx, 0x1f
mov eax, dword [edx + edi*4]
nop
cmp ebx, 0x16
jne 0x4c190c
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x28]
test ebx, 0x200
jne 0x4c18e7
test ebx, 0x80
je 0x4c18db
mov edx, dword [esi]
mov esi, edx
mov edx, dword [esp + 0x4c]
test esi, esi
je 0x4c1712
mov esi, dword [esp + 0x48]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call sym.reflect.Value.Elem
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
jmp 0x4c185c
mov ebx, dword [esp + 0x28]
jmp 0x4c185c
mov ecx, edi
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.encoding_json.structEncoder.encode