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

Disassembly:
mov ecx, dword [0x6975f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x80]
cmp eax, dword [ecx + 8]
jbe 0x50946a
sub esp, 0x100
mov ebx, dword [esp + 0x104]
mov eax, dword [ebx + 0x264]
mov dword [esp + 0x94], eax
xor ecx, ecx
jmp 0x508d34
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov ebp, dword [ebx + 0x254]
mov edx, dword [ebx + 0x258]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], edx
movzx ebp, byte [esp + 0x6d]
xchg ebp, eax
test al, 0x10
xchg ebp, eax
jne 0x50907f
movzx ebp, byte [ebx + 0x255]
movzx edx, byte [ebx + 0x257]
test ebp, ebp
jne 0x508d6f
mov ebp, 1
add ecx, ebp
cmp ecx, 0x80
jg 0x508fa6
mov esi, dword [ebx + 0x264]
add ebp, esi
mov dword [ebx + 0x264], ebp
cmp dword [ebx + 0x1ac], ebp
jle 0x508f76
mov esi, dword [ebx + 0x1a0]
test esi, esi
je 0x508db6
mov edi, dword [ebx + 0x1a4]
cmp edi, ebp
jbe 0x509460
movzx ebp, byte [ebp + esi]
jmp 0x508dcf
mov esi, dword [ebx + 0x19c]
cmp esi, ebp
jbe 0x509457
mov esi, dword [ebx + 0x198]
movzx ebp, byte [ebp + esi]
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jb 0x508f47
mov byte [esp + 0x27], dl
mov dword [esp + 0x98], ecx
lea esi, [ebx + 0x198]
lea edi, [esp + 0xec]
call fcn.0046a86e
mov edx, dword [ebx + 0x190]
mov eax, dword [edx]
mov ecx, dword [ebx + 0x264]
mov dword [esp + 0xa0], ecx
lea edi, [esp]
lea esi, [esp + 0xec]
call fcn.0046a86e
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x14], ecx
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x104]
mov dword [ebx + 0x254], ecx
mov dword [ebx + 0x258], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
cmp byte [ebx + 0x181], 0x1e
ja 0x50943f
mov ebp, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], eax
movzx ebp, byte [ebx + 0x181]
movzx eax, byte [esp + 0x44]
add ebp, eax
xchg ebp, eax
mov byte [ebx + 0x181], al
xchg ebp, eax
xchg ebp, eax
cmp al, 0x1e
xchg ebp, eax
jbe 0x508ebc
mov byte [ebx + 0x181], 0
mov eax, 2
jmp 0x508ee9
test al, al
jne 0x508ee7
mov ebp, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], eax
movzx ebp, byte [esp + 0x3d]
and ebp, 3
xchg ebp, eax
mov byte [ebx + 0x181], al
xchg ebp, eax
mov eax, 1
jmp 0x508ee9
xor eax, eax
cmp eax, 1
je 0x508f3e
cmp eax, 2
je 0x508f12
movzx ebp, byte [esp + 0x27]
xchg ebp, eax
cmp byte [ebx + 0x256], al
xchg ebp, eax
jae 0x508d26
mov eax, dword [esp + 0x94]
jmp 0x50907f
mov ebp, dword [0x6976a8]
test ebp, ebp
je 0x508f29
mov ebp, dword [ebx + 0x25c]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebp
lea ebp, [0x5572c4]
mov dword [ebx + 0x25c], ebp
mov eax, dword [esp + 0x94]
jmp 0x508fa6
mov eax, dword [esp + 0x94]
jmp 0x508fa6
mov byte [ebx + 0x181], 0
mov ebp, dword [0x6976a8]
mov esi, dword [ebx + 0x260]
test ebp, ebp
je 0x508f6e
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov ebp, dword [ebx + 0x25c]
mov dword [edi + 4], ebp
mov dword [ebx + 0x25c], esi
jmp 0x508fa6
mov ebp, dword [0x6976a8]
nop
test ebp, ebp
je 0x508f8e
mov ebp, dword [ebx + 0x25c]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebp
lea ebp, [0x5572d4]
mov dword [ebx + 0x25c], ebp
mov ebp, dword [ebx + 0x1ac]
mov dword [ebx + 0x264], ebp
mov ebp, dword [ebx + 0x1a0]
mov ecx, dword [ebx + 0x264]
test ebp, ebp
je 0x508fe1
mov edx, dword [ebx + 0x1a8]
cmp edx, ecx
jb 0x50943a
cmp ecx, eax
jb 0x509435
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, eax
sub ecx, eax
lea eax, [edx + ebp]
jmp 0x509063
mov edx, dword [ebx + 0x19c]
cmp edx, ecx
jb 0x509430
cmp ecx, eax
jb 0x50942b
mov ebp, dword [ebx + 0x198]
sub ecx, eax
mov esi, ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
lea eax, [ecx + ebp]
cmp esi, 0x80
jl 0x509018
mov esi, pe_nt_image_headers32
add ebx, 0x1d4
cmp ebx, eax
je 0x50904e
mov dword [esp + 0xac], ebx
mov dword [esp + 0x8c], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call sym.runtime.memmove
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0x8c]
cmp esi, 0x80
ja 0x50941f
mov ecx, esi
mov eax, ebx
mov ebx, pe_nt_image_headers32
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], ebx
add esp, 0x100
ret
mov dword [ebx + 0x264], eax
lea esi, [ebx + 0x198]
mov dword [esp + 0xa8], esi
lea edi, [esp + 0xd8]
call fcn.0046a86e
mov edx, dword [ebx + 0x190]
mov eax, dword [edx]
mov ecx, dword [ebx + 0x264]
mov dword [esp + 0xa0], ecx
lea edi, [esp]
lea esi, [esp + 0xd8]
call fcn.0046a86e
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x14], ecx
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x104]
mov dword [ebx + 0x254], ecx
mov dword [ebx + 0x258], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
nop
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
movzx eax, byte [esp + 0x35]
and eax, 3
mov byte [ebx + 0x181], al
mov eax, dword [ebx + 0x254]
mov ecx, dword [ebx + 0x258]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
movzx eax, word [esp + 0x5e]
add eax, 0xffffe666
cmp ax, 0x1707
jae 0x509343
mov ebp, dword [ebx + 0x254]
mov esi, dword [ebx + 0x258]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], esi
movzx ebp, word [esp + 0x56]
test bp, bp
jne 0x509172
xor ecx, ecx
xor edx, edx
xor ebp, ebp
jmp 0x5091c9
movzx eax, bp
cmp eax, 0x4be2
jae 0x509415
lea esi, [0x64a9c0]
movzx eax, byte [esi + eax]
and eax, 0x3f
lea eax, [eax + ebp + 1]
movzx ecx, ax
cmp ecx, 0x4be2
ja 0x50940b
inc ebp
movzx eax, bp
cmp eax, ecx
ja 0x509406
lea ebp, [eax - 0x4be2]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
sub ecx, eax
add ebp, esi
mov dword [esp + 0x90], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0xa4], ebp
mov esi, dword [ebx + 0x190]
mov eax, dword [esi]
mov dword [esp + 0x9c], eax
lea edi, [esp]
xor eax, eax
call fcn.0046a38b
mov dword [esp + 8], ebp
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0
mov edx, esi
mov ebx, dword [esp + 0x9c]
call ebx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebx
lea edi, [esp + 0xc4]
xor eax, eax
call fcn.0046a38b
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xcc], ecx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xd0], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp + 0xd4], ebp
mov esi, dword [esp + 0x104]
mov dword [esp], esi
lea edi, [esp + 4]
lea esi, [esp + 0xc4]
call fcn.0046a86e
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
call sym.vendor_golang.org_x_text_unicode_norm._reorderBuffer_.insertUnsafe
movzx eax, byte [esp + 0x71]
mov ecx, dword [esp + 0x88]
cmp ecx, eax
jb 0x509401
mov edx, dword [esp + 0x90]
sub edx, eax
sub ecx, eax
mov ebx, dword [esp + 0x104]
mov dword [ebx + 0x26c], ecx
mov dword [ebx + 0x270], edx
mov ecx, dword [0x6976a8]
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0xa4]
add eax, edx
test ecx, ecx
je 0x509301
call sym.runtime.gcWriteBarrier3
mov dword [edi], eax
mov ecx, dword [ebx + 0x268]
mov dword [edi + 4], ecx
mov ecx, dword [ebx + 0x25c]
mov dword [edi + 8], ecx
mov dword [ebx + 0x268], eax
lea eax, [0x5572e0]
mov dword [ebx + 0x25c], eax
mov dword [esp], ebx
call sym.vendor_golang.org_x_text_unicode_norm.nextMultiNorm
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
add esp, 0x100
ret
mov eax, dword [ebx + 0x258]
mov ecx, dword [ebx + 0x254]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x2d]
and eax, 3
mov byte [ebx + 0x181], al
lea edi, [esp + 0xb0]
mov esi, dword [esp + 0xa8]
call fcn.0046a86e
mov eax, dword [ebx + 0x254]
mov ecx, dword [ebx + 0x258]
mov edx, dword [ebx + 0x264]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp], ebx
lea edi, [esp + 4]
lea esi, [esp + 0xb0]
call fcn.0046a86e
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call sym.vendor_golang.org_x_text_unicode_norm._reorderBuffer_.insertUnsafe
mov eax, dword [esp + 0x104]
mov dword [esp], eax
call sym.vendor_golang.org_x_text_unicode_norm.doNormComposed
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
add esp, 0x100
ret
call sym.runtime.panicSliceB
call sym.runtime.panicSliceB
mov edx, 0x4be2
call sym.runtime.panicSliceAlen
mov ecx, 0x4be2
call sym.runtime.panicIndex
mov ecx, esi
mov edx, pe_nt_image_headers32
call sym.runtime.panicSliceAlen
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAlen
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAcap
lea eax, [0x525a80]
mov dword [esp], eax
lea eax, [0x57c2c8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
mov eax, ebp
mov ecx, esi
call sym.runtime.panicIndex
mov eax, ebp
mov ecx, edi
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.vendor_golang.org_x_text_unicode_norm.nextComposed