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

Disassembly:
mov ecx, dword [0x6e9808]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x5380f4
sub esp, 0x88
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x5377d2
xor ebx, ebx
xor esi, esi
mov ebp, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
xor ecx, ecx
jmp 0x537804
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 0x5380e2
mov dword [esp + 0x40], ebp
mov dword [esp + 0x84], eax
mov byte [esp + 0x23], cl
test ebx, ebx
jne 0x53789e
movzx edi, byte [edx + 4]
xchg edi, eax
test al, al
xchg edi, eax
je 0x53789e
test ebp, ebp
jne 0x53789e
lea eax, [0x576f80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov ecx, dword [0x6e9960]
test ecx, ecx
jne 0x537866
mov ecx, dword [esp + 0x84]
jmp 0x537874
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea edx, [0x58aaaf]
mov dword [eax + 8], edx
movzx ecx, byte [esp + 0x23]
mov edx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x40]
lea ebx, [0x5cab60]
mov esi, eax
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.00470298
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebp
movzx eax, byte [esp + 0x23]
jmp 0x5378d7
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 0x537c19
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 0x5379b3
mov edx, dword [esp + 0x34]
test edx, edx
je 0x53792b
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x84]
lea ebp, [0x58aaaf]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x74]
jmp 0x5379a9
mov ebx, dword [esp + 0x8c]
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x537957
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x84]
lea ebp, [0x58aaaf]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x74]
jmp 0x5379a9
lea eax, [0x576f80]
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 [0x6e9960]
test edx, edx
jne 0x537983
mov edx, dword [esp + 0x84]
jmp 0x537991
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x84]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x58aaaf]
mov dword [eax + 8], ebp
lea ebx, [0x5cab60]
movzx esi, byte [esp + 0x23]
jmp 0x537b81
mov edx, dword [esp + 4]
cmp ecx, 4
jge 0x5379c0
xor eax, eax
jmp 0x5379ef
mov dword [esp + 0x30], ecx
mov dword [esp + 0x70], edx
mov dword [esp], edx
lea eax, [0x58aded]
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 0x537a33
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x537a01
mov esi, dword [esp + 0x74]
jmp 0x537a20
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 0x537b6a
cmp ecx, 4
jb 0x5380c7
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 0x537a92
mov edx, dword [esp + 0x34]
test edx, edx
je 0x537a6f
mov eax, edx
mov esi, dword [esp + 0x74]
jmp 0x537a73
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x84]
lea ebp, [0x58aaaf]
mov ebx, eax
mov eax, esi
movzx esi, byte [esp + 0x23]
jmp 0x537b81
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 0x537ab2
mov edx, 1
jmp 0x537ad1
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 0x537afe
mov ebx, dword [esp + 0x8c]
mov esi, dword [esp + 0x74]
jmp 0x537b3a
mov ebx, dword [esp + 0x8c]
mov edx, dword [ebx + 0xc]
test edx, edx
jne 0x537b12
mov esi, dword [esp + 0x74]
jmp 0x537b3a
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 0x537b65
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, [0x58aaaf]
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 0x537bdd
mov ecx, dword [esp + 0x58]
cmp ecx, ebp
jle 0x537bc4
mov dword [esp + 0x80], eax
lea eax, [ecx - 1]
cmp eax, ebp
jne 0x537bd1
cmp ecx, ebp
jbe 0x5380c0
lea eax, [edx + edi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x537bd1
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x60], ecx
jmp 0x5378bf
mov eax, dword [esp + 0x80]
jmp 0x5378bf
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 0x5378bf
cmp edi, ebp
jbe 0x5380b7
mov ecx, dword [esp + 0x4c]
lea ecx, [ecx + edx + 1]
cmp byte [ecx], 0x2e
jne 0x5378bf
mov dword [esp + 0x60], edi
jmp 0x5378bf
test al, al
je 0x537c45
mov eax, dword [edx + 0x14]
test eax, eax
je 0x537c45
test ebx, ebx
jne 0x537c45
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
jmp 0x537f8f
movzx eax, byte [esp + 0x98]
test al, al
je 0x537c6e
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
jmp 0x537dac
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x537c82
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
test al, al
jmp 0x537cd5
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, [0x5c9094]
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 0x537d77
movzx eax, byte [edx + 4]
test al, al
je 0x537d71
test ebx, ebx
je 0x537cf4
mov edx, ebp
mov eax, esi
jmp 0x537d7b
test ecx, ecx
je 0x537d0a
lea eax, [ecx + ebp - 1]
cmp byte [eax], 0x2e
jne 0x537d08
lea eax, [ecx - 1]
test ecx, ecx
jmp 0x537d0c
test ecx, ecx
mov eax, ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x24], ecx
je 0x537d1d
cmp eax, 0xfd
jle 0x537d6b
lea eax, [0x576f80]
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 [0x6e9960]
test edx, edx
jne 0x537d46
mov edx, dword [esp + 0x44]
jmp 0x537d51
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x44]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x58aaaf]
mov dword [eax + 8], ebp
lea ebx, [0x5cab60]
jmp 0x537d7b
mov edx, ebp
mov eax, esi
jmp 0x537d7b
mov edx, ebp
mov eax, esi
jmp 0x537d7b
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 0x537c6e
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 0x537f5d
lea edx, [0x58aded]
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 0x537e0a
mov ebx, eax
mov esi, dword [esp + 0x78]
jmp 0x537e12
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 0x537e58
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 0x537ed3
test edx, edx
jne 0x537ed3
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x6c], eax
test ecx, ecx
je 0x537e7e
cmp ecx, 0x3f
jle 0x537ed3
lea eax, [0x576f80]
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 [0x6e9960]
test ecx, ecx
jne 0x537ea7
mov edx, dword [esp + 0x6c]
jmp 0x537eb2
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x6c]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x58aaaf]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x8c]
lea edx, [0x5cab60]
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 0x537f24
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jle 0x537f0b
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x537f18
cmp ecx, eax
jbe 0x537f77
lea eax, [edi + esi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x537f18
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], eax
jmp 0x537d9e
mov ebp, dword [esp + 0x8c]
jmp 0x537d9e
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 0x537d9e
cmp ecx, eax
jbe 0x537f72
mov eax, dword [esp + 0x4c]
lea eax, [eax + esi + 1]
cmp byte [eax], 0x2e
jne 0x537d9e
mov dword [esp + 0x60], ecx
jmp 0x537d9e
inc edx
cmp edx, ecx
jge 0x537e50
lea ebx, [edx + eax]
cmp byte [ebx], 0x80
jb 0x537f5c
jmp 0x537ddc
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 0x537c45
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 0x53804d
mov edx, dword [esp + 0x68]
lea eax, [edx + 1]
mov dword [esp + 0x68], eax
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x538015
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jle 0x538008
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x537f7c
cmp ecx, eax
jbe 0x5380b2
lea eax, [ebx + edx*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x537f7c
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], eax
jmp 0x537f7c
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 0x537f7c
cmp ecx, eax
jbe 0x5380ad
mov eax, dword [esp + 0x4c]
lea eax, [eax + edx + 1]
cmp byte [eax], 0x2e
jne 0x537f7c
mov dword [esp + 0x60], ecx
jmp 0x537f7c
lea eax, [0x576f80]
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 [0x6e9960]
test ecx, ecx
jne 0x538079
mov ecx, dword [esp + 0x84]
jmp 0x538087
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 1
lea ecx, [0x5c9128]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x8c]
lea ebx, [0x5cab60]
mov esi, eax
jmp 0x537c45
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 0x537819
cmp byte [eax], 0x2e
je 0x5380d1
jmp 0x537819
call sym.runtime.morestack_noctxt
jmp sym.vendor_golang.org_x_net_idna._Profile_.process