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

Disassembly:
mov ecx, dword [0x6975f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x50c484
sub esp, 0x88
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x50bb62
xor ebx, ebx
xor esi, esi
mov ebp, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
xor ecx, ecx
jmp 0x50bb94
mov eax, dword [edx]
mov dword [esp], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 8], ebx
call eax
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x8c]
movzx edi, byte [edx + 5]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x50c472
mov dword [esp + 0x40], ebp
mov dword [esp + 0x84], eax
mov byte [esp + 0x23], cl
test ebx, ebx
jne 0x50bc2e
movzx edi, byte [edx + 4]
xchg edi, eax
test al, al
xchg edi, eax
je 0x50bc2e
test ebp, ebp
jne 0x50bc2e
lea eax, [0x535680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov ecx, dword [0x6976a8]
test ecx, ecx
jne 0x50bbf6
mov ecx, dword [esp + 0x84]
jmp 0x50bc04
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea edx, [0x54476c]
mov dword [eax + 8], edx
movzx ecx, byte [esp + 0x23]
mov edx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x40]
lea ebx, [0x57c70c]
mov esi, eax
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.0046a388
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebp
movzx eax, byte [esp + 0x23]
jmp 0x50bc67
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x40]
mov edi, eax
mov eax, esi
mov esi, edi
mov dword [esp + 0x74], esi
mov dword [esp + 0x34], ebx
mov edi, dword [esp + 0x60]
lea ecx, [esp + 0x4c]
cmp dword [ecx + 4], edi
jle 0x50bfa9
mov byte [esp + 0x23], al
mov dword [esp], ecx
call sym.vendor_golang.org_x_net_idna._labelIter_.label
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x50bd43
mov edx, dword [esp + 0x34]
test edx, edx
je 0x50bcbb
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x84]
lea ebp, [0x54476c]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x74]
jmp 0x50bd39
mov ebx, dword [esp + 0x8c]
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x50bce7
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x84]
lea ebp, [0x54476c]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x74]
jmp 0x50bd39
lea eax, [0x535680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov edx, dword [0x6976a8]
test edx, edx
jne 0x50bd13
mov edx, dword [esp + 0x84]
jmp 0x50bd21
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x84]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x54476c]
mov dword [eax + 8], ebp
lea ebx, [0x57c70c]
movzx esi, byte [esp + 0x23]
jmp 0x50bf11
mov edx, dword [esp + 4]
cmp ecx, 4
jge 0x50bd50
xor eax, eax
jmp 0x50bd7f
mov dword [esp + 0x30], ecx
mov dword [esp + 0x70], edx
mov dword [esp], edx
lea eax, [0x544a62]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x70]
test al, al
jne 0x50bdc3
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x50bd91
mov esi, dword [esp + 0x74]
jmp 0x50bdb0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.vendor_golang.org_x_net_idna._Profile_.validateLabel
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
movzx ecx, byte [esp + 0x23]
mov eax, ebx
mov ebx, dword [esp + 0x8c]
jmp 0x50befa
cmp ecx, 4
jb 0x50c457
lea eax, [ecx - 4]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 4
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.vendor_golang.org_x_net_idna.decode
mov eax, dword [esp + 0x10]
test eax, eax
je 0x50be22
mov edx, dword [esp + 0x34]
test edx, edx
je 0x50bdff
mov eax, edx
mov esi, dword [esp + 0x74]
jmp 0x50be03
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x84]
lea ebp, [0x54476c]
mov ebx, eax
mov eax, esi
movzx esi, byte [esp + 0x23]
jmp 0x50bf11
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
movzx edx, byte [esp + 0x23]
test dl, dl
je 0x50be42
mov edx, 1
jmp 0x50be61
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.vendor_golang.org_x_text_secure_bidirule.DirectionString
mov eax, dword [esp + 8]
test eax, eax
setne al
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0x23], dl
lea ebx, [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.vendor_golang.org_x_net_idna._labelIter_.set
mov eax, dword [esp + 0x34]
test eax, eax
je 0x50be8e
mov ebx, dword [esp + 0x8c]
mov esi, dword [esp + 0x74]
jmp 0x50beca
mov ebx, dword [esp + 0x8c]
mov edx, dword [ebx + 0xc]
test edx, edx
jne 0x50bea2
mov esi, dword [esp + 0x74]
jmp 0x50beca
mov eax, dword [edx]
mov dword [esp], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x28]
mov dword [esp + 8], ebp
call eax
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov eax, ebx
mov ebx, dword [esp + 0x8c]
test eax, eax
jne 0x50bef5
mov dword [esp], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_net_idna._Profile_.validateLabel
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x8c]
movzx ecx, byte [esp + 0x23]
mov edx, dword [esp + 0x84]
lea ebp, [0x54476c]
mov ebx, eax
mov eax, esi
mov esi, ecx
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x68]
lea ebp, [edi + 1]
mov dword [esp + 0x68], ebp
mov edx, dword [esp + 0x54]
test edx, edx
je 0x50bf6d
mov ecx, dword [esp + 0x58]
cmp ecx, ebp
jle 0x50bf54
mov dword [esp + 0x80], eax
lea eax, [ecx - 1]
cmp eax, ebp
jne 0x50bf61
cmp ecx, ebp
jbe 0x50c450
lea eax, [edx + edi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x50bf61
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x60], ecx
jmp 0x50bc4f
mov eax, dword [esp + 0x80]
jmp 0x50bc4f
mov edx, dword [esp + 0x64]
lea ebp, [edx + 1]
mov dword [esp + 0x60], ebp
mov edi, dword [esp + 0x50]
lea ecx, [edi - 1]
cmp ecx, ebp
jne 0x50bc4f
cmp edi, ebp
jbe 0x50c447
mov ecx, dword [esp + 0x4c]
lea ecx, [ecx + edx + 1]
cmp byte [ecx], 0x2e
jne 0x50bc4f
mov dword [esp + 0x60], edi
jmp 0x50bc4f
test al, al
je 0x50bfd5
mov eax, dword [edx + 0x14]
test eax, eax
je 0x50bfd5
test ebx, ebx
jne 0x50bfd5
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
jmp 0x50c31f
movzx eax, byte [esp + 0x98]
test al, al
je 0x50bffe
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
jmp 0x50c13c
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x50c012
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
test al, al
jmp 0x50c065
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x7c], esi
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
lea eax, [0x57af18]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call sym.strings.Join
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, byte [esp + 0x98]
test al, al
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x7c]
je 0x50c107
movzx eax, byte [edx + 4]
test al, al
je 0x50c101
test ebx, ebx
je 0x50c084
mov edx, ebp
mov eax, esi
jmp 0x50c10b
test ecx, ecx
je 0x50c09a
lea eax, [ecx + ebp - 1]
cmp byte [eax], 0x2e
jne 0x50c098
lea eax, [ecx - 1]
test ecx, ecx
jmp 0x50c09c
test ecx, ecx
mov eax, ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x24], ecx
je 0x50c0ad
cmp eax, 0xfd
jle 0x50c0fb
lea eax, [0x535680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov edx, dword [0x6976a8]
test edx, edx
jne 0x50c0d6
mov edx, dword [esp + 0x44]
jmp 0x50c0e1
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x44]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x54476c]
mov dword [eax + 8], ebp
lea ebx, [0x57c70c]
jmp 0x50c10b
mov edx, ebp
mov eax, esi
jmp 0x50c10b
mov edx, ebp
mov eax, esi
jmp 0x50c10b
mov edx, ebp
mov eax, esi
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], eax
add esp, 0x88
ret
movzx eax, byte [esp + 0x98]
mov esi, ebx
mov ebx, edx
mov edx, ebp
mov ecx, dword [esp + 0x60]
lea ebp, [esp + 0x4c]
cmp dword [ebp + 4], ecx
jle 0x50bffe
mov dword [esp + 0x78], esi
mov dword [esp + 0x38], ebx
mov dword [esp], ebp
call sym.vendor_golang.org_x_net_idna._labelIter_.label
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
xor edx, edx
jmp 0x50c2ed
lea edx, [0x544a62]
mov dword [esp], edx
mov dword [esp + 4], 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.vendor_golang.org_x_net_idna.encode
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50c19a
mov ebx, eax
mov esi, dword [esp + 0x78]
jmp 0x50c1a2
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x74], esi
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x4c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.vendor_golang.org_x_net_idna._labelIter_.set
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x74]
jmp 0x50c1e8
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x8c]
movzx esi, byte [ebp + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x50c263
test edx, edx
jne 0x50c263
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x6c], eax
test ecx, ecx
je 0x50c20e
cmp ecx, 0x3f
jle 0x50c263
lea eax, [0x535680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x6976a8]
test ecx, ecx
jne 0x50c237
mov edx, dword [esp + 0x6c]
jmp 0x50c242
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x6c]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x54476c]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x8c]
lea edx, [0x57c70c]
mov ebx, eax
mov esi, dword [esp + 0x68]
lea eax, [esi + 1]
mov dword [esp + 0x68], eax
mov edi, dword [esp + 0x54]
test edi, edi
je 0x50c2b4
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jle 0x50c29b
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x50c2a8
cmp ecx, eax
jbe 0x50c307
lea eax, [edi + esi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x50c2a8
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], eax
jmp 0x50c12e
mov ebp, dword [esp + 0x8c]
jmp 0x50c12e
mov esi, dword [esp + 0x64]
lea eax, [esi + 1]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x50]
lea edi, [ecx - 1]
cmp edi, eax
jne 0x50c12e
cmp ecx, eax
jbe 0x50c302
mov eax, dword [esp + 0x4c]
lea eax, [eax + esi + 1]
cmp byte [eax], 0x2e
jne 0x50c12e
mov dword [esp + 0x60], ecx
jmp 0x50c12e
inc edx
cmp edx, ecx
jge 0x50c1e0
lea ebx, [edx + eax]
cmp byte [ebx], 0x80
jb 0x50c2ec
jmp 0x50c16c
call sym.runtime.panicIndex
call sym.runtime.panicIndex
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x60], eax
jge 0x50bfd5
lea eax, [esp + 0x4c]
mov dword [esp], eax
call sym.vendor_golang.org_x_net_idna._labelIter_.label
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0x14]
mov ecx, dword [edx]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call ecx
movzx eax, byte [esp + 8]
test al, al
je 0x50c3dd
mov edx, dword [esp + 0x68]
lea eax, [edx + 1]
mov dword [esp + 0x68], eax
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x50c3a5
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jle 0x50c398
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x50c30c
cmp ecx, eax
jbe 0x50c442
lea eax, [ebx + edx*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x50c30c
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], eax
jmp 0x50c30c
mov edx, dword [esp + 0x64]
lea eax, [edx + 1]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x50]
lea ebx, [ecx - 1]
cmp ebx, eax
jne 0x50c30c
cmp ecx, eax
jbe 0x50c43d
mov eax, dword [esp + 0x4c]
lea eax, [eax + edx + 1]
cmp byte [eax], 0x2e
jne 0x50c30c
mov dword [esp + 0x60], ecx
jmp 0x50c30c
lea eax, [0x535680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [0x6976a8]
test ecx, ecx
jne 0x50c409
mov ecx, dword [esp + 0x84]
jmp 0x50c417
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 1
lea ecx, [0x57b044]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x8c]
lea ebx, [0x57c70c]
mov esi, eax
jmp 0x50bfd5
call sym.runtime.panicIndex
call sym.runtime.panicIndex
mov eax, ebp
mov ecx, edi
call sym.runtime.panicIndex
mov eax, ebp
call sym.runtime.panicIndex
mov eax, 4
call sym.runtime.panicSliceB
dec ebp
mov edi, ebp
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
add eax, edi
test ebp, ebp
je 0x50bba9
cmp byte [eax], 0x2e
je 0x50c461
jmp 0x50bba9
call sym.runtime.morestack_noctxt
jmp sym.vendor_golang.org_x_net_idna._Profile_.process