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

Disassembly:
mov ecx, dword [0x631ebc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x478d1e
sub esp, 0x6c
mov eax, dword [esp + 0x74]
cmp eax, 2
jl 0x47882a
mov ecx, dword [esp + 0x70]
movzx edx, byte [ecx]
mov byte [esp + 0x26], dl
lea ebx, [ecx + 1]
mov dword [esp + 0x58], ebx
lea ebp, [eax - 1]
mov dword [esp + 0x2c], ebp
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov byte [esp + 8], dl
call sym.internal_bytealg.IndexByteString
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x4787e3
mov dword [esp + 0x28], eax
lea ecx, [eax + 2]
mov dword [esp + 0x40], ecx
movzx ebx, byte [esp + 0x26]
cmp bl, 0x22
je 0x4785d0
cmp bl, 0x27
je 0x4785d0
cmp bl, 0x60
jne 0x478589
movzx ebx, byte [esp + 0x78]
test bl, bl
je 0x478572
mov edx, dword [esp + 0x74]
cmp edx, ecx
jb 0x478d18
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0xd
call sym.internal_bytealg.IndexByteString
cmp dword [esp + 0xc], 0xffffffff
je 0x47853f
lea eax, [0x50b5c0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x28]
lea edx, [ecx - 1]
mov dword [esp + 0x4c], edx
mov dword [esp + 8], edx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x4c]
mov esi, 1
xor edi, edi
jmp 0x478c7a
mov ebx, dword [esp + 0x28]
lea ecx, [ebx + 1]
mov edx, dword [esp + 0x74]
cmp edx, ecx
jb 0x478c70
cmp ecx, 1
jb 0x478c64
mov ecx, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
mov ebp, dword [esp + 0x70]
add ebx, ebp
mov eax, ecx
jmp 0x478c09
mov edx, dword [esp + 0x74]
cmp edx, ecx
jb 0x478c5f
mov ebp, dword [esp + 0x70]
mov ebx, ebp
jmp 0x478c09
mov eax, dword [0x6051b8]
mov ecx, dword [0x6051bc]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov edx, dword [esp + 0x70]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x6c
ret
mov edx, dword [esp + 0x74]
cmp edx, ecx
jb 0x478c04
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x5c
call sym.internal_bytealg.IndexByteString
cmp dword [esp + 0xc], 0xffffffff
je 0x4785fd
xor eax, eax
jmp 0x47861f
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0xa
call sym.internal_bytealg.IndexByteString
cmp dword [esp + 0xc], 0xffffffff
sete al
test al, al
je 0x47877f
movzx ebx, byte [esp + 0x26]
cmp bl, 0x22
jne 0x47867b
mov ebp, dword [esp + 0x28]
lea ecx, [ebp + 1]
mov edx, dword [esp + 0x74]
cmp edx, ecx
jb 0x478bff
cmp ecx, 1
jb 0x478bf3
mov eax, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
mov ecx, dword [esp + 0x70]
lea edx, [ecx + ebp]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.unicode_utf8.ValidString
movzx eax, byte [esp + 8]
mov edx, dword [esp + 0x40]
mov ebx, eax
jmp 0x4786ef
cmp bl, 0x27
jne 0x4786e9
mov ebp, dword [esp + 0x28]
lea ecx, [ebp + 1]
mov edx, dword [esp + 0x74]
cmp edx, ecx
jb 0x478bee
cmp ecx, 1
jb 0x478be2
mov eax, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
mov ecx, dword [esp + 0x70]
lea edx, [ecx + ebp]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.unicode_utf8.DecodeRuneInString
mov eax, dword [esp + 0xc]
lea ecx, [eax + 2]
mov edx, dword [esp + 0x40]
cmp ecx, edx
jne 0x4786e5
cmp dword [esp + 8], 0xfffd
je 0x4786dd
mov ebx, 1
jmp 0x4786ef
cmp eax, 1
setne bl
jmp 0x4786ef
xor ebx, ebx
jmp 0x4786ef
mov edx, dword [esp + 0x40]
xor ebx, ebx
test bl, bl
je 0x47877f
movzx ebx, byte [esp + 0x78]
test bl, bl
je 0x47872c
mov ebx, dword [esp + 0x28]
lea ecx, [ebx + 1]
cmp ecx, edx
ja 0x478bdd
cmp ecx, 1
jb 0x478bd1
mov ecx, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
mov eax, dword [esp + 0x70]
add ebx, eax
mov ebp, ecx
jmp 0x478738
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x28]
mov ecx, edx
mov ebx, eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x74]
sub ecx, ebp
add ecx, 0xfffffffe
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and edx, ecx
add eax, edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x6c
ret
movzx eax, byte [esp + 0x78]
test al, al
jne 0x47878e
xor ecx, ecx
xor edx, edx
jmp 0x4787cf
lea eax, [0x50b5c0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x28]
lea edx, [ecx + ecx*2]
lea ecx, [ecx + ecx*2 + 6]
shr ecx, 0x1f
lea ecx, [edx + ecx + 6]
sar ecx, 1
mov dword [esp + 0x48], ecx
mov dword [esp + 8], ecx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov edx, eax
movzx eax, byte [esp + 0x78]
movzx esi, byte [esp + 0x26]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x2c]
xor edi, edi
jmp 0x47887f
mov eax, dword [0x6051b8]
mov ecx, dword [0x6051bc]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov edx, dword [esp + 0x70]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x6c
ret
mov ecx, dword [0x6051b8]
mov edx, dword [0x6051bc]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x6c
ret
mov ebp, eax
mov ebx, ecx
mov ecx, edi
mov edi, esi
movzx eax, byte [esp + 0x78]
movzx esi, byte [esp + 0x26]
test ebp, ebp
je 0x478a9f
xchg esi, eax
cmp byte [ebx], al
xchg esi, eax
je 0x478a93
mov dword [esp + 0x68], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x44], edi
mov dword [esp], ebx
mov dword [esp + 4], ebp
xchg esi, eax
mov byte [esp + 8], al
xchg esi, eax
call sym.strconv.UnquoteChar
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x68]
cmp byte [edx], 0xa
je 0x478a4c
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jne 0x478a4c
movzx ebx, byte [esp + 0x78]
test bl, bl
je 0x478a2e
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], ecx
mov ebp, dword [esp + 0xc]
cmp ebp, 0x80
jl 0x478900
movzx esi, byte [esp + 0x10]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x478967
mov esi, dword [esp + 0x44]
inc esi
mov edi, dword [esp + 0x48]
cmp edi, esi
jb 0x478913
mov edx, dword [esp + 0x60]
jmp 0x47895c
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x50b5c0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
movzx ebx, byte [esp + 0x78]
mov ebp, dword [esp + 0x34]
mov edi, ecx
mov ecx, dword [esp + 0x5c]
xchg ebp, eax
mov byte [esi + edx - 1], al
xchg ebp, eax
jmp 0x478a3a
mov dword [esp + 0x50], 0
lea eax, [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], 4
mov dword [esp + 0xc], ebp
call sym.unicode_utf8.EncodeRune
mov ecx, dword [esp + 0x10]
cmp ecx, 4
ja 0x478bc7
mov eax, dword [esp + 0x44]
lea edx, [eax + ecx]
mov ebx, dword [esp + 0x48]
cmp ebx, edx
jb 0x4789b1
mov ebp, dword [esp + 0x60]
jmp 0x4789f1
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x50b5c0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, edx
mov ebx, ecx
mov edx, eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x54], edx
add eax, ebp
mov dword [esp], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
movzx ebx, byte [esp + 0x78]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x64]
jmp 0x478a3a
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x48]
movzx ebp, byte [esp + 0x26]
xchg ebp, eax
cmp al, 0x27
xchg ebp, eax
jne 0x47886d
jmp 0x478aa9
mov eax, dword [0x6051b8]
mov ecx, dword [0x6051bc]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov edx, dword [esp + 0x70]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x6c
ret
mov ecx, ebx
mov ebx, eax
mov eax, ebp
mov ebp, esi
mov esi, edi
jmp 0x478aa9
mov ecx, ebx
mov ebx, eax
mov eax, ebp
mov ebp, esi
mov esi, edi
test eax, eax
je 0x478b7b
xchg ebp, eax
cmp byte [ecx], al
xchg ebp, eax
jne 0x478b7b
lea ebp, [eax - 1]
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add ebp, ecx
test bl, bl
jne 0x478b1c
mov edx, dword [esp + 0x74]
mov ebx, edx
sub ebx, eax
lea ecx, [ebx + 1]
cmp edx, ecx
jb 0x478bc2
mov eax, dword [esp + 0x70]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x6c
ret
mov dword [esp + 0x54], edi
mov dword [esp + 0x68], ebp
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], esi
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x6c
ret
mov eax, dword [0x6051b8]
mov ecx, dword [0x6051bc]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov edx, dword [esp + 0x70]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x6c
ret
call sym.runtime.panicSliceAlen
mov edx, 4
call sym.runtime.panicSliceAlen
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAlen
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAlen
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAlen
call sym.runtime.panicSliceAlen
mov esi, dword [esp + 0x40]
cmp edx, esi
jb 0x478c56
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ecx
sub edx, eax
lea eax, [edx - 2]
mov ecx, eax
neg eax
sar eax, 0x1f
and esi, eax
lea eax, [ebp + esi]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x6c
ret
mov eax, esi
mov ecx, edx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAlen
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAlen
inc esi
mov edx, dword [esp + 0x28]
inc edx
cmp esi, edx
jge 0x478ce2
cmp ebx, esi
jbe 0x478d0f
movzx edx, byte [ecx + esi]
cmp dl, 0xd
je 0x478c75
inc edi
cmp ebp, edi
jae 0x478cdc
mov dword [esp + 0x3c], esi
mov byte [esp + 0x27], dl
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x50b5c0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
movzx edx, byte [esp + 0x27]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x3c]
mov byte [edi + eax - 1], dl
jmp 0x478c75
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call sym.runtime.slicebytetostring
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
jmp 0x478c09
mov eax, esi
mov ecx, ebx
call sym.runtime.panicIndex
call sym.runtime.panicSliceAlen
nop
call sym.runtime.morestack_noctxt
jmp sym.strconv.unquote