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

Disassembly:
mov ecx, dword [0x84d0e8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f52dd
sub esp, 0x54
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
xor eax, eax
mov ecx, 0x7b
jmp 0x4f507d
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 + 0x40]
mov ecx, eax
mov eax, edi
cmp eax, edx
jge 0x4f51de
mov edi, dword [esp + 0x5c]
cmp eax, edi
jae 0x4f52d5
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 + 0x3c], eax
mov edx, dword [edi + eax + 0x28]
mov dword [esp + 0x4c], edx
mov ecx, dword [edi + eax + 0x2c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
jmp 0x4f525b
movzx eax, byte [esp + 0x1f]
jmp 0x4f5064
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 0x4f50f0
xor ecx, ecx
jmp 0x4f511b
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 + 0x3c]
test cl, cl
je 0x4f5129
movzx eax, byte [esp + 0x1f]
jmp 0x4f5064
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 0x4f516f
mov eax, dword [esp + 0x3c]
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 0x4f5193
mov eax, dword [esp + 0x3c]
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 + 0x3c]
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 0x4f5064
cmp cl, 0x7b
jne 0x4f5205
mov eax, dword [esp + 0x6c]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x650ed4]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.bytes._Buffer_.WriteString
jmp 0x4f5218
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 + 0x34]
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 + 0x38]
mov ecx, edx
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], esi
mov edi, dword [esp + 0x34]
cmp edi, ecx
jge 0x4f50d9
and ebx, 0x1f
mov eax, dword [edx + edi*4]
nop
cmp ebx, 0x16
jne 0x4f52cc
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x28]
test ebx, 0x200
jne 0x4f52a7
test ebx, 0x80
je 0x4f529b
mov edx, dword [esi]
mov esi, edx
mov edx, dword [esp + 0x4c]
test esi, esi
je 0x4f50d2
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 0x4f521c
mov ebx, dword [esp + 0x28]
jmp 0x4f521c
mov ecx, edi
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.encoding_json.structEncoder.encode