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

Disassembly:
mov ecx, dword [0x8d0454]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e6aff
sub esp, 0x74
mov eax, dword [esp + 0x78]
movzx ecx, byte [eax + 0xc]
cmp cl, 3
jae 0x4e66d2
mov ecx, dword [0x8a2478]
mov edx, dword [0x8a247c]
jmp 0x4e66e9
cmp cl, 5
jbe 0x4e66e5
mov ecx, dword [0x8a2480]
mov edx, dword [0x8a2484]
jmp 0x4e66e9
xor ecx, ecx
xor edx, edx
test ecx, ecx
jne 0x4e67d8
mov word [esp + 0x17c], 0x29
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0x20]
mov esi, dword [eax + 0x1c]
lea edi, [esp + 0x7c]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call sym.vendor_golang.org_x_net_dns_dnsmessage._ResourceHeader_.pack
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test eax, eax
jne 0x4e676a
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x188]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18c]
mov dword [esp + 0x50], edi
mov edx, ebx
xor edx, edx
mov dword [esp + 0x4c], edx
mov edx, ebx
jmp 0x4e6832
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x64], ecx
lea edx, [0x6955c0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xe
lea ecx, [0x6c16d5]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [0x8d0720]
test ecx, ecx
jne 0x4e67b2
mov ecx, dword [esp + 0x64]
jmp 0x4e67bd
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x72753c]
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], eax
add esp, 0x74
ret
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], edx
add esp, 0x74
ret
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ecx
lea eax, [ebp + edx]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
call sym.runtime.memmove
mov eax, dword [esp + 0x6c]
add eax, 0x10
mov ecx, dword [esp + 0x4c]
inc ecx
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x4c], ecx
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x4c]
cmp ebp, edi
jge 0x4e6968
mov dword [esp + 0x6c], eax
add ebx, 2
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
movzx edx, word [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x68], edi
nop
cmp esi, ebx
jb 0x4e6871
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x54]
jmp 0x4e68c1
mov word [esp + 0x32], dx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 2
lea eax, [0x682060]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x48]
movzx edx, word [esp + 0x32]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x4c]
rol dx, 8
mov ebp, dword [esp + 0x5c]
mov word [ebx + ebp - 2], dx
lea edx, [ebx + 2]
nop
cmp esi, edx
jae 0x4e6912
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 2
lea eax, [0x682060]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x68]
mov ebp, eax
mov eax, dword [esp + 0x6c]
mov ebx, ecx
rol cx, 8
mov word [edx + ebp - 2], cx
lea ecx, [edx + ebx]
nop
cmp esi, ecx
jae 0x4e67ea
mov dword [esp + 0x38], edx
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
lea eax, [0x682060]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x68]
jmp 0x4e67ea
mov eax, ebx
sub ebx, edx
cmp ebx, 0xffff
jle 0x4e698a
mov ecx, dword [0x8a24d8]
mov edx, dword [0x8a24dc]
mov ebx, edx
mov edx, esi
mov esi, dword [esp + 0x60]
jmp 0x4e6a09
cmp esi, ecx
jb 0x4e6af7
mov edx, esi
sub esi, ecx
mov ebp, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and ecx, esi
mov esi, dword [esp + 0x60]
add ecx, esi
cmp ebp, 2
jae 0x4e69f4
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ebx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
lea eax, [0x682060]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x60]
mov ebp, ebx
rol bx, 8
mov word [ecx], bx
mov word [esp + 0x184], bp
xor ecx, ecx
xor ebx, ebx
test ecx, ecx
jne 0x4e6ae5
mov ecx, dword [esp + 0x78]
movzx ebx, byte [ecx + 0xc]
cmp bl, 3
ja 0x4e6a4a
cmp bl, 2
jne 0x4e6a34
lea ebx, [ecx + 0x12]
mov ebp, dword [0x8a24e0]
mov edi, dword [0x8a24e4]
jmp 0x4e6a7c
cmp bl, 3
jne 0x4e6a76
lea ebx, [ecx + 0x14]
mov ebp, dword [0x8a24e8]
mov edi, dword [0x8a24ec]
jmp 0x4e6a7c
cmp bl, 4
jne 0x4e6a60
lea ebx, [ecx + 0x16]
mov ebp, dword [0x8a24f0]
mov edi, dword [0x8a24f4]
jmp 0x4e6a7c
cmp bl, 5
jne 0x4e6a76
lea ebx, [ecx + 0x18]
mov ebp, dword [0x8a24f8]
mov edi, dword [0x8a24fc]
jmp 0x4e6a7c
xor ebx, ebx
xor ebp, ebp
xor edi, edi
movzx esi, word [ebx]
cmp si, 0xffff
je 0x4e6a8d
inc esi
mov word [ebx], si
xor ebp, ebp
xor edi, edi
test ebp, ebp
jne 0x4e6ad3
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov eax, dword [0x8d0720]
test eax, eax
jne 0x4e6aa7
mov eax, dword [esp + 0x60]
jmp 0x4e6ab7
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x60]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
add esp, 0x74
ret
mov dword [esp + 0x194], ebp
mov dword [esp + 0x198], edi
add esp, 0x74
ret
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], ebx
add esp, 0x74
ret
mov edx, esi
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack_noctxt
jmp sym.vendor_golang.org_x_net_dns_dnsmessage._Builder_.OPTResource