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

Disassembly:
mov ecx, dword [0x80b088]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x5789db
sub esp, 0x88
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x5780a2
xor ecx, ecx
xor ebx, ebx
mov esi, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
xor eax, eax
jmp 0x5780d4
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
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x8c]
movzx edi, byte [edx + 5]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5789c8
mov dword [esp + 0x40], esi
mov dword [esp + 0x64], ebp
mov byte [esp + 0x23], al
test ecx, ecx
jne 0x578162
movzx edi, byte [edx + 4]
xchg edi, eax
test al, al
xchg edi, eax
je 0x578162
test esi, esi
jne 0x578162
lea eax, [0x622ec0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov ecx, dword [0x80b220]
test ecx, ecx
jne 0x578130
mov ecx, dword [esp + 0x64]
jmp 0x57813b
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 2
lea edx, [0x63d9f4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x8c]
mov ebp, ecx
mov esi, dword [esp + 0x40]
lea ecx, [0x68c404]
mov ebx, eax
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x68]
xor eax, eax
call fcn.004673d8
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], esi
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x34]
jmp 0x578199
mov edx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x64]
mov ecx, ebx
mov ebx, eax
mov eax, esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x7c]
lea ebp, [esp + 0x68]
cmp dword [ebp + 4], edi
jle 0x5784d1
mov byte [esp + 0x23], al
mov dword [esp], ebp
call sym.vendor_golang.org_x_net_idna._labelIter_.label
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x578269
mov edx, dword [esp + 0x34]
test edx, edx
je 0x5781ea
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
lea ebp, [0x63d9f4]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
jmp 0x57825f
mov ebx, dword [esp + 0x8c]
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x578213
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
lea ebp, [0x63d9f4]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
jmp 0x57825f
lea eax, [0x622ec0]
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 [0x80b220]
test edx, edx
jne 0x57823c
mov edx, dword [esp + 0x64]
jmp 0x578247
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x64]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x63d9f4]
mov dword [eax + 8], ebp
lea ebx, [0x68c404]
movzx esi, byte [esp + 0x23]
jmp 0x578439
mov edx, dword [esp + 4]
cmp ecx, 4
jge 0x578276
xor eax, eax
jmp 0x5782a5
mov dword [esp + 0x30], ecx
mov dword [esp + 0x50], edx
mov dword [esp], edx
lea eax, [0x63def6]
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 + 0x50]
test al, al
jne 0x5782ed
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x5782b9
mov ecx, ebx
mov ebx, dword [esp + 0x54]
jmp 0x5782d8
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 ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
movzx edx, byte [esp + 0x23]
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x8c]
jmp 0x578425
cmp ecx, 4
jb 0x5789ad
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 0x57834b
mov edx, dword [esp + 0x34]
test edx, edx
je 0x578329
mov eax, edx
mov ebx, dword [esp + 0x54]
jmp 0x57832d
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
lea ebp, [0x63d9f4]
movzx esi, byte [esp + 0x23]
mov edi, ebx
mov ebx, eax
mov eax, edi
jmp 0x578439
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
movzx edx, byte [esp + 0x23]
test dl, dl
je 0x57836b
mov edx, 1
jmp 0x57838a
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 + 0x24]
mov edx, eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0x23], dl
lea ebx, [esp + 0x68]
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 0x5783b7
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x54]
jmp 0x5783f5
mov ebx, dword [esp + 0x8c]
mov edx, dword [ebx + 0xc]
test edx, edx
jne 0x5783cb
mov ecx, dword [esp + 0x54]
jmp 0x5783f5
mov eax, dword [edx]
mov dword [esp], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x24]
mov dword [esp + 8], ebp
call eax
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x8c]
test eax, eax
jne 0x578420
mov dword [esp], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_net_idna._Profile_.validateLabel
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x8c]
movzx edx, byte [esp + 0x23]
lea ebp, [0x63d9f4]
mov esi, edx
mov ebx, eax
mov eax, ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x84]
lea ebp, [edi + 1]
mov dword [esp + 0x84], ebp
mov edx, dword [esp + 0x70]
test edx, edx
je 0x578492
mov ecx, dword [esp + 0x74]
cmp ecx, ebp
jle 0x57847c
mov dword [esp + 0x60], eax
lea eax, [ecx - 1]
cmp eax, ebp
jne 0x578489
cmp ecx, ebp
jbe 0x5789a6
lea eax, [edx + edi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x578489
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x7c], ecx
jmp 0x578184
mov eax, dword [esp + 0x60]
jmp 0x578184
mov edx, dword [esp + 0x80]
lea ebp, [edx + 1]
mov dword [esp + 0x7c], ebp
mov edi, dword [esp + 0x6c]
lea ecx, [edi - 1]
cmp ecx, ebp
jne 0x578184
cmp edi, ebp
jbe 0x57899d
mov ecx, dword [esp + 0x68]
lea ecx, [edx + ecx + 1]
cmp byte [ecx], 0x2e
jne 0x578184
mov dword [esp + 0x7c], edi
jmp 0x578184
test al, al
je 0x578503
mov eax, dword [edx + 0x14]
test eax, eax
je 0x578503
test ecx, ecx
jne 0x578503
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
jmp 0x57886f
movzx eax, byte [esp + 0x98]
test al, al
je 0x578532
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
jmp 0x57867e
mov ebp, dword [esp + 0x70]
test ebp, ebp
jne 0x578546
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
test al, al
jmp 0x578599
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x68a624]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call sym.strings.Join
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
movzx eax, byte [esp + 0x98]
test al, al
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x5c]
je 0x578647
movzx eax, byte [edx + 4]
test al, al
je 0x57863d
test ecx, ecx
je 0x5785bc
mov edx, esi
mov eax, ebx
mov ebx, ecx
mov ecx, ebp
jmp 0x57864f
test ebp, ebp
je 0x5785d2
lea eax, [ebp + esi - 1]
cmp byte [eax], 0x2e
jne 0x5785d0
lea eax, [ebp - 1]
test ebp, ebp
jmp 0x5785d4
test ebp, ebp
mov eax, ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x28], ebp
je 0x5785e5
cmp eax, 0xfd
jle 0x578633
lea eax, [0x622ec0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov edx, dword [0x80b220]
test edx, edx
jne 0x57860e
mov edx, dword [esp + 0x44]
jmp 0x578619
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x44]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x63d9f4]
mov dword [eax + 8], ebp
lea ebx, [0x68c404]
jmp 0x57864f
mov edx, esi
mov eax, ebx
mov ebx, ecx
mov ecx, ebp
jmp 0x57864f
mov edx, esi
mov eax, ebx
mov ebx, ecx
mov ecx, ebp
jmp 0x57864f
mov edx, esi
mov eax, ebx
mov ebx, ecx
mov ecx, ebp
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 ecx, edx
mov edx, ebp
mov ebp, dword [esp + 0x7c]
lea esi, [esp + 0x68]
cmp dword [esi + 4], ebp
jle 0x578532
mov dword [esp + 0x58], ebx
mov dword [esp + 0x38], ecx
mov dword [esp], esi
call sym.vendor_golang.org_x_net_idna._labelIter_.label
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
xor edx, edx
jmp 0x57883d
lea edx, [0x63def6]
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 0x5786dd
mov ecx, eax
mov ebx, dword [esp + 0x58]
jmp 0x5786e5
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
lea ebp, [esp + 0x68]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.vendor_golang.org_x_net_idna._labelIter_.set
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
jmp 0x57872b
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x8c]
movzx esi, byte [ebp + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5787a6
test edx, edx
jne 0x5787a6
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x578751
cmp ecx, 0x3f
jle 0x5787a6
lea eax, [0x622ec0]
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 [0x80b220]
test ecx, ecx
jne 0x57877a
mov edx, dword [esp + 0x4c]
jmp 0x578785
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x4c]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 2
lea ebp, [0x63d9f4]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x8c]
lea edx, [0x68c404]
mov ebx, eax
mov esi, dword [esp + 0x84]
lea eax, [esi + 1]
mov dword [esp + 0x84], eax
mov edi, dword [esp + 0x70]
test edi, edi
je 0x578801
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jle 0x5787e8
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x5787f5
cmp ecx, eax
jbe 0x578857
lea eax, [edi + esi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x5787f5
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
jmp 0x578672
mov ebp, dword [esp + 0x8c]
jmp 0x578672
mov esi, dword [esp + 0x80]
lea eax, [esi + 1]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x6c]
lea edi, [ecx - 1]
cmp edi, eax
jne 0x578672
cmp ecx, eax
jbe 0x578852
mov eax, dword [esp + 0x68]
lea eax, [esi + eax + 1]
cmp byte [eax], 0x2e
jne 0x578672
mov dword [esp + 0x7c], ecx
jmp 0x578672
inc edx
cmp edx, ecx
jge 0x578723
lea ebx, [edx + eax]
cmp byte [ebx], 0x80
jb 0x57883c
jmp 0x5786af
call sym.runtime.panicIndex
call sym.runtime.panicIndex
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x7c]
lea ebp, [esp + 0x68]
cmp dword [ebp + 4], eax
jle 0x578503
mov dword [esp], ebp
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 0x578939
mov edx, dword [esp + 0x84]
lea eax, [edx + 1]
mov dword [esp + 0x84], eax
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x5788fe
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jle 0x5788f1
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x57885c
cmp ecx, eax
jbe 0x578998
lea eax, [ebx + edx*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x57885c
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
jmp 0x57885c
mov edx, dword [esp + 0x80]
lea eax, [edx + 1]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x6c]
lea ebx, [ecx - 1]
cmp ebx, eax
jne 0x57885c
cmp ecx, eax
jbe 0x578993
mov eax, dword [esp + 0x68]
lea eax, [edx + eax + 1]
cmp byte [eax], 0x2e
jne 0x57885c
mov dword [esp + 0x7c], ecx
jmp 0x57885c
lea eax, [0x622ec0]
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 [0x80b220]
test ecx, ecx
jne 0x578962
mov ecx, dword [esp + 0x64]
jmp 0x57896d
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 1
lea edx, [0x68b5b8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x8c]
lea ecx, [0x68c404]
mov ebx, eax
jmp 0x578503
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 esi
mov edi, esi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
add ebp, edi
test esi, esi
je 0x5780e9
cmp byte [ebp], 0x2e
je 0x5789b7
jmp 0x5780e9
call sym.runtime.morestack_noctxt
jmp sym.vendor_golang.org_x_net_idna._Profile_.process