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

Disassembly:
mov ecx, dword [0x6e9808]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x4c894a
sub esp, 0xbc
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0047029b
mov ecx, dword [esp + 0xc0]
mov dword [esp], ecx
mov edx, dword [esp + 0xc4]
mov dword [esp + 4], edx
mov byte [esp + 8], 0x25
call sym.internal_bytealg.IndexByteString
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x4c7d09
mov edx, dword [esp + 0xc4]
cmp edx, ecx
jb 0x4c8944
lea eax, [ecx + 1]
cmp edx, eax
jb 0x4c893d
mov ebx, edx
sub edx, ecx
lea ebp, [edx - 1]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
mov eax, ebx
mov ebx, dword [esp + 0xc0]
add ebp, ebx
cmp edx, 1
jne 0x4c7d1d
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.0047029a
mov dword [esp + 0xa4], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xa8], ecx
lea ecx, [0x592f0d]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0x1f
lea edi, [esp + 0xc8]
call fcn.0047029b
lea ecx, [0x575a80]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5caaa0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov eax, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc0]
mov ecx, eax
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
cmp ecx, 2
jl 0x4c7df9
cmp byte [ebx], 0x3a
jne 0x4c7dee
cmp byte [ebx + 1], 0x3a
jne 0x4c7de3
lea edx, [ecx - 2]
mov edi, edx
neg edx
sar edx, 0x1f
and edx, 2
add edx, ebx
cmp ecx, 2
je 0x4c7d74
xor ecx, ecx
jmp 0x4c7e02
mov ecx, dword [0x6ca05c]
mov dword [esp + 0x88], ecx
lea edi, [esp]
xor eax, eax
call fcn.0047029b
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
call sym.net_netip.Addr.WithZone
lea edi, [esp + 0x8c]
lea esi, [esp + 0x1c]
call fcn.0047077e
lea edi, [esp + 0xc8]
lea esi, [esp + 0x8c]
call fcn.0047077e
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xbc
ret
mov edi, ecx
mov edx, ebx
mov ecx, 0xffffffff
jmp 0x4c7e02
mov edi, ecx
mov edx, ebx
mov ecx, 0xffffffff
jmp 0x4c7e02
mov edi, ecx
mov edx, ebx
mov ecx, 0xffffffff
mov dword [esp + 0x50], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x70]
jmp 0x4c7e35
mov ebx, dword [esp + 0x5c]
mov ebx, dword [esp + 0xc0]
mov edi, ecx
mov ecx, edx
mov edx, ebp
mov ebp, dword [esp + 0x80]
mov ebp, dword [esp + 0x5c]
cmp ebp, 0x10
jge 0x4c7f37
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x68]
jmp 0x4c82f1
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x50]
test ebp, ebp
je 0x4c888e
cmp edi, ebp
jle 0x4c7e8c
jbe 0x4c8934
lea eax, [edx + ebp]
cmp byte [eax], 0x2e
je 0x4c8493
mov eax, dword [esp + 0xc4]
mov ebx, dword [esp + 0x64]
shr ebx, 8
mov ebp, dword [esp + 0x5c]
mov byte [esp + ebp + 0x30], bl
mov ebx, dword [esp + 0x64]
mov byte [esp + ebp + 0x31], bl
mov ebx, dword [esp + 0x58]
cmp edi, ebx
jb 0x4c8924
sub edi, ebx
mov dword [esp + 0x54], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, ebx
lea ebx, [ebp + 2]
mov dword [esp + 0x5c], ebx
lea ebp, [edx + edi]
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x4c8878
cmp byte [ebp], 0x3a
jne 0x4c87e4
cmp ebx, 1
je 0x4c8750
lea ebp, [ebx - 1]
lea edx, [edx + edi + 1]
test ebp, ebp
jbe 0x4c891b
cmp byte [edx], 0x3a
jne 0x4c7f2a
test ecx, ecx
jge 0x4c86bc
lea ebp, [ebx - 2]
mov ecx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add ebp, edx
cmp ebx, 2
je 0x4c86a6
mov edx, dword [esp + 0x5c]
jmp 0x4c7e1d
mov ecx, ebp
mov ebp, edx
mov edx, dword [esp + 0x60]
jmp 0x4c7e1d
test edi, edi
jne 0x4c805a
cmp ebp, 0x10
jge 0x4c7fd3
test ecx, ecx
jl 0x4c7f54
lea ebx, [ebp - 1]
jmp 0x4c825e
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.0047029a
mov dword [esp + 0xa4], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xa8], ecx
lea ecx, [0x590818]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0x18
lea edi, [esp + 0xc8]
call fcn.0047029b
lea ecx, [0x575a80]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5caaa0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
test ecx, ecx
jl 0x4c80e7
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.0047029a
mov dword [esp + 0xa4], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xa8], ecx
lea ecx, [0x596daa]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0x31
lea edi, [esp + 0xc8]
call fcn.0047029b
lea ecx, [0x575a80]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5caaa0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
lea ecx, [0x592947]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x1e
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.00470774
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0047029b
lea ecx, [0x575a80]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5caaa0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
lea edi, [esp + 0x40]
mov eax, esi
lea esi, [esp + 0x30]
call fcn.00470788
movzx ecx, byte [esp + 0x47]
movzx edx, byte [esp + 0x46]
mov ebx, edx
shl edx, 8
or edx, ecx
shr ebx, 0x18
movzx ecx, byte [esp + 0x45]
mov ebp, ecx
shl ecx, 0x10
or ecx, edx
shr ebp, 0x10
or ebx, ebp
movzx edx, byte [esp + 0x44]
mov ebp, edx
shr edx, 8
or edx, ebx
shl ebp, 0x18
or ebp, ecx
movzx ecx, byte [esp + 0x43]
or ecx, edx
movzx edx, byte [esp + 0x42]
shl edx, 8
or edx, ecx
movzx ecx, byte [esp + 0x41]
shl ecx, 0x10
or ecx, edx
movzx edx, byte [esp + 0x40]
shl edx, 0x18
or edx, ecx
movzx ecx, byte [esp + 0x4f]
movzx ebx, byte [esp + 0x4e]
mov esi, ebx
shl ebx, 8
or ebx, ecx
shr esi, 0x18
movzx ecx, byte [esp + 0x4d]
mov edi, ecx
shr ecx, 0x10
or esi, ecx
shl edi, 0x10
or edi, ebx
movzx ecx, byte [esp + 0x4c]
mov ebx, ecx
shr ecx, 8
or ecx, esi
shl ebx, 0x18
or ebx, edi
movzx esi, byte [esp + 0x4b]
or esi, ecx
movzx ecx, byte [esp + 0x4a]
shl ecx, 8
or ecx, esi
movzx esi, byte [esp + 0x49]
shl esi, 0x10
or esi, ecx
movzx ecx, byte [esp + 0x48]
shl ecx, 0x18
or ecx, esi
mov dword [esp + 0x7c], ecx
lea edi, [esp + 0x8c]
mov esi, eax
xor eax, eax
call fcn.0047029b
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ebx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x98], ecx
mov ecx, dword [0x6ca05c]
mov dword [esp + 0x9c], ecx
lea edi, [esp]
mov eax, esi
lea esi, [esp + 0x8c]
call fcn.0047077e
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
call sym.net_netip.Addr.WithZone
lea edi, [esp + 0x8c]
lea esi, [esp + 0x1c]
call fcn.0047077e
lea edi, [esp + 0xc8]
lea esi, [esp + 0x8c]
call fcn.0047077e
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xbc
ret
movzx edx, byte [esp + eax + 0x30]
mov byte [esp + ebx + 0x40], dl
lea ebx, [eax - 1]
cmp ecx, ebx
jg 0x4c8275
mov eax, ebx
sub ebx, ebp
cmp eax, 0x10
jae 0x4c82d2
lea edx, [ebx + 0x10]
cmp edx, 0x10
jb 0x4c8252
jmp 0x4c82c6
mov eax, ecx
sub ecx, ebp
add ecx, 0x10
cmp ecx, 0x10
ja 0x4c82bc
cmp eax, ecx
ja 0x4c82b7
lea ecx, [eax - 0x10]
lea edx, [ebp - 0x10]
neg edx
neg ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
test edx, edx
je 0x4c80e7
lea eax, [esp + eax + 0x30]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.runtime.memclrNoHeapPointers
mov esi, dword [esp + 0x50]
jmp 0x4c80e7
call sym.runtime.panicSliceB
mov edx, 0x10
call sym.runtime.panicSliceAlen
mov eax, edx
mov ecx, 0x10
call sym.runtime.panicIndex
mov ecx, 0x10
call sym.runtime.panicIndex
inc ecx
mov esi, dword [esp + 0x50]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], ebp
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
cmp edi, ebp
jle 0x4c7e67
movzx esi, byte [edx + ebp]
lea ecx, [esi - 0x30]
cmp cl, 9
ja 0x4c831f
mov esi, ebx
mov ebx, dword [esp + 0x64]
shl ebx, 4
movzx ecx, cl
add ebx, ecx
mov ecx, ebp
mov ebp, ebx
mov ebx, esi
jmp 0x4c8364
lea ecx, [esi - 0x61]
cmp cl, 5
ja 0x4c8345
mov ebx, dword [esp + 0x64]
shl ebx, 4
add esi, 0xffffffa9
xchg esi, eax
movzx eax, al
xchg esi, eax
add ebx, esi
mov ecx, ebp
mov ebp, ebx
mov ebx, dword [esp + 0xc0]
jmp 0x4c8364
lea ecx, [esi - 0x41]
cmp cl, 5
ja 0x4c7e5f
mov ecx, ebp
mov ebp, dword [esp + 0x64]
shl ebp, 4
add esi, 0xffffffc9
xchg esi, eax
movzx eax, al
xchg esi, eax
add ebp, esi
cmp ecx, 3
jg 0x4c8406
cmp ebp, 0xffff
jbe 0x4c82dc
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
lea ecx, [0x591956]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x1b
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.00470774
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0047029b
lea ecx, [0x575a80]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5caaa0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
lea ecx, [0x594966]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x25
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.00470774
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0047029b
lea ecx, [0x575a80]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5caaa0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
test ecx, ecx
jge 0x4c853c
mov eax, dword [esp + 0x5c]
cmp eax, 0xc
je 0x4c8540
mov dword [esp + 0x8c], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x90], ecx
lea ecx, [0x59802c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x44
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.00470774
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0047029b
lea ecx, [0x575a80]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5caaa0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov eax, dword [esp + 0x5c]
lea ebp, [eax + 4]
cmp ebp, 0x10
jg 0x4c8612
test esi, esi
je 0x4c855c
mov edx, dword [esp + 0xc4]
sub edx, esi
dec edx
jmp 0x4c8563
mov edx, dword [esp + 0xc4]
cmp eax, ebp
ja 0x4c892d
mov dword [esp + 0x78], ebp
mov dword [esp], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
mov ebp, edx
sub edx, edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
lea edx, [eax - 0x10]
neg edx
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, eax
lea eax, [esp + edx + 0x30]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], ebp
call sym.net_netip.parseIPv4Fields
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4c85db
mov eax, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc0]
mov esi, dword [esp + 0x50]
xor edi, edi
xor edx, edx
mov ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
jmp 0x4c7f37
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x84], ecx
lea edi, [esp + 0xc8]
mov edx, eax
xor eax, eax
call fcn.0047029b
mov dword [esp + 0xdc], edx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov dword [esp + 0x8c], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x90], ecx
lea ecx, [0x598070]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x45
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.00470774
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0047029b
lea ecx, [0x575a80]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5caaa0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov ebx, dword [esp + 0xc0]
mov edi, ecx
mov edx, ebp
mov ebp, dword [esp + 0x5c]
mov ecx, ebp
jmp 0x4c7f37
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea ecx, [0x58fb08]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x16
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ebp
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.00470774
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0047029b
lea ecx, [0x575a80]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5caaa0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea ecx, [0x595709]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x29
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebx
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.00470774
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0047029b
lea ecx, [0x575a80]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5caaa0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea ecx, [0x593296]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x20
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebx
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.00470774
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0047029b
lea ecx, [0x575a80]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5caaa0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov ebx, dword [esp + 0xc0]
mov edi, dword [esp + 0x54]
mov edx, ebp
mov ebp, dword [esp + 0x5c]
jmp 0x4c7f37
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
lea ecx, [0x597684]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x37
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.00470774
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0047029b
lea ecx, [0x575a80]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5caaa0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, ebx
mov ecx, edi
call sym.runtime.panicSliceB
mov ecx, ebp
call sym.runtime.panicSliceB
mov eax, ebp
mov ecx, edi
call sym.runtime.panicIndex
mov ecx, edx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAlen
nop
call sym.runtime.morestack_noctxt
jmp sym.net_netip.parseIPv6